[DRBD-user] Unable to init a node
Jdt
Jean-Daniel.Tissot at univ-fcomte.fr
Tue Mar 27 18:45:59 CEST 2018
Le 20/03/2018 à 10:07, Roland Kammerer a écrit :
> On Mon, Mar 19, 2018 at 07:12:29PM +0100, Jdt wrote:
>>
>> [SNIP}
> Please do not start debugging in the GUI, start at the lowest level.
>
> - You did add other nodes besides the initial node, didn't you?
Yes, I have three nodes :
root at dmz-pve1:~ # drbdmanage list-nodes
+------------------------------------------------------------------------------------------------------------+
| Name | Pool Size | Pool Free
| | State |
|------------------------------------------------------------------------------------------------------------|
| dmz-pve1 | unknown | unknown
| | ok |
| dmz-pve2 | unknown | unknown
| | ok |
| dmz-pve3 | unknown | unknown
| | ok |
+------------------------------------------------------------------------------------------------------------+
But pool size is unknown, I have a VG named drbdpool
> - The control volume is happy and connected to the other nodes?
Yes
LV Path /dev/drbdpool/.drbdctrl_0
LV Name .drbdctrl_0
VG Name drbdpool
LV Path /dev/drbdpool/.drbdctrl_1
LV Name .drbdctrl_1
VG Name drbdpool
root at dmz-pve1:~ # drbdadm status
.drbdctrl role:Primary
volume:0 disk:UpToDate
volume:1 disk:UpToDate
dmz-pve2 role:Secondary
volume:0 peer-disk:UpToDate
volume:1 peer-disk:UpToDate
dmz-pve3 role:Secondary
volume:0 peer-disk:UpToDate
volume:1 peer-disk:UpToDate
root at dmz-pve1:~ # drbd-overview 2>/dev/null
0:.drbdctrl/0 Connected(3*) Prim(dmz-pve1)/Seco(dmz-pve2,dmz-pve3)
UpTo(dmz-pve1)/UpTo(dmz-pve2,dmz-pve3)
1:.drbdctrl/1 Connected(3*) Prim(dmz-pve1)/Seco(dmz-pve2,dmz-pve3)
UpTo(dmz-pve1)/UpTo(dmz-pve3,dmz-pve2)
> - Drbdmanage is started on the other nodes?
Yes
root at dmz-pve1:~ # ps aux Op | grep drbd | grep -v grep
root 2657 0.0 0.0 0 0 ? S< 16:38 0:00
[drbd-reissue]
root 2863 0.0 0.0 0 0 ? S 16:39 0:00
[drbd_w_.drbdctr]
root 2865 0.0 0.0 0 0 ? S< 16:39 0:00
[drbd0_submit]
root 2871 0.0 0.0 0 0 ? S< 16:39 0:00
[drbd1_submit]
root 2926 0.0 0.0 270096 22184 ? Sl 16:39 0:05
/usr/bin/python /usr/bin/dbus-drbdmanaged-service
root 2930 0.0 0.0 4348 1488 ? S 16:39 0:00
drbdsetup events2 all
root 3032 0.0 0.0 0 0 ? S 16:40 0:00
[drbd_s_.drbdctr]
root 3036 0.0 0.0 0 0 ? S 16:40 0:00
[drbd_r_.drbdctr]
root 3231 0.0 0.0 0 0 ? S 16:41 0:00
[drbd_a_.drbdctr]
root 3232 0.0 0.0 0 0 ? S< 16:41 0:00
[drbd_as_.drbdct]
root 3416 0.0 0.0 0 0 ? S 16:42 0:00
[drbd_s_.drbdctr]
root 3419 0.0 0.0 0 0 ? S 16:42 0:00
[drbd_r_.drbdctr]
root 3555 0.0 0.0 0 0 ? S 16:43 0:00
[drbd_a_.drbdctr]
root 3556 0.0 0.0 0 0 ? S< 16:43 0:00
[drbd_as_.drbdct]
on the three nodes.
> - "drbdmanage role" on all nodes shows something meaningful?
Yes
root at dmz-pve1:~ # drbdmanage role
Operation completed successfully
leader
root at dmz-pve2:~ # drbdmanage role
Operation completed successfully
potential leader (CL: dmz-pve1)
root at dmz-pve3:~ # drbdmanage role
Operation completed successfully
potential leader (CL: dmz-pve1)
> - You can create resources on the command line and assign them?
I don't understand your question.
I try to create virtual machine on one node of the proxmox cluster via
the proxmox web interface.
I need information on the pve storage.cfg
I try to add :
drbd: drbdpool
content images,rootdir
redundancy 3
or
drbd: drbdstorage
content images,rootdir
redundancy 3
without success.
With the first solution, a logical volume is created on VG drbdpool on
only one node but nothing appear in /var/lib/drbd.d as in the previous
version
With the second solution, there is an error accessing volume
In proxmox interface, I don't see anyway to add DRBD resources in
Datacenter Storage.
Any help will be appreciated.
>
> Regards, rck
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
Regards, jdt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180327/e2de4831/attachment.htm>
More information about the drbd-user
mailing list