Hi All,
How to restore a damaged mirroring
Mirroring
Mirroring
Hello,
if your mirroring is damaged, rebuild it by option Initialise Mirroring in ctm_menu.
Execute on primary machine:
1) Stop controlm (only primary and mirror database stay running)
2) Disable Mirroring
3) Initialise Mirroring
4) Exit current session ans start new login, or source ~/.cshrc to reset user environment in active session
5) Start controlm on the primary machine
6) Check Mirroring Status in ctm_menu on primary machine
See Control-M/Server Administrator Guide (Mirroring & Failover)
Regards Walty
if your mirroring is damaged, rebuild it by option Initialise Mirroring in ctm_menu.
Execute on primary machine:
1) Stop controlm (only primary and mirror database stay running)
2) Disable Mirroring
3) Initialise Mirroring
4) Exit current session ans start new login, or source ~/.cshrc to reset user environment in active session
5) Start controlm on the primary machine
6) Check Mirroring Status in ctm_menu on primary machine
See Control-M/Server Administrator Guide (Mirroring & Failover)
Regards Walty
Mirroring
Hi,
Another possible solution but not tested
1) Stop controlm on primary server
2) Execute ctm_backup_bcp on primary server to backup database
3) Create backup directory on secondary server (if it does not exist) in $HOME/ctm (mkdir backup_bcp)
4) Export by FTP in binary mode all the files created in $HOME/ctm/backup_bcp from the primary server to the secondary server
5) Execute ctm_restore_bcp on the secondary server to restore database
6) Reinitialize mirror on primary
7) Start controlm on primary server
Regards
Walty
Another possible solution but not tested
1) Stop controlm on primary server
2) Execute ctm_backup_bcp on primary server to backup database
3) Create backup directory on secondary server (if it does not exist) in $HOME/ctm (mkdir backup_bcp)
4) Export by FTP in binary mode all the files created in $HOME/ctm/backup_bcp from the primary server to the secondary server
5) Execute ctm_restore_bcp on the secondary server to restore database
6) Reinitialize mirror on primary
7) Start controlm on primary server
Regards
Walty