Installing the Infrastructure Management server in the disaster recovery mode
Infrastructure Management Server can be installed with Oracle or SAP SQL Anywhere as the database. Infrastructure Management is integrated with SAP SQL Anywhere, which is configured by default. If you want to install it with Oracle, you can configure the Oracle database during installation.
You need to perform the following tasks to install the Infrastructure Management server in the disaster recovery mode:
- Step A: To install the Infrastructure Management server on the primary host computer
- Step B: To perform post-install tasks after installing on the primary host computer
- Step C: To install the Infrastructure Management server on the recovery host computer
- Step D: To perform post-install tasks after installing on the recovery host computer
- Step E: To verify that the disaster recovery server is functional
- Troubleshooting installation issues
- Next step in the Installation process
Step A: To install the Infrastructure Management server on the primary host computer
Do the following:
- Log in to the host computer on which you want to install the Infrastructure Management Server, and delete all the files from the temporary directory:
- (Windows) %temp%
- (Linux) /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
- (Linux) Set the DISPLAY environment variable to ensure that the wizard-based installer launches the screens appropriately.
export DISPLAY=<IP address of the host computer>:0.0
- Navigate to the Disk1 directory of the extracted folder, use one of the following options to run the installer.BMC recommends that you run the installer by using install.cmd and not setup.exe.You must right-click on install.cmd and select Run as administrator.
- Review the welcome page, and click Next.
- Read the license agreement, agree to the terms, and click Next.
- (Windows) Start the Windows Firewall service from services.msc and run the following commands:
- (Microsoft Windows 2008 R2) netsh advfirewall set allprofiles state on
- (Microsoft Windows 2012 R2) netsh advfirewall set allprofiles state on
- (Microsoft Windows 2012) netsh firewall set opmode mode = ENABLE
- (Windows) On the Configuring Firewall Rules page, perform one of the following tasks, and click Next.
- Select Automatically configure the Windows Firewall rules.
- The Windows Firewall inbound rules are configured.
- Select I will manually configure Windows Firewall Rules now before proceeding further and configure inbound rules for the pw processes that are listed on the page.
If you prefer to use a third party firewall application that is installed on your computer, you must manually create the firewall inbound rules. For more information about creating firewall inbound rules, refer to the documentation of the third party firewall application.
The default installation directory is:
- (Windows) C:\Program Files\BMC Software\TrueSight
- (Linux) /opt/bmc/TrueSight
- The installer detects the FQDN of the host computer and populates the FQDN field automatically. Ensure that the FQDN is accessible by the other TrueSight components in your environment.
If you modify the FQDN:- Do not manually type any IP address in the FQDN field.
- Do not leave this field empty
Confirm this, and click Next. - Select Configure TrueSight Infrastructure Server for Disaster Recovery mode from the System Configuration Tasks, and click Next.
By default, Administrator e-mail from BMC TrueSight Infrastructure Management is selected. You can deselect it.
By default, SAP SQL Anywhere, which is integrated with TrueSight Infrastructure Management, is configured. If you want, you can choose to configure the Oracle database instead.
Based on your selection, the applicable configuration pages are displayed. Type the appropriate details, and click Next.
- Do not select the Cloud Vista - Enable and configure option.
- Do not select the DSIM - Enable and Configure option.
- (Oracle database only) If you are configuring an Oracle database, specify these details, and click Next.
- Review the installation details, and click Install. The installation may take upto 30 minutes.After the installation is complete, the Installation Summary page is displayed.
- Select View Logs to open the installation logs.
- (Linux) Verify that the following environment variables are set.
- $BPPM_SERVER_HOME
- $BMC_PROACTIVENET_HOME
- Run the following command to verify the Infrastructure Management installation:(Windows) # pw system status
(Linux)# pw system statusA list of pw server processes is displayed.
If errors occur, restart the BMC TrueSight Infrastructure Management Server by running the following command:(Windows)# pw system start
(Linux) # pw system start - Apply the Infrastructure Management 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
Register Infrastructure Management Server with the Presentation Server.
- Use the following format to define the Infrastructure Management Server URL, and launch the application in a browser.
- (Windows) http(s)://<TSIMFQDN>
- (Linux) http(s)://<TSIMFQDN>
- Type the default Admin credentials (User name: admin, Password: admin12345), and click Log In.
The Infrastructure Management console opens. - (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.
Step B: To perform post-install tasks after installing on the primary host computer
- Stop the primary Infrastructure Management Server processes and take a backup of the installationDirectory/pw/ folder.
- Shutdown the primary host computer.
Step C: To install the Infrastructure Management server on the recovery host computer
Install the Infrastructure Management server on the recovery host computer using the same steps that you used while installing on the primary computer. While registering the recovery Infrastructure Management server with the Presentation Server, ensure that you specify the same alias name that you used for the primary server.
Step D: To perform post-install tasks after installing on the recovery host computer
- Stop the recovery Infrastructure Management Server processes and restore a backup of the installationDirectory/pw/ folder on the recovery windows host.
- Restart the TrueSight Presentation Server service.
- Restart both the primary and recovery Infrastructure Management servers.
Step E: To verify that the disaster recovery server is functional
Add Integration Services and PATROL Agents to the Infrastructure Management Server and observe the data collection.
- Complete the following configurations to ensure automatic failover when any of the Infrastructure Management servers goes down. If these configurations are not completed, you need to manually restart the Presentation Server each time one of the Infrastructure Management servers goes down (indicated by the Initializingstatus on the Administration > Components page).
- Configure the primary and recovery servers to use the same alias name on the DNS server.
- Configure DNS replication for both the primary and recovery servers.
- While registering Infrastructure Management with the Presentation Server, ensure that you specify the same alias name for both the primary and recovery servers.
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.