cancel
Showing results for 
Search instead for 
Did you mean: 

Load balancing with A-Gate

Former Member
0 Kudos

Hi All,

I wish to configure my single W-Gate (Linux) to load balance with 2 A-Gate (Window). Can anyone help?

Regards

Lauran

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Oh sorry, for the 2nd A-Gate, can the port number of "PortAGate" and "PortMManger" the same as the 1st A-Gate? The 1st and 2nd A-Gate are of different server.

Regards

Lauran

former_member316351
Active Contributor
0 Kudos

Hello Lauran,

The easiest way to find which AGate you are on is to do a view source. Towards the top of the page it will say something like:

<!--

This page was created by the

SAP Internet Transaction Server (ITS, Version 6200.1028.7433.5, Build 939173 WIN32, Virtual Server ITS1, Add. service info none, WGate-AGate Host server1, WGate-Instance ITS1)

All rights reserved.

Creation time: Tue Jun 17 10:23:05 2008

Charset: utf-8

Template: webgui/99/login

-->

In this case my AGate host is "server1" and I am using ITS instance "ITS1".

The port numbers that the two AGate instances are on can be the same since the servers are different. If they were on the same server then you wouldn't be doing this, but you would just increase the number of AGate processes (MaxAGates and MinAGates).

Edgar

Edited by: Edgar Chuang on Jun 17, 2008 10:21 AM

Former Member
0 Kudos

Hi,

Thanks for the information. 1 more question, after the configuration, how do I know which A gate I am accessing when i access the URL throught the W-Gate (since is it load balancing between 2 A-Gates)

Regards

Lauran

former_member316351
Active Contributor
0 Kudos

Hello Lauran,

I'm assuming that you already have the ITS working with one AGate server. To load balance between two you need to install the ITS AGate again on the second server with the same ITS instance name. Then on the WGate server you will need to modify the ItsRegistryWgate.xml. Under the <key name="Instances"> you will find a section already for this ITS instance name, like ITS1. You will need to copy and paste the Agate1 section and make it Agate2, change the Host name and the PortAGate and PortMManager and then save and restart. The finished section should look like:

- <key name="ITS1">

- <key name="Values">

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

<value name="Name" type="text">ITS1</value>

<value name="DocumentRoot" type="text">c:\its1081</value>

<value name="ServerName" type="text">Apache2 (virtual host: default:1081)</value>

<value name="NIReceiveRetryCount" type="text">0</value>

<value name="NIReceiveTimeout" type="text">0</value>

<value name="NISendTimeout" type="text">0</value>

</key>

- <key name="Agates">

- <key name="Agate1">

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

<value name="PortAGate" type="text">sapavw00_ITS1</value>

<value name="PortMManager" type="text">sapavwmm_ITS1</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">Hostname2</value>

<value name="PortAGate" type="text">sapavw00_ITS1</value>

<value name="PortMManager" type="text">sapavwmm_ITS1</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>