Cisco Headend Digital Broadband Delivery System Guida Utente

Pagina di 152
 
 
Run the savecore Utility on the DNCS 
4020694 Rev B 
11 
 
Run the savecore Utility on the DNCS 
Running the savecore Utility on the DNCS 
Follow these instructions to run the savecore utility on the DNCS. 
1  If necessary, open an xterm window on the DNCS. 
2  Complete the following steps to log on to the xterm window as root user. 
a  Type su - and press Enter. The password prompt appears. 
b  Type the root password and press Enter
3  Type  .  /dvs/dncs/bin/dncsSetup and then press Enter. This command 
establishes the DNCS environment as a root user. 
Important: Type the period followed by a space before typing /dvs. 
Note: The system may also return a message that ends with 
-o bad options or -o: bad options. Ignore this message; it is normal. 
4  Type savecore.ksh and then press Enter
Results:     
 
The system checks available free space in the /export/home directory. 
Note: Our engineers recommend that the /export/home directory has at 
least 1 GB of free space available in which to create the core dump directory.  
 
The system creates the core dump directory. 
Note: This directory is called /export/home/crash/[DNCS name] on the 
DNCS. 
 
The system copies the /etc/init.d/sysetup file to sysetup.[date]. 
 
The system modifies the /etc/init.d/sysetup file. 
Note: The purpose of the file modification is to enable the system to check for 
core dumps and to write core dump output to the appropriate directory 
when the system reboots. 
Example: The system displays the following messages as the savecore utility 
executes: 
# savecore.ksh 
/export/home has 2439964 MB of available space. 
We will use /export/home for the base dump path. 
The dump directory will be /export/home/crash/[DNCS name] 
Creating the dump directory. 
Editing the /etc/init.d/sysetup file. 
Putting new sysetup file in place and change ownership and permissions. 
Removing temp files. 
SAVECORE has been enabled.