Cisco Headend System Release 2.7 Guida All'Installazione

Pagina di 260
 
 
Load the Database 
740020 Rev H 
77 
 
 
9  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 step 19 of Unloading the 
Database to the Hard Drive
 (on page 68). 
10  Type showActiveSessions and then press Enter. A display showing any active 
DNCS sessions appears. 
11  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 12. 
– 
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 12. 
 
If no, the DNCS will display a message similar to dncsDbServer is idle; go to 
step 12. 
12  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. 
13  Type 2 and then press Enter. The Is the above information correct? (Y/N) 
message appears. 
14  Type y and then press Enter. The Enter backup directory (Default: Current 
Directory) message appears. 
15  Press Enter. The Is the above information correct? (Y/N) message appears. 
16  Type and then press Enter. The database loads from the hard drive. 
17  When the database has loaded, follow the procedures in Appendix B, Restarting 
System Components (on page 207), to restart the DNCS, the Application Server, 
and Spectrum. 
18  Type /etc/rc2.d/S75cron  start and then press Enter. The system restarts its cron 
jobs.