Installing and configuring the Infrastructure Management server for application high-availability silently
Where you are in the Installation process
Step | Task |
---|---|
1 | Complete the planning activities |
2 | Prepare for TrueSight Operations Management installation |
3 | Install Remedy Single Sign-On |
4 | Install TrueSight Presentation Server |
5 | Install TrueSight Infrastructure Management — Phase A (You are here) |
Install TrueSight Infrastructure Management — Phases B and C | |
6 | Install App Visibility Manager (If licensed) |
7 | Install Real End User Experience Monitoring Software Edition (If licensed) |
8 | Install TrueSight IT Data Analytics (If licensed) |
9 | Complete the post-installation activities |
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.
Note
- Ensure that there are no Integration Services installed on the computer where the TrueSight Infrastructure Management Server will be installed. If any Integration Services are installed on this computer, the TrueSight Infrastructure Management Server installation fails.
- If you are using the Remote Desktop Connection (RDC) to install the product, put the RDC in console mode.
- If you are installing the Infrastructure Management Server with Oracle, ensure that port 7 is opened between the Server and the Oracle database system. If port 7 cannot be opened due to security restrictions, run the installer using the following option:
- (Windows)
install.cmd -J SKIP_PING_VALIDATION_ERROR=true
- (Linux)
./install.sh -J SKIP_PING_VALIDATION_ERROR=true
- (Windows)
- BMC recommends that you use MobaXterm as the UI to install TrueSight Infrastructure Management on Linux computers.
- (Windows or Linux) Ensure that the commands
domainname -f
andhostname
return the same output before proceeding with the installation. To disable the validation for oracle parameters during installation, set the following property to
false
in the oracle_db_configuration.conf file at (Windows) <TSIM Installer Directory>\Disk1\oracle_db_configuration.conf or (Linux) <TSIM Installer Directory>/Disk1/oracle_db_configuration.conf:pronet.oracle.instance.parameters_validate=false
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
If you are reinstalling the Infrastructure Management Server due to a failure, you must delete all the existing installation directories and files.
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:
Note
Ensure that the following system requirements are met. If your target computer does not meet these requirements, you cannot proceed with the installation. However, in a test environment, you can skip the system requirements validation and run the installer by using the
-J MINIMAL=true
argument.- Total RAM (in MB): 32,000
- Available RAM (in MB): 25,000
- Total swap space / page file (in MB): 8,000
- Available swap space / page file (in MB): 8,000
By default, the TrueSight Infrastructure Management Server uses 256-bit encryption. However, AES 256-bit encryption is not allowed in some countries due to import regulations. You can change the default encryption key size when you invoke the installer.
- 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.
Environment type Command Production environment with the default encryption setting (Windows)
install.cmd -i silent -DOPTIONS_FILE="<DownloadLocation>\server_install.options"
(Linux)
./install.sh -i silent -DOPTIONS_FILE="<DownloadLocation>/server_install.options"
Example
(Windows - With space)
install.cmd -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_install.options"
(Linux- With space)
./install.sh -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_install.options"
Production environment with user-specified encryption setting (Windows)
install.cmd –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<DownloadLocation>\server_install.options"
(Linux)
./install.sh -i silent -DOPTIONS_FILE="<DownloadLocation>/server_install.options"
Example
(Windows - With space)
install.cmd –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_install.options"
(Linux- With space)
./install.sh –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_install.options"
Test environment with the default encryption setting (Windows)
install.cmd -J MINIMAL=true -i silent -DOPTIONS_FILE="<DownloadLocation>\server_install.options"
(Linux)
./install.sh -J MINIMAL=true -i silent -DOPTIONS_FILE="<DownloadLocation>/server_install.options"
Example
(Windows)
install.cmd -J MINIMAL=true -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_install.options"
(Linux)
./install.sh -J MINIMAL=true -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_install.options"
Test environment with user-specified encryption setting
(Windows)
install.cmd -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<DownloadLocation>\server_install.options"
(Linux)
./install.sh -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<DownloadLocation>/server_install.options"
Example
(Windows)
install.cmd -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_install.options"
(Linux)
./install.sh -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_install.options"
Note
The TrueSight Infrastructure Managementinstallation may take between 20 to 60 minutes to complete.
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
Tip
- You can open and check the log file while the installation is in progress. If the installation fails at any point with a warning or error messages, you must troubleshoot the problems and restart the installation from Step 1.
- Based on the specific install script-level error and warning messages in the /tmp/tsim_server_install_log.txt file, you can refer to the /var/tmp/TrueSight_server_install.log file for additional details.
(Linux) Verify that the following environment variables are set.
$BPPM_SERVER_HOME
- $BMC_PROACTIVENET_HOME
(Linux) If you installed Infrastructure Management Server as a non-root user, do the following:
Configure the TrueSight Infrastructure Management process to automatically start each time the TrueSight Infrastructure Management server is restarted. To do this, register the process as a service by running the script described in the following procedure. Running this script also results in copying the Integration Service security files required by the PATROL Agent to connect with the Integration Service.
- Locate the script at <Infrastructure-Management-Installation-Directory>/pw/scripts.
- Run the script in the following format:
create_startup_script.sh [<Non-root-User-Name>]
where,<Non-root-User-Name>
refers to the non-root user name with which the process must be registered as a service.
Providing the non-root user name is optional. If you do not provide the non-root user name, by default, the script uses the non-root user name used for installing TrueSight Infrastructure Management to register the service.
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.
BMCTrueSight.service (Applicable only to version 11.3.04 and later on Linux)
You can use the systemd service
BMCTrueSight.service
located in the /etc/systemd/system directory to start and stop the Infrastructure Management server on Linux. For more information, see Starting and stopping the TrueSight Operations Management components.
Apply the Infrastructure Management license.
Note
- Applying or updating the license restarts the JServer process and forces all active user sessions on the Infrastructure Management Server to log off.
- You must have root privileges to apply the license.
When you purchased the product, you would have received the following license files in a .zip file from your BMC Software representative:
- proactivenet.lic
- proactivenet.sign
Do not move or delete the license file
- After loading the license, moving or changing the license files can cause a number of errors.
- When the Infrastructure Management is installed, a hidden .pbk file is created. It is recommended to save a back copy of this .pbk file. If the licence directory is removed and then re-created, the .pbk no longer exists. So the .pbk file must be re-added for Infrastructure Management licensing to function properly. This file can be captured from a backup of the installation (if a backup exists) or from another computer where Infrastructure Management is installed.
Step B: Install TrueSight Infrastructure Management on the secondary computer silently
Note
- Ensure that there are no Integration Services installed on the computer where the TrueSight Infrastructure Management Server will be installed. If any Integration Services are installed on this computer, the TrueSight Infrastructure Management Server installation fails.
- If you are using the Remote Desktop Connection (RDC) to install the product, put the RDC in console mode.
- If you are installing the Infrastructure Management Server with Oracle, ensure that port 7 is opened between the Server and the Oracle database system. If port 7 cannot be opened due to security restrictions, run the installer using the following option:
- (Windows)
install.cmd -J SKIP_PING_VALIDATION_ERROR=true
- (Linux)
./install.sh -J SKIP_PING_VALIDATION_ERROR=true
- (Windows)
- BMC recommends that you use MobaXterm as the UI to install TrueSight Infrastructure Management on Linux computers.
- (Windows or Linux) Ensure that the commands
domainname -f
andhostname
return the same output before proceeding with the installation. To disable the validation for oracle parameters during installation, set the following property to
false
in the oracle_db_configuration.conf file at (Windows) <TSIM Installer Directory>\Disk1\oracle_db_configuration.conf or (Linux) <TSIM Installer Directory>/Disk1/oracle_db_configuration.conf:pronet.oracle.instance.parameters_validate=false
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
If you are reinstalling the Infrastructure Management Server due to a failure, you must delete all the existing installation directories and files.
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:
Note
Ensure that the following system requirements are met. If your target computer does not meet these requirements, you cannot proceed with the installation. However, in a test environment, you can skip the system requirements validation and run the installer by using the
-J MINIMAL=true
argument.- Total RAM (in MB): 32,000
- Available RAM (in MB): 25,000
- Total swap space / page file (in MB): 8,000
- Available swap space / page file (in MB): 8,000
By default, the TrueSight Infrastructure Management Server uses 256-bit encryption. However, AES 256-bit encryption is not allowed in some countries due to import regulations. You can change the default encryption key size when you invoke the installer.
- 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.
Environment type Command Production environment with the default encryption setting (Windows)
install.cmd -i silent -DOPTIONS_FILE="<DownloadLocation>\server_install.options"
(Linux)
./install.sh -i silent -DOPTIONS_FILE="<DownloadLocation>/server_install.options"
Example
(Windows - With space)
install.cmd -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_install.options"
(Linux- With space)
./install.sh -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_install.options"
Production environment with user-specified encryption setting (Windows)
install.cmd –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<DownloadLocation>\server_install.options"
(Linux)
./install.sh -i silent -DOPTIONS_FILE="<DownloadLocation>/server_install.options"
Example
(Windows - With space)
install.cmd –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_install.options"
(Linux- With space)
./install.sh –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_install.options"
Test environment with the default encryption setting (Windows)
install.cmd -J MINIMAL=true -i silent -DOPTIONS_FILE="<DownloadLocation>\server_install.options"
(Linux)
./install.sh -J MINIMAL=true -i silent -DOPTIONS_FILE="<DownloadLocation>/server_install.options"
Example
(Windows)
install.cmd -J MINIMAL=true -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_install.options"
(Linux)
./install.sh -J MINIMAL=true -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_install.options"
Test environment with user-specified encryption setting
(Windows)
install.cmd -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<DownloadLocation>\server_install.options"
(Linux)
./install.sh -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="<DownloadLocation>/server_install.options"
Example
(Windows)
install.cmd -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\server_install.options"
(Linux)
./install.sh -J MINIMAL=true –J BMC_TS_KEY_SZ=<128/256> -i silent -DOPTIONS_FILE="/home/tsim user/Linux/Disk1/server_install.options"
Note
The TrueSight Infrastructure Managementinstallation may take between 20 to 60 minutes to complete.
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
Tip
- You can open and check the log file while the installation is in progress. If the installation fails at any point with a warning or error messages, you must troubleshoot the problems and restart the installation from Step 1.
- Based on the specific install script-level error and warning messages in the /tmp/tsim_server_install_log.txt file, you can refer to the /var/tmp/TrueSight_server_install.log file for additional details.
(Linux) Verify that the following environment variables are set.
$BPPM_SERVER_HOME
- $BMC_PROACTIVENET_HOME
(Linux) If you installed Infrastructure Management Server as a non-root user, do the following:
Configure the TrueSight Infrastructure Management process to automatically start each time the TrueSight Infrastructure Management server is restarted. To do this, register the process as a service by running the script described in the following procedure. Running this script also results in copying the Integration Service security files required by the PATROL Agent to connect with the Integration Service.
- Locate the script at <Infrastructure-Management-Installation-Directory>/pw/scripts.
- Run the script in the following format:
create_startup_script.sh [<Non-root-User-Name>]
where,<Non-root-User-Name>
refers to the non-root user name with which the process must be registered as a service.
Providing the non-root user name is optional. If you do not provide the non-root user name, by default, the script uses the non-root user name used for installing TrueSight Infrastructure Management to register the service.
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.
BMCTrueSight.service (Applicable only to version 11.3.04 and later on Linux)
You can use the systemd service
BMCTrueSight.service
located in the /etc/systemd/system directory to start and stop the Infrastructure Management server on Linux. For more information, see Starting and stopping the TrueSight Operations Management components.
Apply the Infrastructure Management license.
Note
- Applying or updating the license restarts the JServer process and forces all active user sessions on the Infrastructure Management Server to log off.
- You must have root privileges to apply the license.
When you purchased the product, you would have received the following license files in a .zip file from your BMC Software representative:
- proactivenet.lic
- proactivenet.sign
Do not move or delete the license file
- After loading the license, moving or changing the license files can cause a number of errors.
- When the Infrastructure Management is installed, a hidden .pbk file is created. It is recommended to save a back copy of this .pbk file. If the licence directory is removed and then re-created, the .pbk no longer exists. So the .pbk file must be re-added for Infrastructure Management licensing to function properly. This file can be captured from a backup of the installation (if a backup exists) or from another computer where Infrastructure Management is installed.
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:
For details about the command, see pw ha enable command
pw ha enable
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.
- Run the following command from the pw command prompt:
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.
- (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.
Important
The system requirements are validated every time you restart the host computer or product services. If the system requirements are not met, the product services are not started. To force-start the product services, see Starting and stopping the TrueSight Operations Management components.
Comments
Log in or register to comment.