Cisco Headend System Release 2.7 Installation Guide

Page of 260
 
 
Unload the Database 
740020 Rev H 
71 
 
 
17  Type mkdir  db_dir.[MM.DD.YY_HH.MM] and then press Enter to create a 
subdirectory within the current directory. 
Note:  Substitute the current month, date, year, hour, and minute for 
[MM.DD.YY_HH_MM]. 
Example:  mkdir  db_dir.12.15.00_08.45 
18  Type cd  [directory name] and then press Enter. The directory you just created 
becomes the working directory. 
Example:  cd  db_dir.12.15.00_08.45 
19  Type pwd and then press Enter. The system displays the complete path to the 
directory you just created. 
20  Write the complete path name on the line provided. 
_______________________________________________ 
Note:  You will need this path name when you load the database. 
21  Choose one of the following options: 
 
If you are unloading the DNCS database to the hard drive of the DNCS, type 
dncsDbData  -u and then press Enter
 
If you are unloading the Application Server database to the hard drive of the 
DNCS, type 
dncsDbData  -u  -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 Unload Database window appears. 
22  Type 2 and then press Enter. The Is the above information correct? (Y/N) 
message appears. 
23  Type and then press Enter. The Enter backup directory (Default: Current 
Directory) message appears. 
24  Press Enter. The Is the above information correct? (Y/N) message appears. 
25  Type y and then press Enter. The system unloads your database to the current 
directory. 
26  Have you just unloaded your database as part of the defragmentation process, as 
described in the Monitor and Eliminate Database Fragmentation (on page 59) 
section, or are you planning to load your database immediately? 
 
If yes, go to Load the Database (on page 73). 
Note:  System components must remain stopped when you load the 
database. 
 
If no, type /etc/rc2.d/S75cron  start and then press Enter. The system restarts 
the DNCS cron jobs.