[comp.unix.questions] Shutdown loudness wrt NFS

dce@mips.UUCP (04/08/87)

We brought up NFS a couple of months ago, and due to popular demand
have every machine's disks available from every other machine (you
say '/n/{machine}/...' to get to the other machine's files).

Whenever we shut down a machine, messages are sent out to everyone
via rwall, and I've had a number of complaints about this being
disruptive to people.

Has anyone else had this problem and done anything about it?

Here are a couple of ideas:

	1. Add an option to shutdown to tell it not to send messages
	   out to the other machines (we have this one for use with
	   machines that bounce a lot, but people are complaining
	   about machines that are used to serve manual pages, games,
	   and other stuff).

	2. Decrease the frequency of shutdown messages sent to remote
	   machines (say, every other set of messages could go to
	   remote machines).

	3. Instead of having shutdown talk to rwalld, have it talk to
	   rshutdownd, which would be set up to print nice shutdown
	   messages and be user-programmable.

	4. Change rwalld to be programmable on a per-user basis such
	   that messages can be filtered.

-- 
David Elliott		{decvax,ucbvax,ihnp4}!decwrl!mips!dce

berliner@convex.UUCP (04/13/87)

/* Written  2:21 pm  Apr  9, 1987 by lear@aramis.RUTGERS.EDU */
> ...  If you are going to change something, I believe it
> would be best to reduce the frequency of the rwall messages.

We also got a bit fed up with the many rwall messages sent to NFS clients
when a server is shutdown.  After much thought, we did just as you suggest.
Our shutdown only sends one rwall request for each message, rather than two
silly ones.  One rwall message is sent for every two messages sent locally.
Further, if there is less than one minute left 'till shutdown, no remote
messages are sent (except if it's the first message, as in "shutdown now").
This reduces a 30 minute shutdown from sending 8 remote messages to only 3.

We also added a "-q" flag to shutdown to have shutdown not send any remote
messages (which is also patchable, to make it a system default).

Brian Berliner
Convex Computer Corp.
UUCP: {ihnp4, uiucdcs, rice, allegra, sun}!convex!berliner
ARPA: convex!berliner@rice.arpa