cancel
Showing results for 
Search instead for 
Did you mean: 

Naming of an ITS instance for loadbalacing

Former Member
0 Kudos

If you have 2 physical hosts (A and B)

Host A has one agate instance with multiple processes

Host B has one agate instance with multiple processes

In order to achieve load balancing would you have to name them with the same (virtual instance name ) During installation?

Thanks

Jeremy Baker

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Jeremy,

no, for loadbalancing you have to use the "wgate-config".

  • install a dual host agate on machine A

  • install a dual host agate on machine B

  • install a dual host wgate on say machine C (or the wgate is piggybagged on one of the agate hosts, then you have to install a single host instance on A or B)

After that you check the logical portnames for both agates (sapavw00_... and sapavwmm_...) in "services" on the according agate machines.

Then you configure the wgate (it already should have one instance with one agate from the installation) and put an extra agate (the one that is not added by install) in the instance. Use the hostname and portnumbers you found, set the agate to multiprocess and activate (i.e. save and internal restart)

That should do it.

Please switch of the "ConfigMonitorEnabled" afterwards and make a clean webserver restart (by hand)

Regards,

Fekke

Answers (3)

Answers (3)

Former Member
0 Kudos

In ItsRegistryWGATE.xml, (you have to duplicate the "AGate" structure in the "Instance" and fill it with the values as described above)

but please try to use the "/scripts/wgate/wgate-config?"; it will not mess-up the XML and keep it consistent.

If you're having trouble in saving this file from your webserver then make sure that it is writable for (windows)"IUSR_..","IWAM_..", (linux) "wwwrun" or whatever user your webserver workprocess is using; you can change it back afterwards.

If you decide to go manually then backup before every change in the registry files, one failure in the XML structure or semantic values will lead to unloadable/inaccesable parts of your ITS.

Former Member
0 Kudos

In which file do you add the extra agate,is it itsregistry.xml?

Thanks

Former Member
0 Kudos

And yes, give both the agates the same instance name when installing. Not really neccesary but better to avoid confusion, the are pointing to the same backend.