Dynamic Root Disk A.3.13* Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (766142-001, March 2014)
Contents
HP secure development lifecycle......................................................................5
1 About Dynamic Root Disk............................................................................6
Conceptual overview.................................................................................................................6
Terminology.............................................................................................................................6
Commands overview.................................................................................................................6
Downloading and installing Dynamic Root Disk ...........................................................................8
2 Cloning the active system image...................................................................9
The active system image............................................................................................................9
Locating disks..........................................................................................................................9
Locating disks on HP-UX 11i v2 systems...................................................................................9
Locating disks on HP-UX 11i v3 Integrity systems.....................................................................10
Choosing a target disk............................................................................................................11
Using other utilities to determine disk availability........................................................................12
Using DRD for limited disk availability checks.............................................................................12
Using drd clone to analyze disk size.........................................................................................13
Creating the clone..................................................................................................................13
Adding or removing a disk......................................................................................................16
3 Updating and maintaining software on the clone..........................................17
DRD-Safe commands and Packages..........................................................................................17
Updating and managing patches with drd runcmd......................................................................18
DRD-Safe patches and the drd_unsafe_patch_list file...............................................................18
Patches with special installation instructions...........................................................................19
Updating and managing products with drd runcmd ...................................................................19
Special considerations for firmware patches...............................................................................19
Restrictions on update-ux and sw* commands invoked by drd runcmd...........................................19
Viewing logs..........................................................................................................................20
4 Accessing the inactive system image...........................................................21
Mounting the inactive system image..........................................................................................21
Performing administrative tasks on the inactive system image........................................................22
Unmounting the inactive system image......................................................................................24
5 Synchronizing the inactive clone image with the booted system......................26
Overview..............................................................................................................................26
Quick start—basic synchronization............................................................................................26
The drd sync command...........................................................................................................27
Determining the list of files in the booted volume group...........................................................27
Trimming the list of files to be synchronized...........................................................................27
Copying the files to the inactive clone image.........................................................................29
Using the drd sync preview to determine divergence of the clone from the booted system.................29
drd sync system shutdown script................................................................................................29
6 Activating the inactive system image...........................................................31
Preparing the inactive system image to activate later...................................................................31
Undoing activation of the inactive system image.........................................................................33
7 Rehosting and unrehosting systems..............................................................36
Rehosting overview.................................................................................................................36
Rehosting examples................................................................................................................36
Rehosting a mirrored image.....................................................................................................37
Unrehosting overview..............................................................................................................38
Contents 3