Installing a CDP as a High-availability CDP silently
The high-availability configuration distribution peer (HA-CDP) is a secondary CDP that provides redundancy in a high-availability environment and is an optional server component of TrueSight Orchestration. Until a failover occurs, a secondary CDP functions as an Activity Peer. As this peer is used to provide redundancy, you must deploy this server on a different computer than the primary CDP.
Even though APs and LAPs can be added after installation, BMC recommends that you add a peer first and then install it. You can use the Grid Manager Peers tab to add peers.
To add a peer to a grid
- Go to the Manage > Peers tab and click the Add a Peer icon.
- Enter a name for the peer and an optional description.
Select a Type from the list.
- (Optional, not applicable to LAPs) If the peer will be used as a synchronization point for uploading metrics, select Sync Point.
- (Optional; not applicable to LAPs) If this peer will service SOAP requests to run TrueSight Orchestration workflows, select SOAP Endpoint.
- Click OK.
To install the HA-CDP silently
- Log on to the host computer (if, as a root user, you are using Linux) where you want to install the CDP, and delete all the files from the temporary directory:
- (Windows) %temp%
- (Linux) /tmp
Create an options file for the repository by performing the following steps:
- Open a text editor to create a new file.
Copy the contents of the sample CDP options file provided here.
Sample options file to install the HA-CDP with external Remedy SSO#Replace the variables and sample values in this example.
-P installLocation=<fullPathToTheInstallationDirectory>
-J AO_INSTALL_TYPE=install_new
-J AO_INSTALLING_FEATURES=CDP
-J AO_START_SERVER_ON_SUCCESS=true
-J AO_USE_EXTERNAL_RSSO=true
-J AO_USE_EMBEDDED_RSSO=false
-J AO_RSSO_ADMIN_PASSWORD=<password>
-J AO_RSSO_REALM=<realm>
-J AO_RSSO_VERSION=9.1.03.x
-J AO_EXTERNAL_RSSO_URL=https://<fullyQualifiedRSSOhostName>:<port>
-J AO_WEBSERVER_PORT=38080
-J AO_WEBSERVER_SHUTDOWN_PORT=38050
-J AO_WEBSERVER_PROTOCOL=https
-J AO_CDP_IS_PRIMARY=false
-J AO_PEER_NET_CONFIG_PROTOCOL=https
-J AO_PEER_NET_CONFIG_CDP_HOST=<fullyQualifiedCDPhostName>
-J AO_PEER_NET_CONFIG_CDP_PORT=38080
-J AO_PEER_NET_CONFIG_GRID_NAME=MyGrid
-J AO_PEER_NET_CONFIG_NEW_PEER_NAME=HACDP1
-J AO_PEER_NET_CONFIG_VALIDATE=true
-J AO_WEBSERVER_HOST=<fullyQualifiedAOwebServerHostName>
-J AO_WEBSERVER_URL=https://<fullyQualifiedAOwebServerHostName>:38080/baocdp
-J AO_REPOSITORY_HOST=<fullyQualifiedRepoServerHostName>
-J AO_REPOSITORY_PROTOCOL=https
-J AO_REPOSITORY_PORT=28080
-J AO_REPOSITORY_USER_NAME=<adminUser>
-J AO_REPOSITORY_PASSWORD=<password>
-J AO_ADMIN_USERNAME=<adminUser>
-J AO_ADMIN_PASSWORD=<password>
-J AO_CASSANDRA_SERVER_CONFIG= true or false
-J AO_CASSANDRA_SERVER=<Host IP Address where Cassandra is installed>
-J AO_CASSANDRA_PORT=<CASSANDRA PORT>
-J AO_CASSANDRA_USERNAME=<username>
-J AO_CASSANDRA_PASSWORD=<password>
#Optional properties only required for Windows OS
#-J AO_WINDOWS_SERVICE_NAME=BAO-HACDP
#-J AO_WINDOWS_SERVICE_DISPLAY_NAME=TrueSight Orchestration HACDPSample options file to install the HA-CDP with embedded Remedy SSO#Replace the variables and sample values in this example.
-P installLocation=<fullPathToTheInstallationDirectory>
-J AO_INSTALL_TYPE=install_new
-J AO_INSTALLING_FEATURES=CDP
-J AO_START_SERVER_ON_SUCCESS=true
-J AO_USE_EMBEDDED_RSSO=true
-J AO_USE_EXTERNAL_RSSO=false
-J AO_RSSO_COOKIE_DOMAIN=<domain>
-J AO_WEBSERVER_PORT=38080
-J AO_WEBSERVER_SHUTDOWN_PORT=38050
-J AO_WEBSERVER_PROTOCOL=https
-J AO_CDP_IS_PRIMARY=false
-J AO_PEER_NET_CONFIG_PROTOCOL=https
-J AO_PEER_NET_CONFIG_CDP_HOST=<fullyQualifiedCDPhostName>
-J AO_PEER_NET_CONFIG_CDP_PORT=38080
-J AO_PEER_NET_CONFIG_GRID_NAME=MyGrid
-J AO_PEER_NET_CONFIG_NEW_PEER_NAME=HACDP1
-J AO_PEER_NET_CONFIG_VALIDATE=true
-J AO_WEBSERVER_HOST=<fullyQualifiedAOwebServerHostName>
-J AO_WEBSERVER_URL=https://<fullyQualifiedAOwebServerHostName>:38080/baocdp
-J AO_REPOSITORY_HOST=<fullyQualifiedRepoServerHostName>
-J AO_REPOSITORY_PROTOCOL=https
-J AO_REPOSITORY_PORT=28080
-J AO_REPOSITORY_USER_NAME=<adminUser>
-J AO_REPOSITORY_PASSWORD=<password>
-J AO_ADMIN_USERNAME=<adminUser>
-J AO_ADMIN_PASSWORD=<password>
-J AO_REPOSITORY_HA_IPADDRESS=<ipAddress>
-J AO_REPOSITORY_HA_PORT=28090
-J AO_CDP_HA_IPADDRESS=<ipAddress>
-J AO_CDP_HA_PORT=38090
-J AO_HACDP_HA_IPADDRESS=<ipAddress>
-J AO_HACDP_HA_PORT=38091
-J AO_CASSANDRA_SERVER_CONFIG= true or false
-J AO_CASSANDRA_SERVER=<Host IP Address where Cassandra is installed>
-J AO_CASSANDRA_PORT=<CASSANDRA PORT>
-J AO_CASSANDRA_USERNAME=<username>
-J AO_CASSANDRA_PASSWORD=<password>
#Optional properties only required for Windows OS
#-J AO_WINDOWS_SERVICE_NAME=BAO-HACDP
#-J AO_WINDOWS_SERVICE_DISPLAY_NAME=TrueSight Orchestration HACDP
- Replace the variables in the options file that match your environment requirements and save the file.
From the command line, run one of the following commands to start the installation program in silent mode.
OS
Command
Example
Windows
pathToInstaller\installCommand -i silent -DOPTIONS_FILE="fullPathToOptionsFile/optionsFile"setup.cmd -i silent -DOPTIONS_FILE=tso_CDP_options.txtLinux
sh ./installCommand -i silent -DOPTIONS_FILE="fullPathToOptionsFile/optionsFile"sh ./linux_bao_server_installer_<version>.sh -i silent -DOPTIONS_FILE=tso_CDP_options.txtWhen you perform a silent installation on Windows, the output is not displayed on the console. Instead, a short startup message and a console representation of a progress meter are displayed. The installation finishes without comments. On Redhat Linux, you can display the debug logging output on the console by exporting LAX_DEBUG=true.
Verify whether the component is installed successfully by viewing the installation log (BAO_install_log.txt) located at the following location:
- Red Hat Linux: /tmp
- Microsoft Windows: C:\DOCUME~1_userName_\LOCALS~1\Temp
Scroll to the end of the log file to locate the TrueSight Orchestration install succeeded success message.
To verify whether the HA-CDP is installed, log on to the Grid Manager (a web application hosted on the CDP), by using the following details:
The Status tab shows the grid that you set up when you installed the HA-CDP.
Post-installation activities
- If you are using the embedded Remedy SSO, after installing your TrueSight Orchestration components you must complete the steps as described in Configuring-a-fail-safe-enterprise-service-bus-after-installation.
If you are installing in a Linux environment, you must complete the following instructions after the installation.
Next step in the installation process
See the Installing section to proceed further in the installation process.