Cisco Cisco Prime Central 1.5.2 Installationsanleitung

Seite von 98
Command
Action
emdbctl --backup
Back up the database
emdbctl --restore
Restore the database
emdbctl --db_status
Obtain database status
Note the following:
• These commands should be run only on the server where the Prime Central portal is installed with an embedded Oracle database.
• Shut down the Prime Central portal and the Prime Central integration layer before restoring the database. Restart them after the
database restore is complete.
• By default, the option to enable backups is checked during installation. If you uncheck it during installation but later decide to
enable automatic backups, you must enter the emdbctl --enable_backup command to do so.
• An automatic backup runs daily at 4:00 a.m. A full backup runs every Saturday; incremental backups run on all other days.
• By default, Prime Central saves eight database backups to ORACLE_HOME/backup. Your system administrator must back up
the database backups and archive directories to tape daily.
• The emdbctl --restore command prompts you to enter a date and time to restore a database backup. The format is MM-DD-YYYY
HH:MI; for example, 07-30-2013 03:34. If you enter a date in the wrong format, or if the backup cannot be restored for the date
and time entered, the database will instead be restored to the most recent possible date and time.
• The emdbctl --restore should not be used in HA/GEO setup as it may break the HA configuration.
Backing Up and Restoring the Fault Management Database
Prime Central Fault Management alarms are stored in the Fault Management database. These same alarms are also forwarded and
stored on the Prime Central Oracle database. Both the Prime Central and Fault Management databases are automatically backed up
daily. By default, the Fault Management backups are saved in $NCHOME/omnibus/backup/NCOMS/. You can create a cron job that
periodically copies the backups to an offsite location.
If a manual backup is required, you can back up and restore the data manually.
Backing Up the Fault Management Database Manually
Procedure
Step 1
Log in to the Fault Management server and then stop it:
fmctl stop
Step 2
Choose a backup location within the primeusr directory structure (for example, ~/omnibus-backup/):
mkdir -p
backup-location/db
cp -r $NCHOME/omnibus/db/NCOMS/*
backup-location/db
95