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

Mailing List Archive: Linux-HA: Users

Re: hb_gui failing to authenticate... although it hasworkedin the past

 

 

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


sebastia at l00-bugdead-prods

Nov 5, 2007, 5:49 AM

Post #1 of 1 (227 views)
Permalink
Re: hb_gui failing to authenticate... although it hasworkedin the past

John Gardner <john.gardner [at] tagish> wrote:
>
> >
> > Well, I don't know how to fix your GUI problem, but what about using
> > cibadmin -Q -o resources, to get all configured resources, edit the
output,
> > add a new IP address resource, and add it cibadmin -U to update it?
> >
> > Sebastian
> >
>
> Seabastian, now I have another problem (lack of knowledge on my part!)
>
> When I type:
>
> cibadmin -Q -o resources
>
> I get:
>
> <resources>
> <primitive class="ocf" type="IPaddr2" provider="heartbeat"
> id="virtual_ip">
> <instance_attributes id="virtual_ip_instance_attrs">
> <attributes>
> <nvpair id="8ed71fe6-b7f1-40f2-b7c5-697fdf38b9b5" name="ip"
> value="192.168.1.74"/>
> </attributes>
> </instance_attributes>
> </primitive>
> </resources>
>
> How would I add another virtual ip address using cibadmin?
>
> Presumably I'd use the modify (-M) switch? How do I generate the unique
> nvpair id?
take sth. like this:

<resources>
<primitive class="ocf" type="IPaddr2" provider="heartbeat"
id="virtual_ip">
<instance_attributes id="virtual_ip_instance_attrs">
<attributes>
<nvpair id="8ed71fe6-b7f1-40f2-b7c5-697fdf38b9b5" name="ip"
value="192.168.1.74"/>
</attributes>
</instance_attributes>
</primitive>
<primitive class="ocf" type="IPaddr2" provider="heartbeat"
id="other_virtual_ip">
<instance_attributes id="virtual_ip_instance_attrs">
<attributes>
<nvpair id="other_virtual_ip_ip" name="ip" value="192.168.1.75"/>
</attributes>
</instance_attributes>
</primitive>
</resources>

and update the cib with
cibadmin -U -o resources -x resources.xml
I am not perfectly sure about whether -U, or -R, or -M is the correct
parameter.

where resources.xml is a file containing above example.

Sebastian

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
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 Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.