Cisco Headend System Release 2.7 Installation Guide

Page of 252
 
 
Load the Database 
4020695 Rev C 
71 
 
8  Type cd  [directory name] and then press Enter
Example:  cd  /dvs/backups/db_dir.12.15.00_08.45 
Notes:
   
 
 
Substitute the complete path and directory name of where you previously 
unloaded your database. 
 
You recorded the path and directory name in Unloading the Database to the 
Hard Drive
 (on page 62). 
9  Type showActiveSessions and then press Enter. A display showing any active 
DNCS sessions appears. 
10  Are there any active DNCS sessions? 
 
If yes, type one of the following commands: 
– 
To kill all active sessions at once, type killActiveSessions and then press 
Enter; go to step 11. 
– 
To kill each process individually, type kill [PID] and then press Enter
where [PID] is the process ID associated with the active session; go to 
step 11. 
 
If no, the DNCS will display a message similar to dncsDbServer is idle; go to 
step 11. 
11  Choose one of the following options: 
 
If you are loading the DNCS database from the hard drive of the DNCS, type 
dncsDbData  -l and then press Enter
 
If you are loading the Application Server database from the hard drive of the 
DNCS, type  
dncsDbData  -l  -d  appdb  -c  /dvs/appFiles/dbConfig/appDbConfig and 
then press Enter
Note:  The directory path following the -c option specifies the location of the 
appdb configuration files. 
Result:  The Load Database window appears. 
12  Type 2 and then press Enter. The Is the above information correct? (Y/N) 
message appears. 
13  Type y and then press Enter. The Enter backup directory (Default: Current 
Directory) message appears. 
14  Press Enter. The Is the above information correct? (Y/N) message appears. 
15  Type and then press Enter. The database loads from the hard drive. 
16  When the database has loaded, follow the procedures in Appendix B, Restarting 
System Components (on page 203), to restart the DNCS, the Application Server, 
and Spectrum. 
17  Type /etc/rc2.d/S75cron  start and then press Enter. The system restarts its cron 
jobs.