Hello

I'm setting drbd + ha + iscsi-target + ESX, the drbd0 for iscsi-target
without format it (it for ESX) and the drbd1 for iscsi-target files.

The following my drbd.conf and haresources setting:

drbd.conf

global {
  usage-count yes;
}
common {
  syncer { rate  30M; }
}
resource r0 {
  protocol C;
  startup {
    wfc-timeout 0;
    degr-wfc-timeout 120;
  }
  disk {
    on-io-error   detach;
    # no-disk-flushes;
    # no-md-flushes
    # size 1G;
   }
  net {
   }
on abc01 {
   device    /dev/drbd0;
   disk      /dev/sda5;
   address   192.168.80.28:7789;
   meta-disk internal;
  }
on abc02 {
   device    /dev/drbd0;
   disk      /dev/sda5;
   address   192.168.80.29:7789;
   meta-disk internal;
  }
}
resource r1 {
  protocol C;
  startup {
    wfc-timeout 0;
    degr-wfc-timeout 120;
  }
  disk {
    on-io-error   detach;
    # no-disk-flushes;
    # no-md-flushes
    # size 1G;
   }
  net {
   }
on abc01 {
   device    /dev/drbd1;
   disk      /dev/sda6;
   address   192.168.80.28:7790;
   meta-disk internal;
  }
on abc02 {
   device    /dev/drbd1;
   disk      /dev/sda6;
   address   192.168.80.29:7790;
   meta-disk internal;
  }
}
haresources:

abc01 IPaddr::192.168.80.30/24/eth0 drbddisk::r0 Filesystem::/dev/drbd0
iscsi-target
abc01 IPaddr::192.168.80.30/24/eth0 drbddisk::r1
Filesystem::/dev/drbd1::/test::ext3


Thanks !!
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to