Hi I’m pretty new to Proxmox and a total noob when it come to Linstor and DRDB. I have a 2 node Proxmox-Cluster with an additional corosync-qdevice running on my Unraid-NAS.
Now I try to get DRBD working but unfortunately I fail. I followed these tutorials:
https://linbit.com/drbd-user-guide/instor-guide-1_0-en/#ch-proxmox-linstor
https://linbit.com/blog/setting-up-...age-for-proxmox-using-linstor-the-linbit-gui/
and this video:
https://youtu.be/pP7nS_rmhmE
From my point of view all should be configured correctly. I also see the DRBD storage in the Proxmox Web-UI. Unfortunately when I try to move a VM disk to the DRBD storage or try to create a new VM on the DRBD storage I get an error saying that I do not have enough nodes.
All seems to be in order though:
When I try to create resources I see this error message:
Where are these additional replica coming from? I only configured PlaceCount = 2.
How can I fix this?
Thanks for you time and help.
Now I try to get DRBD working but unfortunately I fail. I followed these tutorials:
https://linbit.com/drbd-user-guide/instor-guide-1_0-en/#ch-proxmox-linstor
https://linbit.com/blog/setting-up-...age-for-proxmox-using-linstor-the-linbit-gui/
and this video:
https://youtu.be/pP7nS_rmhmE
From my point of view all should be configured correctly. I also see the DRBD storage in the Proxmox Web-UI. Unfortunately when I try to move a VM disk to the DRBD storage or try to create a new VM on the DRBD storage I get an error saying that I do not have enough nodes.
All seems to be in order though:
Code:
root@gateway:~# linstor node list
╭─────────────────────────────────────────────────────────╮
┊ Node ┊ NodeType ┊ Addresses ┊ State ┊
╞═════════════════════════════════════════════════════════╡
┊ gateway ┊ COMBINED ┊ 192.168.2.31:3366 (PLAIN) ┊ Online ┊
┊ tvbox ┊ COMBINED ┊ 192.168.2.32:3366 (PLAIN) ┊ Online ┊
╰─────────────────────────────────────────────────────────╯
root@gateway:~# linstor storage-pool list
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
┊ StoragePool ┊ Node ┊ Driver ┊ PoolName ┊ FreeCapacity ┊ TotalCapacity ┊ CanSnapshots ┊ State ┊ SharedName ┊
╞═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡
┊ DfltDisklessStorPool ┊ gateway ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊ gateway;DfltDisklessStorPool ┊
┊ DfltDisklessStorPool ┊ tvbox ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊ tvbox;DfltDisklessStorPool ┊
┊ ha-lvm-storage ┊ gateway ┊ LVM_THIN ┊ ha-lvm-thin-vg/ha-lvm-thinpool ┊ 381.36 GiB ┊ 381.36 GiB ┊ True ┊ Ok ┊ gateway;ha-lvm-storage ┊
┊ ha-lvm-storage ┊ tvbox ┊ LVM_THIN ┊ ha-lvm-thin-vg/ha-lvm-thinpool ┊ 381.36 GiB ┊ 381.36 GiB ┊ True ┊ Ok ┊ tvbox;ha-lvm-storage ┊
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
root@gateway:~# linstor resource-group list
╭───────────────────────────────────────────────────────────────────────╮
┊ ResourceGroup ┊ SelectFilter ┊ VlmNrs ┊ Description ┊
╞═══════════════════════════════════════════════════════════════════════╡
┊ DfltRscGrp ┊ PlaceCount: 2 ┊ ┊ ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡
┊ ha-lvm-rg ┊ PlaceCount: 2 ┊ 0 ┊ ┊
┊ ┊ StoragePool(s): ha-lvm-storage ┊ ┊ ┊
┊ ┊ LayerStack: ['DRBD'] ┊ ┊ ┊
╰───────────────────────────────────────────────────────────────────────╯
root@gateway:~# linstor resource-definition list
╭───────────────────────────────────────────────╮
┊ ResourceName ┊ ResourceGroup ┊ Layers ┊ State ┊
╞═══════════════════════════════════════════════╡
╰───────────────────────────────────────────────╯
root@gateway:~#
When I try to create resources I see this error message:
Code:
root@gateway:~# linstor resource-group spawn ha-lvm-rg test10 1GiB
ERROR:
Description:
Not enough available nodes
Details:
Not enough nodes fulfilling the following auto-place criteria:
* has a deployed storage pool named [ha-lvm-storage]
* the storage pools have to have at least '1048576' free space
* the current access context has enough privileges to use the node and the storage pool
* the node is online
Auto-place configuration details:
Replica count: 2
Additional replica count: 2
Storage pool name:
ha-lvm-storage
Do not place with resource:
test10
Do not place with resource (regex):
Layer stack:
DRBD
Resource group: ha-lvm-rg
root@gateway:~#
How can I fix this?
Thanks for you time and help.