Terminate Orphaned cge-server Jobs

How to terminate stray cge-server jobs on Urika-GX

This procedure requires root privileges.
Follow the instructions listed in this procedure to track orphaned cge-server jobs down and terminate them. The examples shown in this procedure can be used for a system with 3 sub-racks.
  1. Log on to the System Management Workstation (SMW) as root
  2. Execute the following to find out if there are stray cge-server processes.
    # pdsh -w 'nid000[00-47]' "ps -ef|grep 'cge-serve[r]'|grep -v grep | awk '{print $2}';true"|wc -w
    
  3. Terminate the stray cge-server processes
    # pdsh -w nid000[00-30,32-46] "ps -ef|grep 'cge-serve[r]'|awk '{print $2}'|xargs kill"
  4. Rerun the preceding command to ensure all stray cge-server processes have been terminated.
  5. Verify that all the stray cge-server processes have been terminated by executing the following command:
    # pdsh -w 'nid000[00-47]' "ps -ef|grep 'cge-serve[r]'|grep -v grep | awk '{print $2}';true"|wc -w
    0
    This output indicates that everything has been cleared.