Currently if you're running CirrAS in a VMware or Xen or KVM environment you must tell somehow JBoss AS instances where the loadbalancer (front-end appliance) is located.
Required steps
To run CirrAS on you must edit /etc/sysconfig/jboss-as6 file in all back-end appliances.
Example
If your back-end appliance is running on node with 172.16.10.134 IP and front-end appliance has a 172.16.10.133 IP address, edit /etc/sysconfig/jboss-as6 file like this:
JBOSS_VERSION=6.0.0.M2
JBOSS_HOME=/opt/jboss-as6
JBOSS_GOSSIP_PORT=12001
JBOSS_GOSSIP_REFRESH=5000
JBOSS_SERVER_PEER_ID=134
JBOSS_PROXY_LIST=172.16.10.133:80
JBOSS_IP=172.16.10.134
Note: Remeber to add valid port to JBOSS_PROXY_LIST!
VMware note
Please make sure, that after you add appliances to ESX/ESXi inventory you have selected valid Network label. CirrAS default is NAT on VMware personal (Fusion, Workstation) and VM Network on VMware enterprise (ESX/ESXi). You can change this in VMware settings after importing to invoentory an appliance.
Comments