Cisco Headend System Release 2.5 Installation Guide

Page of 280
78-738190-01 Rev B 
SR 2.5 and SR 3.5 UniPack Pre-Upgrade Procedures 
1-9 
Run the clearDbSessions Utility 
Introduction 
It takes only several minutes to run the clearDbSessions utility. Once the utility starts 
running, you can continue with the rest of the pre-upgrade procedures covered in 
this chapter. 
Running the clearDbSessions Utility 
Run the clearDbSessions utility to remove orphaned and completed sessions from 
the database. Follow these instructions to run the clearDbSessions utility. 
Note:  The system components can be running while you run the clearDbSessions 
utility. 
 
1. 
If necessary, open an xterm window on the DNCS. 
2. 
Type clearDbSessions and then press Enter
Result:  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
Result:  The system removes all completed session, resource, and network 
graph records from the database. 
4. 
Type clearDbSessions  -o and then press Enter
Result:  The system removes orphaned records from the database. 
5. 
While the clearDbSessions utility is running, go to Examine Key Files, next in 
this chapter to continue with the pre-upgrade procedures.