On Wed, Jan 16, 2019 at 12:36:56PM +0100, Denis wrote:
> ZERN1
> root@zern1:/var/lib/linstor.d# cat vm-101-disk-1.res_tmp
> vm-111-disk-1.res_tmp
> # This file was generated by linstor(0.7.5), do not edit manually.
>
> resource "vm-101-disk-1"
> {
> template-file "linstor_common.conf";
>
> net
> {
> cram-hmac-alg sha1;
> shared-secret "cAKoGGuAxS2dGoih7ahn";
> allow-two-primaries yes;
> }
>
> on zern1
> {
> volume 0
> {
> disk /dev/drbdpool/vm-101-disk-1_00;
> meta-disk internal;
> device minor 108;
> }
> node-id 0;
> }
>
> on pve212
> {
> volume 0
> {
> disk /dev/drbd/this/is/not/used;
> meta-disk internal;
> device minor 108;
> }
> node-id 1;
> }
>
> on pve213
> {
> volume 0
> {
> disk /dev/drbd/this/is/not/used;
> meta-disk internal;
> device minor 108;
> }
> node-id 2;
> }
>
> connection
> {
> host zern1 address ipv4 10.12.150.4:7000;
> host pve212 address ipv4 10.12.150.2:7000;
> }
>
> connection
> {
> host zern1 address ipv4 10.12.150.4:7000;
> host pve213 address ipv4 10.12.150.3:7000;
> }
> }
FWIW, this should be valid:
$ DRBD_DRIVER_VERSION_OVERRIDE=9.0.0 __DRBD_NODE__=zern1 \
./user/v9/drbdadm -c ./t.res sh-nop vm-101-disk-1 && echo "valid"
valid
It is "something else".
Regards, rck
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user