Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 1997 05:40:33 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Chuck Robey <chuckr@glue.umd.edu>
Cc:        FreeBSD-Hackers <FreeBSD-Hackers@FreeBSD.ORG>
Subject:   Re: NIS
Message-ID:  <19970625054033.30384@hydrogen.nike.efn.org>
In-Reply-To: <Pine.BSF.3.96.970625071022.22918D-100000@Journey2.mat.net>; from Chuck Robey on Wed, Jun 25, 1997 at 07:14:42AM -0400
References:  <19970625010619.04305@hydrogen.nike.efn.org> <Pine.BSF.3.96.970625071022.22918D-100000@Journey2.mat.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Robey scribbled this message on Jun 25:
> On Wed, 25 Jun 1997, John-Mark Gurney wrote:
> 
> > Chuck Robey scribbled this message on Jun 24:
> > > I have been reading about NIS, trying to come to grips with it all, but I
> > > haven't been able to com eup with an answer to one last stumbling block.
> > > Maybe someone here knows what I don't ...
> > > 
> > > I'm trying to figure out a flexible and reliable setup for a small ISP
> > > that has maybe 5 machines.  What I would ideally like is to have a main
> > > server, have the database on that server duplicated on a second machine
> > > just in case the first machine has to go down for maintenance (or some
> > > catastrophe), and the rest of the machines be slaves.  I'm particularly
> > > interested in the passwd map.
> > 
> > actually.. FreeBSD's NIS implementation is quite secure... as long as
> > you know your wires are secure there shouldn't be any problems...
> 
> John-Mark, you've misunderstood me somewhat.  I'm not concerned with
> security from a hackers viewpoint (yet), I'm worried about having the
> master server go down.  I want a fallback to aonther server, with only a
> little loss, even from a booting perspective ... I mean, if a slave master
> can't find a main master on boot, it needs to have a fallback that is at
> least reasonably up to date.

well.. if your running multiple servers, setup and listed in ypservers,
they will automaticly get updated when the master server gets updated...
just need to make sure that NOPUSH="True" is commented out on the
master... that way the master will tell the slaves to update...

> I know exactly how the map files get built _and_ get updated.  I'm not
> concerned with the db files, I'm worried about the method that the slave
> server would use if it couldn't find the master, when it boots.  I'm
> willing to lose the last few hours of passwd activity,  so what happens in
> that case?

well.. the slave server will just server out the data it has stored
locally...  it assumes that the master server notifies it when the
maps needs to be updated...

hope it answers the question.. ttyl..

-- 
  John-Mark Gurney                          Modem/FAX: +1 541 683 6954
  Cu Networking

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970625054033.30384>