Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Nice error with standby

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


misch at multinet

Jul 1, 2009, 6:07 AM

Post #1 of 2 (230 views)
Permalink
Nice error with standby

Hi,

I cannot remenber what I entered exactly, but I ended up with:

<nodes><nodes>
<node id="58f52764-3d93-4756-a84f-1653a386ef0c" uname="airitfw1"
type="normal">
<instance_attributes id="nodes-58f52764-3d93-4756-a84f-1653a386ef0c">
<nvpair id="nodes-58f52764-3d93-4756-a84f-1653a386ef0c-standby"
name="standby" value="on"/>
<nvpair id="standby-58f52764-3d93-4756-a84f-1653a386ef0c" name="standby"
value="false"/>
</instance_attributes>
</node>
<node id="ffc64d69-73c0-442a-8290-a751e3cbb253" uname="airitfw2"
type="normal">
<instance_attributes id="nodes-ffc64d69-73c0-442a-8290-a751e3cbb253">
<nvpair id="standby-ffc64d69-73c0-442a-8290-a751e3cbb253" name="standby"
value="false"/>
</instance_attributes>
</node>
</nodes>
<node id="58f52764-3d93-4756-a84f-1653a386ef0c" uname="fw1" type="normal">
<instance_attributes id="nodes-58f52764-3d93-4756-a84f-1653a386ef0c">
<nvpair id="nodes-58f52764-3d93-4756-a84f-1653a386ef0c-standby"
name="standby" value="on"/>
<nvpair id="standby-58f52764-3d93-4756-a84f-1653a386ef0c" name="standby"
value="false"/>
</instance_attributes>
</node>
<node id="ffc64d69-73c0-442a-8290-a751e3cbb253" uname="fw2" type="normal">
<instance_attributes id="nodes-ffc64d69-73c0-442a-8290-a751e3cbb253">
<nvpair id="standby-ffc64d69-73c0-442a-8290-a751e3cbb253" name="standby"
value="false"/>
</instance_attributes>
</node>
</nodes>

When I tried to put the first node online again wit crm_standby I get:
# crm_standby -v off -N fw1
Please choose from one of the matches above and suppy the 'id' with --attr-id

Same answer in the crm subshell. So when I started to investigate the problem
with cibadmin I found the problem.

Very strange!

Greetings,

--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch[at]multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
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


dejanmm at fastmail

Jul 2, 2009, 8:55 AM

Post #2 of 2 (199 views)
Permalink
Re: Nice error with standby [In reply to]

Hi,

On Wed, Jul 01, 2009 at 03:07:40PM +0200, Michael Schwartzkopff wrote:
> Hi,
>
> I cannot remenber what I entered exactly, but I ended up with:
>
> <nodes><nodes>
> <node id="58f52764-3d93-4756-a84f-1653a386ef0c" uname="airitfw1"
> type="normal">
> <instance_attributes id="nodes-58f52764-3d93-4756-a84f-1653a386ef0c">
> <nvpair id="nodes-58f52764-3d93-4756-a84f-1653a386ef0c-standby"
> name="standby" value="on"/>
> <nvpair id="standby-58f52764-3d93-4756-a84f-1653a386ef0c" name="standby"
> value="false"/>
> </instance_attributes>
> </node>
> <node id="ffc64d69-73c0-442a-8290-a751e3cbb253" uname="airitfw2"
> type="normal">
> <instance_attributes id="nodes-ffc64d69-73c0-442a-8290-a751e3cbb253">
> <nvpair id="standby-ffc64d69-73c0-442a-8290-a751e3cbb253" name="standby"
> value="false"/>
> </instance_attributes>
> </node>
> </nodes>
> <node id="58f52764-3d93-4756-a84f-1653a386ef0c" uname="fw1" type="normal">
> <instance_attributes id="nodes-58f52764-3d93-4756-a84f-1653a386ef0c">
> <nvpair id="nodes-58f52764-3d93-4756-a84f-1653a386ef0c-standby"
> name="standby" value="on"/>
> <nvpair id="standby-58f52764-3d93-4756-a84f-1653a386ef0c" name="standby"
> value="false"/>
> </instance_attributes>
> </node>
> <node id="ffc64d69-73c0-442a-8290-a751e3cbb253" uname="fw2" type="normal">
> <instance_attributes id="nodes-ffc64d69-73c0-442a-8290-a751e3cbb253">
> <nvpair id="standby-ffc64d69-73c0-442a-8290-a751e3cbb253" name="standby"
> value="false"/>
> </instance_attributes>
> </node>
> </nodes>
>
> When I tried to put the first node online again wit crm_standby I get:
> # crm_standby -v off -N fw1
> Please choose from one of the matches above and suppy the 'id' with --attr-id
>
> Same answer in the crm subshell. So when I started to investigate the problem
> with cibadmin I found the problem.
>
> Very strange!

The cib doesn't know which instance attribute you want to change
(there are two). So, it asks you to specify one. You can do that
using the -i option (IIRC) or edit the node in the crm shell and
remove one standby attribute.

Thanks,

Dejan

> Greetings,
>
> --
> Dr. Michael Schwartzkopff
> MultiNET Services GmbH
> Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
> Tel: +49 - 89 - 45 69 11 0
> Fax: +49 - 89 - 45 69 11 21
> mob: +49 - 174 - 343 28 75
>
> mail: misch[at]multinet.de
> web: www.multinet.de
>
> Sitz der Gesellschaft: 85630 Grasbrunn
> Registergericht: Amtsgericht M?nchen HRB 114375
> Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens
>
> ---
>
> PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
> Skype: misch42
> _______________________________________________
> 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
_______________________________________________
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

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.