Configuring multiple Application Servers on different hosts
This topic describes how to set up a multiple Application Server environment, with the Application Servers residing on different hosts.
To configure the Application Servers on different hosts
To configure multiple Application Servers on different physical hosts, follow these steps:
- If you have not done so already, install and configure an Application Server on one host machine and point it to a database.
Note the keystore password given for the above installation of the Application Server. You will need to provide the same password for the Application Server installations on the other physical hosts. - Install additional Application Servers on other physical machines, providing the same keystore password used by the first Application Server.
For each additional Application Server that you installed (see step 2), run the Post-Install Configuration wizard, and provide database connection specifications. Enter specifications for the same database that is used by the first Application Server (which you installed in step 1), so that all Application Servers communicate with the same database.
- Copy the bladelogic.keystore and rscd.cabundle.pem (if it exists) files from the <installationDirectory>/NSH/br/deployments directory on the first Application Server host to the same location on each new Application Server.
- Ensure that the time on all Application Server hosts are synchronized. BMC recommends that you configure the Network Time Protocol (NTP) service to point to the same NTP server.
- If you have more than one Application Server running on each host in a multiple host environment, ensure that you synchronize the keystore files and the corresponding password for all deployments. See Synchronizing keystore files of multiple Application Servers.
After you have configured the new Application Server(s), perform the following step if you have configured the file server agent ACLs. In this case you need to allow access to the file server by adding the newly created Application Server(s) to the exports file of the file server.
Use the following sample code:<application server 1>,<application server 2>,<application server n...> ro,user=blfsro- Start the Application Servers, in any order.
Additional folders to synchronize
If you are using local folders on the Application Server for Extended Object scripts, NSH Scripts, or custom CLI commands, then you must also synchronize those folders across all hosts in a multiple Application Server environment.
The following table contains some examples of folders that you may need to synchronize across hosts.
Folder | Description |
---|---|
NSH/share/sensors | You will need to synchronize this folder if:
|
NSH/Scripts | If this folder contains any Extended Object scripts, synchronize this folder on the new Application Server. |
Other folders | If you have any other folders that contain Extended Object scripts, custom grammar files, NSH scripts, or BLCLI commands, you also need to synchronize those folders on the new Application Server. The NSH/br/xml/cli folder is an example of a folder that might need to be synchronized, if you had created custom BLCLI xml file command definitions. |