NIS & NIS+ concurrently [SUMMARY]

From: Todd Michael Kennedy (tkennedy@galaxy.csc.calpoly.edu)
Date: Fri Jul 14 1995 - 11:33:11 CDT


  First and foremost I would like to send a hearty "Thank you" to the
following users for their insightful comments:

     citicds!cntower!arash@uunet.uu.net (Arash Jahangir)
     Tim Hoffman <timh@momentum.com.au>
     Leif Hedstrom <leif@infoseek.com>
     martin@stavanger.Geco-Prakla.slb.com (Martin Oksnevad)

  It appears that NIS and NIS+ can work together just fine. To get them to
coexist:

   * Install NIS+
   * Change /etc/defaultdomain back to NIS domain
   * Modify /etc/nsswitch.conf to query NIS before NIS+
   * Reboot

  I am not sure if a reboot is necessary. I've installed NIS+ a couple times
now, and have backed out the installation each time using `nisclient -r`.
Both the NIS+ manual and one of the replies (from Arash Jahangir) mentioned
that a reboot was in order. However, NIS appeared to work just fine without
a reboot. (I'm not one for rebooting machines -- especially our servers)

  In any case, both NIS and NIS+ are running on the machine -- using NIS as
the main querying mechanism. Now, whenever I need to do NIS+-type stuff, all
that needs to be modified is the domainname.

  Again, thanks to all that have replied!

Regards,
Todd Kennedy
CSL Administrator

--
While your friend holds you affectionately by both your hands you are
safe, for you can watch both of his.
		-- Ambrose Bierce, "The Devil's Dictionary"

Following are my original query, and the responses generated:

My initial query:

> We're in the process of upgrading 2 690MP machines from SunOS4.1.3 to > Solaris2.4. Also, we want to migrate from NIS to NIS+. Currently, we > have moved one machine -- the NIS client -- to Solaris2.4. The NIS > server remains a 4.1.3 machine. > > However, as I am weak in NIS+, I would like to setup a practice NIS+ > domain before I have to do it for real. My question is, can a single > machine be both an NIS client (so users can continue to login) and an > NIS+ server (so I can goof around with NIS+)?? Thanks in advance. > > Todd Kennedy > CSL Administrator

>From citicds!cntower!arash@uunet.uu.net Fri Jul 14 08:10:44 1995 Date: Fri, 14 Jul 1995 11:03:21 -0400 Subject: Re: NIS client & NIS+ server

I just asked the exact same question from Sun Support and they said that it is possible. When you install NIS+, change the domain name to your testdomain first and make sure that the nsswitch.conf file is correct. Once you are done with your installation on the NIS+ server, then switch the nsswitch.conf and the domainname back to what they were, and reboot the machine. Make sure that ypbind is running. Anytime that you want to do some NIS+ related work on the server (say add replica's) you will have to switch the domainname back to the test domain. Hope this helps.

Arash

---

>From martin@stavanger.Geco-Prakla.slb.com Fri Jul 14 05:56:12 1995 Date: Fri, 14 Jul 95 14:55:48 +0200 Subject: Re: NIS client & NIS+ server

> We're in the process of upgrading 2 690MP machines from > SunOS4.1.3 to Solaris2.4.

If you have a 690MP model 120 or model 140 with the old A.7 version CY605 CPUs then your machine will only run in "uni processor mode" under Solaris 2.4.

If your CPUs have a too old version you will see the following warning message during installation of Solaris 2.4 :

WARNING: DOWN-REV ROSS 605 CPU DETECTED - PLEASE UPGRADE. RUNNING IN UNI-PROCESSOR MODE. PERFORMANCE WILL BE AFFECTED.

We have 6 670MP machines, all with the old A.7 version CY605 CPUs.

Martin

---

>From leif@infoseek.com Fri Jul 14 01:45:41 1995 Date: Fri, 14 Jul 1995 01:45:36 -0700 Subject: Re: NIS client & NIS+ server

>Todd Michael Kennedy writes: > However, as I am weak in NIS+, I would like to setup a practice NIS+ >domain before I have to do it for real. My question is, can a single >machine be both an NIS client (so users can continue to login) and an >NIS+ server (so I can goof around with NIS+)?? Thanks in advance.

Well, I have never tried it, but I don't think there are any reason why it shouldn't work. You can configure the "order" in which services will be used in the file /etc/nsswitch.conf. Thus, by making sure you use NIS before (or instead) of NIS+ in that file, NIS+ shouldn't be used by your "normal" system. Thus, you can play around with NIS+ as much as you like.

Let us know how it goes! :)

-- leif

---

>From timh@momentum.com.au Thu Jul 13 22:45:20 1995 Date: Fri, 14 Jul 1995 13:40:23 +0800 Subject: Re: NIS client & NIS+ server

Yep

Just make sure you have nis before nisplus in nsswitch.conf for all important services, and you will have to run the same domainname

Tim > From owner-sun-managers@connect.com.au Fri Jul 14 13:35 WST 1995 > From: Todd Michael Kennedy <tkennedy@galaxy.csc.calpoly.edu> > Subject: NIS client & NIS+ server > To: sun-managers > Date: Thu, 13 Jul 1995 13:19:33 -0700 (PDT) > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > > We're in the process of upgrading 2 690MP machines from SunOS4.1.3 to > Solaris2.4. Also, we want to migrate from NIS to NIS+. Currently, we > have moved one machine -- the NIS client -- to Solaris2.4. The NIS > server remains a 4.1.3 machine. > > However, as I am weak in NIS+, I would like to setup a practice NIS+ > domain before I have to do it for real. My question is, can a single > machine be both an NIS client (so users can continue to login) and an > NIS+ server (so I can goof around with NIS+)?? Thanks in advance. > > Todd Kennedy > CSL Administrator > > -- > Drew's Law of Highway Biology: > The first bug to hit a clean windshield lands directly in front > of your eyes.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:29 CDT