Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /var/lib/linstor.d/vm-103-disk-1.res
- the first installed one
- resource "vm-103-disk-1"
- {
- template-file "linstor_common.conf";
- net
- {
- cram-hmac-alg sha1;
- shared-secret "removed";
- allow-two-primaries yes;
- }
- on pve-virt1
- {
- volume 0
- {
- disk /dev/drbdpool/vm-103-disk-1_00000;
- meta-disk internal;
- device minor 1003;
- }
- node-id 0;
- }
- on pve-virt2
- {
- volume 0
- {
- disk /dev/drbd/this/is/not/used;
- meta-disk internal;
- device minor 1003;
- }
- node-id 1;
- }
- connection
- {
- host pve-virt1 address ipv4 10.0.0.16:7003;
- host pve-virt2 address ipv4 10.0.0.66:7003;
- }
- }
- and the second - added node
- resource "vm-103-disk-1"
- {
- template-file "linstor_common.conf";
- net
- {
- cram-hmac-alg sha1;
- shared-secret "removed";
- allow-two-primaries yes;
- }
- on pve-virt2
- {
- volume 0
- {
- disk /dev/vg-virt2-sata10/vm-103-disk-1_00000;
- meta-disk internal;
- device minor 1003;
- }
- node-id 1;
- }
- on pve-virt1
- {
- volume 0
- {
- disk /dev/drbd/this/is/not/used;
- meta-disk internal;
- device minor 1003;
- }
- node-id 0;
- }
- connection
- {
- host pve-virt2 address ipv4 10.0.0.66:7003;
- host pve-virt1 address ipv4 10.0.0.16:7003;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement