[Pacemaker] Resources won't start

Phil Hunt Phil.Hunt at orionhealth.com
Tue Apr 19 16:36:02 EDT 2011


Hi

I've been having alot of problems figuring out a problem.  In the enclosed config for a 2 node cluster, letting 2 RHEL5 boxes work as a cluster with a shared iSCSI disk stored on a Windows Storage Server box, the resources will not start.

I have iscsid running, no iscsi.  I was modifying because the iscsi would connect to the target, the lvm would work but the disk would not mount.  If I mounted it manually and did a resource cleanup on the FS resource, it said it was fine.  Something I did really messed it all up.  I am very new at this, so anything with this problem in my config would be appreciated.  The attempt is to have the 2 systems share a iscsi disk, all resources running in one group with a VIP address and the disk moving to the other server on failure.

  

Here is the crm status:
============
Last updated: Tue Apr 19 12:39:03 2011
Stack: openais
Current DC: CentClus2 - partition with quorum
Version: 1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3
2 Nodes configured, 2 expected votes
1 Resources configured.
============

Online: [ CentClus1 CentClus2 ]

 Resource Group: CL_group
     ClusterIP  (ocf::heartbeat:IPaddr2):       Started CentClus2
     FS_disk    (ocf::heartbeat:Filesystem):    Stopped
     ISCSI_disk (ocf::heartbeat:iscsi): Stopped
     VG_disk    (ocf::heartbeat:LVM):   Stopped
     PM_ping    (ocf::pacemaker:ping):  Stopped
     IP_ping    (ocf::heartbeat:IPaddr2):       Stopped



Here is the crm config:
node CentClus1
node CentClus2
primitive ClusterIP ocf:heartbeat:IPaddr2 \
        params ip="192.168.1.90" cidr_netmask="32" \
        op monitor interval="30s"
primitive FS_disk ocf:heartbeat:Filesystem \
        params device="/dev/VolGroup01/Shared1" directory="/data" fstype="gfs"
primitive IP_ping ocf:heartbeat:IPaddr2 \
        params ip="192.168.1.90" cidr_netmask="32" \
        op monitor interval="30s"
primitive ISCSI_disk ocf:heartbeat:iscsi \
        params portal="192.168.1.79:3260" target="iqn.1991-05.com.microsoft:wss-w2xxsvr-wss-target3-target" \
        op start interval="0" timeout="120s" \
        op stop interval="0" timeout="120s" \
        op monitor interval="120s" timeout="30s"
primitive PM_ping ocf:pacemaker:ping \
        params name="p_ping" host_list="192.168.1.91 192.168.1.92 192.168.1.1 " \
        op monitor interval="15s" timeout="30s"
primitive VG_disk ocf:heartbeat:LVM \
        params volgrpname="VolGroup01" exclusive="yes" \
        op monitor interval="10" timeout="30" on-fail="restart" depth="0" \
        op start interval="0" timeout="30" \
        op stop interval="0" timeout="30"
group CL_group ClusterIP FS_disk ISCSI_disk VG_disk PM_ping IP_ping
location Loc_ping CL_group \
        rule $id="loc_ping-rule" -inf: not_defined PM_ping or PM_ping lte 0
order ISCSI_startup inf: ISCSI_disk VG_disk FS_disk
property $id="cib-bootstrap-options" \
        dc-version="1.0.10-da7075976b5ff0bee71074385f8fd02f296ec8a3" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        stonith-enabled="false" \
        no-quorum-policy="ignore"
rsc_defaults $id="rsc-options" \
        resource-stickiness="1000"

	

PHIL HUNT AMS Consultant 
phil.hunt at orionhealth.com 





More information about the Pacemaker mailing list