Tons of thanks to all..i got more than 12 responses in just half an hour.i delayed posting the summary for I wanted to test the procedure.the following procedure worked fine wjich was suggested by many. Here is an additional tip from Mike DeMarco (thanks mike!) You should be real careful about eliminating all of your slaves. 1) nis bind requires a broadcast and since you can not broadcast across subnets a client can not sit on a different subnet from the server. (Unless you manually bind it, this is insecure). 2) If your slave goes down there will be no other maps availableand all clients will stop until the slave is restored to service. 3) with many clients you could overload the slave. SUMMARY: how to tell if the host is a slave or client: On boot up the system looks for the directory /var/yp/<domainname> if it is there it will start the ypserv daemon. So you could look into /var/yp and see if there is a directory there or you could do a ps -ef | grep ypserv. To stop a node from being a slave: If your master pushes the maps out you must remove the slaves host name from the ypservers map. This map usually does not have a flat file associated with it so on the server you must do a ypcat -k ypservers > /tmp/ypservers then edit the file /tmp/ypservers and remove the entry for the slave that is to be removed. now you will have to do makedbm /tmp/ypservers /var/yp/`domainname`/ypservers This will stop the pushes from going to the slave you are removing. Now go to the slave and run ypinit -c add to the list the name of the slaves that you would like this host to bind to. Now run /usr/lib/netsvc/yp/ypstop now remove the /var/yp/<domainname> directory or rename it to something else. Now run /usr/lib/netsvc/yp/ypstart. You should now have a client where you use to have a slave. Bertrand_Hutin Evans, Tim Mike DeMarco David Foster Kevin Amorin Stephen P. Potter Patrick L. Nolan MIKE WHOLF Mike Penny David Markowitz Matthew Stier Forgive me if i missed anybodies name! thanks jennifer _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Mon Sep 17 15:06:15 2001
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:25 EST