Summary : NIS and automount dependencies

From: Aaj_Joseph@ACML.COM
Date: Tue Jun 01 1999 - 11:35:04 CDT


Question :

Hello Managers,

I have to shutdown a machine permanently but it is a NIS master it also is an
NFS server ( automount )
How can I know which all are the clients it serve, which all machines makes use
of all types of services (NIS, NFS etc)
provided by this machine and what other network dependencies exists.

The server runs
SunOS 4.1.3 1 sun4c

Regards
Aaj

Summary:

There is no single command to find this out, but combine all the following
commands to get a picture

1. cd /var/yp/`domainname`
   /usr/etc/yp/makedbm -u ypservers

2. do dfmounts to see what is exported where. : dfmounts is not available in
SunOS 4.1.3
3. Run Snoop on all interfaces : snoop not available
4. netstat -a
5. showmount -a or showmount -ad

Stefan Voss Wrote :

As far as I know,

>>>>>>>> there is no way, to ask a NIS server which clients are bound to it,
( That is the right answer, i couldn't find any command to do so)

 you need to do a "ypwhich" on all clients. However, if you stop the
NIS master, all clients which are bound to it will stop working for a while. If
the NIS server does not come up again, they will broadcast for a new server
(this is, why you normally should have at least one slave server - if one of
them (master or slave) fails, the clients will take the other one).

Thanks to

Mark Hargrave
Paul Teasdel
Michael Pavlov
Adrain Hall
Stefan Voss



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:20 CDT