YP fault tolerance.....

Barry Margolin barmar at think.com
Mon Mar 26 15:54:58 AEST 1990


The original poster asked about YP slave servers "taking over" when the
master server dies.  YP servers don't keep track of each other at all.  It
is the clients' responsibility to do this.  As far as clients are
concerned there are no differences between master and slave servers.  When
a YP request times out the client sends out a broadcast looking for a new
YP server.  The first server to respond (which can be either a master or a
slave) is then used for future queries.

Since broadcasts only work within a single subnet, the most important
consideration for YP fault tolerance is that there must be at least two YP
servers on each subnet at sites that have multiple subnets.  If there's
only one server on your subnet and it goes down you'll never be able to
find an alternate server automatically (but ypset can be used to manually
bind to a server on another subnet if you have done "ypbind -ypset").

Barry Margolin, Thinking Machines Corp.
barmar at think.com
{uunet,harvard}!think!barmar



More information about the Comp.sys.sun mailing list