HP Dynamic Root Disk (DRD) manual Table of Contents

Page 3

Table of Contents

 

1 About Dynamic Root Disk

7

1.1 Conceptual overview

7

1.2

Terminology

7

1.3 Commands overview

7

1.4 Downloading and installing Dynamic Root Disk

8

2 Cloning the active system image

9

2.1 The active system image

9

2.2

Locating disks

9

2.2.1 Locating disks on HP-UX 11i v2 systems

9

2.2.2 Locating disks on HP-UX 11i v3 Integrity systems

10

2.3

Choosing a target disk

12

2.4

Using other utilities to determine disk availability

12

2.5

Using DRD for limited disk availability checks

12

2.6

Using drd clone to analyze disk size

13

2.7

Creating the clone

13

2.8

Adding or removing a disk

16

3 Updating and maintaining software on the clone

17

3.1 DRD-Safe commands and Packages

17

3.2

Updating and managing patches with drd runcmd

18

3.2.1 DRD-Safe patches and the drd_unsafe_patch_list file

18

3.2.2 Patches with special installation instructions

19

3.3

Updating and managing products with drd runcmd

19

3.4

Special considerations for firmware patches

19

3.5 Restrictions on update-uxand sw* commands invoked by drd runcmd

19

3.6

Viewing logs

20

4 Accessing the inactive system image

21

4.1 Mounting the inactive system image

21

4.2 Performing administrative tasks on the inactive system image

22

4.3 Unmounting the inactive system image

24

5 Synchronizing the inactive clone image with the booted system

27

5.1 Overview

27

5.2 Quick start—basic synchronization

27

5.3

The drd sync command

28

5.3.1 Determining the list of files in the booted volume group

28

5.3.2 Trimming the list of files to be synchronized

28

5.3.3 Copying the files to the inactive clone image

30

5.4

Using the drd sync preview to determine divergence of the clone from the booted system

30

5.5 drd sync system shutdown script

31

6 Activating the inactive system image

33

6.1 Preparing the inactive system image to activate later

33

6.2 Undoing activation of the inactive system image

35

Table of Contents

3

Image 3
Contents Dynamic Root Disk A.3.10.* Administrators Guide Document Part Number DRD Version Supported Operating Systems Table of Contents Glossary Index Troubleshooting DRD Support and other resourcesDRD commands Rehosting and unrehosting systemsList of Figures List of Examples Terminology Commands overviewAbout Dynamic Root Disk Conceptual overviewDownloading and installing Dynamic Root Disk Locating disks on HP-UX 11i v2 systems Cloning the active system imageActive system image Locating disks# /usr/sbin/ioscan -fnkC disk Locating disks on HP-UX 11i v3 Integrity systems# /usr/sbin/ioscan -m dsf Using other utilities to determine disk availability Using DRD for limited disk availability checksChoosing a target disk Creating the clone Using drd clone to analyze disk sizeCloning the active system image Success Error Example 2-7 The drd clone command outputAdding or removing a disk Example 2-8 The drd clone command output for SAN 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 Mounting the inactive system image Accessing the inactive system imagePerforming administrative tasks on the inactive system image Enter the patches into a file such as Unmounting the inactive system image Compare vxconfigbackup with the clone copyUnmounting the inactive system image Page Quick start-basic synchronization OverviewDrd 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 Preparing the inactive system image to activate later Activating the inactive system image# /opt/drd/bin/drd activate Undoing activation of the inactive system image # /usr/bin/more /stand/bootconf l /dev/dsk/c2t0d0s2Activating the inactive system image Undoing activation of the inactive system image Page Rehosting and unrehosting systems Rehosting overviewRehosting examples Example 7-1 Provisioning a new system Rehosting a mirrored image# rm /var/opt/drd/registry/registry.xml Unrehosting overviewPage Troubleshooting DRD Page Contacting HP Support and other resourcesNew and changed information in this edition Locating this guideRelated information Typographic conventions Find1 Page DRD commands DRD command syntaxDrd activate command Logverbosity=4 HAalternatebootdisk=blockdevicespecialfileIgnoreunmountedfs=truefalse Logfile=/var/opt/drd/drd.logCopyautofile option Drd clone commandReboot=truefalse Verbosity=3 DefaultCopyautofile=truefalseblockdevicespecialfile TtargetdevicefileEnforcedsa=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 Usr/sbin/swlist -l file, or Drd sync commandExcludelist= Drd umount commandAlternatebootdisk=blockdevicespecialfile Drd unrehost command Fsysteminformationfile Mirrordisk=blockdevicespecialfile Page Glossary Booted systemSystem image Index Idisk partition, 10, 11 inactive system file system