HP Dynamic Root Disk (DRD) manual Drd deactivate command

Page 54

2Adds NOTE messages.

3(Default) Adds INFO messages (informational messages preceded by the * character.)

4Adds verbose INFO messages.

5Adds additional detailed INFO messages.

A.1.3 The drd deactivate command

The drd-deactivate(1M) command invokes the setboot(1M) command to set the primary boot disk to the active (booted) system image the next time the system is booted.

NOTE: drd deactivate is a mechanism for “undoing” a drd activate command.

The drd deactivate command syntax is:

drd deactivate [-?] [-p] [-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.

-p

Sets preview mode. When run with the -poption, a DRD command performs analysis without running the command and reports any errors.

-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:

-x alternate_bootdisk=block_device_special_file

This is the alternate boot disk. The alternate boot disk must be specified as a block device special file.

-x HA_alternate_bootdisk=block_device_special_file

This is the High Availability alternate boot disk. The High Availability alternate boot disk must be specified as a block device special file. High Availability alternate boot disk is supported only on Itanium-based architecture and for PA-RISC systems that support hardware partitions.

-x ignore_unmounted_fs={truefalse}

(Default is false) Controls whether a clone fails when an unmounted file system in the root volume group is detected.

54 DRD commands

Image 54
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 Using other utilities to determine disk availability Using DRD for limited disk availability checksChoosing a target disk 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 diskDRD-Safe commands and Packages Swinstall Swremove Swlist Swmodify Swverify SwjobUpdating and maintaining software on the clone Kctune Update-ux View Kcmodule Kconfig Mkkernel Swm job Updating and managing patches with drd runcmdDRD-Safe patches and the drdunsafepatchlist file Patches with special installation instructions Updating and managing products with drd runcmdSpecial considerations for firmware patches 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 synchronizationDrd sync command Determining the list of files in the booted volume groupTrimming the list of files to be synchronized 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 and unrehosting systems Rehosting overviewRehosting examples 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 HPNew and changed information in this edition Locating this guideRelated information Typographic conventions Find1 Page DRD commands DRD command syntaxDrd activate command 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