[ClusterLabs] Can a two node cluster start resources if only one node is booted?

john tillman johnt at panix.com
Mon Apr 25 09:29:28 EDT 2022


>
> That is really not a pacemaker problem and is better suited for general
> systemd troubleshooting resource. But as you have been already
> requested, show at least "systemctl status pacemaker.service" and
> "systemctl status drbd.service" when pacemaker does not start.
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/
>
>

I agree this is not a pacemaker problem.  Thank you for leading me to this
conclusion.

To satisfy any lingering curiosit, here is the output from systemctl
status pacemaker.service with only 1 node booted:
● pacemaker.service - Pacemaker High Availability Cluster Manager
   Loaded: loaded (/usr/lib/systemd/system/pacemaker.service; enabled;
vendor preset: disabled)
   Active: inactive (dead)
     Docs: man:pacemakerd
           https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/2.0/html-single/Pacemaker_Explained/index.html

And from systemctl status drbd.service with only 1 node booted:
● drbd.service - DRBD -- please disable. Unless you are NOT using a
cluster manager.
   Loaded: loaded (/usr/lib/systemd/system/drbd.service; enabled; vendor
preset: disabled)
   Active: activating (start) since Mon 2022-04-18 13:10:54 UTC; 4min 38s ago
 Main PID: 1857 (drbd)
    Tasks: 3 (limit: 23672)
   Memory: 3.2M
   CGroup: /system.slice/drbd.service
           ├─1857 /bin/bash /lib/drbd/drbd start
           ├─2045 drbdadm wait-con-int
           └─2049 drbdsetup wait-connect-resource TESTData

Apr 18 13:10:54 test00 systemd[1]: Starting DRBD -- please disable. Unless
you are NOT using a cluster manager....
Apr 18 13:10:56 test00 drbd[1857]: Starting DRBD resources:
/lib/drbd/drbd: line 148: /var/lib/linstor/loop_device_mapping: No such
file or directory
Apr 18 13:10:56 test00 drbd[1857]: [
Apr 18 13:10:56 test00 drbd[1857]:      create res: TESTData
Apr 18 13:10:56 test00 drbd[1857]:    prepare disk: TESTData
Apr 18 13:10:57 test00 drbd[1857]:     prepare net: TESTData
Apr 18 13:10:57 test00 drbd[1857]:     prepare net: TESTData
Apr 18 13:10:58 test00 drbd[1857]:     adjust disk: TESTData
Apr 18 13:10:58 test00 drbd[1857]: attempt to connect: TESTData
Apr 18 13:10:58 test00 drbd[1857]: ]

DRBD is clearly not "active" but "activating" and holding up the start of
pacemaker as pointed out earlier.

I shall look more closely at drbd.  Its behavior with pacemaker is
interesting but that is not for this list.  Thank you all for the
suggestions, explanations, and patience.

Regards,
John






More information about the Users mailing list