FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 10-28-2011, 06:49 PM
Nick Khamis
 
Default Example conf does not parse

Hello Everyone,

I tried to using the following conf:

<?xml version="1.0"?>
<cluster config_version="1" name="mycluster">
<logging debug="off"/>
<clusternodes>
<clusternode name="pcmk-1" nodeid="1">
<fence>
<method name="pcmk-redirect">
<device name="pcmk" port="pcmk-1"/>
</method>
</fence>
</clusternode>
<clusternode name="pcmk-2" nodeid="2">
<fence>
<method name="pcmk-redirect">
<device name="pcmk" port="pcmk-2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice name="pcmk" agent="fence_pcmk"/>
</fencedevices>
</cluster>

And got the following parse error:

Relax-NG validity error : Extra element fence in interleave
tempfile:6: element fence: Relax-NG validity error : Element
clusternode failed to validate content
tempfile:5: element clusternode: Relax-NG validity error : Element
clusternodes has extra content: clusternode
tempfile:8: element device: validity error : IDREF attribute name
references an unknown ID "pcmk"

I am just hitting all the stops today.... Thanks in Advance!

Nick.
 
Old 10-28-2011, 07:00 PM
Nick Khamis
 
Default Example conf does not parse

I was quick to post the error. The config is actually:

<?xml version="1.0"?>
<cluster config_version="1" name="ASTCluster">
<logging debug="off"/>
<clusternodes>
<clusternode name="astdrbd1" nodeid="1">
<fence>
<method name="pcmk-redirect">
<device name="pcmk" port="astdrbd1"/>
</method>
</fence>
</clusternode>
<clusternode name="astdrbd2" nodeid="2">
<fence>
<method name="pcmk-redirect">
<device name="pcmk" port="astdrbd2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice name="pcmk" agent="fence_pcmk"/>
</fencedevices>
</cluster>

And the error:

Relax-NG validity error : Extra element fence in interleave
tempfile:6: element fence: Relax-NG validity error : Element
clusternode failed to validate content
tempfile:5: element clusternode: Relax-NG validity error : Element
clusternodes has extra content: clusternode
Relax-NG validity error : Extra element fencedevices in interleave
tempfile:20: element fencedevices: Relax-NG validity error : Element
cluster failed to validate content
Configuration fails to validate



Sorry about That,

Nick.
 

Thread Tools




All times are GMT. The time now is 09:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org