Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-02-2011, 02:56 PM
|
#1
|
LQ Newbie
Registered: Jun 2011
Posts: 28
Rep:
|
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
|
|
|
10-03-2011, 01:35 PM
|
#2
|
Member
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298
Rep:
|
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
|
|
|
10-03-2011, 02:54 PM
|
#3
|
LQ Newbie
Registered: Jun 2011
Posts: 28
Original Poster
Rep:
|
Thanks!!!!!!!!!!!!!!!
Vijay
|
|
|
10-12-2011, 01:29 AM
|
#4
|
LQ Newbie
Registered: Jun 2011
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
10-12-2011, 04:34 AM
|
#5
|
Member
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 298
Rep:
|
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.
|
|
|
10-14-2011, 03:08 AM
|
#6
|
LQ Newbie
Registered: Jun 2011
Posts: 28
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 07:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|