integrations

Restart application servers with external request system and Middleware Admin

Author: Vasil Vasilev
July 5, 2024

You can create a workflow with automated steps from Middleware Admin and use an external request system like Jira, ServiceNow, and BMC Remedy, to trigger a deployment.
In this example, we can see how you can stop IBM App connect server from ServiceNow. A similar scenario can be used to restart different middleware servers like JBoss, Apache Tomcat, IBM MQ, Websphere AS, Weblogic, and others.

With the Workflow designer from the Request menu, you have to define two steps:
- Start compute
- End compute




The Start compute will automatically create a job based on the requirement and will send it to the deployment step where the job will be triggered and the Midleo Request - closed.

More info about sending requests from ServiceNow can be found here: Automate sending data from ServiceNow to MidlEO on incident creation

Now we can trigger a START action :

applicationServer: ACEBR01
application: VPS
project: TITPN
serverType: ibmacedocker
requestType: start
applicationType: server
selectedServer: ACEBR01

The application, project, type of the server, and server name are based on your environment.

This is the final incident from ServiceNow:




Once submitted, it will trigger the automated deployment workflow and in a few seconds you can see more details in the Activities section:



For more details, you can click on the links and you can see the output from the deployment:
The Request:



and the Job output: