[ClusterLabs] Unable to add a node to an existing cluster
Xin Liang
XLiang at suse.com
Tue Aug 8 18:18:07 EDT 2023
Hi Bartk,
What's the version of crmsh you are using?
Could you please provide your corosync.conf on these 2 nodes after you meed this error?
And, if you run "crm cluster init -u -s <device1> -s <device2> -s <device3>" on node01, crmsh will just pick up ONE interface and write it into corosync.conf, while I see there are TWO rings in https://paste.opensuse.org/pastes/254c28adf1c5, which was very weird
Regards,
Xin
________________________________
From: Users <users-bounces at clusterlabs.org> on behalf of Bartosz Kaczyński <bkaczynski at posteo.net>
Sent: Tuesday, August 8, 2023 4:45 AM
To: users at clusterlabs.org <users at clusterlabs.org>
Subject: [ClusterLabs] Unable to add a node to an existing cluster
Hello ClusterLabs community!
I'm in the process of learning this technology, using the course "Say
Goodbye to Downtime with SUSE Linux Enterprise Server (Repeat)" [1]
where the instructor guides through the process of installing a cluster
on one node and joining to the cluster on another node.
The instructor is using SLES 15. The entire test environment is quite
complex in terms of networking and storage. I think I managed to
replicate it on openSUSE Leap 15.5.
I initiated the cluster from node01 with the following command:
node01:~ # crm cluster init -u \
-s /dev/disk/by-path/ip-10.10.11.111:3260-iscsi-iqn.(...)-lun-0 \
-s /dev/disk/by-path/ip-10.10.12.112:3260-iscsi-iqn.(...)-lun-0 \
-s /dev/disk/by-path/ip-10.10.13.113:3260-iscsi-iqn.(...)-lun-0
From node02, I then tried to join it to the cluster with the following
command [2]
I also believe that I met all the requirements regarding the network
connectivity between the nodes and cluster resolution. ICMP is working
between all interfaces, the /etc/hosts file is also filled in on both
hosts, and time synchronization is ensured with chronyd.
The network diagram is available as a downloadable graphic [3], and
someone has created a similar tutorial using VMware as the hypervisor
(while I am using KVM) [4].
I am aware that providing assistance in such a situation can be
challenging, and the problem may occur at various levels. However, is
there anything that I might have overlooked, or is there anything that
comes to your mind?
[1] https://open.sap.com/courses/suse2-1-pc
[2] https://paste.opensuse.org/pastes/254c28adf1c5
[3]
https://opensap-pinboard.s3.openhpicloud.de/courses/6IB8s3snE8SkA2AxXCJWOL/topics/1nYPUtHIu4f73RLSTHdkqw/44nDvDjlO5bs8eoCxu0Uqh/openSAP-HA-LabEnv-Diagram.png
[4]
https://blogs.sap.com/2021/03/13/setting-up-suse-high-availability-cluster-quick-start-demo/
Regards,
bartk
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users
ClusterLabs home: https://www.clusterlabs.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230808/442f35a2/attachment.htm>
More information about the Users
mailing list