[ClusterLabs] DRBD Slaves problem

Ervin Hegedüs airween at gmail.com
Sun Jun 25 14:41:15 EDT 2023


Hi,

I have an old (inherited) cluster. There was an unwanted restart (a power
outage), and after that one of my configured resources didn't start
properly.

Here is what I get:

crm(live)resource# list
 ...
 VM_mail (ocf::heartbeat:VirtualDomain): Started
 ...
 st-mcluster1 (stonith:external/ipmi): Stopped
 st-mcluster2 (stonith:external/ipmi): Stopped
 ...
 Master/Slave Set: Drbd_mail_Master [Drbd_mail]
     Masters: [ mcluster1 ]
     Stopped: [ mcluster2 ]

The VM runs, but when I check the DRBD status I see:

 4: cs:WFConnection ro:Primary/Unknown ds:UpToDate/DUnknown C r-----
    ns:0 nr:0 dw:185272 dr:793580 al:108 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d
oos:167648

on the master node, and

 3: cs:Connected ro:Secondary/Primary ds:UpToDate/UpToDate C r-----
    ns:0 nr:24576 dw:24576 dr:1052672 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1
wo:d oos:0

 5: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:27043916 nr:0 dw:27043916 dr:7033880 al:503 bm:0 lo:0 pe:0 ua:0 ap:0
ep:1 wo:d oos:0

on the slave (no DRBD array with number 4).

I can rebuild the DRBD array by hand, but after 10-30 minutes this state
always comes back. (I think this is because the CRM wants to handle the
resource, but it is in some unknown state.)

I tried to restart that resource, but it active only on Master node:

crm(live)resource# status Drbd_mail
resource Drbd_mail is running on: mcluster1 Master
crm(live)resource# status Drbd_mail_Master
resource Drbd_mail_Master is running on: mcluster1 Master
resource Drbd_mail_Master is NOT running

How can I fix this issue?


Thanks,


a.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20230625/68e6e66d/attachment.htm>


More information about the Users mailing list