MulticastTest for Load balancing issue
Hi,
We are currently facing issues with Load balancing using IIS Proxy plug-in.
__WebLogicBridgeConfig list of dynamic servers does not return both servers. MulticastTest is the first resolution suggested by Bea Support on this page
http://support.bea.com/application_content/product_portlets/support_patterns/wls/HTTPLoadBalancingInClusterUsingProxyPlug-inPattern.html
Can someone please interpret following results of second utils.MulticastTest test.
Thanx & Reagrds,
Sagar
I carried out two multicast tests with three machines with names ES01, ES02 & STAGE with different IP & Ports on the network.
Following extract is from ES01 with IP 237.0.0.2 & port 8052. It finds 2 neighbors on lines 12 & 13 (ES02 & STAGE). Message exchange also looks fine.
1 H:\>java utils.MulticastTest -n ES01 -a 237.0.0.2 -p 8052
2 ***** WARNING ***** WARNING ***** WARNING *****
3 Do NOT use the same multicast address as a running WLS cluster.
4
5 Starting test. Hit any key to abort
6
7 Using multicast address 237.0.0.2:8052
8 Will send messages under the name ES01 every 2 seconds
9 Will print warning every 600 seconds if no messages are received
10
11 I (ES01) sent message num 1
12 New Neighbor ES02 found on message number 1
13 New Neighbor STAGE found on message number 1
14 Received message 2 from ES01
15 I (ES01) sent message num 2
16 Received message 2 from ES02
17 Received message 2 from STAGE
18 Received message 3 from ES01
19 I (ES01) sent message num 3
20 Received message 3 from ES02
21 Received message 3 from STAGE
22 Received message 4 from ES01
23 I (ES01) sent message num 4 Following extract is also from ES01 with IP 237.0.0.1 & port 8050. Note that this IP & port is also used by Weblogic cluster. In this case, test finds 3 neighbors on lines 12 & 16 (ES02 & STAGE) and another on line 13 with name "úWÿº?sr ?weblogic.rj".
I am not sure if cluster is responding here. On 2 physical machines, we have 3 services - admin, Server_1 & Server_2, shouldn't it find more "Neighbors" if cluster is responding to test?
Regarding Message exchange, there several "Duplicate messages" received from this neighbour like on line 17 and 35.
1 H:\>java utils.MulticastTest -n ES01 -a 237.0.0.1 -p 8050
2 ***** WARNING ***** WARNING ***** WARNING *****
3 Do NOT use the same multicast address as a running WLS cluster.
4
5 Starting test. Hit any key to abort
6
7 Using multicast address 237.0.0.1:8050
8 Will send messages under the name ES01 every 2 seconds
9 Will print warning every 600 seconds if no messages are received
10
11 I (ES01) sent message num 1
12 New Neighbor ES02 found on message number 1
13 New Neighbor úWÿº?sr ?weblogic.rj found on message number 1997013044
14 Received message 2 from ES01
15 I (ES01) sent message num 2
16 New Neighbor STAGE found on message number 1
17 Duplicate message from úWÿº?sr ?weblogic.rj: 1997013044
18 Received message 2 from ES02
19 Received message 3 from ES01
20 I (ES01) sent message num 3
21 Received message 2 from STAGE
22 Received message 3 from ES02
23 Received message 4 from ES01
24 I (ES01) sent message num 4
25 Received message 3 from STAGE
26 Received message 4 from ES02
27 I (ES01) sent message num 5
28 Received message 5 from ES01
29 Received message 4 from STAGE
30 Received message 5 from ES02
31 Received message 6 from ES01
32 I (ES01) sent message num 6
33 Received message 5 from STAGE
34 Received message 6 from ES02
35 Duplicate message from úWÿº?sr ?weblogic.rj: 1997013044
36 Received message 7 from ES01
37 I (ES01) sent message num 7
George,
Did you have to modify anything on the ECC side to get this to work/load balance? I made all the changes explained in the How to Scale Up doc (http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c02f072f-3799-2c10-e0b8-d98d323c0908) to fully implement the Web Dispatcher.... but I was wondering how the ECC backend would know where to deliver outbound transactions. Does it get the WD system information from the SLD at the time it attempts to deliver a transaction to PI? Or do we have to update SM59 or someother configuration to make the ECC aware of the Web Dispatcher?
Similar Messages
-
Cluster Apex MS's across multiple nodes for load balancing?
Can Cluster Apex MS's across multiple nodes for load balancing? If Yes/No, any supportive doc's will be much appreciated.
Here is what I did ..........
I tried multiple MS's on different nodes for Apex Domain (clustered)
Deployed apex.war, i.war with targets pointing to cluster.
Apex listener techstack is shared filesystem $HOME/apex, where apex-config.xml and bdb are available
Anyone of the MS's whichever started up first is locking up bdb and 500 server shows up when internal workspace is being launched with host specific url, where as it works fine for the host which actually locked up bdb (first MS that was started)
2nd MS shows errors as below in log files ..
Caused By: com.sleepycat.je.EnvironmentLockedException: (JE 4.0.103)$HOME/apex/bdb The environment cannot be locked for single writer access. ENV_LOCKED: The je.lck file could not be locked. Environment is invalid and must be closed.
Its expected behavior until here .....
++++ I tried something to get it working ++++
Whilst both MS's are up and running, delete $HOME/apex/bdb but let apex-config,xml be as it is...now the internal workspace urls for both hosts work fine. I logged into host specific urls and navigated, created/edited users.,etc and it is all looking good but it did not create new bdb directory under $HOME/apex ...!!
Having said its working fine, the same issue repeats after the MS's bounce. So I did put a command line to delete bdb dir once the MS comes up to avoid the issue but really not sure if this is the right way at all?
Geek's ...awaiting your advice!!Hey there,
I managed to fulfill my requirement..
If its a cluster on same machine or across machines, this should work
1. Login to machine, cd $DOMAIN_HOME
2. mkdir -p Apex_lsn_config/AdminServer Apex_lsn_config/<MS1> Apex_lsn_config/<MS2> # MS1 and MS2 are the Managed Server names as appropriate
#If you are planning for cluster spawning MS's across machines, make sure you create the dir's on step 2 for each machine respectively. (in my case $DOMAIN_HOME is not shared)
3. Copy apex-config.xml from the /tmp/apex or whatever location you have it currently to Apex_lsn_config/<MS1> Apex_lsn_config/<MS2>
4. cd $DOMAIN_HOME/bin; cp -p SetDomainEnv.sh SetDomainEnv.sh.orig #Backup the file
5. Append -Djava.io.tmpdir in SetDomainEnv.sh as below for JAVA_OPTIONS # Do it on both machine if you are not sharing DOMAIN_HOME and planning cluster across machines
-Djava.io.tmpdir=$DOMAIN_HOME/APEX_CONFIG/${SERVER_NAME}
Hint: Search for "iterativeDev" and append the same line with -Djava.jo.tmpdir
6. Modify "java.io.tmpdir" from the web.xml file of apex.war as below and re-deploy the war
<context-param>
<param-name>config.dir</param-name>
<param-value>${java.io.tmpdir}</param-value>
</context-param>
7. Bounce Weblogic Admin and Manged Servers. Make sure to tail the Managed Server log to see apex-config.xml is picked from the new location.
8. Brew a Coffee for yourself :)
- You find the instructions on creating a cluster from weblogic documentation, the steps mentioned above are only to overcome the bdb locking issue whilst creating a cluster.
Did it help?
Edited by: Oratime on Mar 25, 2013 2:44 AM -
Round robin DNS for load balancing between multiple network adapters (Xserve)
I'm attempting to use 'round robin' DNS to load balance between the two ethernet adapters of an Xserve.
Both ethernet adapters are connected to the same LAN and have static IP addresses of 192.168.2.250 and 192.168.2.251.
The DNS zone for the server's local domain/host (macserver.private) has a machine record with both IP addresses (set up in the Lion Server UI).
Having read up on round robin DNS, I would have expected DNS requests for 'macserver.private' to be answered with the two IP addresses ordered at random, achiving my aim of requests being served at random via each ethernet adapter.
However this doesn't seem to be the case. Doing a 'nslookup' from any of the network clients results in the two IP addresses being listed in the same order everytime. And pinging 'macserver.private' only ever results in a response from the same address.
Does anyone know why this is the case? Does Lion Server use a non-standard DNS configuration? Are there any additional settings I need to configure in Lion's DNS server to make adopt a round robin approach to responding to requests?
Thanks in advance for any help!Be careful what you wish for
Round Robin DNS is rarely the best option for 'load balancing'. At the very least it's subject to caching at various point on the network - even at the client side, once the client looks up the address it will cache that response - this means that subsequent lookups may be served from the client's cache and not refer back to the server. Therfore any given client will always see the same address until the cache expires.
I suspect this is what you're seeing.
You can minimize this by setting a lower TTL on the records. This should result in the response being cached for a shorter period, meaning the client will make more requests to the server, with a higher change of using the 'other' address.
However, you're also going to run into issues with the server having two interfaces/addresses in the same LAN. This isn't recommended.
As Jonathon mentioned, you may be better off just bonding the two interfaces. This will provide an automatic level of dynamic load balancing without the latency of DNS caches, as well as automatic failover should one link fail (as opposed to round robin DNS which will cause 50% of requests to fail until the client cache expires and a new lookup is performed (and, even then, there's still a chance the client will try to use the failed link). -
CSS arrowpoint cookie load balancing issue
Hi guys,
I need some advice on a load balancing issue.
We have connections hitting the CSS via a proxy environment. As a result i see only one source ip address. I want to use arrowpoint cookies for session stickeyness. However when i enable the rule the tcp session negotiation fails. The CSS sends a TCP/RST which terminates the session.
Here's the rule config:
content HTTP_rule
add service ZSTS299102
add service ZSTS281101
vip address <filtered>
add service LONS299102
add service LONS281101
balance weightedrr
change service ZSTS299102 weight 5
change service ZSTS281101 weight 5
advanced-balance arrowpoint-cookie
protocol tcp
port 80
url "/*"
active
Any help would be much appreciated.Remko,
in L3/L4 the CSS sends the SYN directly to the server.
So when the FIN comes in, we simply pass it to the server.
With L5 the CSS spoofs the connection and we select the server only after receiving the GET.
If there was some delay between the GET and the FIN, the CSS would have time to establish a connection with the server and the FIN could be simply forwarded.
Unfortunately, in this case the FIN is right after the GET with no delay.
Gilles. -
RV042, Load Balance issue
Hello,
I'm a newbie to routers and on this discussion.
I've purchased a Linksys RV042 hoping I could connect my two ISP.
Both of them are 1/1 Mb, first is DSL second PPPoE connection.
The problem is that on system summary page it doesn't show me that second WAN is connected. Even when I trying to manually connect to Internet it doesn't help.
When this connection is in Load balance Mode, internet is very slow, sometimes it's even disconnected.
My question is:
How to configure Load Balance properly?
I've tried this page:
http://www.cisco.com/en/US/products/ps9923/products_qanda_item09186a0080a36632.shtml
but it didn't helped.
Or maybe it's just a demo of this option and doesn't work at all?
Thanks for the reply.....Eliviszopa,
Hi. My name is Tiya and I am one of the Cisco SMB Support Engineers. I have been eyeing your post and I would like to add a few recommendations.
From what I've gathered, you are having an initial problem with your Dual-WAN configuration, in that you are unable to have both WAN interfaces Live at the same time. I will list a few things that will help you in determining if there is an issue with your RV042's Dual-WAN configuration and connectivity.
I understand your Network Topology to be: [ISP Modem 1 & ISP Modem 2]---->RV042---->LAN Clients (PC).
First thing, we need to ensure your router it at the most current firmware version for optimal performance. The RV042 series routers are currently in their 3rd HW revision, so we also need to ensure we download the firmware that is compatible with the HW version of your RV042
To locate HW version:
Look on the bottom of your RV042.
You will find the Serial Number and MAC address sticker.
The HW Version will be visible by the Model Number on that sticker.
Image below has a Red Square around the Model Number and HW version of an older RV042 as a reference. HW is indicated with 'v' and rational number, i.e. v1.1, v2.0. Your sticker may look slightly different, but the content will be the same:
Now that we are certain of the HW version, check the release notes below to check the best firmware version for your RV042. I have provided a link below to the RV042 Release Notes:
Firmware v 4.0.0.7 Release Notes: http://www.cisco.com/en/US/docs/routers/csbr/rv0xx/release/rv0xx_rn_v4-0-0-7.pdf
Firmware v 1.3312.19-tm Release Notes: http://www.cisco.com/en/US/docs/routers/csbr/rv042/release/notes/RV042_RN_v1-3-12-19-tm.pdf
If your RV042 is using neither of the 2 firmwares, follow this link to download the correct version for your router:
http://www.cisco.com/cisco/software/type.html?mdfid=282414010&flowid=784
I would recommend you download and 'flash' your RV042 with the current compatible version of firmware to address the possibility of software corruption.
Now, we need to reset your RV042 to factory defaults to remove any parameters previously configured and also, in essence, clear the router's memory so that we can start afresh. When this happens, your RV042 will return all settings to their default state; in other words, it will be as if you are pulling it out of the box for a new install. To do this:
Disconnect the RV042 from your network, so that the only item the RV042 is only connected to the power outlet.
Locate the reset button on your RV042. This will be on the front of your router and it will be recessed a bit.
Use a small tipped item; paperclips usually work best, to hold down the reset button for 30 secs. Anytime less will not guarantee a full reset to factory defaults.
Connect your RV042 to your PC. After about 30 secs, ensure that you have an IP address of 192.168.1.100 on your PC.
Now, let's test each WAN port with each of your ISP connections.
The next few steps will take us through a process that will ensure both WAN ports are working, and ultimately will help is in determining your Dual-WAN connectivity performance.
Connect one of your DSL modems to WAN1 and configure the WAN1 interface accordingly:
· DSL connections typically are UN-bridged by default; where you will see the modem is performing NAT. You will use DHCP as the WAN tupe for UN-bridged DSL connection types. This UN-bridged state can be recognized quickly in a couple of ways.
o There is a PRIVATE IP address displayed as the WAN1 IP address, e.g. 192.168.x.x. where X is a number 0-254, 10.x.x.x where X is a number 0-254, or less commonly, 172.16.x.x where X is a number 0-254.
o When connecting to the modem directly to your PC, you are able to reach the Internet.
o If your DSL connection is UN-bridged, you must make sure the LAN IP Subnet of your Modem and Router are NOT the same.
o Again, you will use DHCP as the WAN type for UN-bridged DSL connection types.
· DSL connection that is Bridged will require a PPPoE Username AND Password. This PPPoE username and password will be entered on the RV042 under the WAN type PPPoE. PPPoE connections can be quickly recognized in the same manner:
o There is a PUBLIC IP address displayed as the WAN1 IP address AFTER correctly configuring WAN interface to use PPPoE and using correct UN/PW.
o You are NOT able to reach the Internet when connecting your PC directly to your RV042.
· Contact your ISP to assist you in determining the bridged state of your modem to be absolutely certain.
2. After you have properly configured WAN1 and confirmed Internet connection, configure WAN2 in the same fashion.
3. Change Primary WAN to WAN2 by going to the following location in the RV042:
· System Management>Dual-WAN> Smart-Link Backup Primary : WAN2 (change this option)
4. Disconnect DSL Modem from WAN1 and connect to WAN2.
5. Power cycle the DSL Modem, RV042, and also disconnect your PC from the router as well while it is powered down.
6. After about 5-10 sec, and in this order, power on your Modem, power on you RV042, and reconnect your PC to one of the LAN ports of your RV042
7. After about 30-60 secs, test for Internet connectivity.
Now we will do the same for your other ISP connection.
1. Disconnect all devices from the RV042, save your PC.
2. Change Primary WAN to WAN1 by going to the following location in the RV042:
· System Management>Dual-WAN> Smart-Link Backup Primary : WAN1 (change this option)
3. Connect 2nd ISP connection to WAN1 and configure according to Modem configuration, either DHCP or PPPoE.
4. Power cycle the DSL Modem, RV042, and also disconnect your PC from the router as well while it is powered down.
5. After about 5-10 sec, and in this order, power on your Modem, power on you RV042, and reconnect your PC to one of the LAN ports of your RV042
6. After about 30-60 secs, test for Internet connectivity.
7. Do the same for WAN2 using your 2nd ISP connection
At this point, we should now know for certain if both WAN Interfaces will allow Internet connectivity.
If you have problems with these steps, repost with the steps you took and the results.
If things are OK, then we will continue with configuring the router for Load Balance Mode:
1. Navigate to System Management>Dual-WAN and change your selection from Smart-Link Backup to Load balance
2. Configure both WAN1 and WAN2 with the configuration that correlates to the Modem connection it will receive.
3. Connect both Modems to the correct WAN port on the RV042.
4. Power cycle all devices; Both Modems, RV042, and PC
5. Navigate to RV042 management page and check to see if there are IP addresses for WAN1 & WAN2 Interfaces.
If you have problems with these steps, repost with the steps you took and the results. Let us know your results. -
Hi,
I am new in ACE 4700. I have configured ACE 4700 for load balancing the FAX servers. Probe, ServerFarm, Real server, Virtual server, VIP state every thing is up and in service. But I am not able to access the real server using VIP IP address.
Below is the running configuration. Please help me to troubleshot the problem.
HOB-ACE-1/Admin# sh run
Generating configuration....
no ft auto-sync startup-config
boot system image:c4710ace-mz.A3_2_0.bin
hostname HOB-ACE-1
interface gigabitEthernet 1/1
description Man_HOB_1
switchport access vlan 1000
no shutdown
interface gigabitEthernet 1/2
description VIP_HOB_1
switchport access vlan 24
no shutdown
interface gigabitEthernet 1/3
description HA_HOB_1
switchport access vlan 180
no shutdown
interface gigabitEthernet 1/4
shutdown
[7m--More-- [m
access-list ALL line 8 extended permit ip any any
probe icmp ICMP_PROBE1
interval 15
faildetect 4
passdetect interval 60
passdetect count 5
receive 5
rserver host MFREFSAS497
description MAAFAXSERVER
ip address 10.16.12.148
conn-limit max 4000000 min 4000000
inservice
rserver host MSHOFCFS489
description HOBFAXSERVER
ip address 10.26.12.130
conn-limit max 4000000 min 4000000
inservice
[7m--More-- [m
[K
serverfarm host SFHOBACE-1
description SFHOBACE-1
predictor hash header Accept
probe ICMP_PROBE1
rserver MFREFSAS497 80
conn-limit max 4000000 min 4000000
inservice
rserver MSHOFCFS489 80
conn-limit max 4000000 min 4000000
inservice
class-map match-all VSHOBACE-1
2 match virtual-address 10.26.24.242 any
class-map type management match-any remote_access
201 match protocol xml-https any
202 match protocol icmp any
203 match protocol telnet any
204 match protocol ssh any
205 match protocol http any
206 match protocol https any
207 match protocol snmp any
[7m--More-- [m
[K
policy-map type management first-match remote_mgmt_allow_policy
class remote_access
permit
policy-map type loadbalance first-match VSHOBACE-1-l7slb
class class-default
serverfarm SFHOBACE-1
policy-map multi-match global
class VSHOBACE-1
loadbalance vip inservice
loadbalance policy VSHOBACE-1-l7slb
loadbalance vip icmp-reply
nat dynamic 1 vlan 24
nat dynamic 1 vlan 1000
service-policy input global
interface vlan 24
description "Client VLAN"
ip address 10.26.24.243 255.255.255.0
[7m--More-- [m
access-group input ALL
no shutdown
interface vlan 1000
ip address 10.26.12.132 255.255.255.0
peer ip address 10.26.12.133 255.255.255.0
access-group input ALL
service-policy input remote_mgmt_allow_policy
no shutdown
ft interface vlan 180
ip address 192.168.180.2 255.255.255.248
peer ip address 192.168.180.3 255.255.255.248
no shutdown
ft peer 1
heartbeat interval 300
heartbeat count 10
ft-interface vlan 180
ft group 1
peer 1
priority 140
associate-context Admin
[7m--More-- [m
inservice
ip route 0.0.0.0 0.0.0.0 10.26.12.1
snmp-server contact "HOB_ACE"
snmp-server location "HOB"
snmp-server community FAXSERVER group Network-Monitor
snmp-server user administrator Network-Monitor
snmp-server trap-source vlan 1000
username admin password 5 $1$GtO1e504$eGuyxxDcXck7SkxqBfRkI. role Admin domain
default-domain
username www password 5 $1$N5ClX7jy$kDhGgN.uukWQKvQMd3pY.1 role Admin domain de
fault-domain
ssh key rsa 1024 force
Thanks and Regards,
AshfaqueHello Hossain,
Applying the policy globally on the box is commonly not the prefered way to go, you can use instead a single multi-match policy per SVI for easier managent; this will also also help to narrow down problems to a specific policy and VIP while T-Shooting.
Use the
ACE/Admin(config)# no service-policy input global
ACE/Admin(config)# interface vlan 24
ACE/Admin(config-if)# service-policy input global
Also you want to remove the NAT from the multi-match policy, you're running in routed mode so NAT should not be required; if it was required then you don't have any natpool configured or as Ahmad mentioned it was truncated from the configuration.
Something that caught up my attention is that your default route is pointing to the server VLAN that happens to be also your management VLAN, I'll have to lab it up but my first impression is that either the traffic coming to the VIP on vlan 24 should be always NAT'd to an IP of 10.26.24.X/24 before it gets to the ACE or else there will be a routing loop that will not allow the flow to complete correctly.
Do you happen to have a quick logical diagram of this piece of the network?
Thnx
Pablo -
Best practice for load balancing on SA540
Are there some 'best practice' guide to configure out load balancing on SA540 .?
I've got 2 ADSL lines and would like device to auto manage outgoing traffic .. Any idea ?
RegardsHi,
SA500 today implements flow based round robin load balancing scheme.
In the case of two WAN link (over ADSL), by default, the traffic should be "roughly" equally distributed.
So in general, users should have no need to configure anything further for load balancing.
The SA500 also supports protocol binding (~PBR) over WAN links. This mechanism offers more control on how traffic can flow.
For example, if you have 1 ADSL with higher throughput than the other ADSL link offers, you can consider to bind bandwidth-hungry app on the WAN link connecting to the higher ADSL link and the less bandwidth-hungary app on the other one. The other traffic can continue to do round robin. This way you won't saturate the low bandwidth link and give users better application experiences.
Regards,
Richard -
Mod_oc4j for load-balancing
Guys,
Looking for some feedback on DMSMetricCollector when using "metric" as the selectmethod for load-balancing. What i want to know is that whether the DMSMetricCollector can be configured to use multiple metrics such jvm-heapsiize, servlet-processRequestTime etc, Connection-pools FreePoolSize.value etc ? the documentation doesn't explicitly mention that if its possible, apparently it doesn't but want to check from the experts here, Steve you might have something on this...
Or if there is any other implementation available which supports load-balancing based on multiple performance metrics
Thanks and Regardscan i use this loadbalancer.jar or not?
how to mod_oc4j in standalone app server -
New CAS for Load Balancing Exchange 2007
I want to add a new CAS to an existing Exchange 2007 environment (there is already one CAS and it functions properly) to allow for load balancing. After adding the new server I wanted to do some testing (before I actually set it up for load balancing).
If I try to log in to a mailbox using OWA I get an error stating that "Exception type: Microsoft.Exchange.Data.Storage.ConnectionFailedTransient ExceptionException message: Cannot open mailbox". I am sure I am missing something simple, but cannot
figure it out. Could someone point me in the right direction?Is your new CAS in the same Windows site as the rest of your Exchange servers? In Exchange 2007 and 2010, the CAS needs to be in the same Windows site as the mailbox it is servicing (unless you are accessing from the Internet and the other site has
no externally accessible CAS). -
Hi all,
During our testing we are getting a load balancing issue. However, one of the agates in our network is has more CPU power than compared to the other agates in our ITS network. The memory on all the agate servers is the same.
Our current issue we are getting is the one agate that has more cpu power but acquires more sessions as compared to the other two agates. It roughly gets 60 more sessions per agate process as compare to the other Agate servers. Does having more cpu on a Agate affect the load balancing on ITS? We are on ITS patch level 19 with the Hotfix.
Thanks,
Jin BaeHello Jin,
yes, at (re)initialize the WGate retrieves the capacity from the AGates.
This is an accumulated number based on CPU performance and the number of CPUs!
The number can be seen in "wgate-status" as the "Capacity" of the AGate.
When running multiprocess Agates the number is retrieved from the MManager and also involves the number of agate-processes.
The WGate dispatches the load in proportion depending on these capacity numbers.
By my knowledge there is no way that these values can be configured (fixed).
Regards,
Fekke -
Windows Event Collector - Built-in options for load balancing and high availability ?
Hello,
I have a working collector. config is source initiated, and pushed by GPO.
I would like to deploy a second collector for high availability and load balancing. What are the available options ? I have not found any guidance on TechNet articles.
As a low cost option, is it fine to simply start using DNS round-robin with a common alias for both servers pushed as a collector name through GPO ?
In my GPO Policy, if I individually declare both servers, events are forwarded twice, once for each server. Indeed it does cover high availability, but not really optimized.
Thanks for your help.Hi,
>>As a low cost option, is it fine to simply start using DNS round-robin with a common alias for both servers pushed as a collector name through GPO ?
Based on the description, we can utilize DNS round robin to distribute workloads and increase fault tolerance. By default, DNS uses round robin to rotate the order of RR data returned in query answers where multiple RRs of the same type exist for a queried
DNS domain name. This feature provides a simple method for load balancing client use of Web servers and other frequently queried multihomed computers. Besides, by default, DNS will perform round-robin rotation for all RR types.
Regarding DNS round robin, the following article can be referred to for more information.
Configuring round robin
http://technet.microsoft.com/en-us/library/cc787484(v=ws.10).aspx
TechNet Subscriber Support
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Best regards,
Frank Shen -
CF8/JRun4 Cluster for Load Balancing
Does anyone have an example of how to set up a CF8/JRun4
cluster for load balancing?
I have three servers:
x004 - Linux - Apache2 (10.0.0.54,10.1.0.54)
x020 - Linux - JRun4/CF8 (10.0.0.70,10.1.0.70)
x021 - Linux - JRun4/CF8 (10.0.0.71,10.1.0.71)
Every server in our network has two network cards. One
network card is attached to 10.0.x.x which has a gateway to the
internet and runs at 100Mbps and is firewalled, and the other is
attached to 10.1.x.x which runs at 1Gbps and is internal with no
gateway. I'm trying to set it up so web traffic arrives on
10.0.0.54 into Apache and mod_jrun20 bootstraps a cluster named
STST using 10.1.0.54 which consists of STST_x020 coldfusion server
running on x020 and STST_x021 running on x021. I want the
communications between JRun4 on x020 and x021 to occur on the
10.1.x.x network and eventhough JRun and ColdFusion will only use
the 10.1.x.x network I still need the 10.0.x.x network card
attached for other purposes which require a gateway. I have
installed JRun4/CF8 about 10 times already and it seems I have no
control over what network JRun4 clusters on... sometimes it will
communicate on one, sometimes the other and without being able to
set which network is being used there always seems to be "network
error" on at least one of the two CF8 servers. I was able to get
everything working fine by disabling the network cards on the
10.0.x.x network and re-installing everything... but as soon as I
added the network cards back the whole thing was broken again.
How is this supposed to work? Most of the examples are either
no clustering or clustering on the same machine with Apache running
on the same box... I don't see any clustering across machines
examples.
How do I install a connector on a web server which doesn't
have JRun on it and get wsconfig to connect to a multi-machine
cluster when wsconfig only accepts a single IP address as a host
and the cluster is not listed?
How do I get JRun to bind to a specific network card?
Does this work if I choose a J2EE server other than JRun?
Any help anyone can provide is greatly appreciated. I'm
getting close to giving up which means staying on the non-clustered
environment and figuring out how we can deal with scalability by
switching to something else.The article at
http://www.adobe.com/go/1e8e9170
is specific to configuring two or more cluster nodes that reside on
separate networks, e.g. 10.0.1.0/24 and 10.0.2.0/24. (The article
doesn't state it, but you can only use unicast peers if your
cluster nodes host a single instance of JRun or multiple instances
of JRun in the same cluster domain. When performing unicast
discovery, JRun looks for all Jini groups and not just the cluster
group.)
Anyhow, that's not your problem. The simplest solution is you
haven't enabled the jrun.servlet.jrpp.JRunProxyService service. I'm
most familiar with the Windows version of JRun, but I'm assuming
the directory structure is similar across platforms. In
<jrun_root>/servers/<name>/SERVER-INF/jrun.xml, set the
deactivated attribute of the jrun.servlet.jrpp.JRunProxyService
service to false and restart JRun. You should now see JRun
listening on the appropriate port. (The default for the first
manually created instance is 51000.) You can limit the proxy
service to a single interface using the interface attribute.
If you have enabled the proxy service, verify your security
settings in <jrun_root>/lib/security.properties. It's usually
best to limit access to specific hosts. Comment out the
jrun.subnet.restriction parameter and set the jrun.trusted.hosts to
the IP address of your web server, e.g. 10.1.0.54.
Forcing all JRun processes/services to listen on a single
interface isn't difficult, but it does require modifying quite a
few configuration files by hand. If you need assistance with that,
I can elaborate.
Configuring the JRun module under Apache is pretty
straightforward. If you're not using virtual hosts, it's very
simple. If you are using virtual hosts, it's still simple, but your
JRun configuration can be virtual host-specific.
On your Apache server, you'll want to create a directory
structure for the JRun module. I'll assume
/opt/jrun/lib/wsconfig/1, but you can use anything you want. Once
the directory structure is created, extract the appropriate JRun
module from wsconfig.jar to the new directory. You're most likely
interested in the Apache 2.0 module,
wsconfig.jar/connectors/apache/intel-linux/prebuilt/mod_jrun20.so.
Let's assume you've extracted the module to
/opt/jrun/lib/wsconfig/1/mod_jrun20.so. Your Apache service account
should have read, write, and execute permissions on the
/opt/jrun/lib/wsconfig/1 directory.
The JRun module configuration is normally appended to your
current httpd.conf file by wsconfig. Here's a sample configuration:
LoadModule jrun_module
"/opt/jrun/lib/wsconfig/1/mod_jrun20.so"
<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore
"/opt/jrun/lib/wsconfig/1/jrunserver.store"
JRunConfig Bootstrap 10.1.0.70:51000
#JRunConfig Errorurl <optionally redirect to this URL on
errors>
#JRunConfig ProxyRetryInterval 600
#JRunConfig ConnectTimeout 30
#JRunConfig RecvTimeout 30
#JRunConfig SendTimeout 30
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr
.cfswf
</IfModule>
You may also want to update your DirectoryIndex directive
with an appropriate index page, e.g. index.cfm.
After the first request to a page handled by the JRun module
is received, the module will query the boostrap server,
10.1.0.70:51000, for a list of cluster peers. If you've configured
your cluster correctly, a line similar to following will be written
to /opt/jrun/lib/wsconfig/1/jrunserver.store:
proxyservers=10.1.0.70:51000;10.1.0.71:51000
You can create/edit this file manually as well.
Unfortunately, the bootstrap option only accepts one server. If
your bootstrap server is down, the JRun module will use the values
in jrunserver.store directly, if the file exists.
Here's a complete list of JRun module options:
metrics *
debugger *
ssl *
verbose
traceflags
serverstore
bootstrap
errorurl
apialloc
ignoresuffixmap
proxyretryinterval
connecttimeout
recvtimeout
sendtimeout
sslcalist
Options flagged with an asterisk can only be configured at
the Apache server level. All other options can be configured at the
server level and/or the virtual host level. The usage of these
options is in the JRun documentation, and the JRun module source
code is included in wsconfig.jar. Keep in mind that versions of the
JRun module shipped prior to ColdFusion 8 were coded to assign the
connecttimeout and sendtimeout options to the socket connection
timeout. Whichever option appeared last in your configuration ended
up as the final value. This has been fixed in ColdFusion 8 and
presumably the next release of the JRun updater.
I think that's a good start. If you need more information or
can't find what you need in the JRun or ColdFusion documentation,
let me know.
If you're looking for resiliency, I highly recommend
expanding your configuration to include a second web server and a
hardware load-balancer (preferably one that supports redudancy via
multiple paths and devices, e.g. devices from Cisco, F5, or Foundry
Networks). Often, however, running Apache on the ColdFusion
server(s) provides adequate performance, and round-robin DNS
records coupled with the ability to update DNS quickly in the event
of a failure may be all you need for load-balancing and
failover. -
Webdispatcher for Load balancing
Hi All,
We have implemented EP7. The portal is configured to redirect to https.
Now we want to use sapwebdispatcher for load balancing.
We are performing the following steps to configure the sapwebdispatcher
1. uncar the icmadmin.SAR
2. sapwebdisp -bootstrap
The following screen appears:
This bootstrap will perform the following steps:
1. create profile file "sapwebdisp.pfl"for SAP Web Dispatcher (if not already existing)
2. create user for web based administration in file "icmauth.txt"(if not already exisiting)
3. start SAP Web Dispatcher with the created profile
After the bootstrap you can use the web based administration
Generating Profile "sapwebdisp.pfl"
Hostname of Message Server (rdisp/mshost): <hostname>
HTTP Port of Message Server (ms/http_port): 8101
Checking connection to message server...OK
Unique Instance Number for SAP Web Dispatcher (SAPSYSTEM): 38
HTTP port number for SAP Web Dispatcher: 8101
Create configuration for s(mall), m(edium), l(arge) system (default: medium): l
WARNING: Maximum number of sockets supported on this system: 2045
Please check the operating system configuration
Profile "sapwebdisp.pfl" generated
Authentication file "icmauth.txt" generated
Web Administration user is "icmadm" with password "xxxxxxxxx"
Restart sapwebdisp with profile: sapwebdisp.pfl
sapwebdisp started with new pid 14014
Web administration accessible with "http://<hostname>:8101/sap/wdisp/admin/default.html"
SAP Web Dispatcher bootstrap ended (rc=0)
<hostname>47> *** WARNING: Could not start service 8101 for protocol HTTP on host "<hostname>m"(on all adapters)
SAP Web Dispatcher up and operational (pid: 14014) ***
Now, if I use any port other than 8101 for HTTP port number for SAP Web Dispatcher the webdispatcher does not work.
If i use port 8101(which i am using currently) then the webdispatcher does the load balancing however i cannot access the http://<hostname>:8101/sap/wdisp/admin/default.html url
Can anyone help me getting both thigs: load balancing and the webdisp admin page also.
Thanks!!
Regards,
RohitHi Rohit,
this is your Profile File
Generating Profile "sapwebdisp.pfl"
Hostname of Message Server (rdisp/mshost): <hostname>
HTTP Port of Message Server (ms/http_port): 8101
Checking connection to message server...OK
Unique Instance Number for SAP Web Dispatcher (SAPSYSTEM): 38
HTTP port number for SAP Web Dispatcher: 8101
Create configuration for s(mall), m(edium), l(arge) system (default: medium): l
WARNING: Maximum number of sockets supported on this system: 2045
Please check the operating system configuration
Profile "sapwebdisp.pfl" generated
Authentication file "icmauth.txt" generated
Web Administration user is "icmadm" with password "xxxxxxxxx"
Restart sapwebdisp with profile: sapwebdisp.pfl
sapwebdisp started with new pid 14014
Web administration accessible with "http://<hostname>:8101/sap/wdisp/admin/default.html"
You have wrongly configured your HTTP port number for SAP Web Dispatcher make it as 80 by default
Sample Profile File:
Profile generated by sapwebdisp bootstrap
unique instance number
SAPSYSTEM = 1
add default directory settings
DIR_EXECUTABLE = .
DIR_INSTANCE = .
Accessibility of Message Servers
rdisp/mshost = Hostname
ms/http_port = 8101
SAP Web Dispatcher Parameter
wdisp/auto_refresh = 120
wdisp/max_servers = 100
wdisp/shm_attach_mode = 6
configuration for small scenario
icm/max_conn = 100
icm/max_sockets = 1024
icm/req_queue_len = 300
icm/min_threads = 5
icm/max_threads = 15
mpi/total_size_MB = 20
#maximum number of concurrent connections to one server
wdisp/HTTP/max_pooled_con = 100
wdisp/HTTPS/max_pooled_con = 100
SAP Web Dispatcher Ports
icm/server_port_0 = PROT=HTTP,PORT=80
icm/server_port_1 = PROT=ROUTER,PORT=443
Swapnil -
Dear all,
I am using a simple load balacing based on static routing, running V 3.8.4.
Although checking route and cef details confirms load balancing is as it should be...load on interfaces is very much apart for outpout traffic (input looks fiine).
load interval and configuraion on each interface is exactely the same, no bundling used.
Any thoughts ?
TIA
SamirSamir,
The load balancing algorithm used in CRS by default is based on L3, 3 tuple, hash. So if you don't have enough different l3 source/destination addresses you won't see as even distribution. Normally this is just fine. But depending on the traffic flows you have you may need to go to L4, 7 tuple, algorithm. This will then look deeper into the packets and use the L4 ports along with source and destinations addresses to balance out the flows.
To change this it's global config command "cef load-balancing fields l3/l4".
This will change the hashing algorithm used on the linecards for load balancing.
Thanks,
Bryan -
SIP load balancing issue with ACE 4710
SIP Load balancing Issue with ACE 4710
I have a Cisco ace 4710 with vesion Version A4(2.2). i configued simple SIP load balancing first without stickiness. without stikeiness we are having a problem because bye packet at the was not going to the same server all the time that left our port in used even though user hang up the phone. its happen randmly. i have a total 20 licenced ports and its fill out very quickly. so i dicided to use the stickiness with call-ID but still same issue. below is the config
rserver host CIN-VOX-31
ip address 172.20.130.31
inservice
rserver host CIN-VOX-32
ip address 172.20.130.32
inservice
serverfarm host CIN-VOX
probe SIP-5060
rserver CIN-VOX-31
inservice
rserver CIN-VOX-32
inservice
sticky sip-header Call-ID VOX_SIP_GROUP
timeout 1
timeout activeconns
replicate sticky
serverfarm CIN-VOX
class-map match-all CIN_VOX_L4_CLASS
2 match virtual-address 172.22.12.30 any
class-map match-all CIN_VOX_SIP_L4_CLASS
2 match virtual-address 172.22.12.30 udp eq sip
policy-map type loadbalance sip first-match CIN_VOX_LB_SIP_POLICY
class class-default
sticky-serverfarm VOX_SIP_GROUP
policy-map multi-match GLOBAL_DMZ_POLICY
class CIN_VOX_SIP_L4_CLASS
loadbalance vip inservice
loadbalance policy CIN_VOX_LB_SIP_POLICY
loadbalance vip icmp-reply
class CIN_VOX_L4_CLASS
loadbalance vip inservice
loadbalance policy CIN_VOX_LB_SIP_POLICY
loadbalance vip icmp-reply
interface vlan 20
description VIP_DMZ_VLAN
ip address 172.22.12.4 255.255.255.192
alias 172.22.12.3 255.255.255.192
peer ip address 172.22.12.5 255.255.255.192
access-group input PERMIT-ANY-LB
service-policy input GLOBAL_DMZ_POLICY
could you please help me on this...
thanks
Rakesh PatelI mean there should be one more statement-
class-map type sip loadbalance match-any CIN_VOX_LB_SIP_POLICY
match sip header Call_ID header-value sip:
and that will be called under-
policy-map multi-match GLOBAL_DMZ_POLICY
class CIN_VOX_SIP_L4_CLASS
loadbalance vip inservice
loadbalance policy CIN_VOX_LB_SIP_POLICY
loadbalance vip icmp-reply
is that missing in your config ?
Maybe you are looking for
-
FlashBuilder 4.7 will not run in Debug mode with BlackBerry 10 simulator
We have developed an app that has been released both for Apple and Android working well. When trying to do the same for BlackBerry it was rejected because it did not start at all. The App that runs fine on the BlackBerry simulator in the "run configu
-
I am moving data from an oracle 10g table to another oracle 10g table, transforming the data in Access, filtering records, merging fields, etc.., then via Access VBA creating CTL files and neccessary scripts, then loading the data via SQL Loader. Get
-
Getting to a 'clean' finder from Startup Disk?
I am having huge problems with new monitors holding a calibration. My tech at Lacie has recommended starting up from the startup disk with basically a 'clean' finder so we can determine if I am having a hardware or software issue that is causing the
-
How to reset data Warehouse table
For fixing some mistakes, I'd like to reset the whole Data Warehouse tables ( clear alll data in the tables). Is there any way to achieve this with DAC client? Roger
-
Failed to read data from report file
Hello , When iam trying to publish crystal report to Bo enterprise using Publish wizard, i get below error *"Failed to read data from report file C:\Users\prakash\Desktop\new_obj.rpt. Reason: File I/O error. File ~cidbc64f360135e0.rpt."* can you plea