HP OpenVMS Version 8.3 Upgrade and Installation Manual > Appendix B Configuring OpenVMS I64 Hardware Operation
and Boot Operations, and Booting and Shutting Down Your SystemConfiguring and Managing OpenVMS Booting on Integrity Servers
This section explains how to configure and manage the booting behavior of your Integrity server. You can use the EFI Boot Manager (while the operating system is not running) or the OpenVMS I64 Boot Manager (while the operating system is running) to configure boot options. HP recommends using the latter. You can configure multiple boot entries for a single operating system. On a cell-based Integrity server running multiple operating systems, you can configure boot options for all currently installed operating systems. On cell-based servers, each nPartition has a local instance of EFI that is specific to that partition. Each partition can be booted and stopped independently of other nPartitions in the system, and each partition executes its own operating system image. On cell-based servers, to successfully boot an operating system you must first ensure that the ACPI configuration is correct for the operating system being booted, as explained in “Checking the ACPI Configuration for Booting OpenVMS in an nPartition”. Each nPartition has its own ACPI configuration value.
If you have just completed the initial setup of your Integrity server, perform the following steps before continuing:
This section discusses the following topics:
To boot your OpenVMS I64 operating system on a cell-based server, the ACPI configuration must be set correctly. The ACPI configuration value determines, among other things, the EFI Path format used when referencing devices. If your Integrity server was factory installed, the ACPI configuration is set correctly. If the nPartition on which you want to boot your OpenVMS system had previously been running a Windows or Linux system, then enter the following command at the EFI Shell prompt to set the partition to boot correctly with OpenVMS:
To make this new value take effect, you must reset the nPartition by using the EFI Shell reset command:
If the ACPI configuration value is not set properly, when the operating system boots, it fails with bugcheck code INCONSTATE. You cannot modify the ACPI configuration value for Integrity servers that do not support nPartitions (for example, the rx2600 server). To display the current configuration value, enter the acpiconfig command with no arguments:
You can establish and manage boot options for your system disk in any of three ways:
HP recommends that you allow the OpenVMS I64 installation or upgrade procedure to establish a boot option for your system disk. However, you still have the option of modifying the boot option or adding other boot options for your system disk by using the OpenVMS I64 Boot Manager utility from the OpenVMS DCL prompt (or by using EFI itself). The OpenVMS I64 Boot Manager utility is a menu-based utility that enables you to configure EFI boot options for your Integrity server. It is easier to use than EFI. With this OpenVMS utility, you can perform actions such as the following:
This section explains how to perform most of these operations (except moving and removing boot options). For more information about the OpenVMS Boot Manager utility, see the HP OpenVMS System Manager's Manual, Volume 1: Essentials. This section also explains how to use EFI to add a boot option for automatic booting. HP recommends that you configure your system with a boot option for your system disk. You can enable automatic reboot of the system disk by specifying your system disk as the first boot option in the EFI Boot Manager menu. When the EFI timeout (countdown) occurs (the default is 10 seconds), your system disk boots automatically.
To add a boot option and set boot flags using the OpenVMS I64 Boot Manager utility, follow these steps:
HP recommends allowing the OpenVMS installation or upgrade procedure to set your system disk to boot automatically. Or, use the OpenVMS I64 Boot Manager utility (SYS$MANAGER:BOOT_OPTIONS.COM). However, you can use EFI. This section explains how to use EFI to set up your Integrity server firmware to automatically boot your OpenVMS I64 system from your system disk. (HP also recommends using the OpenVMS I64 Boot Manager utility to set boot flags. Optionally, you can use the vms_loader.efi -flags n,n command at the EFI prompt to set any of the standard OpenVMS boot flags, as documented earlier in this appendix.) Access the EFI Shell and enter the following line at the prompt, where fsn: (such as fs0: or fs1:) is the device associated with the system disk:
This command adds the OpenVMS I64 operating system to position 1 in the EFI Boot Manager menu. The quoted text in the command line (“HP OpenVMS I64”) is displayed at position 1 in the EFI boot menu. You can enter any text that helps you identify the operating system disk. During system power up, the position 1 item is automatically executed after the default 10-second countdown. Alternatively, you can add an EFI boot menu option by using the EFI menu interface:
Still another method to add a boot entry to the EFI Boot Manager menu is to use the EFI Utilities for OpenVMS (I64 only) vms_bcfg command, which accepts OpenVMS device names and also enables you to set flags. However, note that this command has limited capabilities; for example, it cannot handle Fibre Channel paths as can the OpenVMS I64 Boot Manager utility. In the following example, DKA0: is the OpenVMS system disk being added as the first boot option:
For more information about EFI utilities for OpenVMS (I64 only), see the HP OpenVMS System Management Utilities Reference Manual. The Integrity server EFI Boot Manager shows the various paths to the boot device. You can use the OpenVMS I64 Boot Manager utility to display the OpenVMS boot device options known to EFI. Start the utility at the DCL prompt (@SYS$MANAGER:BOOT_OPTIONS.COM) and select option 2 on the main menu (the main menu is shown in “Setting Boot Options for Your System Disk”). The utility displays the following prompt. In this example, the listings for the DQA0: device are requested and displayed.
You can also display all bootable devices mapped by the EFI console and their equivalent OpenVMS device names by using the EFI Utilities for OpenVMS vms_show command at the EFI Shell prompt (from \efi\vms). For more information about EFI utilities for OpenVMS, see the HP OpenVMS System Management Utilities Reference Manual. Whenever the EFI Boot Manager menu displays, it waits for you to select an option. By default, it waits 10 seconds, after which EFI boots the first boot option. If the first option is not available or does not boot, EFI waits the same duration before booting the next option in the list. The OpenVMS I64 Boot Manager utility (SYS$MANAGER:BOOT_OPTIONS.COM) allows you to change the duration for this countdown value and also to disable the countdown (so that there is no wait) and enable it. Select option 6 on the OpenVMS I64 Boot Options main menu (the main menu is shown in “Setting Boot Options for Your System Disk”). The utility displays the following prompt. To change the value, enter YES and then enter the new value. In this example, the timeout value is changed to 20 seconds.
To disable the timeout so that automatic booting occurs instantaneously, enter 0 as the value, as in the following example:
Certain EFI settings such as the Hyper-Threading setting supported on some cell-based systems cannot be restored if lost. HP recommends that you write down your customized EFI settings in case they are lost in a system hardware or firmware failure. You can use the EFI info cpu command or the EFI cpuconfig command to display current settings, such as the setting of the Hyper-Threading feature. You might need to restore boot options, such as if they get lost during a firmware upgrade. You can save and restore your EFI boot path settings on Integrity servers by using the OpenVMS I64 Boot Manager (SYS$MANAGER:BOOT_OPTIONS.COM) utility. You can also use the EFI variable -s command to save boot option variables and the variable -r command to restore them. After using the variable command to restore boot options, a reset might be required. Use the EFI Shell reset comand. You can use the OpenVMS-specific EFI utility vms_bcfg (\efi\vms\vms_bcfg) to set boot options, and the vms_show utility (\efi\vms\vms_show) to display them; however, these utilities are more limited in scope than the OpenVMS I64 Boot Manager utility. For example, they cannot work with Fibre Channel boot paths as can the OpenVMS I64 Boot Manager utility. You can use the EFI variable command to restore the boot options list from a previously saved file. You could also use the EFI Shell variable command to restore variables such as boot path options; you must have first saved them in a known location by using the variable -save command. For more information, see the service manual provided for your Integrity server. The boot block structures on the system disk contain the size and location of the boot partition and other details relevant to the bootstrap of OpenVMS I64. The size and location of the boot partition stored within the boot block structures must be maintained and must reference the current location of the OpenVMS file SYS$EFI.SYS. Current versions of BACKUP maintain the boot block structures as well as the size and location of the boot partition during image operations (analogous to the similar BACKUP/IMAGE operations that maintain the boot block on OpenVMS Alpha disks). Older versions of BACKUP do not maintain these structures and do not correctly locate core OpenVMS I64 bootstrap files. If the boot partition file SYS$EFI.SYS is manually replaced or relocated, you must use the DCL command SET BOOTBLOCK or the SYS$SETBOOT image to rewrite the boot block structures. The SET BOOTBLOCK command and SYS$SETBOOT are analogous to the OpenVMS Alpha Writeboot utility; they provide OpenVMS I64 with the equivalent of what the Writeboot utility provides on OpenVMS Alpha. (Do not use the OpenVMS Alpha Writeboot utility to rewrite boot block structures on an OpenVMS I64 system disk.) The SET BOOTBLOCK command enables you to establish the boot block pointers necessary for the EFI console to find and bootstrap an OpenVMS I64 system disk. You must use this command if the target OpenVMS I64 system disk was originally created by one of the following methods:
To write the boot block structures onto an OpenVMS I64 system disk, enter the SET BOOTBLOCK command using the following format:
You can specify the file name for the boot partition (boot-partition-name).
If you do not specify a file or device name, the command defaults
to the following file for the boot partition: The command also assumes the current architecture. To specify OpenVMS I64, include /I64 in the command line. Use the /PRESERVE=SIGNATURES qualifier to preserve the existing GUID disk signature value and the associated root aliases. Note that using the OpenVMS Backup utility creates a new disk signature when restoring a bootable disk image. If you reset the boot block structures, you might need to remove any EFI boot aliases that reference the disk, and then add them back again. You can use the EFI alias command to remove and add aliases; HP recommends using the OpenVMS I64 Boot Manager utility (SYS$MANAGER:BOOT_OPTIONS.COM) to maintain EFI console boot aliases.
Alternatively, you can write a boot block by entering the following command:
The utility prompts you for the required input (in a way similar to the operation of the OpenVMS Alpha Writeboot utility). The Extensible Firmware Interface (EFI) on Integrity servers performs most of the same functions that the SRM console does on Alpha processors. If you are familiar with the Alpha tool, use the following table to find EFI commands equivalent to the Alpha commands you commonly use on Alpha systems. Note that some of the commands listed might not be available on certain hardware systems. Table B-1 Alpha and Integrity Server EFI Command Equivalents
|