Cisco Cisco Prime Network Registrar 8.1 Troubleshooting Guide

Page of 31
4 Appendix A 
4.1  MySQL Replication Disaster Recovery Scenarios 
 
 
Scenario 
Seq 
Original Production 
Executive 
DR Executive 
New Production 
Executive 
New Setup 
prepmaster.sh
 
(creates dump file) 
 
 
 
 
scp
 dump file from Production 
Executive 
 
 
 
prepslave.sh
 using 
coordinates from Production 
Executive 
 
 
connect_to_passive.sh 
using coordinates from 
DR
 Executive
 
 
 
 
 
 
 
 
Scheduled 
Downtime 
for 
Production 
Executive 
demote_master.sh 
 
 
 
 
promote_master.sh 
using coordinates 
from Production 
Executive 
 
 
Bring System Down 
 
 
 
 
 
 
 
Scheduled 
Downtime 
for 
Production 
Executive 
– Recovery 
Bring System Back Up 
 
 
 
 
demote_master.sh 
 
 
promote_master.sh 
using coordinates 
from DR Executive 
 
 
 
 
 
 
 
DR – 
Change IP 
of DR 
Executive 
System Goes Down 
 
 
 
 
Change IP Address to 
Production Exec. IP 
 
 
 
promote_masters.sh –c 
 
 
 
Operate until Prod. Exec. Is 
stabilized or new one is 
obtained. 
 
 
 
 
 
 
DR – Fail 
Back with 
Change of 
IP 
 
Change IP Address back to 
original DR Exec. IP 
 
 
 
prepmaster.sh –d
 
(creates dump file) 
 
 
Power On 
 
 
 
scp
 dump file