Configure HA
To configure high availability:
|
1.
|
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).
|
2.
|
Install Solution Package for Solace on both the primary and backup host. |
|
3.
|
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. |
|
4.
|
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 HOSTand 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. |
|
5.
|
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. |
©2013-2024 Sherrill-Lubinski Corporation. All Rights Reserved.