After the VM/370 console operator loads the VM/370 system, VM/370 initiates one predefined operating system to run as a virtual machine
without oFerator intervention, provided these two conditions are met:
1. An AUTOLOG1 virtual machine is defined in the directory.
2. The AUTOLOG1 directory definition includes an IPL control statement
specifying an operating system. !2te: The AUTOLOG1 facility initiates a virtual machine with an oFerating system in disconnect mode. If that virtual machine issues a
READ command to its own unavailable console, VM/370 terminates the
virtual machine. WRITE commands to an unavailable operator's console
merely cause the loss of information that is not spooled; no
termination occurs.
To use AUTOLOGl to initiate several virtual machines, have the VM/370 directory statements load CMS for the AUTOLOG1 userid. The CMS PROFILE EXEC would contain several CP AUTOLOG commands. Each AUTOLOG command
initiates one virtual machine containing a production operating system. When using the CP AUTOLOG command, the directory entries referenced by
the CP AUTOLOG command must contain an IPL statement. When the Froduction virtual machine is loaded directly by an IFL statement in AUTOLOG1, an operating system user gains access to the
virtual machine by logging on as AUTOLOGl with the appropriate password. When the production virtual machine is loaded (as a result of a CP AUTOLOG command in the CMS PROFILE EXEC), an operating system user gains
access to the virtual machine by logging on with the userid specified in
the CP AUTOLOG command. When the user logs off, contiguous storage space is relinquished. If
the user wants to keep the virtual machine's I/O blocks in contiguous
storage and temporarily relinquish use of the virtual machine, the user
issues the CP DISCONN command. To reestablish usage, the user issues
the CP LOGON command to to the virtual machine.
The fcllowing example uses the AUTOLOG1 facility with an IPL statement. USER AUTOLOG1 PASSWORD 256K ACCOUNT ACCTNO BIN3 1PL 350 OPTION ACCT CONSOLE 01F 3215 SPOOL OOB 2501 SPOOL OOC 2540 R SPOOL OOD 2540 P SPOOL OOE 1403 MDISK 350 3330 101 30 OSDOS1 W MDISK 351 3330 1 20 UDISKl W Section 1. General Considerations 47
with these directory entries, the operating system would be logged
onto the VM/370 system in disconnect mode. A user accesses the system
by logging cn as userid AUTOLOG1 with the appropriate password. To
temporarily relinquish use of the system without relinquishing
contiguous storage, the user issues the CP DISCONN To
reestablish a user issues the CP LOGON command. Issuing the CP LOGOFF command releases the contiguous storage space containing the VM/370 I/O device control blocks supporting the operating system.
In this example, AUTOLOG1 initializes CMS in a virtual machine. The
virtual machines containing the production operating systems are
automatically logged on in disconnect mode from the PROFILE EXEC. The CMS PROFILE EXEC contains several CP AUTOLOG commands, one for each
virtual machine to be loaded. For each userid identified in a CP AUTOLOG command, there must be an IPL statement in the VM/370 directory
te lead the operating system into the virtual machine. The
last CP command in the PROFILE EXEC may logoff AUTOLOG1. The virtual machines are logged onto V8/370 in disconnect mode. USER AUTOLOGl PASSWORD 256K 1M AB ACCOUNT ACCTNO BIN1 IPL eMS CONSOLE 009 3215 SPOOL OOC 2540 R SPOOL OOD 2540 P SPOOL OOE 1403 LINK VMSIS 190 190 RR MDISK 191 3330 1 10 UDISKA WR RPASS WPASS &CONTROL OFF NOMSG NOTIME PACK CP SPOOL CONSOLE START SET RDYMSG SMSG CP SPOOL PRINTER CLASS A CP SET EMSG TEXT CP SET LINEDIT ON CP AUTOLOG DOSUSER PASSWORD CP AUTOLOG DOSVUSER PASSWORD CP AUTOLOG OSUSER PASSWORD CP LOGOUT &EXIT By baving the preceding AUTOLOG1 directory entry and PROFILE EXEC, the DOSUSER, DOSVUSEa, and OSUSER virtual machines (specified in the PROFILE EXEC) are now logged onto the VM/370 system in disconnect mode.
A user accesses these virtual machines by logging on with the userid of DOSUSER, DOSVUSER, or OS USER along with the appropriate password. To
temporarily relinquish use of one of these virtual machines without
relinquishing contiguous storage, a user issues the CP DISCONN command.
Te reestablish use, a user issues the CP LOGON command. Issuing the CP LOGOFF command releases the contiguous storage space. This space
contains the VM/370 I/O device control blocks that support the virtual
machine being logged off.
48 IBM VM/370 Operating Systems in a Virtual Machine
Previous Page Next Page