Mediation server DNS load balancing with Avaya IP-PBX
Dear team,
There's a customer having a total Avaya Solution as their PABX solution. Also, the client does have Lync Server 2010 Enterprise environment with 2x FE servers (Mediation Service collocated)
and is looking for the option of integrating the Lync with their Avaya using 'Avaya CM SIP Enablement Services' which is mentioned in the 'Supported lP-PBX' list.
In terms of load balancing, currently, I have the 2 FE servers in the pool collocated with mediation role under DNS load balancing. I would like to know whether
it is possible to have the integration in such a load balancing way from Lync's point, without having to use a standalone or HLB device?
*Want to know if one FE goes down, the mediation services will be used the second FE server
by the Avaya system?*
Thank you,
Cheers..
HI
Multiple mediation servers connecting to the same PSTN gateway or SIP trunk required redundant DNS A records pointing to the same IP to fool the Topology Builder. Lync 2013 supports M-N
trunk routing. This allows for multiple trunks pointing to different gateways as well as for gateways with multiple trunks for different Mediation Servers.
After First Server will went down it might take some to go Second Server.
Regards
Zahoor hakeem | U C Solution Architect|
Similar Messages
-
Enabling server-side load balancing with Oracle 10g RAC
Hi, all.
I created a RAC database on vmware by using DBCA.
By default, remote_listener and tnsname.ora have been configured.
The followings are part of dba_services from my RAC database.
NAME, GOAL, ENABLED, CBL_GOAL
SYS$BACKGROUND NONE NO SHORT
SYS$USERS NONE NO SHORT
DEVDB NO LONG
By default(created by DBCA), server-side load balancing is enabled for
the RAC database, DEVDB??
--> GOAL of DEVDB is null, but CBL_GOAL IS LONG.
After creating a RAC db by using "DBCA", do I need to do something
for server-side load balancing??
If so what I need to do?? How can I test it??
And what is beneficial in enabling server-side loadbalancing ??
Is it good in the real world??
Thanks for reading.
Best Regards.
Message was edited by:
user507290[urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
[urgent] 10gR2 RAC Load Balancing Configuration (client and server side)!!
Virag -
Lync Edge DNS Load Balancing call failure to PBX
Hi, I have an issue with a Lync 2013 Implementation involving Edge Servers and PBX calls.
We are trying to configure 2 Edge Servers using DNS Load Balancing. We configured both servers on the topology builder, assign the correct IPs, have 6 Public IPs, 3 for each Edge. Configure NATs behind an ASA firewall, then configured the name of the edge
pool and added each Edge IP for that name on the internal DNS, also checked every port and route to make sure everything works.
All the tests related directly to Lync works, IM, Presence, Audio and Video Conferencing, Desktop Sharing, etc. However, when testing out calls from the PBX System to an Lync External client through the Edge Servers, the call rings, but never connects.
Inside the network, everything works fine, even when using only 1 Edge Server and removing the other one from the topology the call connects to the external user from the internal PBX phone. I even tried it out using one Edge first and then the other to
make sure all ports were open and everything works fine using either one, but only one at the time, not both.
The issue is only present via peer to peer call, if I first make a meet now and invite the external client, the call works.
Am I missing something with the implementation of DNS Load Balancing.
The A Host records on the public DNS have 2 IPs for each record related to Lync Edge Services, example:
access.domain.com 200.10.10.11
200.10.10.12
audiovideo.domain.com 200.10.10.13
200.10.10.14
webconf.domain.com 200.10.10.15
200.10.10.16
Each IP is NAT'd to their respective service in its respective Edge Server. When testing I check that the DNS records are correctly responding from outside.
Any ideas on this particular issue?
Thanks once again!
Eduardo RojasHi Edurojma,
The fact that the call rings, and then drops on answering indicates this is most likely an AV routing issue.
You advised that if you create a conference first through meet now, and then invite the participant, that the call works. But this doesn't work peer to peer.
Can I please ask that you check your static routes on your Edge server. The above sounds like the Edge has a route to your Front End server (which would be hosting the conference, hence the success), but doesn't have a route to the subnet that the client
is residing on (hence the failure).
Your Edge server needs to have routes to every subnet that is in use on your internal network.
I might be going down the wrong track, but this is quite a common problem for implementations where specific routes have been defined rather than catch all routes for every possible private subnet.
Check your edge can route to that phones subnet.
Kind regards
Ben
Blog:www.gecko-studio.co.uk/
Twitter:
LinkedIn:
Facebook:
Note: If you find a post informative, please mark it so using the arrow to the left. If it answers a question you've asked, please mark the thread as answered to aid others when they're looking for solutions to similar problems
or queries. -
DNS load balancing for Enterprise serevrs
Hi All
In my test Lync 2010 Enterprise environments, recently i have implemented the DNS load balancing with webservices
My environment is two lync 2010 ent servers , 1 SQL server, 1 Monitoring + Archive server (Same Box)
The below steps was performed from me for DNS load balancing.
PLEASE NOTE: NO HARDWARE LOAD BALANCING IN MY SETUP
Create a Host record for the Pool name with respective front end servers
Pool name : Pool2.doitnow.com with 2 lync 2010 enterprise servers named lyncfe01n.doitnow.com (192.168.1.5) and lyncfe02.doitnow.com (192.168.1.6)
Two host A records in DNS as POOl2 with IP of 192.168.15 and 192.168.1.6
1. From the Lync Server 2010 program group, open Topology Builder.
2. From the console tree, expand the Enterprise Edition Front End pools node.
3. Right-click the pool, click Edit Properties, and then click
Web Services.
4. Below Internal web services, select the Override FQDN check box.
5. Type the pool FQDN that resolves to the physical IP addresses of the servers in the pool. in
(my case it is Pool2.doitnow.com )
6. Below External web services, type the external pool FQDN that resolves to the virtual IP addresses of the pool, and then click
OK. ((my case it is Pool2.doitnow.com ) - is that REQUIRED ?
7. From the console tree, select Lync Server 2010 , and then in the
Actions pane, click Publish Topology.
IS THERE ANY THING TO BE DONE APART fROM ABOVE POINTS
Now
what i did is. in lyncfe01n.doitnow.com - i have disabled the network card and try to login lync 2010 client , but not succeesfull
my assumption is, it should work via lyncfe02.doitnow.com, since load balanace in DNS is in already in place
do i need to open / firewall rule to be creany port in second lync server
here is the below seqeunce of event viwer from lync
Log Name: Lync Server
Source: LS User Services
Date: 1/14/2014 3:34:31 PM
Event ID: 32108
Task Category: (1006)
Level: Warning
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Pool Manager changed state of Registrar with FQDN: lyncfe02.doitnow.com to Inactive.
======
Log Name: Lync Server
Source: LS User Services
Date: 1/14/2014 3:35:01 PM
Event ID: 32109
Task Category: (1006)
Level: Information
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Pool Manager changed state of Registrar with FQDN: lyncfe02.doitnow.com to Active
====
Log Name: Lync Server
Source: LS Routing Data Sync Agent
Date: 1/14/2014 3:50:58 PM
Event ID: 48003
Task Category: (1058)
Level: Information
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
The Routing Data Sync Agent has initiated a sync cycle with: [pool2.doitnow.com]
=====
Log Name: Lync Server
Source: LS User Services
Date: 1/14/2014 3:56:21 PM
Event ID: 32108
Task Category: (1006)
Level: Warning
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Pool Manager changed state of Registrar with FQDN: lyncfe02.doitnow.com to Inactive.
===============
Log Name: Lync Server
Source: LS File Transfer Agent Service
Date: 1/14/2014 3:56:45 PM
Event ID: 1008
Task Category: (1121)
Level: Error
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Failed to read Central Management database information from AD connection point. Microsoft Lync Server 2010, File Transfer Agent will continuously attempt to retrieve this information.
While this condition persists, configuration changes will not be delivered to replica machines.
Exception:
Microsoft.Rtc.Management.ADConnect.ADTransientException: Active Directory error "-2147016646" occurred while searching for domain controllers in domain "doitnow.com": "The server is not operational.
Name: "doitnow.com"
" ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryServerDownException: The server is not operational.
Name: "doitnow.com"
---> System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
--- End of inner exception stack trace ---
at System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName)
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Microsoft.Rtc.Management.ADConnect.Connection.DirectoryServicesTopologyProvider.GetDCForDomain(String fqdn, NetworkCredential networkCredential)
--- End of inner exception stack trace ---
at Microsoft.Rtc.Management.ADConnect.Connection.DirectoryServicesTopologyProvider.GetDCForDomain(String fqdn, NetworkCredential networkCredential)
at Microsoft.Rtc.Management.ADConnect.Connection.DirectoryServicesTopologyProvider.DiscoverDC()
at Microsoft.Rtc.Management.ADConnect.Connection.DirectoryServicesTopologyProvider.ReportDownServer(String serverName, ADServerRole role)
at Microsoft.Rtc.Management.ADConnect.Connection.ADConnection.MarkDown(LdapError ldapError, String message)
at Microsoft.Rtc.Management.ADConnect.Connection.ADConnection.AnalyzeDirectoryError(DirectoryException de)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.AnalyzeDirectoryError(ADConnection connection, DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.Find(ADObjectId rootId, String optionalBaseDN, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate
arrayCreator, Boolean includeDeletedObjects)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.Find(ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCtor, CreateObjectsDelegate arrayCtor)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.Find[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.GetTopologySetting()
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.GetBackEndServer()
at Microsoft.Rtc.Xds.Replication.Common.Utils.TryGetConnectionPointFromAD(String& sqlStorePath, Exception& exception)
Cause: Possible issues with configuration or AD access.
Resolution:
Ensure that activation is completed and AD is accessible from this machine.
at Microsoft.Rtc.Xds.Replication.Common.Utils.TryGetConnectionPointFromAD(String& sqlStorePath, Exception& exception)</Data>
====================
Log Name: Lync Server
Source: LS Master Replicator Agent Service
Date: 1/14/2014 3:56:45 PM
Event ID: 2014
Task Category: (2122)
Level: Error
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Failed to read Central Management database information from AD connection point. Microsoft Lync Server 2010, Master Replicator Agent will continuously attempt to retrieve this information.
While this condition persists, configuration changes will not be delivered to replica machines.
Exception:
System.ApplicationException: Domain "doitnow.com" cannot be contacted or does not exist. ---> System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Microsoft.Rtc.Management.ADConnect.Connection.DirectoryServicesTopologyProvider.GetDCForDomain(String fqdn, NetworkCredential networkCredential)
--- End of inner exception stack trace ---
at Microsoft.Rtc.Management.ADConnect.Connection.DirectoryServicesTopologyProvider.GetDCForDomain(String fqdn, NetworkCredential networkCredential)
at Microsoft.Rtc.Management.ADConnect.Connection.DirectoryServicesTopologyProvider.DiscoverDC()
at Microsoft.Rtc.Management.ADConnect.Connection.DirectoryServicesTopologyProvider.ReportDownServer(String serverName, ADServerRole role)
at Microsoft.Rtc.Management.ADConnect.Connection.ADConnection.MarkDown(LdapError ldapError, String message)
at Microsoft.Rtc.Management.ADConnect.Connection.ADConnection.AnalyzeDirectoryError(DirectoryException de)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.AnalyzeDirectoryError(ADConnection connection, DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.Find(ADObjectId rootId, String optionalBaseDN, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCreator, CreateObjectsDelegate
arrayCreator, Boolean includeDeletedObjects)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.Find(ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties, CreateObjectDelegate objectCtor, CreateObjectsDelegate arrayCtor)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.Find[TResult](ADObjectId rootId, QueryScope scope, QueryFilter filter, SortBy sortBy, Int32 maxResults, IEnumerable`1 properties)
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.GetTopologySetting()
at Microsoft.Rtc.Management.ADConnect.Session.ADSession.GetBackEndServer()
at Microsoft.Rtc.Xds.Replication.Common.Utils.TryGetConnectionPointFromAD(String& sqlStorePath, Exception& exception)
Cause: Possible issues with configuration or AD access.
Resolution:
Ensure that activation is completed and AD is accessible from this machine.
===============
Log Name: Lync Server
Source: LS Inbound Routing
Date: 1/14/2014 3:56:46 PM
Event ID: 45005
Task Category: (1037)
Level: Error
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Unexpected exception occurred in the Inbound Routing Application.
======================================
Log Name: Lync Server
Source: LS User Services
Date: 1/14/2014 3:56:53 PM
Event ID: 30975
Task Category: (1006)
Level: Warning
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Encountered a connection failure while executing a request against the back-end.
Back-end: sql.doitnow.com\rtc
Log Name: Lync Server
Source: LS User Services
Date: 1/14/2014 3:56:53 PM
Event ID: 32134
Task Category: (1006)
Level: Error
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Failed to connect to back-end database. Lync Server will continuously attempt to reconnect to the back-end. While this condition persists, incoming messages will receive error responses.
Back-end Server: sql.doitnow.com\rtc Database: rtc Connection string of:
driver={SQL Server Native Client 10.0};Trusted_Connection=yes;AutoTranslate=no;server=sql.doitnow.com\rtc;database=rtc;
Cause: Possible issues with back-end database.
Resolution:
Ensure the back-end is functioning correctly.
=================
Log Name: Lync Server
Source: LS User Services
Date: 1/14/2014 3:56:53 PM
Event ID: 32112
Task Category: (1006)
Level: Warning
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Pas with FQDN: Pool2.doitnow.com has been detected to be down.
=================
Log Name: Lync Server
Source: LS User Services
Date: 1/14/2014 3:56:54 PM
Event ID: 32098
Task Category: (1006)
Level: Warning
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Failed processing conference status requests. This error might delay the freeing up of PSTN meeting ids in conference directories homed on this pool.
Error code: 0x800407D0
Cause: Possible issues with back-end or Lync Server health.
Resolution:
Ensure the Lync Server service is healthy.
===========
Log Name: Lync Server
Source: LS User Replicator
Date: 1/14/2014 3:58:33 PM
Event ID: 30022
Task Category: (1009)
Level: Warning
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
The connection to domain controller DC01.doitnow.com appears to have been terminated. The domain controller could have gone down. User Replicator will attempt to reconnect to an available domain controller for this domain.
=====
Log Name: Lync Server
Source: LS File Transfer Agent Service
Date: 1/14/2014 3:58:43 PM
Event ID: 1035
Task Category: (1121)
Level: Error
Keywords: Classic
User: N/A
Computer: lyncfe01n.doitnow.com
Description:
Failed to register with back-end database. Microsoft Lync Server 2010, File Transfer Agent will continuously attempt to reconnect to the back-end. While this condition persists, no replication will be done.
The Connection string: Data Source = sql.doitnow.com\rtc;
Database = xds;
Max Pool Size = 5;
Connection Timeout = 60;
Connection Reset = false;
Enlist = false;
Integrated Security = true;
Pooling = true;
Exception: [-1] Could not connect to SQL server : [Exception=System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that
the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.SqlClient.SqlConnection.Open()
at Microsoft.Rtc.Common.Data.DBCore.PerformSprocContextExecution(SprocContext sprocContext)]
Cause: Possible issues with back-end database.
Resolution:
Ensure the back-end is functioning correctly.
=================Thanks Andrew.
may be i missed to create SRV records for the second FE server - Let me check this point and come back -- is it mandatory to create the SRV records for second FE server?
Are the clients using "Automatic Configuration"? Yes.
so web service need a hardware load balancer right? -
T3 Load Balancing with Weblogic Server 6.1
We are using rwo weblogic 6.1 servers A and B behind a load balancer with a DNS name (eg. www.loadbalancer.com). We are using T3 for Java client to application server communication. The client creates the Initial context with the load balancer url,creates remote objects using the context, closes the initial context and then tries to get a new initial Context. What we noticed is even though the client closes the first context and gets a new one, the client is always hooked on to only one server making load balancing ineffective. Is there a T3 configuration to release the connection when we close the context ? The documentation says only one T3 is established per client JVM.
Rick,
You may want to look at the Alteon and F5 configuration we have on edocs.
Take a look at the following URLs for a possible solution
http://edocs.bea.com/wls/docs61/cluster/alteon.html#591902
http://edocs.bea.com/wls/docs61/cluster/bigip.html#591902
Chuck Nelson
DRE
BEA Technical Support -
Anyone and everyone,
When configuring load balancing with Weblogic clusters, does load
balancing take effect for all services or just EJB and RMI? Or another
way of saying the same thing, can I setup weighted load balancing for
the JSP engines across 2 weblogic servers.
Thanks in advance,
MikeThe load-balancing documentation you read describing the different algorithms only applies to RMI stubs (e.g., EJB clients). Please see http://www.weblogic.com/docs51/cluster/concepts.html#1026091 for a description of how load-balancing/clustering works with servlets/JSPs.
The short answer is that in using servlet clustering, most people want/need/use in-memory replication for HttpSession objects. In WLS 5.1 (and before), in-memory replication requires one or more proxy servers be set-up in front of the cluster. Typically, most people use something like BigIP to load-balance
across the proxy servers and let the weblogic plug-in for the proxy server handle the routing to the cluster. The plug-in uses round-robin until an HttpSession is established for a user, then it always tries to route to the server where the user's session is located.
Hope this helps,
Robert
Brian Lin wrote:
All,
I have a quesiton here regarding load balancing with DNS round robin. As of Chapter Adminstration of Clustering Weblogic server, Weblogic can be configured to balance by weight. How about Weblogic handle weight based balancing after DNS round robin ip response? or just can choose one way instead of both?
What's the big difference between choosing BigIP and software balancing (WL)?
Brian
"Wei Guan" <[email protected]> wrote:
I don't think you can configure this load balancing in weblogic in current
release. However, if you have Big-IP or LocalDireoctr, you can set up
weighted load-balancing there. Otherwise, weblogic proxy will use DNS round
robin to do the load-balancing between JSP engins.
My 2 cents.
Cheers - Wei
Michael Yakimisky <[email protected]> wrote in message
news:[email protected]...
Anyone and everyone,
When configuring load balancing with Weblogic clusters, does load
balancing take effect for all services or just EJB and RMI? Or another
way of saying the same thing, can I setup weighted load balancing for
the JSP engines across 2 weblogic servers.
Thanks in advance,
Mike -
Failover and Load Balancing with JNDI Connection Pools
Hi,
I am trying to figure out how would JNDI Connection Pooling work along with failover or DNS Load Balancing.
Would connections be distributed equally among the list?
Would the pool work with multiple heterogeneous connections (i.e. connections to different but equivalent servers ), or do all the connections in the pool have to be homogeneous (i.e. to the same server)?
Thanks,
SergioHi,
I am trying to figure out how would JNDI Connection Pooling work along with failover or DNS Load Balancing.
Would connections be distributed equally among the list?
Would the pool work with multiple heterogeneous connections (i.e. connections to different but equivalent servers ), or do all the connections in the pool have to be homogeneous (i.e. to the same server)?
Thanks,
Sergio -
CF 10 Load-Balancing with Remote Instances
I was reading an article on Clustering/LB/HA using CF8, but have not found any updates for CF10.
Using VM VirtualBox to setup a few virtual servers, I am looking to setup a load balancing of ColdFusion 10 on 2 remote instances. The goal would be have ColdFusion Cluster Manager be able to point http request to one of the two servers based on load/availability. Not really having a hardware cluster/failover setup, just managing resources on two CF instances instead of a standalone.
The servers are Windows Server 2008 R2 with IIS7.5 and ColdFusion 10 Enterprise on installed on 3 of these machines. Let's call them CF-LBManager, CF-Web1, and CF-Web 2. In the CF Docs, they show the Cluster Manager adding the local CF instance and "if you want" a remote instance. However, this scenario would require the main instance to be running and not fail for it to direct to the other instance.
I am trying to set this up now with CF-LBManager as just a manager of the requests coming in. In the Enterprise Manager >> Instance Manager, the local instance is shown and I add the two remote instances with the correct Remote Port, JVM Route, etc. I also made sure the <Cluster>...</Cluster> block was added to the two remote instances (CF-Web1 and CF-Web2) \runtime\conf\server.xml file too, Jetty Services also is running. Now under the Enterprise Manager >> Cluster Manager I add the two remote instances to the cluster, not the local instance on CF-LBManager with Multicast Port and Sticky Sessions enabled. On Submit, I get a green message "You must restart all the server instances and any configured webservers for these changes to take effect.". I go ahead and reboot the servers and come back.
I now browse to the ColdFusion page as a test on CF-Web1 and CF-Web2 to make sure CF is running properly, they do. I then browse the IP of the CF-LBManager, however it only returns the local IIS web site and not redirect to one of the two cluster members. I am not seeing any message on the coldfusion-out.log on the remote instances. Am I not setting this up correctly or not enabling the Cluster Manager to take over and pass along the requests to those in the cluster?Unfortunatley I don't have a lot of experience with CF10 on Windows, but if you are running CF behind IIS I think you will need to update the Tomcat connector configuraiton to do load balancing. I'm not sure if re-running the wsconfig tool on all of the servers will do this or not, but that is what I would suggest trying first. If that doesn't work you will need to update the Tomcat connector configuraiton manually. You can find more information on load balancing with the Tomcat connector here: http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html.
-
CSS Load Balancing with Cookies
We are trying to load balance 2 backend servers hosted on Websphere with advance balance cookies method.
Restrictions
ServerA is unable to accept cookies generated from ServerB.
ServerA and ServerB are generating random cookies
Unable to modify cookie string with a constant.
How can we load balance based on cookies considering the above restrictions?
We have attempted to do hash based load balancing with cookies but the problem we run into is the servers do not accept cookies generated from another server.
The configuration we tried is written below:
service ServerA
ip address 192.168.10.2
keepalive type tcp
keepalive port 80
active
service ServerB
ip address 192.168.20.2
keepalive type tcp
keepalive port 80
active
content ABC
url "/*"
add service ServerA
string prefix "JSESSIONID="
advanced-balance cookies
port 80
add service ServerB
string skip-length 5
string process-length 16
string operation hash-xor
protocol tcp
vip address 172.16.32.1
active
Can we change the string prefix to JSESSION instead of JSESSIONID= ?
The only place the app guys can add a constant string to match on is before the = sign.
Is it possible for CSS to match on a constant string before = sign e.g below:
service ServerA
ip address 192.168.10.2
keepalive type tcp
keepalive port 80
string id567=
active
service ServerB
ip address 192.168.20.2
keepalive type tcp
keepalive port 80
string id123=
active
content ABC
url "/*"
add service ServerA
string prefix "JSESSION"
advanced-balance cookies
port 80
add service ServerB
string skip-length 0
string process-length 6
protocol tcp
vip address 172.16.32.1
activeIt should work.
There is no reason for it not to work...
This is the best method you can have on the CSS for stickyness.
Get a sniffer trace on the client and server with arrowpoint cookie configured on the CSS and capture a failure so we can see what is going on.
also send me the config so I can verify everything is ok.
If you have a service request open with the TAC, you can also give the SR # so I can review what has been done.
Gilles. -
Server Side Load Balancing Testing
Hi,
Can any one tell me about any test case for server side load balancing in an 11.1.0.7 RAC?
I have a 2 nodes RAC with local_listener and remote_listener set properly (for server side load balancing). For testing, i have create a TNS at my client side which points to only one node of RAC (a single ADDRESS entry pointing to node 1 of my RAC). So, from this client, when ever i connect, it always connects me to the node 1 which i have mentioned in the TNS. Does it mean that server side load balancing works in conjunction with client side load balancing only and i should add ADDRESS entry in my TNS for the second node also? If yes, then how can i create a test case to check server side load balancing?
Thanks
SalmanThanks Rajeysh but i already have seen these documents after "googling" about server side load balancing but these documents don't give my any idea for testing the server side load balancing. My goal is actually testing the following scenario
Creating a TNS entry to connect to a RAC database (with server side load balancing enabled) by using a single ADDRESS line in TNS which points to node1 to connect to service on node 1 (service_name is set to same value on all the nodes).
Now, if i invoke 10 SQLPLUS windows to connect to the RAC database using this TNS, it always connects me to instance 1 running on node 1, where is server side load automatic load balancing? Why new sessions are not being directed to some other instance and why every time i always connect to instance 1?
Salman -
Client side load balancing and server side load balancing
Hello Team,
I need to know how to set up client and server side load balancing in oracle rac. What all things to be implemented like creating a service, tnsnames.ora settings etc.
And also if i used SCAN ip instead of VIP. how the settings will change.
Regards,Hi,
please find here an Whitepaper with the information
http://www.oracle.com/technetwork/database/features/availability/maa-wp-11gr2-client-failover-173305.pdf
kind regards -
Load Balancing with BigIP / SSL question
I have an oddball question. We're load balancing ColdFusion
MX7 across 3 servers using a BigIP load balancing server. We
decided to go the hardware approach and it has been great except
for one small configuration issue.
We use a mix of SSL and non SSL pages, prior to the switch
from a single server to a load balanced setup I used to script that
would determine if a page that was supposed to be SSL had the
variable CGI.HTTPS turned on or off. If it was off, the page would
redirect back to itself with the SSL turned on.
The problem we have is that we followed BigIP's instruction
to secure the load balancing hardware instead of the three servers
running behind it. So what happens is that the traffic goes to the
load balancer port 441, but then the calls from the load balancer
to the individual servers is port 80. So even if a page is called
as HTTPS://... the coldfusion server says that CGI.HTTPS is "off"
since the traffic is port 80.
This isn't much of a problem, our SSL pages are linked as
HTTPS:// and the only problem would actually arise if someone was
to type in the URL and call it as HTTP rather than HTTPS.
My questions is this, does anyone know of a way that I can
detect if the page should be HTTPS and is not without changing our
configuration and putting SSL certificates on each individual
server?Hey,
Well the load balancing with the BigIP device is really very
amazing. I think
what i liked most was swapping out servers when their lease
was up, through the
BigIP manager I just stopped all traffic to a server, shut it
down, plugged in
the new one and turned traffic back on. It was really very
easy.
The SSL stuff still gives me a headache to think about. but
I should mention I
no longer work where I was, plus now I'm all .net C# but
that's a different
story.
I think if I was going to do this all again I would not have
secured the bigIP
unit. It was nice to buy one SSL cert for all the servers I
attached rather
than one per server, but getting the SSL sites to work
properly was a headache.
We also use windows file replication where now I would go
with like a pair of
Dell MD1000's mirrored for storage and just have tons of ram
and cpu on the
front end units. Depends what you want to spend I guess. I
think the bigIP unit
we bought was like 20 grand, i think they are cheaper now
though.
Hope I helped. -
How does load-balancing with WebCache work - is there still a bottleneck?
Hello,
We're migrating an old Forms 6i app to 10.1.2.0.2 (apps servers = Redhat Linux), and are starting to consider using WebCache to loadbalance between two application servers.
My question is this - say we have apps servers A and B, both running Forms and Reports Services. We use Webcache on server A (don't have the luxury of a third apps server...) to load balance between A and B. So all initial requests come into A, which in some cases may then be diverted to start a new Forms session on B.
For those users whose middle-tier sessions are now running on B - will all network traffic for their Forms session continue to be routed through Webcache on A, then to B, over the course of the session? Or does Webcache somehow shunt the whole connection to be straight between the client PC and server B, for the duration of that Forms session?
If the former, does that mean that the server hosting Webcache can still be a significant bottleneck for network traffic? Have people found load-balancing with Webcache to be useful..?
Thanks in advance,
JamesHi gudnyc,
Thanks for posting on Adobe forums.
For HDPI you do not have to do any It will adjust automatically.
http://helpx.adobe.com/photoshop-elements/using/whats-new.html
Regards,
Sandeep -
Load Balancing With Round Robin
Hi,
I have two iAS instances, each on their own box, and one iWS instance
running on a third box. I have setup the web connector to use round
robin and added the server weights. I believe that is all that is to it
to do simple load balancing with iAS. The problem is is that the
requests only go to one iAS instance. The server weights are 1 and 1.
Am I missing something here?
ThanksCould be lots of things.
The most common misconfiguration is testing an application that is deployed "local". This application option effectively disables load balancing.
Another common mistake is to either not update the configuration of the webconnector (if the webconnector
has a seperate configuration LDAP) or to not restart
the webconnector after the configuration change.
Hope this helps. There's more things we could try, but I'll hope its one of these two easy things. -
Getting load-balancing with distributed destination to work...
Hello,
I try to setup a proof of concept for balancing heavy load over several JMS server instances on WLS 8.1 SP4:
I have
- 2 managed servers in 1 cluster plus adminserver on 1 machine (WinXP)
- 1 JMS server on each server (no migrateable targets used), having 1 physical queue
- 1 distributed queue deployed to the cluster, consisting of the two physical queues
- 1 connection factory deployed to the cluster with round-robin load-balancing enabled, and server affinity disabled
- 1 test JSP using the connection factory from above, doing a complete re-connection per test message
- 1 MDB ejb module deployed to the cluster
and the result is:
1. Calling the JSP through the second server instance load-balances messages on both JMS servers, that's fine ...
BUT
2. Calling the JSP through the first server instance processes all messages on the first server instance's JMS server, no message is ever sent to the second server.
What could be the reason for the different behaviour of both servers?
extract from config.xml used:
<Cluster
MulticastAddress="237.0.0.1"
Name="clusterA"/>
<EJBComponent Name="jtest"
Targets="clusterA"
URI="ejb/test.jar"/>
<WebAppComponentName="test"
Targets="clusterA"
URI="web/test"/>
<JMSConnectionFactory
JNDIName="ConnectionFactory"
LoadBalancingEnabled="true"
ServerAffinityEnabled="false"
Targets="clusterA"/>
<JMSServer
Name="JMSServer1"
Store="JMSFileStore1"
Targets="server1">
<JMSQueue
JNDIName="TestQueue.server1"
JNDINameReplicated="true"
Name="TestQueue-server1"/>
</JMSServer>
<JMSServer
Name="JMSServer2"
Store="JMSFileStore3"
Targets="server2">
<JMSQueue
JNDIName="TestQueue.server2"
JNDINameReplicated="true"
Name="TestQueue-server2"/>
</JMSServer>
<JMSDistributedQueue
JNDIName="TestQueue.DD"
Name="TestQueueDD"
Targets="clusterA">
<JMSDistributedQueueMember
JMSQueue="TestQueue.server1"
Name="TestQueue.server1Memeber"/>
<JMSDistributedQueueMember
JMSQueue="TestQueue.server2"
Name="TestQueue.server2Member"/>
</JMSDistributedQueue>
Cheers
MartinOk solved, it works as expected, when running on two solaris hosts
Maybe you are looking for
-
Sales order - KOFK account determination - incompletion procedure
Hi Gurus, i am a little bit confused and need help! When I am creating a sales order (free of charge) and assign a WBS Element i get the message in the imcompletion routine that the account for type KOFK is missing. I know where to maintain this but
-
Did not recieve the social app update on nokia n8
Hello, I read that the social app update has been updated to versione 1.2 including linking contacts to facebook. It's a US phone I'm stuck on 1.1.264 I have 011.012 software version 2010-09-18. Custom Version 011.012.269.03 2010-09-23. Language set
-
I know this is an "old" subject and there are many posts. But they all seem to be rather "old," meaning 2006 or earlier. and yes, I have read the Mac World forum on this subject. I have a Mac mini (not Intel and no Superdrive) running 10.4.9. I want
-
Rootpre.sh with Oracle 11G Installation on AIX 6.1
We are upgrading to Oracle 11G from Oracle 10.2.0.4 on AIX 6.1 and ECC6. We are running Oracle 10G and SAP application while installing 11G Oracle binaries (obviously in a new oracle 11G home) , while installing Oracle 11G binaries we have to run roo
-
How can I download the current version of Flash Player?
After nearly 3 weeks my original request received 0 replies; I'm not too impressed with this forum. I uninstalled and reinstalled my OS X 10.6.8 operating system on my MacBook Pro with Intel Core 2 Duo after following troubleshooting instructions to