Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- drbd.conf:
- # You can find an example in /usr/share/doc/drbd.../drbd.conf.example
- include "drbd.d/global_common.conf";
- include "drbd.d/*.res";
- global_common.conf:
- global {
- usage-count yes;
- # minor-count dialog-refresh disable-ip-verification
- }
- common {
- protocol C;
- handlers {
- pri-on-incon-degr "/usr/lib/drbd/notify-pri-on-incon-degr.sh; /usr/lib/drbd/notify-emergency-reboot.sh";
- pri-lost-after-sb "/usr/lib/drbd/notify-pri-lost-after-sb.sh; /usr/lib/drbd/notify-emergency-reboot.sh";
- local-io-error "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh";
- split-brain "/usr/lib/drbd/notify-split-brain.sh root";
- fence-peer "/usr/sbin/rhcs_fence";
- }
- startup {
- become-primary-on both;
- wfc-timeout 600;
- degr-wfc-timeout 120;
- }
- disk {
- on-io-error detach;
- }
- net {
- allow-two-primaries;
- after-sb-0pri discard-zero-changes;
- after-sb-1pri discard-secondary;
- after-sb-2pri disconnect;
- shared-secret "semo739omih36";
- }
- syncer {
- rate 300M;
- al-extents 257;
- verify-alg md5;
- }
- }
- OpenNMS.res
- # This resource is used for the VMs of Node1
- resource OpenNMS {
- device /dev/drbd2;
- meta-disk internal;
- on pclus1cent6-01.cl3m.sccon.de {
- disk /dev/sda7;
- address 172.19.38.31:7790;
- }
- on pclus1cent6-02.cl3m.sccon.de {
- disk /dev/sda7;
- address 172.19.38.32:7790;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement