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"
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*