Cisco Headend System Release 2.7 Installation Guide

Page of 172
 
Chapter 2    DNCS Pre-Upgrade Procedures 
 
 
 
24 
4013154 Rev C 
Collect Network Information 
In this section, you are collecting network information required to reconstruct the 
system should the upgrade fail.  
 
1  On the DNCS, complete these 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
2  Type cd  /export/home/dncs and then press Enter. The /export/home/dncs 
directory becomes the working directory. 
3  Type mkdir network and then press Enter. The system creates a directory called 
network. 
4  Type cd network and then press Enter. The /export/home/dncs/network 
directory becomes the working directory. 
5  Type the following commands to copy the necessary files to this newly created 
directory. 
Note:  Press Enter after typing each command. 
a  cp -p /etc/hosts . 
b  cp -p /etc/hostname.*  . 
c  cp -p /etc/netmasks  .  
d  cp -p /etc/defaultrouter  . 
Note: This file may not be included in your network configuration. 
e  cp -p /etc/defaultdomain  . 
Note: This file may not be included in your network configuration. 
f  cp -p /etc/vfstab  . 
g  cp -p /etc/nsswitch.conf  . 
h  cp -p /etc/rc2.d/S82atminit  . 
i  cp -p /etc/inet/ipnodes  . 
j  netstat -nrv  >  netstat.out 
k  ifconfig -a  >  ifconfig.out 
l  df -k  >  df.out 
m  eeprom nvramrc  >  nvramrc.out 
n  cd /var/spool/cron 
o  tar cvf crontabs.< date >.tar crontabs 
p  cp crontabs.< date >.tar  /export/home/dncs/network 
Note: <date> is the current date. 
q  cd /export/home/dncs/network 
6  Type ls  -ltr and then press Enter to verify that each file copied successfully to 
the /export/home/dncs/network directory and that no file has a size of 0 (zero).