Monday, 15 October 2012

Stopping the VERITAS GUI process ID


Reason: 
We will be disabling the VERITAS.vxsvc process as it’s a VERITAS GUI process and consumes more CPU and Memory utilization of the server. However, we have not been using VERITAS GUI for cluster activities.

Process


1.  Check the process ID using below command
#ps -ef|grep vxsvc
#/opt/VRTS/bin/vxsvcctrl status
         Current state of server : RUNNING
2.  Stop the running process
# /etc/init.d/isisd stop   [or]    # /opt/VRTSob/bin/vxsvc –k
3.  Check the process status
#ps -ef|grep vxsvc [if still, process is present]
#kill -9 <pid>   [kill the process]
#more /var/vx/isis/vxisis.lock  [if it is showing any PID, kill again and delete the file]
#rm /var/vx/isis/vxisis.lock
 4. Stop vxsvc from starting on bootup. The Veritas GUI Admin will run automatically on boot-up. To stop it from starting again on rebooting a server, remove the following start-up files
#mkdir -p /etc/rc0.d/GUI
#mv /etc/rc0.d/K50isisd /etc/rc0.d/GUI/K50isisd.28052011
#mkdir -p /etc/rc2.d/GUI
#mv /etc/rc2.d/S73isisd /etc/rc2.d/GUI/S73isisd.28052011
# mkdir -p /etc/rcS.d/GUI
#mv /etc/rcS.d/K50isisd /etc/rcS.d/GUI/K50isisd.28052011
5.  Check the CPU usage status
#top
#ps -ef|grep vxsvc
#/opt/VRTS/bin/vxsvcctrl status

 



No comments:

Post a Comment

Note: only a member of this blog may post a comment.