Stop Agent
The Stop Agent service in the IBM Security Guardium Key Lifecycle Manager Multi-Master cluster is used to stop the monitoring agent.
The stopped agent restarts automatically when the Agent Invoker service is run.
Location of the stopAgent script file
The stopAgent script file is in the
SKLM_INSTALL_HOME\agent directory. For example,
- Windows
- C:\Program Files\IBM\GKLMV421\agent\stopAgent.bat
- Linux®
- /opt/IBM/GKLMV421/agent/stopAgent.sh
Stopping the agent service
Run the following command:
- Windows
-
stopAgent.bat WAS_HOME
- Linux
-
./stopAgent.sh WAS_HOME
Stopping the agent permanently
You can stop an agent permanently. When stopped permanently, the agent does not restart automatically when the Agent Invoker service runs.
To stop the agent permanently:
- In the SKLMConfig.properties file, update the
stopAgentInvocation property value to true.
Do not directly edit the configuration file. Instead, use Update Config Property REST Service to update the properties.stopAgentInvocation=true
- Stop the agent. See the Stopping the agent permanently section.
Note: Do not stop the agent permanently on a Multi-Master setup. You can do so on a standalone
IBM Security Guardium Key Lifecycle Manager server or a replication setup.
To start an agent that was permanently stopped:
- In the SKLMConfig.properties file, update the value of the
stopAgentInvocation property to false.
Do not directly edit the configuration file. Instead, use Update Config Property REST Service to update the properties.stopAgentInvocation=false
- Restart the WebSphere Application Server Liberty.