Cisco Headend System Release 2.7 Installation Guide

Page of 260
 
 
Unload the Database 
740020 Rev H 
65 
 
Unload the Database 
Introduction 
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. 
Note:  When you unload a database, you write the contents of the database to a file. 
 
Before You Begin 
Before you unload your database, Cisco recommends 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 13), 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 68). 
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. 
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 
203), 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. 
3  Open an xterm window on the DNCS. 
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 
jobs on the DNCS.