[Linux-HA] Manually move resource between nodes

Bernhard Limbach bernhard.limbach at gmx.de
Tue Oct 11 03:33:54 MDT 2005


Hi,

Is it correct that there is an id for <instance_attributes> (as added
automatically by crm_standby) and that it is the same as for the <nvpair>
entry ??

Bernhard

> --- Ursprüngliche Nachricht ---
> Von: Serge.Dubrouski at fjcomm.com
> An: General Linux-HA mailing list <linux-ha at lists.linux-ha.org>
> Betreff: Re: [Linux-HA] Manually move resource between nodes
> Datum: Mon, 10 Oct 2005 16:33:57 -0600
> 
> I'm sorry but:
> 
> # ./crmadmin --standby "5eb542d9-bacd-41d2-acb0-3f8559e2e35c"
> Argument code 0163 (s) is not (?yet?) supported
> 
> With
> 
> # ./crm_standby -U aspapptest2
> 
> it says "crm_standby[24362]: 2005/10/10_16:30:31 ERROR:
> mask(cib_attrs.c:set_standby): Triggered dev assert at cib_attrs.c:401 :
> standby_value != NULL"
> 
> Adds following lines into cib.xml for a given node:
> 
>          <instance_attributes
> id="standby-5eb542d9-bacd-41d2-acb0-3f8559e2e35c">
>            <attributes>
>              <nvpair id="standby-5eb542d9-bacd-41d2-acb0-3f8559e2e35c"
> name="standby"/>
>            </attributes>
> 
> And no failover occurs.
> 
> Serge.
> 
> linux-ha-bounces at lists.linux-ha.org wrote on 10/10/2005 04:23:56 PM:
> 
> > Serge.Dubrouski at fjcomm.com wrote:
> > > Hello All -
> > >
> > > I'm looking for a way how to manually move a resource between nodes in
> > > Heartbeat 2.0.2. I've already tried hb_takeover, hb_standby, crmadmin
> > > --active, crm_standby but nothing worked. Could anybody help me with
> that?
> >
> > hb_takeover and hb_standby don't work in R2 CRM clusters.
> >
> > If you put a node in CRM standby mode, all resources will flee the given
> > node, and try and find a new home somewhere.
> >
> > If they can't find a suitable home, they will be stopped instead.
> >
> >
> > http://linux-ha.org/ClusterInformationBase/Maintaining
> >
> > crmadmin --standby <node_uuid>
> >
> > --standby (-s) <node_uuid> : Tell the node to enter "standby" mode
> > --active (-a) <node_uuid>  : Tell the node to exit "standby" mode
> >
> >
> > --
> >      Alan Robertson <alanr at unix.sh>
> >
> > "Openness is the foundation and preservative of friendship...  Let me
> > claim from you at all times your undisguised opinions." - William
> > Wilberforce
> > _______________________________________________
> > 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
> >
> > [flyingj]
> 
> _______________________________________________
> 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
> 

-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++



More information about the Linux-HA mailing list