Configuring the Presentation Server in the standalone 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 — Phase A
Configure TrueSight Presentation Server for disaster recovery — Phase B (You are here)
5Install Infrastructure Management (If licensed)
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

Every installation of the Presentation Server is disaster-recovery ready. Therefore, you do not need any configuration on the primary TrueSight Presentation Server

You need to configure the recovery servers only. 

Before you begin

Ensure that TrueSight Presentation Server in installed in the standalone mode at the primary site and the recovery site with the same database name. You must also ensure that the both the primary and recovery site computers are installed on the same platform and are using the same ports and operating system locale.

  • Installing the Presentation Server in the standalone mode using the wizard
  • Installing the presentation server in the standalone mode silently

To configure the TrueSight Presentation Server in the standalone and disaster recovery mode

Perform these steps on the computer in the recovery site:

  1. In the recovery site, stop the TrueSight Presentation Server: 
    • (Windows) Navigate to the TrueSightPServer\truesightpserver\bin directory, and run tssh server stop command.
    • (Linux) Navigate to the TrueSightPServer/truesightpserver/bin directory, and run ./tssh server stop command.
  2. Go to the primary site. Use any third-party file synchronization and backup software and copy the following files from the primary site computer to the respective directory on the recovery site computer: 

    Note

    BMC recommends that you use any third-party file synchronization and backup software to copy these directories because traditional copying can result in an unexpected failure.


    • Windows:
      • %TRUESIGHTPSERVER_HOME%\truesightpserver\data

      • %TRUESIGHTPSERVER_HOME%\truesightpserver\conf

      • %TRUESIGHTPSERVER_HOME%\truesightpserver\modules\elasticsearch\data

    • Linux:

      • $TRUESIGHTPSERVER_HOME/truesightpserver/data

      • $TRUESIGHTPSERVER_HOME/truesightpserver/conf

      • $TRUESIGHTPSERVER_HOME/truesightpserver/modules/elasticsearch/data

  3. On the recovery site computer, start the database by running this command: tssh process start database

  4. Verify if the database is up and running by running this command: tssh server status

     Steps to perform if the database server fails to start
    1. Run the following commands on the recovery site computer:
      • Windows:
        1. cd %TRUESIGHTPSERVER_HOME%\truesightpserver\modules\pgsql\bin
        2. pg_resetxlog.exe "%TRUESIGHTPSERVER_HOME%\truesightpserver\data\pgsql"
      • Linux:

        1. cd /opt/bmc/TrueSightPServer/truesightpserver/modules/pgsql

        2. ./pg_resetxlog "/opt/bmc/TrueSightPServer/truesightpserver/data/pgsql"

    2. If you see the following message, run this command: pg_resetxlog.exe -f "% TRUESIGHTPSERVER_HOME %\truesightpserver\data\pgsql"

      The database server was not shut down cleanly. Resetting the transaction log might cause data to be lost.
      If you want to proceed anyway, use -f to force reset.

    3. Start the database process by running this command: tssh process start database


  5. Change the host name by running this command: tssh dr configure <RecoverySecondaryTSPSHostName>
  6. Stop the database by running this command: tssh process stop database
  7. Start the Presentation Server by running this command: tssh server start

Next step in the Installation process

Now that you have successfully configured disaster recovery for the Presentation Server, install the other TrueSight components as per your license entitlements. For instructions, see Installation process.

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

Comments