Cisco Headend System Release 2.7 Installation Guide

Page of 112
 
Chapter 2    DNCS Pre-Upgrade Procedures 
 
 
 
44 
4042389 Rev A 
Stop the cron Jobs on the Application Server or MAS 
This section provides procedures for stopping cron jobs on either a Cisco 
Application Server or a MAS.  
Stop the cron Jobs on the Cisco Application Server 
1  
In the xterm window, type cd and then press Enter. The home directory on the 
DNCS becomes the working directory. 
Note: Alternatively, you can complete this procedure from a remote shell on the 
Application Server: 
a  In a DNCS xterm window, type rsh appserver and press Enter. This will 
open a remote shell on the Application Server. 
b  Proceed to step 2 and run the commands from the remote shell. 
2  Complete the following steps to log on to the xterm window as root user. 
a  Type su - and press Enter. The password prompt appears. 
b  Type the root password and press Enter
3  Type pgrep -fl cron and press Enter. The Application Server displays the cron 
process ID (PID). 
4  Use the cron PID from step 3, and type ptree <PID> and press Enter. The 
Application Server displays the process tree of all cron processes. 
5  Did the results from step 4 only include /usr/sbin/cron? 
 
If yes, type svcadm -v disable -s cron and press Enter
 
If no, (results from step 2 show multiple cron processes), type kill -9 <PIDs> 
and press Enter
Important: List the PIDs in reverse order. 
Example: kill -9 14652 14651 209 
 
If the results from step 4 did not show /usr/sbin/cron, then the cron jobs are 
already stopped. 
6  Confirm that the cron jobs have stopped by typing pgrep -fl cron and press 
Enter. The command prompt should be the only item displayed; no processes 
should be displayed. 
Note: The "l" in "fl" is a lowercase L. 
7  If the results from step 6 show that the cron process is still running, repeat steps 
4 through 6. 
Note: Call Cisco Services for assistance if necessary. 
Stop the cron Jobs on the Time Warner Mystro Application Server 
If necessary, refer to the documents supplied by Mystro to stop the cron job on the 
MAS.