LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-02-2011, 02:56 PM   #1
dezavu
LQ Newbie
 
Registered: Jun 2011
Posts: 28

Rep: Reputation: Disabled
how the NIS information will propagate fron NIS master to NIS slave & vicevarsa?


Hi,

In our environment I have to configure NIS Master & Slave configuration. I have configured it successfully.
I have one query "how the NIS information will propagate from NIS master to NIS slave & vicevarsa", is there any specific command & what is the command and architecture?

Thanks & regards.
Vujay
 
Old 10-03-2011, 01:35 PM   #2
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298

Rep: Reputation: 99
dezavu,

If you have a typical configuration, you should have the ypservers file located at /var/yp/ypservers. Enter the names of all of your NIS servers in this file. When you make changes to NIS, you run the command make -C /var/yp and it will read the servers to push the updated information to from the /var/yp/ypservers file.

HTH
 
Old 10-03-2011, 02:54 PM   #3
dezavu
LQ Newbie
 
Registered: Jun 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks!!!!!!!!!!!!!!!

Vijay
 
Old 10-12-2011, 01:29 AM   #4
dezavu
LQ Newbie
 
Registered: Jun 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
Hi,
One more issue in NIS! In RHEL-4 if we configure NIS-Client such as,

In /etc/yp.conf----
domain <nis domain> server <master server hostname/ip address> server <slave server hostname/ip address>
OR,
domain <nis domain> server <slave server hostname/ip address> server <master server hostname/ip address>

the NIS fail over will (when master server will down the Client is unable to connect to the slave server or vice verse until or unless we will restart the 'yubind' service) not happen.
How do we fix it without restart the 'ypbind' service? Whether the issue is still with RHEL-5, if not then how it fixed.

Last edited by dezavu; 10-12-2011 at 01:31 AM.
 
Old 10-12-2011, 04:34 AM   #5
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298

Rep: Reputation: 99
dezavu,

If you have your NIS master and NIS slave servers configured properly, you need to make sure the ypxfrd service is running. I would also make sure that you set this service to start up on boot. This service is what actually propagates the changes from the master to the slaves when you update NIS. This service should be running on both the Master and the Slave NIS servers.

Here is a pretty good NIS tutorial if you want to make sure that you have all the bases covered in your configurations.
 
Old 10-14-2011, 03:08 AM   #6
dezavu
LQ Newbie
 
Registered: Jun 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
There is no abnormality in our environment of NIS configuration.
It seem I am unable to describe my issue properly. I will tell you the scenario, in RHEL4 when I configure "/etc/yp.conf" file on Client such a way like,
"domain NIS-domain-name server NIS-master-server-name NIS-slave-server-name"
but when NIS-master-server being unavailable the Client will not be able to collect the database from NIS-slave-server automatically until I have started the services.

But if I configure "/etc/yp.conf" file on Client like,
"domain NIS-domain-name broadcast"
then Client will able to collect the database form any available NIS-server (either master or any of slaves).

My question is in RHEL5 we need to follow the same configuration or else?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS: NIS running but users not able to log in with NIS credentials outerspace Linux - Server 3 10-17-2007 08:51 AM
NIS Client can not login to NIS Master Server Free_beer Ubuntu 3 10-09-2006 02:57 PM
Nis master and slave servers on diff architecture breenbaron Linux - Networking 0 07-25-2004 09:34 AM
NIS Solaris 8 (MASTER) ---> RH9 NIS (Slave) Help x86br Linux - Networking 4 05-12-2003 05:26 PM
NIS problems: clients not able to use NIS served information SparceMatrix Linux - Networking 2 03-11-2003 10:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration