Updated: 11 December 1998 |
OpenVMS System Manager's Manual
Previous | Contents | Index |
The default system startup procedure is SYS$SYSTEM:STARTUP.COM. However, in special environments, you might want the system to perform special startup commands. If you frequently require a startup command procedure other than SYS$SYSTEM:STARTUP.COM, you can specify that the alternate procedure be used by default.
STARTUP = "SYS$SYSTEM:MY_STARTUP.COM" |
$ EDIT SYS$SYSTEM:MODPARAMS.DAT . . . [Insert the following line in MODPARAMS.DAT:] STARTUP = "SYS$SYSTEM:MY_STARTUP.COM" . . . $ @SYS$SYSTEM:AUTOGEN SAVPARAMS REBOOT |
In special cases, you might want to boot your system without performing the full sequence of startup events. For example, if a startup event prevents you from logging in, you might want to boot the system without executing the startup, so that you can log in and fix the problem.
When you boot with minimum startup, the system starts only the components that are absolutely required to run the system. These tasks can vary between different releases of the operating system.
SYSBOOT> SET STARTUP_P1 "MIN" |
SYSBOOT> CONTINUE |
$ RUN SYS$SYSTEM:SYSMAN SYSMAN> PARAMETERS USE CURRENT SYSMAN> PARAMETERS SET STARTUP_P1 "" SYSMAN> PARAMETERS WRITE CURRENT |
[perform a conversational boot] SYSBOOT> SET STARTUP_P1 "MIN" SYSBOOT> CONTINUE [system completes booting] Username: [Return] Password: [Return] $ RUN SYS$SYSTEM:SYSMAN SYSMAN> PARAMETERS USE CURRENT SYSMAN> PARAMETERS SET STARTUP_P1 "" SYSMAN> PARAMETERS WRITE CURRENT |
If you boot with minimum startup with the VAXCLUSTER system parameter set to 0, the only HSC or DSSI devices that will be accessible will be the boot device and then only if the boot device is controlled by an HSC or a DSSI controller. To make HSC and DSSI devices accessible, perform one of the following actions:
|
In some cases---for example, when you are trying to test a startup command procedure, or when troubleshooting startup problems---it is helpful to display the startup commands as they are executed.
SYSBOOT> SET STARTUP_P2 "YES" |
SYSBOOT> CONTINUE |
$ RUN SYS$SYSTEM:SYSMAN SYSMAN> PARAMETERS USE CURRENT SYSMAN> PARAMETERS SET STARTUP_P2 "" SYSMAN> PARAMETERS WRITE CURRENT |
[perform a conversational boot] SYSBOOT> SET STARTUP_P2 "YES" SYSBOOT> CONTINUE [system completes booting] Username: [Return] Password: [Return] $ RUN SYS$SYSTEM:SYSMAN SYSMAN> PARAMETERS USE CURRENT SYSMAN> PARAMETERS SET STARTUP_P2 "" SYSMAN> PARAMETERS WRITE CURRENT |
In addition to performing a conversational boot to display startup procedures, you can use SYSMAN to display startup status with the STARTUP SET OPTIONS command. The advantage of using SYSMAN is that you can obtain verification and logging for multiple nodes at a time.
SYSMAN startup logging redefines STARTUP_P2 to specify:
The STARTUP SET OPTIONS command provides the options shown in Table 4-2.
Option | Function |
---|---|
/VERIFY=FULL | Displays every line of DCL executed by component startup procedures and by STARTUP.COM. |
/VERIFY=PARTIAL | Displays every line of DCL executed by component startup procedures, but does not display DCL executed by STARTUP.COM. |
/OUTPUT=FILE
/OUTPUT=CONSOLE |
Creates SYS$SPECIFIC:[SYSEXE]STARTUP.LOG, which contains all of the output generated by startup procedures. Alternatively, you can display the output on the console. |
/CHECKPOINTING | Displays informational messages describing the time and status of each startup phase and component file. |
$ RUN SYS$SYSTEM:SYSMAN |
SYSMAN> STARTUP SET OPTIONS/[qualifier] |
$ RUN SYS$SYSTEM:SYSMAN SYSMAN> STARTUP SET OPTIONS/VERIFY=FULL/OUTPUT=FILE/CHECKPOINTING |
This example requests startup logging with:
To show the current startup options, enter the following command:
SYSMAN> STARTUP SHOW OPTIONS |
For more information, refer to the OpenVMS System Management Utilities Reference Manual.
4.6 Solving Booting Problems
A hardware or software malfunction can prevent the operating system from booting when you enter the BOOT command.
A read error on a disk drive or console medium, or a machine check error, might indicate a hardware malfunction. When a hardware problem occurs, a question mark (?) usually precedes the error message that is displayed on the system console terminal. You should then perform one or both of the following actions:
If the operating system is loaded into memory but the STARTUP.COM command procedure does not execute, a software malfunction has probably occurred. Suspect this condition if a message similar to following message does not appear:
The OpenVMS system is now executing the system startup procedure. |
Perform one or both of the following actions to correct the situation:
Block 0 on a system disk is the boot block. It contains the size and location of the primary bootstrap image, which is used to boot the system.
On VAX systems, the primary bootstrap image is VMB.EXE.
On Alpha systems, the primary bootstrap image is APB.EXE.
Certain processors must read the boot block to obtain the location of the primary bootstrap image. Processors that read a boot block include the following ones:
To determine if your system reads the boot block, check one of the following manuals:
If you suspect that the boot block on the system disk is invalid, you can write a new boot block using the Writeboot utility (WRITEBOOT). The following actions might cause a boot block to become invalid:
You must have LOG_IO privilege to use the Writeboot utility.
On VAX systems, follow these steps to use the Writeboot utility:
$ RUN SYS$SYSTEM:WRITEBOOT |
Target system device (and boot file if not VMB.EXE):? |
device:[VMS$COMMON.SYSEXE]VMB.EXE; |
Use the device name format described in the upgrade and
installation documentation for your processor. If you want to boot
using a bootstrap image other than the default, you must specify the
full file specification of the image, including device and directory.
Enter VBN of boot file code (default is one): |
Enter load address of primary bootstrap in HEX (default is 200): |
On Alpha systems, follow these steps to use the Writeboot utility:
$ RUN SYS$SYSTEM:WRITEBOOT |
Update VAX portion of boot block (default is Y): |
Update Alpha portion of boot block (default is Y): |
Enter Alpha boot file: |
device:[VMS$COMMON.SYSEXE]APB.EXE; |
where device specifies the device name of the system disk.
On VAX and Alpha systems, the Writeboot utility might display one or more of the following error messages:
$ COPY/CONTIGUOUS device:[VMS$COMMON.SYSEXE]VMB.EXE; - _$ device:[VMS$COMMON.SYSEXE] |
$ COPY/CONTIGUOUS device:[VMS$COMMON.SYSEXE]APB.EXE; - _$ device:[VMS$COMMON.SYSEXE] |
On VAX systems, the following example writes a boot block on a system disk:
$ RUN SYS$SYSTEM:WRITEBOOT Target system device (and boot file if not VMB.EXE):? DUA0:[VMS$COMMON.SYSEXE]VMB.EXE Enter VBN of boot file code (default is one):[Return] Enter load address of primary bootstrap in HEX (default is 200): [Return] |
On Alpha systems, the following example writes a boot block on a system disk:
$ RUN SYS$SYSTEM:WRITEBOOT Update VAX portion of boot block (default is Y): N Update Alpha portion of boot block (default is Y): [Return] Enter Alpha boot file: DUA0:[VMS$COMMON.SYSEXE]APB.EXE; |
The operating system provides the following shutdown procedures:
Procedure | Purpose | For More Information |
---|---|---|
SHUTDOWN.COM | An orderly shutdown procedure. This procedure shuts down the system while performing housekeeping functions such as disabling future logins, stopping the batch and output queues, dismounting mounted volumes, and stopping user processes. | Section 4.8.1 |
OPCCRASH.EXE | An emergency shutdown program. Run the OPCCRASH emergency shutdown program if you are unable to perform an orderly shutdown with SHUTDOWN.COM. | Section 4.8.5 |
Shutdown using console commands | Emergency shutdown commands. Use these console shutdown commands only if OPCCRASH.EXE fails. | Section 4.8.6 |
Use SYS$SYSTEM:SHUTDOWN.COM to shut down the system in an orderly fashion. See Section 4.8.2 for the order of shutdown events.
Do not modify SHUTDOWN.COM. To perform site-specific operations during shutdown, see Section 4.8.3.
Ordinarily, you shut down the system from the SYSTEM account, which includes all privileges by default. To execute SHUTDOWN.COM, you must have either the SETPRV privilege or all of the following privileges:
You can cancel a shutdown without any side effects by pressing Ctrl/Y before SHUTDOWN.COM displays the following message:
%SHUTDOWN-I-SITESHUT, The site-specific shutdown procedure will now be invoked. |
If you press Ctrl/Y after this display, certain system components might have already been shut down, and you will need to recover manually. For example, you might have to manually restart processes, mount disks, or reboot the system.
$ @SYS$SYSTEM:SHUTDOWN.COM |
How many minutes until final shutdown [0]? |
The default is 0 minutes. If you have not defined the logical name SHUTDOWN$MINIMUM_MINUTES, and you do not enter a value, the system will be shut down immediately after you answer the last question. |
Reason for shutdown [standalone]: |
Do you want to spin down the disk volumes [No]? |
Do you want to invoke the site-specific shutdown procedure [Yes]? |
Should an automatic system reboot be performed [No]? |
When will the system be rebooted [later]? |
Shutdown options (enter as a comma-separated list): REMOVE_NODE Remaining nodes in the cluster should adjust quorum CLUSTER_SHUTDOWN Entire cluster is shutting down REBOOT_CHECK Check existence of basic system files SAVE_FEEDBACK Save AUTOGEN feedback information from this boot DISABLE_AUTOSTART Disable autostart queues Shutdown options [NONE] |
Option | Description |
---|---|
REMOVE_NODE |
Causes other nodes in the cluster to decrease the value of the
EXPECTED_VOTES system parameter. (This parameter is automatically
increased each time a node
joins the cluster.) Specifying REMOVE_NODE will not decrease
the EXPECTED_VOTES below the quorum value.
Use this option if the node you are shutting down will be out of the cluster a considerable period of time. When you use this option, all locally attached disks are dismounted clusterwide. Therefore, you must shut down applications on other nodes that have open files on the locally attached disks. Failure to do so might cause mount verify timeout problems as well as application problems. |
CLUSTER_SHUTDOWN |
Synchronizes the shutdown of a cluster; only when the shutdown of each
node has progressed to a certain point will the shutdown be completed.
Use this option on each node in the cluster to synchronize the shutdown. |
REBOOT_CHECK |
Verifies the presence of files necessary to reboot the system after
shutdown completes.
The procedure checks for the necessary files and notifies you if any are missing. Replace missing files before proceeding. |
SAVE_FEEDBACK |
Records feedback data collected from the system since it was last
booted and creates a new version of the AUTOGEN feedback data file,
which AUTOGEN can use the next time it runs.
For detailed information about using the AUTOGEN feedback mechanism, see Section 14.4.1. |
DISABLE_AUTOSTART | Specifies the time interval between the DISABLE AUTOSTART/QUEUES command and system shutdown. For more information, see Section 13.7.1.9. |
Previous | Next | Contents | Index |
Copyright © Compaq Computer Corporation 1998. All rights reserved. Legal |
6017PRO_010.HTML
|