Cisco Headend System Release 3.2 安装指南
Unload the Database
4020695 Rev C
59
Unload the Database
The dncsDbData utility enables you to unload the DNCS and Application Server
database to tape or to the hard drive on the DNCS. Follow the instructions in this
section to unload the DNCS or Application Server database.
database to tape or to the hard drive on the DNCS. Follow the instructions in this
section to unload the DNCS or Application Server database.
Note: When you unload a database, you write the contents of the database to a file.
Before You Begin
Before you unload your database, our engineers recommend that you first run the
dbOptimizer script. The dbOptimizer script removes unneeded EMMs from the
database, reducing the size of the database that you unload. If you have not
previously configured dbOptimizer to run automatically in a cron job, follow the
procedures in Chapter 2, Delete Unneeded EMMs with the dbOptimizer Program
(on page 7), to remove unneeded EMMs from your database.
dbOptimizer script. The dbOptimizer script removes unneeded EMMs from the
database, reducing the size of the database that you unload. If you have not
previously configured dbOptimizer to run automatically in a cron job, follow the
procedures in Chapter 2, Delete Unneeded EMMs with the dbOptimizer Program
(on page 7), to remove unneeded EMMs from your database.
Unloading the Database to Tape
If you want to unload your DNCS or Application Server database to the hard drive
of the DNCS, go to Unloading the Database to the Hard Drive (on page 62).
of the DNCS, go to Unloading the Database to the Hard Drive (on page 62).
You need a blank 4-mm or 8-mm tape (depending upon your tape drive) to unload
the DNCS or Application Server database to tape.
the DNCS or Application Server database to tape.
Follow these instructions to unload your DNCS or Application Server database to
tape.
1 Stop all third-party applications.
2 Follow the procedures in Appendix A, Stopping System Components (on page
tape.
1 Stop all third-party applications.
2 Follow the procedures in Appendix A, Stopping System Components (on page
199), to shut down Spectrum, the Application Server, and the DNCS.
Important: All processes on the DNCS and the Application Server must be
stopped when you unload or load the database.
Important: All processes on the DNCS and the Application Server must be
stopped when you unload or load the database.
3 Open an xterm window on the DNCS.
4 Type su - and then press Enter to log in as root user. The password prompt
4 Type su - and then press Enter to log in as root user. The password prompt
appears.
5 Type the root password and then press Enter.
6 Type /etc/rc2.d/S75cron stop and then press Enter. The system stops all cron
6 Type /etc/rc2.d/S75cron stop and then press Enter. The system stops all cron
jobs on the DNCS.