thanks at first, i thought it is / was a general config error so I didn't add the log output. I fix the error of the nvpair nic attribute and made an update of the resource nfs_group and this is the output from the logfile:
Apr 23 17:24:19 node1 cibadmin: [3208]: info: Invoked: cibadmin -U -o resources -x nfs_group.xml Apr 23 17:24:19 node1 mgmtd: [2605]: ERROR: unpack_rsc_op: Remapping ip_resource_monitor_0 (rc=2) on node2 to an ERROR Apr 23 17:24:19 node1 mgmtd: [2605]: ERROR: unpack_rsc_op: Remapping ip_resource_stop_0 (rc=2) on node2 to an ERROR Apr 23 17:24:19 node1 mgmtd: [2605]: ERROR: unpack_rsc_op: Remapping ip_resource_monitor_0 (rc=2) on node1 to an ERROR Apr 23 17:24:19 node1 mgmtd: [2605]: ERROR: unpack_rsc_op: Remapping ip_resource_stop_0 (rc=2) on node1 to an ERROR @yann conan: >try a >crm_resource -r nfs_group -C node1:~# crm_resource -r nfs_group -C We can only process primitive resources, not nfs_group Error performing operation: Invalid argument thanks Dennis 2008/4/23, Dejan Muhamedagic <[EMAIL PROTECTED]>: > 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 > -- mfg Dennis Kern _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
