[Pacemaker] /etc/hosts
Andrew Beekhof
andrew at beekhof.net
Tue Sep 28 09:29:13 UTC 2010
On Tue, Sep 28, 2010 at 6:05 AM, Mark Horton <mark at nostromo.net> wrote:
> Hello,
> I was wondering what side effects occur if you don't add all the
> cluster nodes to the /etc/hosts file on each node?
>
> I'd also be interested in hearing how others keep the hosts file in
> sync. For example, lets say you have 3 nodes, and 1 node is currently
> down. Then you add a 4th node, but you can't update the hosts file of
> the down node. So you must remember to do it when it comes back up.
> I was trying to see if there was an automated way to keep them in sync
> in case we forget to update the hosts file on the down node.
Pacemaker doesn't care, but your messaging layer (corosync or heartbeat) might.
If the node that is down has no other way to find out the address of
the new node, and the cluster is configured to start automatically
when the machine boots, then you might have a problem.
>
> Mark
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
More information about the Pacemaker
mailing list