#
# please have a a look at the example configuration file in
# /usr/share/doc/drbd/drbd.conf
#

global {
  usage-count no;
}

common {
  syncer {
    rate 100M;
  }
  
  disk {
    on-io-error detach;
  }
  
  startup {
    wfc-timeout  120;
    degr-wfc-timeout 60;
  }
}

resource db {
  protocol C;
  device /dev/drbd0;
  disk /dev/sda5;
  meta-disk "internal";
  
  on clnode1 {
    address 198.18.31.1:7788;
  }
  
  on clnode2 {
    address 198.18.31.2:7788;
  }
}

resource nps {
  protocol C;
  disk /dev/sda3;
  device /dev/drbd1;
  meta-disk "internal";
  
  on clnode1 {
    address 198.18.31.1:7789;
  }
  
  on clnode2 {
    address 198.18.31.2:7789;
  }
}
