Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #global_common.conf:
- global {
- usage-count yes;
- }
- common {
- startup {
- degr-wfc-timeout 0;
- }
- net {
- protocol C;
- cram-hmac-alg sha1;
- shared-secret secret;
- }
- disk {
- on-io-error detach;
- }
- }
- #r0.res
- resource r0 {
- net {
- max-buffers 18000;
- max-epoch-size 18000;
- sndbuf-size 1M;
- }
- disk {
- c-plan-ahead 10;
- c-max-rate 330M;
- c-min-rate 0;
- c-fill-target 10M;
- no-disk-flushes;
- no-md-flushes;
- fencing resource-only;
- }
- handlers {
- fence-peer "/usr/lib/drbd/crm-fence-peer.sh";
- after-resync-target "/usr/lib/drbd/crm-unfence-peer.sh";
- }
- on iscsi1.example.org {
- volume 0 {
- device /dev/drbd0;
- disk /dev/disk/by-id/scsi-36003048010fc8b001d993185466f1b08;
- meta-disk internal;
- }
- address 10.100.0.1:7788;
- }
- on iscsi2.example.org {
- volume 0 {
- device /dev/drbd0;
- disk /dev/disk/by-id/scsi-36003048010fc41001d96797a715ee308;
- meta-disk internal;
- }
- address 10.100.0.2:7788;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement