[Linux-HA] Unmanaged on node1 and node2

Yann CONAN yann.conan at aliasource.fr
Wed Apr 23 09:51:53 MDT 2008


Hi,

What is the version of heartbeat ?
could you send us the log ?

and I'm not sure but it's strange to put a rsc_constraint on a  
primitive in a resource
group. Maybe to try to put the rsc_location constraint on nfs_group  
would be better??

try a
crm_resource -r nfs_group -C
or
crm_resource -r nfs_group -C -H node1
crm_resource -r nfs_group -C -H node2

and see the log

see you
Dennis Kern <dennis.kern at gmail.com> a écrit :

> 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"/>
>              </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
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>





More information about the Linux-HA mailing list