Syncing the repository in a high-availability environment

In a high-availability deployment of TrueSight Presentation Server, the repository is not replicated automatically between the nodes.

Use operating system copy utilities to sync the repository.

On Linux

  1. Log on to the active node.
  2. Ensure that the repository on the active node is the updated one among the two nodes. 
  3. Run the following command:

    rsync -u -v -r -e ssh <repository location>* <standby node credentials and FQDN>:<standby node repository location>


    For example:

    rsync -u -v -r -e ssh /data1/TrueSight/truesightpserver/modules/cma/* root@abc.bmc.com:/data1/TrueSight/truesightpserver/modules/cma

On Windows

  1. Log on to the active node.
  2. Ensure that the repository on the active node is the updated one among the two nodes. 
  3. Run the following command:

    robocopy /e /xj /r:2 /w:5 /v /it /purge /copyall "<repository location>" "<standby node repository location>"


    For example: 

    robocpy /e /xj /r:2 /w:5 /v /it /purge /copyall "C:\Program Files\BMC Software\TrueSightPServer\truesightpserver\modules\cma" "\\xyz.bmc.com\C$\Program Files\BMC Software\TrueSightPServer\truesightpserver\modules\cma"
Was this page helpful? Yes No Submitting... Thank you

Comments

  1. Mario Navarro

    Hi, is it possible to do that between different environments? For example, to copy the repository from the DEV TSPS to the PROD TSPS

    Regards

    Oct 27, 2020 03:53
    1. Swati Malhotra

      Hi Mario Navarro,


      Import the repository for this purpose. BMC does not recommend copying the repository.


      Thanks and regards,

      Swati

      Jan 15, 2021 02:28