欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

老外眼中的简单drbd配置

最编程 2024-02-24 19:28:39
...
global {
        usage-count yes;
}

common {
        protocol C;
        syncer { rate 10M; }
}


resource r0 {
        on node1.ybn.fr {
                device    /dev/drbd1;
                disk      /dev/sdb1;
                address   192.168.0.10:7789;
                meta-disk internal;
        }
        on node2.ybn.fr {
                device    /dev/drbd1;
                disk      /dev/sdb1;
                address   192.168.0.11:7789;
                meta-disk internal;
        }
        startup {
                become-primary-on node1.ybn.fr;
        }
}

推荐阅读