EMCC: Resync for EMCC standby OMS

This scripts are about how to synchronize, with rsync, passive OMS OMS. In the below configuration, the system is running with 2 actives OMS and 2 passive OMS, the /library and /bip are being synched from the first OMS.

From the OMS secondary 1:

export LVMSOURCE=<IP>

echo "Synching /u01"
rsync -vat --stats --checksum --delete --delete-excluded --exclude '*.log' --exclude '*.trc' --log-file=$HOME/admin/rsync.log --progress ${LVMSOURCE}:/u01/ /u01

echo "Synching /library"
rsync -vat --stats --delete --checksum --delete ${LVMSOURCE}:/library/ /library

echo "Synching /bip"
rsync -vat --stats --delete --checksum --delete ${LVMSOURCE}:/bip/ /bip

From the OMS secondary 2:

export LVMSOURCE=<IP>

echo "Synching /u01"
rsync -vat --stats --checksum --delete --delete-excluded --exclude '*.log' --exclude '*.trc' --log-file=$HOME/admin/rsync.log --progress ${LVMSOURCE}:/u01/ /u01