Installing and configuring the Infrastructure Management server for application high-availability silently
Where you are in the Installation process
You need to perform the following tasks to install and configure TrueSight Infrastructure Management in an application high-availability environment silently.
Step A: Install TrueSight Infrastructure Management on the primary computer silently
Application high-availability is supported only with the Oracle database. Install theTrueSight Infrastructure Managementserver on the primary computer. you must configure the Oracle database details in the server_install.options file during installation. If you have a supported earlier version of theTrueSight Infrastructure Managementserver, upgrade it to the latest version. See Upgrading the Infrastructure Management Server.
Do the following:
- Log in to the host computer (as a root user if you are using Linux) on which you want to install Infrastructure Management Server, and delete all the files from the temporary directory:
- (Windows) %temp%
- (Linux) /tmp and /var/tmp
- Extract the downloaded zip files (the installer) to a temporary location outside the following location to avoid any file sharing conflicts:
- (Windows) C:\Program Files
- (Linux) /opt
(Linux) Apply executable rights to all the installation files by running the following command:
chmod -R 755 installationDirectoryFolderName
installationDirectoryFolderName is the name of the folder that contains all the installation files.
For example, chmod -R 755 Disk1
You will need to type the Oracle database administrator, user, and report user passwords in an encrypted form in the server_install.options. You can encrypt these passwords using the TrueSightPServerMaintenanceTool through the wizard or command line interface:
- From the command prompt, navigate to the Disk1 folder:
- (Windows) <DownloadLocation>\TSIMServer\Disk1\
- (Linux) <DownloadLocation>/TSIMServer/Disk1/
- (Windows) <DownloadLocation>\TSIMServer\Disk1\
Open (or edit) the server_install.options file and and customize the following properties:
From the command prompt, run one of the following commands to start the installation. Type the complete path to the server_install.options file in the command. If the path includes a blank space, enclose the path within double quotes. Installation-related information is not displayed when the silent installation begins. However, installation occurs in the background.
- After the installation is complete, the Installation Summary page is displayed. You can periodically check the installation status by checking the tsim_server_install_log.txt file located at:
- (Windows) %temp%
(Linux) /tmp
- Run the following command to verify the Infrastructure Management installation:
- (Windows) # pw system status
(Linux) # pw system status
A list of pw server processes is displayed.
Step B: Install TrueSight Infrastructure Management on the secondary computer silently
Do the following:
- Log in to the host computer (as a root user if you are using Linux) on which you want to install Infrastructure Management Server, and delete all the files from the temporary directory:
- (Windows) %temp%
- (Linux) /tmp and /var/tmp
- Extract the downloaded zip files (the installer) to a temporary location outside the following location to avoid any file sharing conflicts:
- (Windows) C:\Program Files
- (Linux) /opt
(Linux) Apply executable rights to all the installation files by running the following command:
chmod -R 755 installationDirectoryFolderName
installationDirectoryFolderName is the name of the folder that contains all the installation files.
For example, chmod -R 755 Disk1
If you are using a single Oracle instance and already created the users as specified at Complete the preinstall tasks for application high-availability mode, enter details of the primary server Oracle instance with the proact and reporting user username and passwords specified for the secondary server. You will need to type the Oracle database administrator, user, and report user passwords in an encrypted form in the server_install.options. You can encrypt these passwords using the TrueSightPServerMaintenanceTool through the wizard or command line interface:
- From the command prompt, navigate to the Disk1 folder:
- (Windows) <DownloadLocation>\TSIMServer\Disk1\
- (Linux) <DownloadLocation>/TSIMServer/Disk1/
- (Windows) <DownloadLocation>\TSIMServer\Disk1\
Open (or edit) the server_install.options file and and customize the following properties:
From the command prompt, run one of the following commands to start the installation. Type the complete path to the server_install.options file in the command. If the path includes a blank space, enclose the path within double quotes. Installation-related information is not displayed when the silent installation begins. However, installation occurs in the background.
- After the installation is complete, the Installation Summary page is displayed. You can periodically check the installation status by checking the tsim_server_install_log.txt file located at:
- (Windows) %temp%
(Linux) /tmp
- Run the following command to verify the Infrastructure Management installation:
- (Windows) # pw system status
(Linux) # pw system status
A list of pw server processes is displayed.
Step C: Configure application high-availability
- Stop the Infrastructure Management process on both servers.
From the pw command prompt, run the following command:
pw sys stop
- On the primary server:
Run the following command from the pw command prompt:pw ha enableFor details about the command, see pw ha enable command
The command generates the HA configuration file ha-generated.conf in the installedDirectory\pw\pronto\tmp directory.- Go to the installedDirectory/pw/server/etc/<CellName>/mcell.conf, add the following property to indicate the Infrastructure Management host name, and save the file.
ServerHostName=<InfrastructureManagementHostName> - Copy the ha-generated.conf file to the secondary server.
- On the secondary server:
Run the following command from the pw command prompt:
pw ha enable standby file=<path of the ha-generated.conf file>
For details about the command, see pw ha enable standby command
- Go to the installedDirectory/pw/server/etc/<CellName>/mcell.conf, add the following property to indicate the Infrastructure Management host name, and save the file.
ServerHostName=<InfrastructureManagementHostName>
- Copy the installedDirectory\TrueSight\pw\pronto\tmp\addremoteagent file to the primary server.
- Copy the installedDirectory\TrueSight\pw\server\var\pncell_<host name>#1 folder from the primary server to the same location on the secondary server.
- On the secondary server, rename the folder that you copied from the primary server to:
pncell_<host name>#2 - Restart the primary server and then restart the secondary server.
From the pw command prompt, run the following command:
pw sys start - Run the following command from the primary and secondary server to verify the high availability status:
pw ha status - On the primary server, run the addremoteagent file.
- (Optional - to configure remote cells)
- On the primary server, add each remote cell entry to the installedDirectory/server/etc/mcell.dir file in the following format:
cell <cell name> <encryption key> <cell host>:<cell port>
For example, cell aaa-test-bmc1 mc aaa-test-bmc1:1828 - On the primary server, run the iadmin command from the installedDirectory\pw\server\bin directory to register the remote cell:
iadmin -ac name=<cell name>:key=<encryption key>:primaryHost=<cell host name>:primaryPort=<cell port>:environment=Production:usergroups=* - Perform the preceding steps on the secondary server.
- On the primary server, run the mcontrol command from the installedDirectory\pw\server\bin directory to reload the cell configuration:
mcontrol -n <pncell name> reload dir
- On the primary server, add each remote cell entry to the installedDirectory/server/etc/mcell.dir file in the following format:
- Register TrueSight Infrastructure Managementwith the Presentation Server.
- In the TrueSight console, go to Administration > Components, select the action menu
next to Components, and select Add Component.
- Select Infrastructure Management Server as the component type.
- Enter the Host Name configured in the load balancer in FQDN format.
- In the TrueSight console, go to Administration > Components, select the action menu
- (Optional) Delete the Oracle database schema (or Oracle instance, if you created a separate instance) of the secondary node, since it is no longer required after application high-availability is configured.
Troubleshooting installation issues
If you face issues during installation, see Troubleshooting the Infrastructure Management deployment.
Next step in the Installation process
Step 5 Phase B — Now that you have successfully installed the Infrastructure Management Server, you must install the Integration Service and Remote Cell.