Hi, On Wed, Apr 23, 2008 at 04:50:46PM +0200, Dennis Kern wrote: > Hi, > > I will setup (only for study Linux-HA) an simple setup. One single ip > on two nodes, i created a resource and a constraint for binding the > ip_resource to node1. Following "error" are shown in the hb_gui: > ip_resource unmanaged on [node1, node2] > > Here is a snippet of my cib file: > > <resources> > <group id="nfs_group"> > <primitive id="ip_resource" class="ocf" provider="heartbeat" > type="IPaddr2"> > <instance_attributes id="ia-ipaddr_1"> > <attributes> > <nvpair id="ipaddr-nv-1" name="ip" value="10.10.0.1"/> > <nvpair id="ipaddr-nv-1-nic" name="ip" value="eth1"/>
This is wrong. The attribute name should be nic or similar. See /usr/lib/ocf/resource.d/heartbeat/IPaddr meta-data for details. Thanks, Dejan > </attributes> > </instance_attributes> > </primitive> > </group> > </resources> > <constraints> > <rsc_location id="ip_location" rsc="ip_resource"> > <rule id="pref_ip_1" score="100"> > <expression attribute="#uname" operation="eq" value="node1" > id="b524bfce-72e7-485f-b35f-a6ed5f2da916"/> > </rule> > </rsc_location> > </constraints> > > What I configured wrong? > > Thanks > Dennis > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
