global { usage-count no; } common { protocol C; } resource r0 { # Rate of replication - set to 0.3 x max limit of link speed in MB/s syncer { rate 33M; } # Enable dual-primary mode (active/active cluster) net { allow-two-primaries; } startup { become-primary-on kroker01.home.local; } device /dev/drbd1; # Disk mirror device - use drbd1 for first, drbd2 for second disk /dev/md/d0p1; # Disk device node meta-disk internal; on kroker01.home.local { # Hostname of first server address 10.0.1.1:7789; # IP address of first server } on kroker02.home.local { # Hostname of second server address 10.0.1.2:7789; # IP address of second server } }