Flow Designer Action in SSH step. How to communicate between MID Servers

Sato3
Tera Contributor

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

1 ACCEPTED SOLUTION

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.

View solution in original post

18 REPLIES 18

Sorry. I'm not using Integration Hub. I've used "command" to MID server that's shown in detail in the links I've provided earlier and also REST API via MID Server.

I know that steps in this tutorial works and able to get result of "ls -la".

http://www.john-james-andersen.com/blog/service-now/command-line-execution-with-servicenow-mid-serve...

It's difficult to say what the problem is without knowing exactly what's being done.

Hi, @Hitoshi Ozawa 

 

You have cooperated with me enough.

Thank you for providing the information while there is not enough information to pass.