Dynamic Root Disk: Quick Start & Best Practices

15
update, and providing a quick backup mechanism if you wish to restore the system to HP-UX 11i v2
for any reason. For this scenario, our setup is as follows:
Original image: /dev/dsk/c0t0d0 (with HP-UX 11i v2 installed)
Clone disk: /dev/dsk/c1t0d0
What to apply: HP-UX 11i v3 Update 4, Virtual Server OE
Depot with patches: depot_svr:/var/depots/1131_VSE-OE
Version of DRD: B.11.31.A.3.3 or later
Objective: Utilize DRD to help adjust file system sizes and provide a quick backup mechanism when
performing an HP-UX 11i v2 to v3 update.
BP4: Overview of Steps
1. Create the clone: drd clone t /dev/dsk/c1t0d0
2. Use drd status to view the clone: drd status
3. Run update-UX in preview mode on the active disk: update-ux -p -s \
depot_svr:/var/depots/1131 HPUX11i-VSE-OE
4. Adjust file system sizes on the clone as needed (see BP4: Additional Considerations below for
more information)
5. Create a shutdown script that runs drd sync so that files changed on the original image after
the clone was created will be propagated to the clone (see the “DRD sync” section below for more
details)
6. Activate and boot the clone, setting the alternate boot disk to the HP-UX 11i v2 disk:
7. drd activate -x alternate_bootdisk=/dev/dsk/c0t0d0 -x reboot=true
8. Update the active image to HP-UX 11i v3, Virtual Server OE: update-ux -s \
depot_svr:/var/depots/1131_VSE-OE HPUX11i-VSE-OE
9. Note that there will be a reboot executed at this time.
10. Ensure that the software is installed properly: swverify \*
11. Verify all software has been updated to the HP-UX 11i v3 version: swlist
12. Ensure the integrity of your updated system by checking the following log files:
/var/adm/sw/update-ux.log and /var/opt/swm/swm.log
BP4: Additional Considerations
Recommended Actions Prior to Update
Prior to updating a system to HP-UX 11i v3, you need to ensure the system being updated supports
HP-UX 11i v3 including the required firmware, storage devices, 3
rd
party applications, etc. HP has
created a single website that contains all the information necessary to make sure a system is ready to
update to HP-UX 11i v3 at
http://www.hp.com/go/tov3. It is highly recommended that you follow the
steps on this Web page prior to updating a system to HP-UX 11i v3.
Once a system has been checked to ensure it is ready to update to HP-UX 11i v3, perform the
following two actions to complete your preparation work:
1. Run “swverify \*” and take action if there are any problems with existing packages or
patches.
2. Optional: Check for obsolete software on your system and delete software that is no longer used.
This will reduce time needed for update and prevent any problems with obsolete software. At the