Cisco Headend System Release 2.5
Chapter 2 DNCS Pre-Upgrade Procedures
36
4000916 Rev C
Ensure No Active Database Sessions on the DNCS
Ensuring No Active Database Sessions on the DNCS
1 Close all windows and GUIs that are open except for the xterm window you are
going to work in. Are you already logged into that xterm window as root user?
Note: You need to be root user to run some of the commands in this procedure.
Note: You need to be root user to run some of the commands in this procedure.
If yes, go to step 2.
If no, follow these instructions to log in as root user.
a Type su - and then press Enter.
b Type the root password and then press Enter.
a Type su - and then press Enter.
b Type the root password and then press Enter.
2 Type . /dvs/dncs/bin/dncsSetup and then press Enter. The system establishes
the correct user environment.
Important: Be sure to type the dot followed by a space prior to typing /dvs.
Important: Be sure to type the dot followed by a space prior to typing /dvs.
3 Type ps -ef | grep tomcat and then press Enter. The system lists running
processes that use the tomcat server.
4 Is the tomcat server running?
If yes, type /etc/rc2.d/S98tomcat stop and then press Enter.
If no, go to step 6.
5 Type ps -ef | grep tomcat and then press Enter to confirm that the tomcat
server has stopped.
Note: If the tomcat server is still running, repeat step 4.
Note: If the tomcat server is still running, repeat step 4.
6 Type ps -ef | grep UI and then press Enter. The system lists running UI
processes.
7 Are any UI processes running (dbUIServer and podUIServer)?
If yes, type /dvs/dncs/bin/stopSOAPServers and then press Enter.
If no, go to step 9.
8 Type ps -ef | grep UI and then press Enter to confirm that UI processes have
stopped.
Note: If any GUI processes are still running, repeat step 7.
Note: If any GUI processes are still running, repeat step 7.
9 Type ps -ef | grep ui and then press Enter to confirm that ui process have
stopped.
10 Are any ui processes running?
If yes, type kill -9 [PID] and then press Enter for any consoleui process that
was still running.
was still running.
If no, go to step 11.