diff --git a/drbd.d/global_common.conf b/drbd.d/global_common.conf new file mode 100644 index 0000000..cfebfb4 --- /dev/null +++ b/drbd.d/global_common.conf @@ -0,0 +1,8 @@ +# +global { + usage-count no; +} + +common { + protocol C; +} diff --git a/drbd.d/r0.res b/drbd.d/r0.res new file mode 100644 index 0000000..7d1487d --- /dev/null +++ b/drbd.d/r0.res @@ -0,0 +1,14 @@ +# +resource r0 { + meta-disk internal; + device /dev/drbd0; + + on db-drbd-1 { + disk /dev/sda3; + address 192.168.50.1:7789; + } + on db-drbd-2 { + disk /dev/sda3; + address 192.168.50.2:7789; + } +}