HP OpenVMS Systems Documentation |
OpenVMS Alpha Version 7.3
|
Previous | Contents | Index |
The Writeboot utility (WRITEBOOT.EXE) is copied to your system disk during the installation procedure. It allows you to create a bootable Compaq OpenVMS Alpha system disk from one that was originally created by one of the following methods:
The Writeboot utility also allows you to rewrite the boot block of an Compaq OpenVMS Alpha system disk to point to a new version of the Compaq OpenVMS Alpha primary bootstrap file (APB.EXE) that you have previously copied to the disk. (Note that the file must be contiguous.)
To invoke the Writeboot utility, enter the following command:
$ RUN SYS$SYSTEM:WRITEBOOT |
The utility prompts you as follows:
Update VAX portion of boot block (default is Y): Update Alpha portion of boot block (default is Y): |
Answer N (No) to the VAX prompt. If you answer Y (Yes) to update the Alpha boot block, the utility prompts you for the Alpha boot file:
Enter Alpha boot file: |
Specify device-name:[VMS$COMMON.SYSEXE]APB.EXE in response to
this prompt, where device-name: indicates the device on which
the system disk is mounted.
A.3 Halt and Shutdown Operations
The following sections describe halt and shutdown operations for Alpha
computers.
A.3.1 Halting the System
During installation, upgrade, and related system operations, you might need to halt your system. The methods for halting Alpha computers differ slightly with certain models, as described in the next section.
The following table summarizes the ways you can halt specific Alpha computers:
Alpha Computer | How to Halt |
---|---|
AlphaServer 300, 800, 1000, 1200, 2000, 2100 series |
Do one of the following:
|
AlphaServer 8200, 8400 series | Press Ctrl/P. |
AlphaStation 200, 400, 500, 600 series |
Do one of the following:
|
DEC 2000, 3000 series |
Do one of the following:
|
DEC 4000 series |
Do one of the following:
|
DEC 7000, 10000 series | Press Ctrl/P. |
Before you shut down the operating system, decide if you want it to reboot automatically or if you want to enter console-mode commands after the shutdown completes.
You can perform the following three types of shutdown operations:
If you want the system to reboot automatically after the shutdown, see
Section A.2.1.
A.3.2.1 Orderly Shutdown
The SHUTDOWN.COM procedure shuts down the system while performing maintenance functions such as disabling future logins, stopping the batch and printer queues, dismounting volumes, and stopping user processes. To use the SHUTDOWN.COM command procedure, log in to the SYSTEM account, enter the following command, and press the Return key:
$ @SYS$SYSTEM:SHUTDOWN |
For more information about the SHUTDOWN.COM command procedure, see the
OpenVMS System Manager's Manual.
A.3.2.2 Emergency Shutdown with OPCCRASH.EXE
If you cannot perform an orderly shutdown with the SHUTDOWN.COM procedure, run the OPCCRASH.EXE emergency shutdown program. To run the OPCCRASH.EXE program, log in to the SYSTEM account, enter the following command, and press the Return key:
$ RUN SYS$SYSTEM:OPCCRASH |
For more information about the OPCCRASH program, see the OpenVMS System Manager's Manual.
A.3.2.3 Emergency Shutdown with Crash Commands
Use crash commands only if the system is "hung" (stops responding to any commands) and you cannot log in to the SYSTEM account to use the SHUTDOWN.COM procedure or the OPCCRASH.EXE program.
The method described here works on all Alpha computers. However, on certain systems, you can force your processor to fail (crash) by entering a specific console command. See the hardware manuals that came with your computer for that information. |
To force your processor to fail, do the following:
>>> E -N F R0 >>> E PS |
>>> D PC FFFFFFFF00000000 >>> D PS 1F00 |
>>> CONTINUE |
$ ANALYZE/CRASH SYS$SYSTEM:SYSDUMP.DMP SDA> SHOW CRASH |
The following sections describe procedures that you can follow if you
encounter problems with your system.
A.4.1 If the System Does Not Boot
If the system does not boot because a hardware problem occurs, a
question mark (?) usually precedes the error message displayed on the
console terminal. An example of a hardware problem is a read error on a
disk or tape cartridge drive.
A.4.1.1 For Hardware Problems
If you suspect a hardware problem, do the following:
When the operating system is loaded into memory, a message similar to the following appears on the terminal screen:
SYSTEM job terminated at 27-MAY-2001 15:05:03.17 |
If the system does not display this message, a software problem has probably occurred. Do the following:
If your system exhibits unexpected behavior, note the following:
To determine if the failure is a system problem:
If you determine that you have a system problem:
This appendix describes how to perform backup and restore operations on the system disk. You perform these tasks by entering commands from a specialized backup environment. You access this environment through the menu that is displayed when you boot the Compaq OpenVMS Alpha operating system CD-ROM or through an alternate method that does not require the CD-ROM.
This specialized backup environment is required because it allows you to create an exact copy of the system disk. You cannot create an exact copy in a standard operating system environment because the OpenVMS Backup utility saves only what is on the disk at the moment the BACKUP command is executing, excluding portions of open files contained in memory or data about files not yet written back to the disk (cache).
For more information about backup operations, including procedures for
backing up and restoring files and directories, see the OpenVMS System Manager's Manual.
B.1 Reasons for Backing Up the System Disk
The primary reason why you should have a backup copy of the system disk is so you can fully restore your system in response to any hardware or software problem that affects the integrity of your original system disk or your ability to access it. For example, you would need to use the backup copy to restore your system under the following conditions:
Another reason for backing up the system disk is to eliminate disk
fragmentation, which occurs when files are stored noncontiguously on
the disk. The BACKUP/IMAGE command creates a copy on which files are
stored contiguously.
B.2 Suggested Procedures
Compaq recommends the following:
If any nodes except the node used to run BACKUP are booted during the backup operations described in this appendix, your cluster will become partitioned, where nodes in the existing cluster divide into two or more independent clusters. This condition can cause data file corruption.
In addition, these backup environments do not restrict your use of DCL
commands to the BACKUP command only, which further increases your risk
of accidentally destroying or corrupting data on a disk. Therefore, to
avoid jeopardizing the integrity of your data in any way, Compaq
recommends that you shut down the entire OpenVMS Cluster system before
you back up your system disk.
B.4 Backing Up the System Disk
The following sections describe how to back up the system disk.
B.4.1 Getting Started
Before you back up the system disk, do the following:
**************************************************************** You can install or upgrade the OpenVMS Alpha operating system or you can install or upgrade layered products that are included on the OpenVMS Alpha operating system CD-ROM. You can also execute DCL commands and procedures to perform "standalone" tasks, such as backing up the system disk. Please choose one of the following: 1) Install or upgrade OpenVMS Alpha Version 7.3 2) Display products and patches that this procedure can install 3) Install or upgrade layered products and patches 4) Show installed products 5) Reconfigure installed products 6) Remove installed products 7) Execute DCL commands and procedures 8) Shut down this system Enter CHOICE or ? for help: (1/2/3/4/5/6/7/8/?) 7 |
When you have determined which devices will be the source drive and target drive, mount those devices (and any other output devices you plan to use) before you perform any backup operations. Enter the MOUNT commands in the following format:
$$$ MOUNT/OVERRIDE=IDENTIFICATION source-drive $$$ MOUNT/FOREIGN target-drive |
Note the following conventions:
When the system disk and output devices are mounted, back up the system disk by entering the BACKUP command in the following format:
$$$ BACKUP/IMAGE/VERIFY source-drive: target-drive: |
(You must also include the save-set name and the /SAVE_SET qualifier if the target drive is a tape device.)
Example 1
In this example the system disk and a target disk are mounted so the BACKUP command can create a backup disk. (You can use a backup disk as a system disk.)
$$$ MOUNT/OVERRIDE=IDENTIFICATION DKA200 $$$ MOUNT/FOREIGN DKA300 $$$ BACKUP/IMAGE/VERIFY DKA200: DKA300: |
Example 2
In this example the system disk and a target tape device are mounted so the BACKUP command can create a backup tape.
$$$ MOUNT/OVERRIDE=IDENTIFICATION DKA200 $$$ MOUNT/FOREIGN MKA300 $$$ BACKUP/IMAGE/VERIFY DKA200: MKA300:APR_06_BACKUP.BCK/SAVE_SET |
The BACKUP command creates a system disk that includes a set of volume parameters provided by Compaq, including a CLUSTER_SIZE (disk access scheme) that is appropriate for your system. (The CLUSTER_SIZE refers to the way files are stored on the disk, not to cluster environments.) You can change most volume parameters later with the SET VOLUME command.
However, to change the CLUSTER_SIZE, you must back up the system disk
to a disk that has been previously initialized with the CLUSTER_SIZE
that you want. For more information about initializing a disk and using
the BACKUP command, see the OpenVMS System Manager's Manual and the OpenVMS System Management Utilities Reference Manual, and
see the description of the INITIALIZE and BACKUP commands in the
OpenVMS DCL Dictionary.
B.4.5 Logout, Shutdown, and Reboot
After you complete the backup operation:
The following sections describe how to restore the system disk.
B.5.1 Getting Started
Before you can restore the system disk:
**************************************************************** You can install or upgrade the OpenVMS Alpha operating system or you can install or upgrade layered products that are included on the OpenVMS Alpha operating system CD-ROM. You can also execute DCL commands and procedures to perform "standalone" tasks, such as backing up the system disk. Please choose one of the following: 1) Install or upgrade OpenVMS Alpha Version 7.3 2) Display products and patches that this procedure can install 3) Install or upgrade layered products and patches 4) Show installed products 5) Reconfigure installed products 6) Remove installed products 7) Execute DCL commands and procedures 8) Shut down this system Enter CHOICE or ? for help: (1/2/3/4/5/6/7/8/?) 7 |
When you have determined which devices will be the source drive and target drive, mount those devices (and any other output devices you plan to use) before you perform any restore operations. Enter the MOUNT commands in the following format:
$$$ MOUNT/OVERRIDE=IDENTIFICATION source-drive $$$ MOUNT/FOREIGN target-drive |
Note the following conventions:
Enter the BACKUP command in the following format:
$$$ BACKUP/IMAGE/VERIFY source-drive: target-drive: |
(You must also include the save set name and the /SAVE_SET qualifier if the source drive is a tape device.)
Example 1
In this example a backup disk and a target disk are mounted so the BACKUP command can restore the system disk from the backup disk:
$$$ MOUNT/OVERRIDE=IDENTIFICATION DKA300 $$$ MOUNT/FOREIGN DKA200 $$$ BACKUP/IMAGE/VERIFY DKA300: DKA200: |
Example 2
In this example a backup tape and a target disk are mounted so the BACKUP command can restore the system disk from the backup tape:
$$$ MOUNT/FOREIGN MKA300 $$$ MOUNT/FOREIGN DKA200 $$$ BACKUP/IMAGE/VERIFY MKA300:APR_06_BACKUP.BCK/SAVE_SET DKA200: |
Previous | Next | Contents | Index |