Re: Discrepancy between UM3 and Linux-HA.org ?

Mattias Andersson <[email protected]>
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
Hi Gavin.

I have not really thought of it before, but maybe you are right that it 
can be misinterpreted.
Anyway information in the documentation neither are or are meant to be 
contradictory.

What the ultramonkey documentation mean to say is that the names you use 
for the nodes, regardless of how/where you use them, most be the name of 
either of (the one you mean to say) the machines _real_ hostnames (as 
stated by uname -n) and not any other dns-alias you may have given it also.

That was not really clear was it? Okey, I will try again with an example.

Say we have the cluster nodes named A and B.
A can also be referred to as serverA and B is also called serverB in our 
DNS somehow.
But A's _real_ hostname is A, not serverA (because that is what it 
returns when we run uname -a on the server)
This gives that we must refer to A as A and not serverA in the heartbeat 
configuration, else wise the machine will not know we mean him.

I'm not sure I mad myself quite clear... erhm.. hope I did.

/Mattias

Gavin Hamill wrote:
> Hello :)
>
> I have a small question that's bugged me for ages but only today have I remembered about it whilst sitting in front of a computer...
>
> In short... compare
>
> http://www.linux-ha.org/haresources
>
> "Note that it is absolutely mandatory for the haresources files to be identical on both machines."
>
> against the UM3 docs http://www.ultramonkey.org/3/topologies/ha-eg.html
>
> "To configure heartbeat, /etc/ha.d/ha.cf, /etc/ha.d/haresources and /etc/ha.d/authkeys must be installed. The node names in /etc/ha.d/ha.cf and /etc/ha.d/haresources have to be set according to the output of the uname -n command on each real-server."
>
> Are the statements from those two webpages not completely contradictory with respect to the haresources file? It makes sense that the haresources files on both Real-Servers should be identical, to tell the system which is the preferred master, yet UM3 is recommending to set it to the name of the local node? Or have I misinterpreted?
>
> I have heartbeat 1.2.3.cvs.20050927-1bpo1 and ultramonkey 3-1um.1 on Debian sarge...
>
> Love and hugs,
>
> Cheers,
> Gavin.
>
>
>   


-- 
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.