Cisco Headend System Release 2.5 Release Notes

Page of 160
 
 
Check and Remove Sessions 
4000916 Rev C 
23 
 
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 
Follow this procedure 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
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 
Follow these instructions 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. 
5  While the clearDbSessions utility is running go to Back Up the DNCS Filesystem 
and Application Server (on page 24) to continue with the pre-upgrade 
procedures.