Hello again, for those of you who feel like testing this, here's my working configuration example for your reference (assuming the LVM VG named "iscsivg01" is on shared storage or DRBD):
primitive res_lvm_iscsivg01 ocf:heartbeat:LVM \
params volgrpname="iscsivg01" \
op monitor interval="30s"
primitive res_target_iscsivg01 ocf:heartbeat:iSCSITarget \
params implementation="iet" tid="1" \
name="iqn.2001-04.com.linbit:storage.alicebob.iscsivg01" \
op monitor interval="10s"
primitive res_lu_lun0 ocf:heartbeat:iSCSILogicalUnit \
params implementation="iet" tid="1" lun="0" \
path="/dev/iscsivg01/lun0" \
op monitor interval="10s"
primitive res_lu_lun1 ocf:heartbeat:iSCSILogicalUnit \
params implementation="iet" tid="1" lun="1" \
path="/dev/iscsivg01/lun1" \
op monitor interval="10s"
group rg_iscsivg01 target_iscsivg01 res_lu_lun0 res_lu_lun1
colocation c_iscsi_on_lvm_iscsivg01 inf: rg_iscsivg01 res_lvm_iscsivg01
order o_lvm_before_iscsi_iscsivg01 inf: res_lvm_iscsivg01 rg_iscsivg01
Cheers,
Florian
On 06/12/2009 08:38 AM, Florian Haas wrote:
> A set of resource agents to support highly available iSCSI Targets.
>
> This patch adds two new resource agents:
> - iSCSITarget, representing an individual iSCSI target;
> - iSCSILogicalUnit, representing an individual LU (which is part of a
> target).
signature.asc
Description: OpenPGP digital signature
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
