DescriptionRestore control to Primary Server(s) using the CLI.
For instructions on resuming control using the Administration UI, see related KB article below.
ScopeVersion: 6 and aboveSolutionContact support if assistance is needed.Establish SSH sessions to all 4 Appliances (2 if NS500/550's). All SSH sessions should be open at once. 1. Change the Status from 2 to 1 on all 4 appliances. - Type cd /bsc/campusMgr/bin
- Type vi .networkConfig
- Change Status=2 to Status=1
- Save changes and exit file
- Repeat this on all 4 appliances
2. Shutdown the management processes on all appliances. - Type shutdownCampusMgr
- Wait 30 seconds
- Type shutdownCampusMgr ‐kill
- Repeat this on all 4 appliances
3. (Optional) ‐ Restore the DataBase to the Primary from the Secondary Server. If this is not necessary, skip to step 4.On the Secondary Control Server- Type cd /bsc/campusMgr/master_loader/mysql
- Type ydb_dated_backup
- Type cd backup
- Locate the latest Database backup file
- Copy database backup to Primary Control Server (this command should work): Type
scp <filename of backup> cm1/bsc/campusMgr/master_loader/mysql/backup
On Primary Control Server- Type cd /bsc/campusMgr/master_loader/mysql
- Type ydb_restore_full_backup <filename of backup>
4. Start services on the Primary system.- On Primary Control Server type startupCampusMgr
- Allow about 10 minutes for the system to startup.
On the Primary Control and Application Server the following commands can be run to monitor logs:cd /bsc/logs
tail –f output.processManager
Look for the following line to appear (may take a minute before it shows up):<hostname>(Master) Master In Control Idle(false) Total Memory……….5. Start services on the Secondary system (will be in standby).- On the Secondary Control Server run the following commands:
startupCampusMgr
cd /bsc/logs
tail –f output.processManager.
Look for the following line to appear (may take a few minutes before it shows up):<hostname>(Slave) Master In Control Idle(false) Total Memory……….6. Log into the UI on the Primary system.On the Dashboard screen confirm the Summary panel shows:Primary Servers as "Running - In Control" Secondary Servers as "Running - Not In Control"
Related Articles
Technical Note: Restoring Primary Servers after High Availability (HA) failover