[ClusterLabs] Running shell command on remote node via corosync messaging infrastructure
Ken Gaillot
kgaillot at redhat.com
Fri Dec 18 13:54:50 EST 2020
On Fri, 2020-12-18 at 17:51 +0000, Animesh Pande wrote:
> Hello,
>
> Is there a tool that would allow for commands to be run on remote
> nodes in the cluster through the corosync messaging layer? I have a
> cluster configured with multiple corosync communication rings (public
> network and private network). I would like to be able to run a
> command on the remote node through corosync layer even when the
> communication ring associated with the public network goes down but
> the private network communication ring is still connected.
>
> Please let me know if there is such a tool provided by corosync that
> I can use.
>
> Thank you for your time!
>
> Best regards,
> Animesh
Hi,
No, there is not. I'm assuming you're using "remote" in the
conventional sense and not for Pacemaker Remote nodes, but the answer
is no either way. :)
Of course, you can configure sshd to listen on the cluster interface.
If you give the cluster interface on each node a unique name in DNS (or
hosts or whatever), you can ssh to that name.
--
Ken Gaillot <kgaillot at redhat.com>
More information about the Users
mailing list