Previous Topic: Modify Base URLNext Topic: Create Batch File to Start CA ControlMinder Services


Create Batch File to Stop CA ControlMinder Services

Create a batch file to stop all CA ControlMinder Services on the Primary and the Secondary Enterprise Management Servers.. The following example stops the Message Queue, Java Connector Service (JCS), and the JBoss:

#!/bin/sh
#To Stop the AccessControl Services
/opt/CA/AccessControlServer/APMS/AccessControl/bin/secons -sk

#To Stop the CA ControlMinder Message Queue
#/etc/init.d/ca-acrptmq stop
su - tibco -c "/etc/init.d/ca-acrptmq stop"

#To Stop the Web Services
/opt/CA/AccessControlServer/APMS/AccessControl/bin/secons -S "eacws"

#To Stop Java Connector Service JCS
/etc/init.d/im_jcs stop

#To Stop JBOSS
cd /opt/jboss-4.2.3.GA/bin/
/opt/jboss-4.2.3.GA/bin/shutdown.sh -S &
sleep 60