HP Dynamic Root Disk (DRD) manual Drd status command

Page 62

A.1.7 The drd status command

The drd-status(1M) command displays system-specific information about the clone (the inactive system image) and the original disk (the active system image). The drd-statuscommand provides the following convenient information:

Clone Disk – specifies the target disk used to create the clone of the original image.

Clone Disk State – reports whether the boot loader, AUTO file, and SYSINFO.TXT file (Itanium® only) are present on the clone disk.

Date Created – specifies when the clone image was created.

Clone Mirror Disk – indicates “None” if the clone does not have a mirror, or lists the device special file of the mirror disk.

Mirror Disk State – reports whether the boot loader, AUTO file, and SYSINFO.TXT file (Itanium® only) are present on the mirror disk.

Original Disk – specifies which disk the original image is on.

Original Disk State – reports whether the boot loader, AUTO file, and SYSINFO.TXT file (Itanium® only) are present on the original disk.

Booted Disk – specifies which disk is currently booted.

Activated Disk – upon reboot, the system will boot off this disk.

NOTE: Disk State varies depending on the system's architecture. The drd status command will list either LIF Area or EFI Partition instead of Disk State. For Itanium® systems, the Disk State will report whether the personality file, SYSINFO.TXT, exists on the specified disk. This file is used to rehost a disk. See the drd-rehost(1M) man page for more information.

Disk State varies depending on the system's architecture. The drd status command lists either Clone LIF Area or Clone EFI Partition.

The drd status command syntax is:

drd status [-?] [-q] [-v] [-x extended option=value] [-x -?] [-X option_file]

Options

-?

Displays the usage message for a DRD command. This option cannot be used with other options.

-q

Decreases the verbosity level by one each time it is specified. For example, -qqwill reduce the verbosity from the default value of 4 to 2. If both -x verbosity=5 and -qqqare included on the command line, the effective verbosity is 2. The minimum verbosity level is 0. (See also the -x verbosity option.)

-v

Increases the verbosity level by one each time it is specified. For example, -vwill increase the effective verbosity from the default value of 4 to 5. If both -x verbosity=1 and -vvare included on the command line, the effective verbosity is 3. The maximum verbosity level is 5. (See also the -x verbosity option.)

-xextended_option=value

Sets the extended option to a value.

-x -?

Displays the list of possible -x(extended) options.

-Xoption_file

Gets the extended options from a file.

Extended options

The following extended options are available:

62 DRD commands

Image 62
Contents Dynamic Root Disk A.3.10.* Administrators Guide Document Part Number DRD Version Supported Operating Systems Table of Contents Rehosting and unrehosting systems Troubleshooting DRD Support and other resourcesDRD commands Glossary IndexList of Figures List of Examples Conceptual overview Commands overviewAbout Dynamic Root Disk TerminologyDownloading and installing Dynamic Root Disk Locating disks Cloning the active system imageActive system image Locating disks on HP-UX 11i v2 systemsLocating disks on HP-UX 11i v3 Integrity systems # /usr/sbin/ioscan -fnkC disk# /usr/sbin/ioscan -m dsf Choosing a target disk Using other utilities to determine disk availabilityUsing DRD for limited disk availability checks Using drd clone to analyze disk size Creating the cloneCloning the active system image Example 2-7 The drd clone command output Success ErrorExample 2-8 The drd clone command output for SAN disk Adding or removing a diskUpdating and maintaining software on the clone DRD-Safe commands and PackagesSwinstall Swremove Swlist Swmodify Swverify Swjob DRD-Safe patches and the drdunsafepatchlist file Kctune Update-ux View Kcmodule Kconfig Mkkernel Swm jobUpdating and managing patches with drd runcmd Special considerations for firmware patches Patches with special installation instructionsUpdating and managing products with drd runcmd Viewing logs Accessing the inactive system image Mounting the inactive system imagePerforming administrative tasks on the inactive system image Enter the patches into a file such as Compare vxconfigbackup with the clone copy Unmounting the inactive system imageUnmounting the inactive system image Page Overview Quick start-basic synchronizationTrimming the list of files to be synchronized Drd sync commandDetermining the list of files in the booted volume group Files that have changed on the clone Copying the files to the inactive clone image Drd sync system shutdown script Page Activating the inactive system image Preparing the inactive system image to activate later# /opt/drd/bin/drd activate # /usr/bin/more /stand/bootconf l /dev/dsk/c2t0d0s2 Undoing activation of the inactive system imageActivating the inactive system image Undoing activation of the inactive system image Page Rehosting examples Rehosting and unrehosting systemsRehosting overview Rehosting a mirrored image Example 7-1 Provisioning a new systemUnrehosting overview # rm /var/opt/drd/registry/registry.xmlPage Troubleshooting DRD Page Support and other resources Contacting HPRelated information Typographic conventions New and changed information in this editionLocating this guide Find1 Page Drd activate command DRD commandsDRD command syntax Logfile=/var/opt/drd/drd.log HAalternatebootdisk=blockdevicespecialfileIgnoreunmountedfs=truefalse Logverbosity=4Verbosity=3 Default Drd clone commandReboot=truefalse Copyautofile optionTtargetdevicefile Copyautofile=truefalseblockdevicespecialfileEnforcedsa=truefalse Drd deactivate command Drd mount command Example A-1 File system mount points Drd rehost command Devicespecialfile -v-xextended option=value -x-?-Xoptionfile Extended options Drd runcmd command Extended options Drd status command Alternatebootdisk=blockdevicespecialfile Drd sync command Usr/sbin/swlist -l file, orDrd umount command Excludelist=Alternatebootdisk=blockdevicespecialfile Drd unrehost command Fsysteminformationfile Mirrordisk=blockdevicespecialfile Page Booted system GlossarySystem image Index Idisk partition, 10, 11 inactive system file system