Cisco Headend System Release 2.7 Installation Guide

Page of 172
 
Chapter 2    DNCS Pre-Upgrade Procedures 
 
 
 
26 
4013154 Rev C 
Check and Remove Sessions 
Introduction 
After you have obtained 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 is done both before and after the installation process is complete 
to provide a comparison of the number of sessions. This comparison indicates a 
successful upgrade by ensuring the correct number of sessions were built after the 
upgrade process is complete.   
 
Checking the BFS Sessions on the BFS QAM 
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> 2 and press Enter
Important! You must be logged in as dncs user. 
Note: <IPAddr> is the IP address of the data QAM. 
2  Record the Session Count total in the space provided.  __________ 
 
 
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 be 
running 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. 
4  Type clearDbSessions -o and then press Enter. The system removes orphaned 
records from the database.