Can't make proxmox-linbit plugin to use multiple controller

While the original/first controller is offline, if you run something like the following on each node:

systemctl restart pve-cluster pvedaemon pvestatd pveproxy pve-ha-lrm

Does the available storage return in the Proxmox web interface?


One potential workaround would be to use a virtual IP address for the LINSTOR controller endpoint in the DRBD Reactor configuration:

Instead of:

[[promoter]]
id = "linstor_db"
[promoter.resources.linstor_db]
start = ["var-lib-linstor.mount", "linstor-controller.service"]

Use something similar to:

[[promoter]]
id = "linstor_db"
[promoter.resources.linstor_db]
start = [
"""
ocf:heartbeat:IPaddr2 db_virtip ip=192.168.102.200 \
cidr_netmask=24 iflabel=virtualip""",
"var-lib-linstor.mount",
"linstor-controller.service"
]

And finally, update the /etc/pve/storage.cfg file to use the new virtual IP address accordingly:

drbd: linstor_storage
        content images, rootdir
        controller 192.168.102.200
        resourcegroup pve-rg