Cisco Headend System Release 2.7 Installation Guide

Page of 260
 
Chapter 1    Install the DBDS Utilities 
 
 
 
12 
740020 Rev H 
Customize the Doctor Report 
Introduction 
The DBDS Utilities software includes the latest version of the Doctor Report, which 
system operators can use to generate a report of system configuration information. 
By default, the hostname of the DNCS appears in the heading whenever you 
generate the Doctor Report. You can customize the Doctor Report, however, so that 
your system name, and whatever other information you choose, replaces the DNCS 
hostname field in the heading of the Doctor Report. By customizing the Doctor 
Report with the name of your system, any Doctor Report you may send to Cisco for 
analysis is clearly identified. 
Important!  Do not attempt to customize the Doctor Report unless you are 
knowledgeable in the use of the UNIX vi text editor. 
 
Customizing the Doctor Report 
Follow these instructions to customize your Doctor Report with the name of your 
system. 
1  If necessary, open an xterm window on the DNCS. 
2  Type cd  /export/home/dncs/doctor and then press Enter. The 
/export/home/dncs/doctor directory becomes the working directory. 
3  Type vi  doctor and then press Enter. The doctor file opens using the UNIX vi 
editor. 
4  Type /SYS_NAME and then press Enter. The system places the cursor on the line 
that contains SYS_NAME. 
5  Type :s/`uname -n`/"Site Name, location"/ and then press Enter. The UNIX 
search and replace function automatically replaces the uname  -n variable with 
the name and location of your headend. 
Note:  Substitute the site name and location (city), for Site Name, location. 
Important!  Be sure to enclose the site name and location in quotes. 
6  Type :wq to save the file and exit the vi editor. When you generate a Doctor 
Report, your system name is clearly displayed at the top of the output file.