command line. The default is false. This option is available on every DRD command except drd runcmd.

-x reboot={truefalse}

If true, specifies the system is rebooted at the successful completion of a drd activate operation. The default is false.

-x verbosity=3 (Default.)

Specifies the level of stdout/stderr verboseness. Replace 3 with the following values:

0Only ERRORS and the starting/ending BANNER messages.

1Adds WARNING messages.

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.2 The drd clone command

The drd-clone(1M) command creates a copy of the volume group containing the root file system (/). It does not clone the entire disk configuration.

The drd clone command:

Creates Extensible Firmware Interface (EFI) partitions on HP-UX Integrity systems.

Creates boot records.

Copies the EFI/HPUX/AUTO file from the active to inactive system image under control of the

–x copy_autofile option.

Creates a new LVM volume group, or VxVM disk group and a volume, in the new group for each volume in the root volume group. The volume management type of the clone matches that of the root group

Configures swap and dump volumes.

Copies the contents of each file system in the root volume group to the corresponding file system in the new group.

Modifies particular files on the clone that identify the disk on which the volume group resides.

For LVM-based systems, modifies volume group metadata on the clone so that the volume group name is the same as the original root volume group when the clone is booted.

The drd clone command performs the following checks:

If the disk is currently in use by the LVM Manager, it is rejected by the drd clone operation.

If the disk is currently in use by the VxVM Manager, it will be accepted only if the following two conditions are met:

The disk is an inactive image managed by DRD

The extended option -x overwrite=true is specified on the drd clone command

If the disk is not currently in use by LVM or VxVM, but contains LVM, VxVM, or boot records, it is only accepted as a drd clone target if -x overwrite=true is specified on the drd clone command.

NOTE: A selected target disk will not be overwritten if it is part of the root volume. However, the drd clone command will overwrite swap or raw data disks—it does not detect this type of usage. For example, any raw disks in use by databases would be overwritten if given as the target clone disk.

When run with the -x overwrite extended option set to true, the drd clone command overwrites any existing data on the target disk. If the target disk contains a mounted inactive system image, run the drd umount command before attempting another clone operation with -x overwrite=true. If other volume groups (not related to DRD) reside on the target disk and you want to overwrite them, use the vgexport(1M) command first to remove any knowledge of them from the booted system.

When run with the -x mirror_disk=block_device_special_file, you must specify the target's block device special file of the mirror disk. The block device special file should refer to an entire disk, not to a partition. For a system with an LVM root, this option requires that LVM mirroring

A.1 DRD command syntax 51

Page 51
Image 51
HP Dynamic Root Disk (DRD) manual Drd clone command, Reboot=truefalse, Verbosity=3 Default, Copyautofile option