Cisco Headend System Release 2.7 Installation Guide

Page of 260
 
 
Load the Database 
740020 Rev H 
73 
 
Load the Database 
Introduction 
The dncsDbData utility enables you to load the DNCS or Application Server 
database from tape or from your local hard drive.  
Note:  To load the database means to insert data from a file into an existing database. 
 
CAUTION: 
If your DNCS has been running since you unloaded the database, the load 
process will overwrite any changes to the database since the unload process 
began.
 
 
 
Defragmenting the Database 
When you load the database, the following actions occur: 
 
The system drops the existing database. 
 
The system rebuilds the database as it reloads the data from the ASCII files 
created during the unload procedure. See Unload the Database (on page 65). 
 
The system turns on database logging. 
When your system rebuilds the database, it rebuilds it at one contiguous location on 
the hard drive, which eliminates any previous database fragmentation. As a result, 
system performance is improved. 
 
Loading the Database from Tape 
Follow these instructions to load your DNCS or Application Server database from 
tape. 
1  Stop all third-party applications. 
2  If necessary, 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  If necessary, open an xterm window on the DNCS. 
Important!  Skip steps 4, 5, and 6 if you have already logged in to the xterm 
window as root user and have executed the dncsSetup command. 
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