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
- Log on to the active node.
- Ensure that the repository on the active node is the updated one among the two nodes.
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
- Log on to the active node.
- Ensure that the repository on the active node is the updated one among the two nodes.
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
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
Hi Mario Navarro,
Import the repository for this purpose. BMC does not recommend copying the repository.
Thanks and regards,
Swati
Log in or register to comment.