Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 12-01-2008, 02:46 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
Post Setting up NIS in a cluster

I am looking for assistance in setting up NIS in a Redhat Clustered environment. Before you give me any grief about using NIS, I know the arguments and am working on getting us to kerberos but I have NIS for now.

What is happening is that I have the scripts for ypbind, ypserv, yppasswdd, and ypxfrd and portmapper in an NIS service. When I fail the system over it says the service restarts but it appears that is not the case. I manually restart ypserv and ypbind and it seems to work OK till it fails back to the other node.

Anyone out there get this working correctly? I even tried adding the status to the startup scripts but it puts it into a restart loop.
Old 12-05-2008, 04:54 AM   #2
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
I've not had much experience with clustering, but have used NIS alot.

It seems your basically making a NIS master server, but the server is clustered to avoid NIS outage?

If thats the case, why you use cluster at all? Why not just have NIS slaves dotted around your network which sync from the master and you have better coverage?

If you have to use the clustered approach, I'm assuming the NIS service is down on one side, and when one node falls over, this triggers the NIS restart script on the other node? Have you just tried an /etc/init.d/nis start as part of the cluster handover in place of a bespoke script?

Old 12-08-2008, 01:59 PM   #3
LQ Newbie
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Setting up NIS in a cluster


I got it working this morning. In RHEL, it does not return the value when it runs a status. I added a RETVAL variable to ypserv, yppasswdd and ypxfrd and it seems to work great now!



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
Setting up a cluster hondo Linux - Server 1 07-30-2007 07:34 AM
Setting up a cluster with pxe and cluster knoppix bucovaina78 Linux - Networking 1 05-15-2005 11:29 PM
Setting up a domain w/ a cluster microsoft/linux Debian 2 04-06-2005 08:27 PM
setting up a Redhat 9.0 cluster breaditor2 Linux - Networking 0 10-08-2003 04:29 PM
problem setting up NIS kevv Linux - Networking 0 01-09-2002 04:43 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:22 AM.

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