This section explains how to configure the Application Manager to be used with an already established cluster when the Application Manager is already installed on the primary NIU of the Application Server.
After completing this configuration, the Application Manager will be able to install and update applications on all NIUs in the cluster.
Follow these steps to configure the Application Manager to work on an NIU HA pair and to synchronize all application and data on the system.
Warning
When configuring the secondary NIU, be sure to not start or restart the Platform until the synchronization has completed. The xpressworkx_data_services and xpressworkx_web_services configuration entries in the ps_master_config.xml file will not be executable until the synchronization is complete.
Modify the Data Services process node in the ps_master_config.xml file on both the primary and secondary NIU to the following:
<process name="xpressworkx_data_services"
restart="1"
critical="1"
notify-cluster-changes="1"
online-script="/usr/sipxpress/bin/online_data_services"
offline-script="/usr/sipxpress/bin/offline_data_services"
stop-script="/usr/sipxpress/bin/stop_data_services"
run-offline="1"/>
Add the secondary NIU in the Application Manager, installed on the primary NIU, by running the following command:
xpressworkx_app_manager add secondary-niu <hostname or IP address>
Run the xpressworkx_app_manager list
command to make sure both the primary and secondary NIUs are listed. You should see output similar to the following:
Name Short Name Version Installed
Hostname Role
192.168.56.1 niu
192.168.56.2 secondary-niu
Run the xpressworkx_app_manager synchronize
command so that the Application Manager can push installs and updates to all AS in the cluster.
Restart the secondary NIU.