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

Hi, @Hitoshi Ozawa 

 

I don't have an image of how to pass a script to MID Server and execute it. Is there any concrete code?

If using an Integration Hub, it is be possible to ssh to an linux server.

Integration Hub requires additional license.

https://docs.servicenow.com/bundle/sandiego-application-development/page/administer/flow-designer/re...

I'm not using IntegrationHub primary because it'll require me to save login information on intranet devices such as firewall in ServiceNow. Security risk is too high.

Hi, @Hitoshi Ozawa 

 

>>>If using an Integration Hub, it is be possible to ssh to an linux server.

I am using each method.

Path is bash, but do you know why you can't access directories in MID Server with bash?

I have already reached the access of MID Process, but can you provide a concrete solution such as the access method between MID Servers that I have been worried about earlier?