SUMMARY: Switching form NIS+ to NIS+ in compatibilty mode

From: Ray Pengelly <ray_at_biomed.queensu.ca>
Date: Tue May 11 2004 - 17:07:40 EDT
Thanks to Sal Serafino for his speedy answer.

I uncommented the EMULUP line in /etc/init.d/rpc and rebooted. The SS2
booted up as soon as the master came back up.

Here is Sal's advice:

All you have to do to set YP or NIS compatibility mode is to restart
rpc.nisd with the correct switches.  Edit /etc/init.d/rpc and uncomment the
"EMULUP" line so that you add the option "-Y" to the rpc startup.

You don't *need* to reboot, you can if you want to, but if not you must do
this to restart the service and all its descendants properly:

	/etc/init.d/nfs.server stop
	/etc/init.d/volmgt stop
	/etc/init.d/autofs stop
	/etc/init.d/nfs.client stop
	/etc/init.d/rpc stop
	Make sure vold is dead - kill it with ABRT if it didn't die!
	/etc/init.d/rpc start
	/etc/init.d/nfs.client start
	/etc/init.d/autofs start
	/etc/init.d/volmgt start
	/etc/init.d/nfs.server start

This will take care of the server.  On th client side, you will need to
change the name of the YP server in the startup.  Boot your client in
single-user and make the changes, exit to boot normally.  To undo this,
re-edit /etc/init.d/rpc on the server and re-run the startup scripts.

-----Original Message-----
From: sunmanagers-bounces@sunmanagers.org
[mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of Ray Pengelly
Sent: Tuesday, May 11, 2004 10:27 AM
To: sunmanagers@sunmanagers.org
Subject: Switching form NIS+ to NIS+ in compatibilty mode

Hello everyone,

 

I inherited a NIS+ master and slave with a number of NIS+ clients and one
old SS2 running sunOS 4.1.2. The SS2 needs NIS+ in compatibility mode. The
NIS+ slave recently died and the SS2 hangs on startup looking for a NIS
server. My guess is the slave server was running in compatibility mode. I'm
waiting on parts to get the slave back up. In the meantime I was wondering
if I restart the NIS+ master in compatibility mode is it going to have major
effects? Can I just switch back later?

 

The other option is to setup one of the clients as a NIS+ slave in running
in compatibility mode just like the one that died.

 

Any help is greatly appreciated.

 

Ray

 

Ray Pengelly

Computing Support Technologist

Centre for Neuroscience Studies/

CIHR Group in Sensory-Motor Systems

Queen's University
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue May 11 17:07:32 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:32 EST