Installing the Infrastructure Management server in the application high-availability and disaster recovery mode

Where you are in the Installation process

StepTask
1Complete the planning activities
2Prepare for TrueSight Operations Management installation
3Install Remedy Single Sign-On
4Install TrueSight Presentation Server
5Install TrueSight Infrastructure Management — Phase A (You are here)
Install TrueSight Infrastructure Management  Phases B and C
6Install App Visibility Manager (If licensed)
7Install Real End User Experience Monitoring Software Edition (If licensed)
8Install TrueSight IT Data Analytics (If licensed)
9Complete the post-installation activities

This deployment is supported only with an Oracle database. Application high-availability has to be configured at both primary and recovery sites. Other configurations are not supported. 

You need to perform the following tasks to install the Infrastructure Management server in the application high-availability and disaster recovery mode:

Overview

The following diagram provides an overview of the Infrastructure Management deployment in application high-availability and disaster recovery.



Step A: To install the Infrastructure Management server at the primary site

Review the Preparing to install Infrastructure Management topic and do the following:

  1. Install the Infrastructure Management server on computer A. Ensure that you do the following:
    • Choose the disaster recovery option and Oracle as the database. 
    • Enter an alias name (For example, Alias_1). 
    • Enter an Oracle user name and Oracle report user name that you created earlier (For example, db_user_pronet_tsim_a and db_user_report_tsim_a).
    • Installing the Infrastructure Management server in the standalone mode using the wizard.
    • Installing the Infrastructure Management Server in the standalone mode silently.
  1. Install the Infrastructure Management server on computer B. Ensure that you do the following: 

    • Choose the disaster recovery option and Oracle as the database. 

    • Enter a different alias name than computer A (For example, Alias_2). 

    • Enter an Oracle user name and Oracle report user name that you created earlier (For example, db_user_pronet_tsim_b and db_user_report_tsim_b).

    • Installing the Infrastructure Management server in the standalone mode using the wizard.
    • Installing the Infrastructure Management Server in the standalone mode silently.
  2. Configure application high-availability between computers A and B. See Step C in the topic  Installing and configuring the Infrastructure Management server for application high-availability
    When you run the pw ha enable command, enter the alias name (For example, Alias_1), instead of the host name.

Step B: To install the Infrastructure Management server at the recovery site

Do the following:

  1. Choose the Oracle database option:
    • If us‌ing Oracle Data Guard — Do one of the following:
      • If your primary Oracle database can be accessed by the recovery site Infrastructure Management servers, use the primary Oracle database and users db_user_pronet_tsim_a_dr, db_user_pronet_tsim_b_dr, db_user_report_tsim_a_dr, db_user_report_tsim_b_dr while installing the recovery site Infrastructure Management servers. You do not need to stop the primary site Infrastructure Management servers.
      • If your primary Oracle database cannot be accessed by the recovery site Infrastructure Management servers, shut down the primary site Infrastructure Management servers. An Oracle DBA must switchover to make the standby Oracle database active. Use this active Oracle database instance and users db_user_pronet_tsim_a_dr, db_user_pronet_tsim_b_dr, db_user_report_tsim_a_dr, db_user_report_tsim_b_dr while installing the recovery site Infrastructure Management servers.
    • If not us‌ing Oracle Data Guard — Point to a dummy Infrastructure Management Oracle database by creating users as explained in Preparing to install Infrastructure Management.
  2. Install the Infrastructure Management server on computer A_DR. Ensure that you do the following:
    • Choose the disaster recovery option and Oracle as the database. 
    • The installation path must be the same as that of the primary site server. 
    • Enter the alias name that you chose for computer A at the primary site (For example, Alias_1). 
    • Enter an Oracle user name and Oracle report user name that you created earlier (For example, db_user_pronet_tsim_a_dr and db_user_report_tsim_a_dr).
    • Installing the Infrastructure Management server in the standalone mode using the wizard.
    • Installing the Infrastructure Management Server in the standalone mode silently.
  3. Install the Infrastructure Management server on computer B_DR. Ensure that you do the following:
    • Ensure that you choose the disaster recovery option and Oracle as the database. 
    • The installation path must be the same as that of the primary site server. 
    • Enter the alias name that you chose for computer B at the primary site (For example, Alias_2). 
    • Enter an Oracle user name and Oracle report user name that you created earlier (For example, db_user_pronet_tsim_b_dr and db_user_report_tsim_b_dr).
    • Installing the Infrastructure Management server in the standalone mode using the wizard.
    • Installing the Infrastructure Management Server in the standalone mode silently.
  4. Configure application high-availability between computers A_DR and B_DR. See Step C in the topic  Installing and configuring the Infrastructure Management server for application high-availability
    When you run the pw ha enable command, enter the alias name (For example, Alias_1), instead of the host name.


Step C: To perform post-install tasks after installing at the recovery site

  1. Run the pw sys stop command to stop the secondary Infrastructure Management server processes at the primary site.
    Ensure that all internal processes are stopped by using the pw process list command.
  2. Run the pw sys stop command to stop the primary Infrastructure Management server processes at the primary site.
    Ensure that all internal processes are stopped by using the pw process list command.
  3. Take a backup of the installationDirectory/pw/ folder on both computers at the primary site
  4. Run the pw sys stop command to stop the secondary Infrastructure Management server processes at the recovery site.
    Ensure that all internal processes are stopped by using the pw process list command.
  5. Run the pw sys stop command to stop the primary Infrastructure Management server processes at the recovery site.
    Ensure that all internal processes are stopped by using the pw process list command.
  6. Move the installationDirectory/pw/ folder on both recovery site computers to another location.
  7. Restore the backup of the installationDirectory/pw/ folder from computer A to A_DR and from computer B to B_DR. Ensure that you have the correct permissions if you are using an archive and extracting the folders.
  8. Clear all log files on the recovery TrueSight Infrastructure Management servers. Navigate to the \pw\pronto\logs directory, and move all log files to a backup directory.

  9. At the recovery site, run the pw dbconfig set command on both primary and secondary Infrastructure Management servers to point to the active Oracle database:

    pw dbconfig set -database oracle -host Primary_Oracle_hostname:1521 -sid ORA12C -username db_user_pronet_tsim_a -password <password> -repusername db_user_report_tsim_a -reppassword <password>
  10. Verify that the recovery site is functional:
    1. At the primary site, run the pw sys stop command to stop the secondary Infrastructure Management server processes.
      Ensure that all internal processes are stopped by using the pw process list command.
    2. At the primary site, run the pw sys stop command to stop the primary Infrastructure Management server processes.
      Ensure that all internal processes are stopped by using the pw process list command.
    3. At the recovery site, run the pw sys start command to start the primary Infrastructure Management server processes.
      Ensure that the primary server has successfully started by running the pw license list command.
    4. At the recovery site, run the pw sys start command to start the secondary Infrastructure Management server processes.
      Ensure that the secondary server has successfully started by running the pw license list command.
       
  11. Run the pw sys stop command to stop the secondary Infrastructure Management server processes at the recovery site.
    Ensure that all internal processes are stopped by using the pw process list command.
  12. Run the pw sys stop command to stop the primary Infrastructure Management server processes at the recovery site.
    Ensure that all internal processes are stopped by using the pw process list command.

  13. At the primary site, run the pw sys start command to start the primary Infrastructure Management server processes.
    Ensure that the primary server has successfully started by running the pw license list command. 
  14. At the primary site, run the pw sys start command to start the secondary Infrastructure Management server processes.
    Ensure that the secondary server has successfully started by running the pw license list command.

Back up folders regularly

Ensure that you regularly backup the installedDirectory\pw folder on the primary site and copy it over to the recovery site. On Linux, it is possible to backup the folder while the Infrastructure Management processes are running. On Windows, do one of the following:

  • Use a Windows or third-party utility to backup the folder. Traditional copying while the Infrastructure Management processes are running might result in an error.
  • Stop the Infrastructure Management processes and then backup the folder.


Troubleshooting installation issues

If you face issues during installation, see Troubleshooting the Infrastructure Management deployment.


Bringing up the recovery or primary site

To bring up the recovery or primary site, or to verify the disaster recovery configuration, see  Bringing up the recovery or primary TrueSight Infrastructure Management Server in application high-availability and disaster recovery mode

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.

Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Arjun Thakur

    Cheers,

    In the Overview section image, it says "After you configure High Availability between TSIM A & TSIM B, pncell_DR2 changes to pncell_DR1".

    This statement is not clear, can someone explain it.

    Thanks

    Feb 20, 2019 09:29
    1. Sanjay Prahlad

      Hello Arjun, it means pncell_DR2 will be a replica of pncell_DR1. Please see Step C in this topic Installing and configuring the Infrastructure Management server for application high-availability using the wizard. The pncell folder on the primary server needs to be copied to the secondary server and renamed. Will add clarification to the information on this page. Hope this helps.

      Feb 22, 2019 07:01