Grass Valley K2 TX/MAM Server User Manual v.2.4 User Manual
Page 12

K2 TX/MAM Server User Manual - document version: 2.4 - Page 12
12 Failover, manual backup and restore of the TX/MAM
servers
An automatic backup is created and restored from the active to the standby database every hour by
the /etc/cron.backup/cob-bak and /etc/cron.restore/cob-restore commands.
Workflow
Main TX/MAM server
Backup (standby) TX/MAM
server
Normal situation
The main server is active and writes a
backup to the backup server every
hour.
The backup server is inactive.
Database backups are written
from the main to the backup
server.
Creating a manual backup
from the main server
(usually not needed).
# /etc/cron.backup/cob-bak
The database backup is written
to the backup server.
Failover from the main to the backup TX/MAM server
Deactivate the main server.
Deactivate the main server first:
Stop all services:
# /system/nexusproc stop all
Edit the file /system/STATUS, set
yes to no:
active=no
The backup server is inactive.
Restore the database on
the backup.
The main server is inactive.
Run the script:
/etc/cron.restore/cob-
restore
Activate the backup
(standby) server.
Edit the file /system/STATUS,
set no to yes:
active=yes
Start all services:
# /system/nexusproc
start all
The backup server is now
active.
The backup server is active.