I am trying to emulate the setup for "Clusters from Scratch" locally.

When I try to enter the command (similar to page 33 in Clusters)

"crm configure location prefer-sys01 WebSiteGroup 50: sys01"

I get this response:
element rsc_location: validity error : IDREF attribute rsc references an 
unknown ID "WebSiteGroup"
crm_verify[32228]: 2010/03/26_17:46:08 ERROR: main: CIB did not pass DTD/schema 
validation

Searching the mail list I find no apparent directly related reference.

I have 2 nodes running and starting/stopping apache but need to continue with 
the setup.
Is this a problem with my setup (below) or is this indicative of something else?

*******************************************************************
# crm configure show
node sys01
node sys02
primitive ServiceIP ocf:heartbeat:IPaddr2 \
        params ip="10.1.1.1" cidr_netmask="32" \
        op monitor interval="30s" \
        op start interval="0" timeout="90s" \
        op stop interval="0" timeout="100s"
primitive WebSite ocf:heartbeat:apache \
        params configfile="/etc/httpd/conf/httpd.conf" \
        op monitor interval="1min" \
        op start interval="0" timeout="90s" \
        op stop interval="0" timeout="100s"
group WebSiteGroup ServiceIP WebSite
property $id="cib-bootstrap-options" \
        dc-version="1.0.8-3225fc0d98c8fcd0f7b24f0134e89967136a9b00" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        stonith-enabled="false" \
        no-quorom-policy="ignore"
rsc_defaults $id="rsc-options" \
        resource-stickiness="100"
**********************************************************************
# crm_mon -1
============
Last updated: Fri Mar 26 18:23:33 2010
Stack: openais
Current DC: sys01 - partition with quorum
Version: 1.0.8-3225fc0d98c8fcd0f7b24f0134e89967136a9b00
2 Nodes configured, 2 expected votes
1 Resources configured.
============

Online: [ sys02 sys01 ]

 Resource Group: WebSiteGroup
     ServiceIP  (ocf::heartbeat:IPaddr2):       Started sys02
     WebSite    (ocf::heartbeat:apache):        Started sys02
**********************************************************************


Greg Denslow


_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to