- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2022 01:40 AM
Should I follow such a Flow Step to communicate between MID Servers using the Flow Designer Action in SSH step?
What I want to achieve is when MID Server A is in the Up state and MID Server B is in the Down state, MID Server A passes an SSH command (./start.sh) to MID Server B to restart it.
Best regards
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 07:48 PM
Scripts in ServiceNow is able to execute the command on the running MID Server. That is, script will execute a command on the running MID server that will in turn ssh to the other server to execute the command.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2022 02:22 AM
Hi Sato-san
Why not just setup a Fail-over MID server cluster?
Setup a MID server cluster and select cluster type to "Failover".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2022 10:59 PM
Hi,
>>>Why not just setup a Fail-over MID server cluster?
The reason for not using a cluster is that there is an administrative audit of who restarted the MID Server.
Therefore, it is desirable to use Flow Designer with Service Catalog.
What steps do you need to take in SSH-savvy Flow Designer to interact with MID Servers?
Best regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 12:36 AM
MID Server is used to connect ServiceNow network with user's internal network. If the MID server is down, ServiceNow would not be able to access user's internal network. So if the MID Server is down and ServiceNow is not able to connect with company's internal network, how will the MID server be started?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 06:06 AM
Hi,
As you say, if the MID Server is down, I don't think the access itself can be started.
As a start method, it is an image to pass the command to the target MID Server by SSH as if you type ./start/.sh directly at the command prompt.
MID Server should start this way.
But I don't know how to pass SSH from MID Server via MID Server.