[Linux-HA] 3-node-setup

Andrew Beekhof beekhof at gmail.com
Fri Feb 8 05:20:27 MST 2008


On Feb 8, 2008, at 10:32 AM, Ludwig Ruderstaller wrote:

> On Friday, 8. February 2008 09:27:57 Ludwig Ruderstaller wrote:
>> On Friday, 8. February 2008 08:24:44 Andrew Beekhof wrote:
>>> Having 3 nodes isn't supported when using haresources.
>>>
>>> You need to a) upgrade to something newer than 2.0.7 and b) start
>>> reading http://linux-ha.org/GettingStartedV2
>>
>
>
> Please, could someone kick me in the right direction.
>
> 3 servers
> mysql (primary)
> media (primary)
> backup (fallback for mysql and media)
>
> is it right that mysql and media ONLY have their own "resource" in  
> cib.xml and
> backup have them both ?

no
The same cib.xml is used by the whole cluster (it is automatically  
sync'd between nodes)

what you need to do is define the resources and then say where they  
can go.

Try reading http://www.clusterlabs.org/mw/Image:Configuration_Explained.pdf


>
>
> is it better to have a resource based on the ip the service used, or  
> one
> resource for the complete host ? (eg. media is ldirecord and lighttpd
> primary, ldirectord and lighthttpd runing on different ips.)
>
> i used the haresources2cib.py to convert the haresource files i got.  
> but it
> looks like it needed some tuning to get it work.
>
> TIA
> Ludwig
> _______________________________________________
> 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