[ClusterLabs] Running shell command on remote node via corosync messaging infrastructure
Andrei Borzenkov
arvidjaar at gmail.com
Fri Dec 18 15:41:39 EST 2020
18.12.2020 21:54, Ken Gaillot пишет:
> 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.
What do you call "cluster interface"? As I understand the question, the
idea is to use redundancy of corosync communication. Is it possible to
configure virtual interface on top of corosync rings?
> If you give the cluster interface on each node a unique name in DNS (or
> hosts or whatever), you can ssh to that name.
>
More information about the Users
mailing list