To configure high availability:
On both the primary and backup hosts, define the following environment variables:
PRIMARYHOST - the IP Address or hostname of the host running the primary servers (for example, set PRIMARYHOST=MyHost).
BACKUPHOST - the IP Address or hostname of the host running the backup servers (for example, set BACKUPHOST=OtherHost).
Install Solution Package for Solace on both the primary and backup host.
Configure your Solution Package for Solace servlets to be HA and deploy them to your application server:
cd projects\rtview-server
In a text editor, open update_wars (.bat or .sh) and fill in the values for HOST and HA_HOST as described in the script.
Run the update_wars(.sh or .bat) script.
Copy the generated war files to the webapps directory of your application server.
Configure your RTView Manager servlets to be HA and deploy them to your application server:
cd projects\rtview-manager
In a text editor, open update_wars (.bat or .sh) and fill in the values for HOST, HA_HOST, HA_DISPLAYHOST, and HA_FAILBACK as described in the script.
Run the update_wars (.sh or .bat) script.
Copy the generated war files to the webapps directory of your application server.
To run high availability, you must run from the command line:
Windows:
From the command line on the primary host, type bin\start_servers -haprimary.
From the command line on the backup host, type bin\start_servers -habackup.
UNIX:
From the command line on the primary host, type bin/start_servers.sh -haprimary.
From the command line on the backup host, type bin/start_servers.sh -habackup.