Presentation is loading. Please wait.

Presentation is loading. Please wait.

Acknowledgements Dusan Baljevic These slides have been used in various presentations in Australia over the last four years. This is a work-in-progress.

Similar presentations


Presentation on theme: "Acknowledgements Dusan Baljevic These slides have been used in various presentations in Australia over the last four years. This is a work-in-progress."— Presentation transcript:

1 HP-UX 11iv3 Method to Set Up Multiple Clones with Dynamic Root Disk Dusan Baljevic 2014

2 Acknowledgements Dusan Baljevic These slides have been used in various presentations in Australia over the last four years. This is a work-in-progress. I bear full responsibility for any error, even though it is purely unintentional. I cannot claim credits solely, nor can I claim that I know everything about Unix. I consider myself to be a Unix Apprentice. For that reason I need to give special credits to our colleagues Nobuyuki Hirota (TCE&Q BCS ERT), Daniel Bambou (TC&Q BCS ERT), and Leon Strauss (GSE) for their continuous support, advice, comments, and guidance. Wisdom of many helped in creation of the presentation (seminars at HP, HPWorld, ITRC/HPSC forums, HP Ambassadors and Unix Profession forums, HP Education courses, individual contributions on the Net).

3 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 Initial scenario - HP-UX 11iv3 server with four disks. * Current boot disk is disk7: disk5 HP 73.4GMAU3073NC disk6 HP 146 GST LC disk7 HP 73.4GMAU3073NC disk9 MSA/P2000 VOLUME * Initial clone is disk5. * Then, we create another clone via DRD on disk6. * The question is: can we use the previous DRD clone disk5? The answer is: YES! Scenario with four disks: disk 7 (current boot disk) disk 5 disk6 Disk9 Initial clone is disk 5. Then, we create another clone on disk6. The question is: can we use disk 5?

4 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 # ioscan -funNC disk Class I H/W Path Driver S/W State H/W Type Description =================================================================== disk /0xfa00/0x0 esdisk CLAIMED DEVICE HP 73.4GMAU3073NC /dev/disk/disk5 /dev/rdisk/disk5 disk /0xfa00/0x1 esdisk CLAIMED DEVICE HP 146 GST LC /dev/disk/disk6 /dev/rdisk/disk6 disk /0xfa00/0x2 esdisk CLAIMED DEVICE HP 73.4GMAU3073NC /dev/disk/disk /dev/rdisk/disk7 /dev/disk/disk7_p1 /dev/rdisk/disk7_p1 /dev/disk/disk7_p2 /dev/rdisk/disk7_p2 /dev/disk/disk7_p3 /dev/rdisk/disk7_p3 disk /0xfa00/0x3 esdisk CLAIMED DEVICE TEAC DV-28E-N /dev/disk/disk8 /dev/rdisk/disk8 disk /0xfa00/0x6 esdisk CLAIMED DEVICE HP MSA VOLUME /dev/disk/disk9 /dev/rdisk/disk9

5 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 # drd clone -t /dev/disk/disk5 ======= 03/04/13 11:04:31 EDT BEGIN Clone System Image (user=root) (jobid=ia643)  * Reading Current System Information * Selecting System Image To Clone * Selecting Target Disk * Selecting Volume Manager For New System Image * Analyzing For System Image Cloning * Creating New File Systems * Copying File Systems To New System Image WARNING: The following files could not be copied to the clone. WARNING: This may be caused by updating files during the copy. WARNING: Uncopied file: /var/opt/hpvm/common/command.log * Copying File Systems To New System Image succeeded with 3 warnings. * Making New System Image Bootable * Unmounting New System Image Clone  ======= 03/04/13 11:44:49 EDT END Clone System Image succeeded with 3 warnings. (user=root) (jobid=ia643)

6 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 # drd status  ======= 03/04/13 11:45:09 EDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=ia643) * Clone Disk: /dev/disk/disk5 * Clone EFI Partition: AUTO file present, Boot loader present * Clone Rehost Status: SYSINFO.TXT not present * Clone Creation Date: /04/13 11:04:52 EDT * Last Sync Date: None * Clone Mirror Disk: None * Mirror EFI Partition: None * Original Disk: /dev/disk/disk7 * Original EFI Partition: AUTO file present, Boot loader present * Original Rehost Status: SYSINFO.TXT not present * Booted Disk: Original Disk (/dev/disk/disk7) * Activated Disk: Original Disk (/dev/disk/disk7)  ======= 03/04/13 11:45:28 EDT END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=ia643)

7 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 # drd clone -t /dev/disk/disk6 ======= 03/04/13 11:46:17 EDT BEGIN Clone System Image (user=root) (jobid=ia643) * Reading Current System Information * Selecting System Image To Clone * Selecting Target Disk * Selecting Volume Manager For New System Image * Analyzing For System Image Cloning * Creating New File Systems * Copying File Systems To New System Image WARNING: The following files could not be copied to the clone. WARNING: This may be caused by updating files during the copy. WARNING: Uncopied file: /var/opt/hpvm/common/command.log WARNING: Uncopied file: /var/opt/perf/datafiles/logdev * Copying File Systems To New System Image succeeded with 4 warnings. * Making New System Image Bootable * Unmounting New System Image Clone  ======= 03/04/13 12:34:52 EDT END Clone System Image succeeded with 4 warnings. (user=root) (jobid=ia643)

8 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 # drd status ======= 03/04/13 12:35:37 EDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=ia643)  * Clone Disk: /dev/disk/disk6 * Clone EFI Partition: AUTO file present, Boot loader present * Clone Rehost Status: SYSINFO.TXT not present * Clone Creation Date: /04/13 11:46:37 EDT * Last Sync Date: None * Clone Mirror Disk: None * Mirror EFI Partition: None * Original Disk: /dev/disk/disk7 * Original EFI Partition: AUTO file present, Boot loader present * Original Rehost Status: SYSINFO.TXT not present * Booted Disk: Original Disk (/dev/disk/disk7) * Activated Disk: Original Disk (/dev/disk/disk7) ======= 03/04/13 12:35:56 EDT END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=ia643)

9 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 # ioscan -m dsf Persistent DSF Legacy DSF(s) ======================================== /dev/pt/pt /dev/rscsi/c5t0d0 /dev/rscsi/c4t0d0 /dev/pt/pt /dev/rscsi/c6t0d0 /dev/rdisk/disk /dev/rdsk/c2t1d0 /dev/rdisk/disk5_p /dev/rdsk/c2t1d0s1 /dev/rdisk/disk5_p /dev/rdsk/c2t1d0s3 /dev/rdisk/disk5_p /dev/rdsk/c2t1d0s2 /dev/rdisk/disk /dev/rdsk/c2t0d0 /dev/rdisk/disk6_p /dev/rdsk/c2t0d0s1 /dev/rdisk/disk6_p /dev/rdsk/c2t0d0s2 /dev/rdisk/disk6_p /dev/rdsk/c2t0d0s3 /dev/rdisk/disk /dev/rdsk/c3t2d0 /dev/rdisk/disk7_p /dev/rdsk/c3t2d0s1 /dev/rdisk/disk7_p /dev/rdsk/c3t2d0s2 /dev/rdisk/disk7_p /dev/rdsk/c3t2d0s3 /dev/rdisk/disk /dev/rdsk/c0t0d0 /dev/rdisk/disk /dev/rdsk/c7t0d2

10 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 # ioscan -funneC disk Class I H/W Path Driver S/W State H/W Type Description ======================================================================= disk /0/2/ sdisk CLAIMED DEVICE TEAC DV-28E-N /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0 Acpi(HWP0002,0)/Pci(2|0)/Ata(Primary,Master) disk /1/1/ sdisk CLAIMED DEVICE HP 146 GST LC /dev/dsk/c2t0d0 /dev/rdsk/c2t0d0 /dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0s1 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s2 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s3 Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,SigFB4D90C E D6217B60E588)/\EFI\HPUX\HPUX.EFI disk /1/1/ sdisk CLAIMED DEVICE HP 73.4GMAU3073NC /dev/dsk/c2t1d0 /dev/rdsk/c2t1d0 /dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3 Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig25DEF F-11E D6217B60E588)/\EFI\HPUX\HPUX.EFI disk /1/1/ sdisk CLAIMED DEVICE HP 73.4GMAU3073NC /dev/dsk/c3t2d0 /dev/rdsk/c3t2d0 /dev/dsk/c3t2d0s1 /dev/rdsk/c3t2d0s1 /dev/dsk/c3t2d0s2 /dev/rdsk/c3t2d0s2 /dev/dsk/c3t2d0s3 /dev/rdsk/c3t2d0s3 Acpi(HWP0002,100)/Pci(1|1)/Scsi(Pun2,Lun0)/HD(Part1,SigB9B8E4CC-0CE1-11E D6217B60E588)/\EFI\HPUX\HPUX.EFI disk /4/1/ sdisk CLAIMED DEVICE HP MSA VOLUME /dev/dsk/c7t0d2 /dev/rdsk/c7t0d2 Acpi(HWP0002,400)/Pci(1|1)/Fibre(WWN500805F ,Lun

11 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 EFI Shell version 1.10 [14.62] Device mapping table fs0 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,SigFB4D90C E D6217B60E588) fs1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part3,SigFB4D90EA E D6217B60E588) fs2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig25DEF F-11E D6217B60E588) fs3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig25DEF F-11E D6217B60E588) fs4 : Acpi(HWP0002,100)/Pci(1|1)/Scsi(Pun2,Lun0)/HD(Part1,SigB9B8E4CC-0CE1-11E D6217B60E588) fs5 : Acpi(HWP0002,100)/Pci(1|1)/Scsi(Pun2,Lun0)/HD(Part3,SigB9B8E526-0CE1-11E D6217B60E588) blk0 : Acpi(HWP0002,0)/Pci(2|0)/Ata(Primary,Master) blk1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0) blk2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,SigFB4D90C E D6217B60E588) blk3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part2,SigFB4D90D E D6217B60E588) blk4 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part3,SigFB4D90EA E D6217B60E588) blk5 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0) blk6 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,Sig25DEF F-11E D6217B60E588) blk7 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,Sig25DEF32C-845F-11E D6217B60E588) blk8 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,Sig25DEF F-11E D6217B60E588) blk9 : Acpi(HWP0002,100)/Pci(1|1)/Scsi(Pun2,Lun0) blkA : Acpi(HWP0002,100)/Pci(1|1)/Scsi(Pun2,Lun0)/HD(Part1,SigB9B8E4CC-0CE1-11E D6217B60E588) blkB : Acpi(HWP0002,100)/Pci(1|1)/Scsi(Pun2,Lun0)/HD(Part2,SigB9B8E512-0CE1-11E D6217B60E588) blkC : Acpi(HWP0002,100)/Pci(1|1)/Scsi(Pun2,Lun0)/HD(Part3,SigB9B8E526-0CE1-11E D6217B60E588) blkD : Acpi(HWP0002,400)/Pci(1|1)/Fibre(WWN500805F ,Lun ) startup.nsh> echo -off

12 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 fs2:\EFI\HPUX> hpux.efi After the reboot: # /usr/lbin/bootpath /dev/disk/disk5    # setboot -v Primary bootpath : 0/1/1/1.0x2.0x0 (/dev/rdisk/disk7) HA Alternate bootpath : 0/0/2/0.0.0x0.0x0 (/dev/rdisk/disk8) Alternate bootpath : 0/1/1/0.0x1.0x0 (/dev/rdisk/disk5) Autoboot is ON (enabled) TEST CURRENT DEFAULT all on on SELFTESTS on on early_cpu on on late_cpu on on FASTBOOT on on Platform on on Full_memory on on Memory_init on on IO_HW on on Chipset on on

13 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 # lvlnboot -v Boot Definitions for Volume Group /dev/vg00: Physical Volumes belonging in Root Volume Group: /dev/disk/disk5_p2 -- Boot Disk Boot: lvol1 on: /dev/disk/disk5_p2 Root: lvol3 on: /dev/disk/disk5_p2 Swap: lvol2 on: /dev/disk/disk5_p2 Dump: lvol2 on: /dev/disk/disk5_p2, 0 # drd status  ======= 03/04/13 15:03:21 EDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=ia643) * Clone Disk: /dev/disk/disk5 * Clone EFI Partition: AUTO file present, Boot loader present * Clone Rehost Status: SYSINFO.TXT not present * Clone Creation Date: /04/13 11:04:52 EDT * Last Sync Date: None * Clone Mirror Disk: None * Mirror EFI Partition: None * Original Disk: /dev/disk/disk7 * Original EFI Partition: AUTO file present, Boot loader present * Original Rehost Status: SYSINFO.TXT not present * Booted Disk: Clone Disk (/dev/disk/disk5) * Activated Disk: Original Disk (/dev/disk/disk7)  ======= 03/04/13 15:03:40 EDT END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=ia643)

14 HP-UX DRD Multiple Copies of Targets
HP Unix Professions Webcast May 2008 Final reboot to go back to the original disk: # /usr/lbin/bootpath /dev/disk/disk7 # drd status ======= 03/11/13 16:41:35 EDT BEGIN Displaying DRD Clone Image Information (user=root) (jobid=ia643) * Clone Disk: /dev/disk/disk6 * Clone EFI Partition: AUTO file present, Boot loader present * Clone Rehost Status: SYSINFO.TXT not present * Clone Creation Date: /04/13 11:46:37 EDT * Last Sync Date: None * Clone Mirror Disk: None * Mirror EFI Partition: None * Original Disk: /dev/disk/disk7 * Original EFI Partition: AUTO file present, Boot loader present * Original Rehost Status: SYSINFO.TXT not present * Booted Disk: Original Disk (/dev/disk/disk7) * Activated Disk: Original Disk (/dev/disk/disk7) ======= 03/11/13 16:41:54 EDT END Displaying DRD Clone Image Information succeeded. (user=root) (jobid=ia643)

15 HP Unix Professions Webcast October 2007
Thank You! Come back for other presentations at: or


Download ppt "Acknowledgements Dusan Baljevic These slides have been used in various presentations in Australia over the last four years. This is a work-in-progress."

Similar presentations


Ads by Google