LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 12-01-2008, 03:46 PM   #1
lentzjm
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, 05:54 AM   #2
stuart_cherrington
Member
 
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?

Stuart.
 
Old 12-08-2008, 02:59 PM   #3
lentzjm
LQ Newbie
 
Registered: Dec 2008
Posts: 4

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

All,

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!

Thanks!
 
  


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


All times are GMT -5. The time now is 10:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration