skip book previous and next navigation links
go up to top of book: HP OpenVMS System Manager's Manual, Volume 2:... HP OpenVMS System Manager's Manual, Volume 2:...
go to beginning of chapter: Managing Page, Swap, and Dump Files Managing Page, Swap, and Dump Files
go to previous page: Writing the System Dump File to the System Disk Writing the System Dump File to the System Disk
go to next page: Using SDA to Analyze the Contents of a Crash DumpUsing SDA to Analyze the Contents of a Crash Dump
end of book navigation links

Writing the System Dump File to an Alternate Disk  



You can write the system dump file to a device other than the system disk (DOSD) on OpenVMS systems. This is especially useful in large-memory systems and in clusters with common system disks where sufficient disk space is not always available on one disk to support customer dump file requirements.

Requirements for DOSD are somewhat different on Alpha and I64 systems than on VAX systems. On all systems, however, you must correctly enable the DUMPSTYLE system parameter to enable the bugcheck code to write the system dump file to an alternate device.

The following sections describe the requirements for DOSD on Alpha, I64, and VAX systems.

DOSD Requirements on Alpha and I64 Systems  

On Alpha and I64 systems, DOSD has the following requirements:

Designating the Dump Device on Alpha Systems

To designate the dump device with the DUMP_DEV environment variable, follow these steps:

  1. Display the value of BOOTDEF_DEV; for example:
     
    >>> SHOW BOOTDEF_DEV
    BOOTDEF_DEV             dub204.7.0.4.3,dua204.4.0.2.3
  2. Display the devices on the system as follows:
    >>> SHOW DEVICES
    Resetting IO subsystem...
     
    dua204.4.0.2.3     $4$DUA204 (RED70A)        RA72
    dua206.4.0.2.3     $4$DUA206 (RED70A)        RA72
    dua208.4.0.2.3     $4$DUA208 (RED70A)        RA72
     
    polling for units on cixcd1, slot 4, xmi0...
     
    dub204.7.0.4.3     $4$DUA204 (GRN70A)        RA72
    dub206.7.0.4.3     $4$DUA206 (GRN70A)        RA72
    dub208.7.0.4.3     $4$DUA208 (GRN70A)        RA72
    >>>
    In this example:
  3. To provide two paths to the system disk, with the dump disk as DUA208 (also with two paths), set DUMP_DEV as follows:
    >>> SET DUMP_DEV dua208.4.0.2.3,dub208.7.0.4.3,dub204.7.0.4.3,dua204.4.0.2.3 
    In this example, dua208.4.0.2.3 and dub208.7.0.4.3 are paths to the dump device; dub204.7.0.4.3 and dua204.4.0.2.3 are paths to the boot device.
  4. Display all environment variables on the system by entering the SHOW * command; for example:
    >>> SHOW *
    auto_action             HALT
    baud                    9600
    boot_dev		dua204.4.0.2.3
    boot_file
    boot_osflags            0,0
    boot_reset              ON
    bootdef_dev             dub204.7.0.4.3,dua204.4.0.2.3
    booted_dev		dua204.4.0.2.3
    booted_file
    booted_osflags          0,0
    cpu                     0
    cpu_enabled             ff
    cpu_primary             ff
    d_harderr               halt
    d_report                summary
    d_softerr               continue
    dump_dev		dua208.4.0.2.3,dub208.4.0.4.3,dub204.7.0.4.3,dua204.4.0.2.3 
    enable_audit            ON
    interleave              default
    language                36
    pal                     V5.48-3/O1.35-2
    prompt                  >>>
    stored_argc             2
    stored_argv0            B
    stored_argv1            dua204.4.0.2.3
    system_variant          0
    version                 T4.3-4740 Jun 14 2003 15:16:38
    >>>

After you complete this section, refer to " Enabling DOSD on Alpha and I64 Systems," which follows the next section.

Designating the Dump Device on I64 Systems

You can designate the dump device on I64 systems by using either of the following:


NoteHP recommends that you use the use the OpenVMS I64 Boot Manager Utility. (Use of the utility is optional for other devices but mandatory for Fibre Channel devices.) For more information on this utility, refer to the HP OpenVMS System Manager's Manual, Volume 1: Essentials.

Using the Boot Manager Utility BOOT_OPTIONS.COM

To designate the dump device with the DUMP_DEV environment variable from the OpenVMS DCL prompt, follow these steps:

  1. At the DCL prompt, enter the following command to invoke the OpenVMS I64 Boot Manager utility:
    $ @SYS$MANAGER:BOOT_OPTIONS.COM
  2. The utility starts by displaying the main menu. Set the utility to operate on the Dump Device Options list by entering D at the prompt:

    Enter your choice: D

    Sample output from adding an entry to the Dump Options list follows:
      OpenVMS I64 Boot Manager Dump Options List Management Utilities
      (1) ADD an entry to the Dump Options list
      (2) DISPLAY the Dump Options list
      (3) REMOVE an entry from the Dump Options list
      (4) MOVE the position of an entry in the Dump Options list
     
      (B)  Set to operate on the Boot Device Options list
      (D)  Set to operate on the Dump Device Options list
      (G)  Set to operate on the Debug Device Options list
     
      (E) EXIT from the Boot Manager utility
     
       You can also enter Ctrl-Y at any time to abort this utility.

    NoteWhile using this utility, you can change a response by typing the up-arrow (^) as many times as you need to. To end the program and return to the DCL prompt, enter Ctrl/Y.

  3. To designate the dump device on the DUMP_DEV environment variable, option, enter 1 at
    following prompt:

    Enter your choice:
    1
  4. The utility prompts you for the device name. Enter the device name of the DOSD device, as in the following example, in which the dump device is multipath fibre device DGA1:

    Enter the device name (Enter "?" for a list of devices): $1$DGA1
    efi$bcfg: $1$DGA1 (VMS_DUMP_DEV_01) Option successfully added
    efi$bcfg: $1$DGA1 (VMS_DUMP_DEV_02) Option successfully added
    efi$bcfg: $1$DGA1 (VMS_DUMP_DEV_03) Option successfully added
  5. Repeat steps 3 to 4 to add additional DUMP_DEV devices.
  6. When you have successfully added all DUMP_DEV options, exit from the utility by entering E at the following prompt:

    Enter your choice: E
  7. Reboot the system and refer to the section "Enabling DOSD on Alpha and I64 Systems."

Using the EFI Utilities for OpenVMS VMS_SET Command

You can use the EFI utilities for OpenVMS (I64 only) to specify the dump device environment variable DUMP_DEV at the EFI console prompt:

  1. Display the devices on the system as follows:
    Shell>
    FS0:\EFI\VMS\VMS_SHOW DEVICE

    VMS: EIA0 0-30-6E-39-F7-A5
    EFI:Acpi(000222F0,0)/Pci(3|0)/Mac(00306E39F7A5
    VMS: DKA0 HP 18.2GATLAS10K3_18_SCAHP05
    EFI: Acpi(000222F0,100)/Pci(1|0)/Scsi(Pun0,Lun0)
    VMS: DKB400 HP 18.2GST318406LC HP05
    EFI: fs2: Acpi(000222F0,100)/Pci(1|1)/Scsi(Pun4,Lun0
    VMS: DKB200 HP 18.2GST318406LC HP05
    EFI: fs1: Acpi(000222F0,100)/Pci(1|1)/Scsi(Pun2,Lun0)
    VMS: DKB0 HP 18.2GATLAS10K3_18_SCAHP05
    EFI: fs0: Acpi(000222F0,100)/Pci(1|1)/Scsi(Pun0,Lun0)
    VMS: EWA0 0-30-6E-39-77-3
    EFI: Acpi(000222F0,100)/Pci(2|0)/Mac(00306E39773D


    In this example:
  2. Set DUMP_DEV as follows:
    Shell>
    FS0:\EFI\VMS\VMS_SET DKA0, DKB0, DKB200VMS: DKA0 HP 18.2GATLAS10K3_18_SCAHP05EFI:
    Acpi(000222F0,100)/Pci(1|0)/Scsi(Pun0,Lun0)
    VMS: DKB0 HP 18.2GATLAS10K3_18_SCAHP05EFI: fs0:
    Acpi(000222F0,100)/Pci(1|1)/Scsi(Pun0,Lun0)
    VMS: DKB200 HP 18.2GST318406LC HP05EFI: fs1:
    Acpi(000222F0,100)/Pci(1|1)/Scsi(Pun2,Lun0)

After you complete this section, refer to the next section.  

Enabling DOSD on Alpha and I64 Systems

 

Finally, enable the DOSD bit of the DUMPSTYLE system parameter by setting bit 2. For example, enter the value of 4 at the SYSBOOT> prompt to designate an uncompressed physical dump to an alternate disk with minimal console output:

SYSBOOT> SET DUMPSTYLE 4
The HP OpenVMS System Management Utilities Reference Manual and online help contain details about the DUMPSTYLE system parameter.
NoteThe error log dump file is always created on the system disk so that error log buffers can be restored when the system is rebooted. This file is not affected by setting the DUMPSTYLE system parameter or the DUMP_DEV environmental variable.

The system chooses the first valid device that it finds in the list as the dump device. Therefore, the dump disk path entries must appear before the system disk entries in the list.

On Alpha systems, the number of devices that can be included in DUMP_DEV is limited. This limit varies from platform to platform, and it also depends on the device configuration. Some platforms allow only a single device; others allow a list. Systems that allow a list of devices limit the length of the list to 256 bytes in the internal format that the console subsystem uses. This length provides space for 4 entries if SCSI or CI-based disks are used, and 8 to 9 entries if fibre-channel disks are used.

On I64 systems, up to 99 devices can be included in DUMP_DEV, regardless of platform or device configuration.


DOSD Requirements on VAX Systems  

On VAX systems, DOSD has the following requirements:


NoteTo restore error log buffers when the system is rebooted after a system crash, the error logs must be saved on the system disk. For this purpose, AUTOGEN creates a SYSDUMP.DMP file on the system disk; the file is large enough to contain the maximum size of error log buffers.


go to previous page: Writing the System Dump File to the System Disk Writing the System Dump File to the System Disk
go to next page: Using SDA to Analyze the Contents of a Crash DumpUsing SDA to Analyze the Contents of a Crash Dump