DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: R T

⟦12f295a79⟧ TextFile

    Length: 3570 (0xdf2)
    Types: TextFile
    Names: »README«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦653021b30⟧ »EurOpenD3/utils/downtime.tar.Z« 
        └─⟦946c717da⟧ 
            └─⟦this⟧ »README« 

TextFile


		Downtime - Version 4.0 on July 5, 1988

REQUIREMENTS

Downtime uses a parsing package called Ccmd which is from Columbia
University.  You must have this package in order to compile Downtime.
This package is available via anonymous ftp from oberon.USC.EDU in
/pub/ccmd.tar.Z or from Columbia on cunixc.cc.columbia.edu in
/ccmd.tar.

INSTALLATION

[0]	Compile and install the Ccmd library.

[1]	Extract all files from the tar file into the current directory
	with:

		% tar xf downtime.tar

[2]	Edit config.h to your liking.  Below are most of the important
	things that may need to be tailored for your system.

		- CFFILE 		(/etc/downtime.cf)
	  	  Downtime configuration file.  This file sets up such 
		  things as who can run downtime.

		- DATAFILE 		(/etc/downtime.df)
		  This should be defined to the name of the file downtime will
		  use for downtime entries.

		- DTLOG 		(/usr/adm/downtime.log)
		  Log file of downtime actions.

		- HELPFILE 		(/usr/public/etc/downtime.hf)
		  The name of the help file distributed with downtime.

		- LOCKFILE 		(/etc/downtime.df.LOCK)
		  Lock file for DATAFILE.

		- NEW_SYSLOG 		(conditionally defined)
		  If your system has the new 4.3bsd syslog, then define 
		  NEW_SYSLOG.

		- RPCWALL 		(conditionally defined)
		  Presently, remote broadcasts are done via RPC.  Some of these
		  routines where ripped out of proprietary Sun code.  If you
		  have the file rpc.c, then you will be able to use the RPCWALL
		  feature and you need to defined RPCWALL in config.h.  If you
		  do not have rpc.c, then make sure RPCWALL is not defined.

		- TMPFILE 		(/etc/dt_tmpXXXXXX)
		  A temporary file for things done to DATAFILE.  This *must*
		  be on the same filesystem as DATAFILE.

[3]	Edit the Makefile and change things to be consistant with your
	changes to config.h.

[4]	Type "make" to make a downtime executable.

[5]	Type "make install" to install things.


VERSION INFO

Downtime is running on Sun-3's and Sun-4's under SunOS 3.[2-5], VAXen
under 4.3BSD (Mt Xinu), and Alliant's with Concentrix 3.0 and 4.0.  At
one point it worked under Ultrix 1.2, but it hasn't been tried under
any version of Ultrix for quite a while now.  It should require little
work to get it going again.

AVAILABILITY

Downtime is available via anonymous ftp from oberon.USC.EDU in
/pub/downtime.tar.Z.  No other distribution means are currently
available, though, I am willing to listen to other requests.

RPCWALL

As noted in [2] of the INSTALLATION proceedure, there is some code
from SunOS in rpc.c that is used for doing RPC remote broadcasts to
NFS clients.  Some of the code is from SunOS 3.2 shutdown(8) that I
used out of shear laziness.

Some other code is from SunOS 3.2 mountd(8C).  This code is used to
read /etc/rmtab to get a list of NFS clients that need to be
broadcasted to.  This is different than how SunOS shutdown(8) does it.
Shutdown makes an RPC call that mountd answers with a list of NFS
client hosts.  The problem with this is that it is very slow and often
does not work on a system with many NFS clients.  It is faster and
more reliable to read /etc/rmtab (which rpc.mountd always keeps up to
date) than to go through RPC.

Again, the mountd code was easier to steal than to write myself.  If
anybody writes any public domain versions of these routines, I'd be
most interested in using them.



Michael A. Cooper, University Computing Services, U of Southern California
  UUCP: {sdcrdcf, cit-vax}!oberon!mcooper   BITNET: mcooper@kylara
  ARPA: mcooper@oberon.USC.EDU              PHONE: (213) 743-2957