[ClusterLabs] Running shell command on remote node via corosync messaging infrastructure

Klaus Wenninger kwenning at redhat.com
Mon Dec 21 04:59:58 EST 2020


On 12/18/20 9:41 PM, Andrei Borzenkov wrote:
> 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?
Not that I would know ... but of course an implementation sitting e.g. on
top of cpg might be out there somewhere.
But when running Corosync >= 3 with knet beneath it should be possible
to put a virtual interface on top of knet.
>
>> If you give the cluster interface on each node a unique name in DNS (or
>> hosts or whatever), you can ssh to that name.
>>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/



More information about the Users mailing list