The LIXA client (lixac
)
uses only one state server at a time, but different profiles can
use different state servers and you can statically balance the
workload.
We can not name it “workload balancing”, but this is
an effective way to manage large environments.
To configure many LIXA state servers you must put many
“sttsrv” tags in etc/lixac_conf.xml
as in the example below:
<sttsrvs> <sttsrv name="local_1" domain="AF_INET" address="127.0.0.1" port="2345" /> <sttsrv name="local_2" domain="AF_INET" address="127.0.0.1" port="3456" /> </sttsrvs>
then you must specify different “sttsrv” tags in the profiles as in the example below:
<profile name="ORA_DYN_DB2_DYN"> <sttsrvs> <sttsrv>local_1</sttsrv> </sttsrvs> <rsrmgrs> <rsrmgr>OracleXE_dynreg</rsrmgr> <rsrmgr>IBMDB2_dynreg</rsrmgr> </rsrmgrs> </profile> <profile name="ORA_DYN_DB2_STA"> <sttsrvs> <sttsrv>local_2</sttsrv> </sttsrvs> <rsrmgrs> <rsrmgr>OracleXE_dynreg</rsrmgr> <rsrmgr>IBMDB2_stareg</rsrmgr> </rsrmgrs> </profile>