<div>Hi all</div><br><div>I’ve been working on my home cluster setup for a while now and tried varying setups for DRBD resources and finally settled on one that I think is the best but I’m still not completely satisfied with the results. Biggest question is, did I set this up in the best way? Any advice would be appreciated. I have multiple servers setup in groups and the DRBDs are in separate clones like below. I added constraints to hopefully ensure things work together well. If you have any questions to clarify my setup let me know.</div><br><br><div>   * Resource Group: git-server:</div><div>    * gitea-mount       (ocf:heartbeat:Filesystem):      Started node1</div><div>    * git-ip    (ocf:heartbeat:IPaddr2):         Started node1</div><div>    * gitea     (systemd:gitea):         Started node1</div><div>    * backup-gitea      (systemd:backupgitea.timer):     Started node1</div><div>  * Resource Group: pihole-server:</div><div>    * pihole-mount      (ocf:heartbeat:Filesystem):      Started node2</div><div>    * pihole-ip (ocf:heartbeat:IPaddr2):         Started node2</div><div>    * pihole-ftl        (systemd:pihole-FTL):    Started node2</div><div>    * pihole-web        (systemd:lighttpd):      Started node2</div><div>    * pihole-cron       (ocf:heartbeat:symlink):         Started node2</div><div>    * pihole-backup     (systemd:backupDRBD@pihole.timer):       Started node2</div><div>  * Clone Set: drbd-gitea-clone [drbd-gitea] (promotable):</div><div>    * Promoted: [ node1 ]</div><div>    * Unpromoted: [ node2 node3 node4 node5 ]</div><div>  * Clone Set: drbd-pihole-clone [drbd-pihole] (promotable):</div><div>    * Promoted: [ node2 ]</div><div>    * Unpromoted: [ node1 node3 node4 node5 ]</div><br><div> Ordering Constraints:</div><div>  start drbd-gitea-clone then start gitea-mount (kind:Mandatory)</div><div>  start drbd-pihole-clone then start pihole-mount (kind:Mandatory)</div><br><div> Colocation Constraints:</div><div>  pihole-server with drbd-pihole-clone (score:INFINITY) (rsc-role:Started) (with-rsc-role:Promoted)</div><div>  git-server with drbd-gitea-clone (score:INFINITY) (rsc-role:Started) (with-rsc-role:Promoted)</div><br><div> My setup is on five raspberry pis running ubuntu server 22.10 with:</div><div>pacemaker 2.1.4-2ubuntu1</div><div>pcs 0.11.3-1ubuntu1</div><div>drbd 9.2.2-1ppa1~jammy1</div><br><div> Overall the setup works but it seems quite fragile. I suffer from lots of fencing whenever I reboot a server and it doesn’t want to restart correctly. Another thing I have noticed is that it will sometimes take as long as 10-12 minutes to mount one of the DRBD filesystems (XFS) so I have extended the start timeout for each *-mount to 15 minutes.</div><br><div>Thanks in advance for any advice to improve the setup.</div><br><div>Brian</div>