[Linux-HA] Can't get my resource group to run
Ask Bjørn Hansen
ask at develooper.com
Sun Nov 26 23:03:02 MST 2006
Hi,
I use 2.0.7 on FC6 (rpm from fedora extras).
I can't seem to get my resources running. :-) It was working when I
just had one resource in my group (the IP address one). I added a
few more (I'm working on making an NFS server with automatic
failover, pretty basic stuff ...).
I run
crm_resource -r R_nfs_ip -p target_role -v started
and "nothing" happens - most likely something happens but I don't
know where to look :-) - The logfile just has a few lines of CIB
updates.
(I also tried with the gui tool but it doesn't give any feedback when
I press the "play" button).
My resources configuration (as seen by cibadmin -Q -o resources) is
below. As far as I can tell they are supposed to be started, but
it's not happening. How do I debug this?
[root at app1 tmp]# crm_verify -V -L
crm_verify[7206]: 2006/11/26_21:42:12 WARN: unpack_config:unpack.c No
value specified for cluster preference: default_action_timeout
crm_verify[7206]: 2006/11/26_21:42:12 WARN: unpack_config:unpack.c No
value specified for cluster preference:
default_resource_failure_stickiness
crm_verify[7206]: 2006/11/26_21:42:12 WARN: unpack_config:unpack.c No
value specified for cluster preference: remove_after_stop
crm_verify[7206]: 2006/11/26_21:42:12 WARN:
process_orphan_resource:unpack.c Nothing known about resource
resource_ running on app1.bur.sol
Warnings found during check: config may not be valid
Also, how do I tell the system to start or stop the full group?
(G_nfs).
Anyway, HELP! :-) I've had something similar to this working in
the past (with heartbeat v1) -- this cib stuff is neat, but, well,
less transparent.
- ask
<resources>
<group id="G_nfs">
<instance_attributes id="G_nfs_instance_attrs">
<attributes>
<nvpair id="G_nfs_target_role" name="target_role"
value="started"/>
</attributes>
</instance_attributes>
<primitive class="lsb" type="drbd" provider="heartbeat"
id="R_drbd">
<instance_attributes id="R_drbd_instance_attrs">
<attributes>
<nvpair name="target_role" id="R_drbd_target_role"
value="started"/>
</attributes>
</instance_attributes>
</primitive>
<primitive id="R_drbd_mount" class="heartbeat"
type="Filesystem" provider="heartbeat">
<instance_attributes id="R_drbd_mount_instance_attrs">
<attributes>
<nvpair id="R_drbd_mount_target_role" name="target_role"
value="stopped"/>
<nvpair id="e9b38833-382b-4087-8827-7f602ea62179"
name="1" value="/dev/drbd0"/>
<nvpair id="a6e6c2d7-2d8d-40d3-9b05-65f811c0125b"
name="2" value="/nfs/pkg"/>
<nvpair id="e877e05b-573d-48c4-a039-904a141229ed"
name="3" value="ext3"/>
<nvpair id="9cacbb6d-1b75-4384-ab8d-c6da67c9b5e5"
name="4" value="noatime"/>
</attributes>
</instance_attributes>
</primitive>
<primitive class="heartbeat" type="IPaddr" provider="heartbeat"
id="R_nfs_ip">
<instance_attributes id="R_nfs_ip_instance_attrs">
<attributes>
<nvpair id="11d2abe3-916b-4a50-9083-98d5683e9094"
name="1" value="10.50.0.30"/>
</attributes>
</instance_attributes>
<instance_attributes id="R_nfs_ip">
<attributes>
<nvpair id="R_nfs_ip-target_role" name="target_role"
value="started"/>
</attributes>
</instance_attributes>
</primitive>
</group>
</resources>
More information about the Linux-HA
mailing list