Mirroring

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
squid
Nouveau
Nouveau
Posts: 5
Joined: 05 Mar 2007 12:00

Mirroring

Post by squid » 15 Mar 2007 5:53

Hi All,

How to restore a damaged mirroring

User avatar
Walty
Nouveau
Nouveau
Posts: 473
Joined: 20 Jan 2006 12:00

Mirroring

Post by Walty » 15 Mar 2007 8:07

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

User avatar
Walty
Nouveau
Nouveau
Posts: 473
Joined: 20 Jan 2006 12:00

Mirroring

Post by Walty » 15 Mar 2007 8:49

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

Post Reply