Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Dynamic Root Disk Administrator's Guide: HP-UX 11i v2, HP-UX 11i v3 > Chapter 1 About Dynamic Root Disk

Commands Overview

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The drd command provides a command line interface to DRD tools. The drd command has nine major modes of operation:

  • activate  After using the DRD commands to create and optionally modify a clone, using drd activate invokes setboot(1M) and sets the primary boot path to the clone. After the clone is booted, using drd activate invokes setboot(1M) to set the primary boot path to the original system image. The drd activate command always sets the primary boot path to the inactive (not booted) system image.

  • clone  Clones a booted system to an inactive system image. The drd clone mode copies the LVM volume group or VxVM disk group, containing the volume on which the root file system (“/”) is mounted, to the target disk specified in the command.

  • deactivate  If the drd activate command (which invokes setboot(1M)) has previously been utilized and set the clone as the primary boot path, but the system has not yet been rebooted, the drd deactivate command can be used to “undo” the drd activate command. That is, the drd deactivate command will set the original system image to be the primary boot path. The drd deactivate command always sets the primary boot path to the active (currently booted) system image.

  • mount  Mounts all file systems in an inactive system image. The mount point of the root file system is either /var/opt/drd/mnts/sysimage_000 or /var/opt/drd/mnts/sysimage_001. If the inactive system image was created by the most recent drd clone command, the mount point of the root file system is /var/opt/drd/mnts/sysimage_001. If the inactive system image was the booted system when the most recent drd clone command was run, the mount point of the root file system is /var/opt/drd/mnts/sysimage_000.

  • rehost  Copies the specified system information file—containing hostname, IP address, and other system-specific information—to EFI/HPUX/SYSINFO.TXT on the disk to be rehosted.

  • runcmd  Runs a command on an inactive system image. Only a select group of commands may be run by the runcmd mode. These are commands that have been verified to have no effect on the booted system when executed by drd runcmd. Such commands are referred to as DRD-safe. The commands kctune, swinstall, swjob, swlist, swmodify, swremove, swverify, and view are currently certified DRD-safe. An attempt to execute any other command will result in a runcmd error. In addition, not every software package may safely be processed by sw* commands. The DRD-safe SW-DIST commands are aware of running in a DRD session and will reject any unsafe packages. For more information about DRD-safe packages, see drd-runcmd(1M).

    NOTE: The drd runcmd command suppresses all reboots. The option -x autoreboot is ignored when a swinstall or swremove command is executed by drd runcmd.
  • status  Displays (system-specific) status information about the original disk and the clone disk, including which disk is currently booted and which disk is activated (that is, the disk that will be booted when the system is restarted).

  • umount  Unmounts all file systems in the inactive system image previously mounted by a drd mount command.

  • unrehost  Removes the system information file, EFI/HPUX/SYSINFO.TXT, from a disk that was rehosted, optionally preserving a copy in a file system on the booted system.

For details of DRD commands syntax, including all options and extended options, see DRD Commands.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.