[ClusterLabs] strange cluster state
Václav Mach
machv at cesnet.cz
Fri Sep 29 09:32:19 EDT 2017
Hello,
I am trying to setup simple 2 node cluster. The setup is done with
ansible. The whole project is available on github at
https://github.com/lager1/cesnet_HA (README is written in czech, but
other parts may be relevant).
The cluster consist of two servers - r1nren.et.cesnet.cz (r1, r1nren)
and r2nret.et.cesnet.cz (r2, r2nren). Configuration uses group for
resources to utilize created dependencies and colocation rules.
The resources are:
- ping_gw
- standby_ip
- offline_file
- radiator
- racoon
- eduroam_ping
- mailto
Resource ping_gw is cloned to be run on both nodes.
All the remainning resources are added to group.
When testing cluster behavior I've managed to get the cluster in an a
strange state:
Node r2nren.et.cesnet.cz: standby
Online: [ r1nren.et.cesnet.cz ]
Full list of resources:
Clone Set: clone_ping_gw [ping_gw]
Started: [ r1nren.et.cesnet.cz ]
Stopped: [ r2nren.et.cesnet.cz ]
Resource Group: group_eduroam.cz
standby_ip (ocf::heartbeat:IPaddr2): Started r2nren.et.cesnet.cz
offline_file (systemd:offline_file): Stopped
radiator (systemd:radiator): Started r1nren.et.cesnet.cz
racoon (systemd:racoon): Stopped
eduroam_ping (systemd:eduroam_ping): Stopped
mailto (ocf::heartbeat:MailTo): Started r1nren.et.cesnet.cz
How is this state even possible?
According to the docs, the node may not run any resources when it is in
standby state. Also all the resources should run on same node and all
the resources should be started in the defined order. The output above
does not match that.
I'm not totally sure if the attached logs were created when this problem
occured, but I think they should.
Thanks for help.
Regards,
Vaclav
--
Václav Mach
CESNET, z.s.p.o.
www.cesnet.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ha_files.tar.gz
Type: application/gzip
Size: 44065 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170929/f727569f/attachment.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3710 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170929/f727569f/attachment-0002.p7s>
More information about the Users
mailing list