[Pacemaker] Question on "crm configure location" as used
Denslow, Gregory E (Greg)
gregory_denslow at reyrey.com
Mon Mar 29 13:07:34 UTC 2010
Perhaps not the shell, I tried directly entering the same information using the "crm configure edit" command and received the same error messages.
Greg
> Date: Mon, 29 Mar 2010 13:48:26 +0200
> From: Andrew Beekhof <andrew at beekhof.net>
Works here.
Could be a shell bug. Dejan anything that could trigger this?
On Sat, Mar 27, 2010 at 12:49 AM, Denslow, Gregory E (Greg)
<gregory_denslow at reyrey.com> wrote:
> 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
Greg Denslow
SWE
Reynolds and Reynolds
One Reynolds Way | Dayton, Ohio 45430
office 937.485.1484
Gregory_Denslow at reyrey.com<mailto:Gregory_Denslow at reyrey.com>
MAKING BUSINESS BETTER.
NOTE: The information contained in this e-mail is personal and confidential and may be protected by the attorney-client privilege and/or the work product doctrine. It is for the sole use of the intended recipient. Any review, reliance, or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100329/bc4b32b1/attachment-0001.html>
More information about the Pacemaker
mailing list