Cisco Headend System Release 2.7 Release Notes

Page of 198
 
Chapter 2    DNCS Pre-Upgrade Procedures 
 
 
 
48 
4019475 Rev D 
Check and Remove Sessions 
Introduction 
After you obtain your system configuration, your next step is to check the BFS QAM 
for the number of sessions and to remove any completed or orphaned sessions. This 
check enables you to compare the number of sessions before and after the 
installation process is complete, and indicates a successful upgrade if an equal 
number of sessions are built after the upgrade process is complete. 
 
Checking the BFS Sessions on the BFS QAM or BFS GQAM 
Complete the following steps to check and record the number of pre-upgrade BFS 
sessions. 
1  Choose one of the following options to check the number of BFS sessions: 
 
Press the Options button on the front panel of the BFS QAM until the Session 
Count total appears. 
 
Type /dvs/dncs/bin/auditQam -query <IPAddr> <output port number> and 
press Enter
Example: /dvs/dncs/bin/auditQam -query 172.16.1.101 3 
Notes:  
– 
<IPAddr> is the IP address of the data QAM or GQAM. 
– 
The output port number for a QAM is 2. 
– 
The output port numbers for a GQAM range from 1 to 16. 
2  Record the Session Count total in the space provided.  __________ 
3  Go to Tearing Down and Restarting Session 199. 
 
 
Removing Completed or Orphaned Sessions 
Complete the following steps to remove completed or orphaned sessions by running 
the clearDbSessions utility. 
Note: The clearDbSessions utility takes several minutes to complete and can run in 
the background as you complete the remaining procedures in this chapter. 
1  If necessary, open an xterm window on the DNCS. 
2  Type clearDbSessions and then press Enter. The system removes all completed 
session, resource, and network graph records more than 1 hour old from the 
database. 
3  Type clearDbSessions -c and then press Enter. The system removes all 
completed session, resource, and network graph records from the database.