Step 27D: Start and Stop the System Automation Operations REST Server
Start the Operations REST Server
- OPT_EMBEDDED_WEBSERVER
The System Automation Operations REST Server runs in a Java™ virtual machine in a USS process. To start this server, run a started task by using the sample JCL procedure ING.SINGSAMP(INGROJCL).
- OPT_LIBERTY_DEPLOYED
Normally, the System Automation Operations REST Server is automatically started as an APP when you start the WebSphere Liberty server instance. It is possible that you configured another behavior in the liberty profile. Consult your WebSphere Liberty expert to clarify the start procedure in your environment.
Messages are generated and written to the Netlog whenever the System Automation Operations REST server is starting. ING420I and ING421I indicate a successful start.
Stop the Operations REST Server
- OPT_EMBEDDED_WEBSERVER
The System Automation Operations REST Server runs in a Java™ virtual machine in a USS process. To stop it, use the z/OS® stop command.
- OPT_LIBERTY_DEPLOYED
The System Automation Operations REST Server is stopped when you stop the WebSphere Liberty server instance.
It is possible to stop and restart individual applications in the WebSphere Admin Console. For more information about how to do it, see the description of you local WebSphere Liberty Deployment.
Messages are generated and written to the Netlog whenever the System Automation Operations REST Server is stopping. ING422I and ING423I are written during stop processing.
Automate start and stop of the Operations REST Server
To automate the start and stop of the Operations REST Server, you can use the sample policies that are provided by System Automation in the Customization Dialog.
Two sample policies are available under the *IBMCOMP add-on policy in the Customization Dialog (Data Management > Import from Add-on).
- One is for OPT_EMBEDDED_WEBSERVER (the Operations REST Server runs as a stand-alone version with its own embedded Tomcat web server).
- The other is for OPT_LIBERTY_DEPLOYED (you deploy the Operations REST Server in your WebSphere Liberty environment).
You can add this component to your policy as an embedded or WebSphere deployed solution and adapt the sample policies to your needs.
