Skip to Content
avatar image
Former Member

Wgate Load Balancing Problem

Hi Folks,

We have ITS 6.20 Patch level 33 installed which connects to our R/3 system. We are trying to add multiple Agate servers (not multiple Agate processes) to one Wgate. We installed agates on two hosts, host1 and host2. We then installed wgate on host1 which we connected during the time of installation to agate on host2. It connected fine and we were able to get the webgui and also able to login to R/3 system. At that time we had problem in going to native ADM instance as we were getting http 500 error (we had re-installed ADM instance on both the hosts after the whole exercise of installating agate and wgate). Hoping that we can solve native ADM problem later, we added the the second agate which is on hosts1(the same host on which wgate is) by adding the entry for agate 2 in the wgate registry xml file.

<key name="Agates">

<key name="Agate1">

<value name="Host" type="text">host2</value>

<value name="PortAGate" type="text">sapavw00_******</value>

<value name="PortMManager" type="text">sapavwmm_******</value>

<value name="Type" type="text">1</value>

<value name="SncNameAGate" type="text"/>

<value name="SncNameWGate" type="text"/>

<value name="MultiProcess" type="text">no</value>

<value name="Available" type="text">yes</value>

</key>

<key name="Agate2">

<value name="Host" type="text">host1</value>

<value name="PortAGate" type="text">sapavw00_******</value>

<value name="PortMManager" type="text">sapavwmm_******</value>

<value name="Type" type="text">1</value>

<value name="SncNameAGate" type="text"/>

<value name="SncNameWGate" type="text"/>

<value name="MultiProcess" type="text">no</value>

<value name="Available" type="text">yes</value>

</key>

The second agate added fine and is doing load balancing as well as we can see requests getting routed to both the agate in the load balancing screen. However we are not able to access the global.srvc file under configuration->Performance->global services->All settings as we are getting the following message:

Error loading service file "global.srvc"!

Also when we go to services under configuration, we are getting a message "error accessing services directory!"

In default R/3 system also all the fields are empty although we had given the application server details while installing both the agates.

We are getting the below messages in diagnostics.log file:

2010-11-22T12:30:04.401 --- log opened -


A 2010-11-23T13:55:53.346 [agate,sapdiag ] 00, s00000000061DB140, CsRead returned rd=-100

2010-11-23T14:17:06.863 --- log closed -


2010-11-23T14:17:07.753 --- log opened -


A 2010-11-23T14:30:48.618 [agate,sapdiag ] 00, s00000000061DB220, Cannot handle request from login

A 2010-11-23T14:38:45.615 [agate, ] 00, s0000000000000000, WorkDoGetReq: ContReceiveContainer() failed, rc=0xffffffff

A 2010-11-23T14:38:45.615 [agate, ] 00, s0000000000000000, WorkDoWork: WorkDoGetReq() failed, rc=0xffffffff

A 2010-11-23T14:38:45.677 [agate,sapxgdk ] 00, s0000000000000000, ContSendContainer: FAILED, send length is 0

A 2010-11-23T14:38:50.958 [agate, ] 00, s0000000000000000, WorkDoGetReq: ContReceiveContainer() failed, rc=0xffffffff

A 2010-11-23T14:38:50.958 [agate, ] 00, s0000000000000000, WorkDoWork: WorkDoGetReq() failed, rc=0xffffffff

A 2010-11-23T14:38:50.974 [agate,sapxgdk ] 00, s0000000000000000, ContSendContainer: FAILED, send length is 0

Please let me know if this procedure of adding the agate was wrong or there are some parameter settings that we may have missed. Would it have been better to go for a single host wgate+agate installation on host1 and then add agate2 on host2?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 24, 2010 at 10:18 PM

    Hello Chandra,

    Did you install the ADM instance on only one of the AGate servers as a single or dual host? I believe you should install the AGate portion of the ADM instance on both AGate servers.

    Edgar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Edgar,

      Thanks for the reply. I had re-installed ADM instance on both the hosts after the whole exercise of installing agate and wgate.

      Anyways, Now we have uninstalled the earlier instances on both hosts and installed wgate+agate on host1 as a single host installation and agate2 on host2. Then we added agate2 to wgate1 and load balancing is working fine. Now the issue of not being able to access the service file and directories, etc has also been resolved. The only problem that remains is that we are not able to go into the native ADM. We get a http 500 error, although the redirect URL is correct. Is the any additional setting required for that to happen?