Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
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 !!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100916/649f5018/attachment.htm>