HP Dynamic Root Disk (DRD) manual Downloading and installing Dynamic Root Disk

Page 8

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, update-ux, 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 the sw* and update-uxcommands. The DRD-safe update-uxand 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 an swinstall, swremove, or update-uxcommand 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).

sync Propagates file system changes from the booted original system to the inactive clone image.

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.

1.4 Downloading and installing Dynamic Root Disk

For up-to-date detailed instructions about downloading and installing the DRD product, see https:// h20392.www2.hp.com/portal/swdepot/displayInstallInfo.do?productNumber=DynRootDisk.

NOTE: Due to system calls DRD depends on, DRD expects legacy Device Special Files (DSFs) to be present and the legacy naming model to be enabled on HP-UX 11i v3 (11.31) servers. HP recommends only partial migration to persistent DSFs be performed. For details of migration to persistent DSFs, see theHP-UX 11i v3 Persistent DSF Migration Guide.

NOTE: On VxVM configurations, DRD expects OS Native Naming (osn) to be enabled. Enclosure Based Naming (ebn) must be turned off.

8About Dynamic Root Disk

Image 8
Contents Dynamic Root Disk A.3.10.* Administrators Guide Document Part Number DRD Version Supported Operating Systems Table of Contents Troubleshooting DRD Support and other resources DRD commandsRehosting and unrehosting systems Glossary IndexList of Figures List of Examples Commands overview About Dynamic Root DiskConceptual overview TerminologyDownloading and installing Dynamic Root Disk Cloning the active system image Active system imageLocating disks 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 HAalternatebootdisk=blockdevicespecialfile Ignoreunmountedfs=truefalseLogfile=/var/opt/drd/drd.log Logverbosity=4Drd clone command Reboot=truefalseVerbosity=3 Default 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