summary NIS

From: Richard Williams <RWilliams_at_B-Line.ca>
Date: Wed Dec 04 2002 - 14:40:11 EST
Thanks to all who replied. Most people were recommending the same setup. I
will try your suggestion and will also invest in the book Managing NFS and
NIS from O'Reilly, which was recommended by so many of you

Here are a few of the suggestions:

Martha

Having a master and slave is a great idea - in fact, I wouldn't run with 
just one NIS server.  I
try to run two per subnet, because I have several older machines that 
can't bind off their subnet
without intervention.  This makes automatic re-binding in case of failure 
impossible and creates
many unhappy users.  The way the master and slave(s) works is not a 
cut-and-dried slaves take over
for master.  That's a little misleading.  The master will still be the 
only place where you update
your maps, so, in that sense, the slave doesn't take over.  All the slave 
really does is provide an
alternate machine for your clients to bind to rather than the master. 
Then, you must fix your
master before you will be able to update maps again.

John

On each client machine using NIS you will need to

  A) add an entry in to the local hosts file for the NIS slave
     (you should already have an entry for the NIS master)
     
  B) run `ypinit -c` on the client. You need to enter the host names
     for both NIS servers (master and slave). This is what tells the
     client where to search for NIS servers. This command will basically
     edit the file /var/yp/binding/<domain>/ypservers
     
On the new NIS slave server run `ypinit -s <master_server>` to set up
the master/slave relationship with the NIS master server.

After you get the slave server set up, make as change to an NIS map
on the master and verify that the updated map got pushed to the slave.






Hi gurus,

My NIS server died yesterday and caused total chaos. My plan now is to 
have
two NIS servers on the network, Sol2.6, master / slave. Will the slave 
take
over if the master goes down? Is there anything special I have to do for
this configuration? I inherited this network so I am not very 
knowledgeable
on NIS. All help will be greatly appreciated.

Richard 


Martha Crocker
UNIX System Administrator
Philips Semiconductors
9651 Westover Hills Blvd.
M/S 406
San Antonio, Texas 78251
(210)522-7468  voice
(210)522-7300  fax
martha.crocker@philips.com

The information contained in this message is confidential and may be 
legally privileged. The message is intended solely for the addressee(s). 
If you are not the intended recipient, you are hereby notified that any 
use, dissemination, or reproduction is strictly prohibited and may be 
unlawful. If you are not the intended recipient, please contact the sender 
by return e-mail and destroy all copies of the original message.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Dec 4 14:42:38 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:59 EST