How To Clone vg00 Using Dynamic Root Disk - Wiki-UX - Info
How To Clone vg00 Using Dynamic Root Disk - Wiki-UX - Info
Main Page Manual Archive Training material Upload Files Current events Recent changes Special Pages
Help
Master DB
Programación Avanzada SQL Gobernanza de la Información Afinamiento de Base de Datos
HP-UX
Backup Commands Dynamic Root Disk Extensible Firmware Interface Fibre Channel File Systems Integrity
Virtual Machines Jetdirect Logical Volume Manager LP Spooler Patch Management Swap IT Resource
Center Technical documentation (docs.hp.com)
Networking
Auto Port Aggregation CIFS Domain Name System File Transfer Protocol Kerberos Lightweight Directory
Access Protocol
Linux
Languages
Perl
Software
BSC HP-UX core docs BSC Internet and Security Solutions BSC Software deployment BSC HP-UX Virtual
Partitions HP-UX 11i Operating Environments (OEs) HP-UX 11i versions and their lifecycle dates HP-UX
Operating System Release History HP Software Releases & Media HP-UX Performance and Analysis Tools
Porting and Archiving Centre for HP-UX Software Download Third Party Products
Hardware
BCS AB300 Server Console Solution BCS HP 9000 Servers BCS HP BladeSystem c-Class Enclosures BCS
HP Carrier-Grade Blade Server bh Series BCS HP Carrier-Grade cc2300/cc33xx Servers BCS HP Integrity
BL Server Blades BCS HP Integrity cx26xx Servers BCS HP Integrity Servers BCS HP Proliant Servers
BCS Microsoft Windows Server on HP Integrity Servers Discontinued HP 9000 servers Hardware
Compatibility Supported Systems
Other
Author's Corner Just for Fun US Naval Observatory Master Clock Time
Webmaster
Bing Toolbox GoDaddy Hosting Control Center Google Webmastertools Yahoo Siteexplorer Contact
Administrator Categories Edit Breadcrumbs Edit Pulldown Menu HTML Standards
Abstract
This article explains how to use Dynamic Root Disk (DRD) to clone an HP-UX Operating Environment LVM
system boot drive to an inactive disk. Once the volume group and boot configuration are duplicated into the target
device, some of the following actions can be done:
1. It performs system maintenance on the clone while the HP-UX 11i system is online
2. It reboots quickly during off-hours after the desired changes have been made, significantly reducing system
downtime
3. It utilizes the clone for system recovery, if needed
4. It rehosts the clone in another system for testing or provisioning purposes in the following devices:
♦ Integrity Virtual Machines (Integrity VMs) running either HP-UX 11i v3 LVM or HP-
UX 11i v2 LVM
♦ Integrity server blades running HP-UX 11i v3 LVM
5. It performs an OE Update on the clone from an older version of HP-UX 11i v3 to HP-UX 11i v3 update 4 or
later
Another normal application of this procedure is to migrate the system bootable drive to larger hard drives avoiding
LVM 1.0 Physical Volume restrictions imposed at /dev/vg00 creation time.
Contents
1 Abstract
2 Procedure
3 Clone a single disk /dev/vg00
4 Boot from the alternate disk
5 Test the current boot enviroment
6 Return to the previous boot enviroment
7 References
8 Authors
9 Editor
Procedure
For this example, an HP-UX 11i v3 (11.31) system is used, /dev/vg00 is made of physical volume
/dev/disk/disk12 that employs LVM mirroring to /dev/disk/disk7 (utilizing agile view nomenclature). The
available disk is /dev/disk/disk10 the same size as the /dev/vg00 disks.
# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk12
# setboot
Primary bootpath : 0/1/1/0.0x1.0x0 (/dev/rdisk/disk12)
Autoboot is ON (enabled)
Autosearch is ON (enabled)
======= 12/10/07 15:16:51 CST END Clone System Image succeeded. (user=root)
(jobid=delta)
# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk10
boot_string:
boot_string:
disk(0/1/1/1.13.0.0.0.0.0;0)/stand/vmunix
# setboot
Primary bootpath : 0/1/1/1.0xd.0x0 (/dev/rdisk/disk10)
Alternate bootpath : 0/1/1/1.0x0.0x0 (/dev/rdisk/disk7)
Autoboot is ON (enabled)
Autosearch is ON (enabled)
# ioscan -m hwpath
Lun H/W Path Lunpath H/W Path Legacy H/W Path
====================================================================
64000/0xfa00/0x0
0/1/1/1.0x0.0x0 0/1/1/1.0.0
64000/0xfa00/0x1
0/1/1/1.0x9.0x0 0/1/1/1.9.0
64000/0xfa00/0x2
0/1/1/1.0xb.0x0 0/1/1/1.11.0
64000/0xfa00/0x3
0/1/1/1.0xd.0x0 0/1/1/1.13.0
64000/0xfa00/0x4
0/1/1/1.0xf.0x0 0/1/1/1.15.0
64000/0xfa00/0x5
0/1/1/0.0x1.0x0 0/1/1/0.1.0
64000/0xfa00/0x6
0/0/3/0.0.0x0.0x0 0/0/3/0.0.0.0
NOTE: The strings commands show that the volume group /dev/vg00 is pointing to /dev/disk/disk10.
NOTE: The setboot command shows that the NVRAM changes the primary boot path to 0/1/1/1.13 that
corresponds to Lun Hardware Path 64000/0xfa00/0x3 the correct path for /dev/disk/disk10.
NOTE: Do not use /opt/drd/bin/drd deactivate -x reboot=true to return to the boot configuration. The default
behavior of the deactivate command option is to set the current booted image as the default boot image.
References
Dynamic Root Disk (DRD) (http://h71028.www7.hp.com/enterprise/w1/en/os/hpux11i-system-management-
dynamic-root-disk.html) - For system admininstrators: cloning for fast, safe maintenance
Dynamic Root Disk and MirrorDisk/UX (http://docs.hp.com/en/5992-1910/5992-1910.pdf)
Using Dynamic Root Disk to Clone Integrity Virtual Machines (http://docs.hp.com/en/5992-4803/5992-480
3.pdf)
Dynamic Root Disk Administrator's Guide: HP-UX 11i v2, HP-UX 11i v3 (http://docs.hp.com/en/5992-659
0/5992-6590.pdf)
Authors
Alejandro Marin Badilla
Editor
Jessica Fallas