Skip to Content
avatar image
Former Member

Naming of an ITS instance for loadbalacing

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 30, 2005 at 07:41 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 30, 2005 at 08:37 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 30, 2005 at 09:45 PM

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

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 30, 2005 at 10:30 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded