SUMMARY: NIS question

From: vicky@bu.edu
Date: Thu Nov 28 1996 - 06:59:31 CST


Hi everybody,

Original message:

>Our network consists of 1 Sun 4/280 running SunOS 4.1.1, which is our NIS
>server, and 13 Sparcstations (various models some running SunOS, others
>Solaris). Apparently the previous administrator, who was the one that
>set up the NIS server has made sure that if the Sun 4/280 was down, the
>NIS service would be taken over by a SPARC 4 running SunOS 4.1.3 (he just
>did not trust the old machine). The way the situation seems to be now, is
>that 13 out of the 14 machines seem to have been switched to get NIS
>services from the SPARC 4, and only one has been forgotten and still getting
>it from the old Sun 4/280. I have tried to use ypset to switch the last
>machine to get NIS from the SPARC 4 but I get the error message "I could not
>send my rpc message to ypbind on host blabla".
>Also another thing is,
>at the 13/14 hosts:
> "ypwhich hostname_sun4" gives as output: hostname_sparc4
>& "ypwhich hostname_sparc4" gives as output hostname_sparc4
>at the machine I want to switch:
> "ypwhich hostname_sun4" gives as output: hostname_sun4
>
>How can I switch the last machine to point at the SPARC 4?

Answer:

To force the machine needing to be switched to a particular NIS server:

Step 1: ypbind -ypset
Step 2: ypset "new NIS"

Set the above entries in /etc/rc.local and reboot.

Thanks to:

 Claus Assmann <ca@informatik.uni-kiel.de>
 tkevans@eplrx7.es.dupont.com (Tim Evans)
 Reto Lichtensteiger <rali@meitca.com>
 tony@csmail.essex.ac.uk (Lawson A S)
 jbwendl@mtb.phil.mop.com (James Wendling)
 springer@aitsun500.tci.com (Jerry Springer)
 bismark@alta.jpl.nasa.gov (Bismark Espinoza)
 Sun Manager <sunman@lyra.sso.az.honeywell.com>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:17 CDT