Section 3

UniVision STARTUP AND SHUTDOWN

This Section gives an overview of what happens when the system administrator starts up and shuts down the UniVision environment, and covers the following topics:

On the initial installation of the UniVision environment, the system copies it to disk from diskettes or tapes provided by the supplier. The Installation Instructions & Administrators Guide provides full details about UniVision installation.

During the initial installation of UniVision, the system allows the installer to install the software in a different directory from the default directory of /home/UniVision. During installation it is possible to specify a password that any user must know when logging in.

If the installer used the default directory for UniVision, the login for UniVision is UniV.

Note: If the user wants to logon to the default directory, they must use capital U and V and the remainder of the letters must be in lower case, otherwise the system does not recognise the login as a valid user.

For example, a typical login is as follows:

UNIX System V Release 4.0 Version 3.0

login: UniV
Password

Figure 3-1. UniVision/UNIX Logon

 

Note: For security reasons the operating system does not echo the password typed by the user. Ensure the correct entry of both the login name and password, otherwise the system denies login access. In addition, under some operating system releases with the proper option, if the system has not created a password for the login it might not prompt for a password.

UniVision allows the system console to act as the ssytem administrator for the UniVision environment. As the system administrator, additional administration functions are available that are not normally performed by a normal user. When logging in to UniVision, the system console displays a special administration menu with functions as follows:

To get to the UniVision logon prompt, use the arrow keys to highlight Enter UniVision

and press

<RETURN>

In addition, it is possible to type E and press <RETURN>

All users, except for the user on the system console, go directly into the UniVision Logon Please:

prompt, refer to Figure 3-3. The system console displays the UniVision Administration Menu, refer to Figure 3-2.

Figure 3-2: UniVision Administrator Menu

A user not on the system console goes directly to the Logon Please prompt. The logon screen is similar to Figure 3-3.

The first user into the UniVision environment starts the UniVision Spooler automatically and reinitialises the UniVision shared-object directory. The shared-objects directory shares UniVision BASIC object code among the users. This allows one copy of the object code for all the UniVision users. There is a description of the UniVision Spooler in the Section entitled Printer Administration.

In addition, the first user on the UniVision system should perform the STARTUP Proc. The STARTUP Proc contains various UniVision UCL commands to set the environment properly. For example, Table 3-1, gives some suggestions as to appropriate commands to place in the STARTUP Proc.

 

Verb Description

 

ACQUIRE-LINE Acquires a UNIX line for use by UinVision.
AUTO-LOGOFF Logs off inactive processes automatically.
IDATE Sets the system date format to international.
LINE-ATT Attaches a line to a process.
LINE-DET Detaches a line from a process
LINK-LINE Links line to a process.
LOCKOUT Limits the number of logon attempts.
MSG or MESSAGE Sends a message to a UniVision process.
MODEM-ON/
MODEM-OFF
Enables and disables the DTR signal.
PROTOCOL Sets transmission characteristics for I/O lines.
RELEASE-LINE Releases an acquired line back to UNIX.
SET-DATE-EUR Sets the system date format to international.
SET-DATE-STD Sets the system date to United States format.
STARTPTR Starts a printer.
TERM Sets/displays terminal and printer characteristics.
UDATE Sets the system date to United States format.
UNLINK-LINE Unlinks and detaches a line from a process.
X-ON/X-OFF Controls data flow

Table 3-1: Suggested Commands for the STARTUP Proc

The system administrator is responsible for starting the UniVision environment. Before allowing normal processing the administrator should perform the STARTUP Proc. To do this, type STARTUP at the Logon Please:

prompt. Figure 3-4 is a sample STARTUP procedure. The example given is the default STARTUP Proc provided with the UniVision environment.

The type of commands that belong in the STARTUP Proc are commands required each time someone restarts the UniVision system after a complete shutdown. Typical commands that belong in this Proc are as follows:

In addition, it is possible to put application software connections into the STARTUP Proc, such that the applications environment is available. The applications designer and programmer determine these requirements. Once the STARTUP Proc is complete, the UniVision environment is ready for the application users.

Shutdown of the UniVision Environment

To shutdown the UniVision environment requires all users to log off back to UNIX. The users log off and return to the UNIX login using any of the following methods:

Each user at UCL can type OFF to logoff the user account, followed by QUIT at the Logon Please:

prompt, QUIT returns the user to the UNIX login.

A one step method exists for the above. A user at UCL can type :QUIT to logoff the user account and return to UNIX.

The above methods require each user to log off the system, back to the UNIX login prompt. LOGOFF exists to enable the system administrator to logoff all users not at the UNIX login prompt.

The steps to shutdown the UniVision environment safely are as follows:

Send a message to all users to logoff the system, refer to Figure 3-5 below. Make sure that all users receive the message before shutting down UniVision. This is to allow the users to complete their current processing. For details on how to send a message, refer to MSG or MESSAGE in the UniVision Command Reference Guide.

Set the maximum number of users on the system to 1. Setting the maximum number of users to 1, prevents users from logging back in to UniVision while the system administrator is trying to shutdown the environment. For details on how to set the maximum number of users to 1, refer to MAXUSERS in the UniVision Command Reference Guide.

Make sure all the users have logged off the system. Use LISTU and LISTPRO to see which users are still on the system. Refer to UniVision Command Reference Guide for a detailed description of LISTU and LISTPRO.

>MESSAGE *Please logoff (back to UNIX) for system maintenance
16:15:16 19 AUG 1997 FROM SYSPROG (1)
PLEASE LOGOFF (BACK TO UNIX) FOR SYSTEM MAINTENANCE

>MAXUSERS 1
[9218] Maximum number of users is now: 1

Figure 3-5: UniVision Logoff Warning.