HP Only Dynamic Root Disk - DRD |
Description |
Product to clone root disk. Allows new product installation, removal, patching, file system and volume group modiflcations. Can be used with Ignite, Service Guard, Vpars, Npars and SWA |
Product Requirements |
HP-UX 11.23 on Judy-lib SW-DIST |
Verify Product |
# Swlist -l product DynRootDisk DRDRootDisk A.1.1.0.344 DRDRootDisk.DRD A.1.1.0.344 Be sure to install the latest patches |
Identifying Boot Disk |
# lvlnboot -v note device file of primary and mirror |
Identifying a free disk |
Disk can not be currently used, managed lvm or vxvm. Must be the same size as the root disk To Determine minimum size # vgdisplay -v vg00 total (PE) X (PE Size) = minsize
11.23 # ioscan -fnC disk # for i in 'ls /dev/dsk/*' > do > pvdisplay -l $i | grep no > done # vxdisk -o alldgs list 11.31 # ioscan -m lun # for i in 'ls /dev/disk*' > do > pvdisplay -l $i | grep no > done # vxdisk -o alldgs list Select from the list of unused disk insuring space is the same or greater |
Clone Process |
Always preview the clone - can save 30mins For 11.31 replace /dsk/cxtyd0 with /disk/diskxx
# drd clone -p -v -t /dev/dsk/cxtyd0 5 mins - check for errors. # drd clone -v -t /dev/dsk/cxtyd0 ~ 30 mins check logs # more /var/opt/drd/drd.log 11.23 If you get a no Q_BOOT disk error message drd clone -x overwrite=true -t /dev/dsk/cxtyd0 11.31 If you get a no Q_BOOT disk error message You must have legacy device files installed even If they are not being used and use overwrite
# insf -L # drd clone -x overwrite=true -t /dev/disk/diskx |
Mount Cloned Imesage |
# drd mount # vgdisplay -v Note vg00 and vgdrd only difference device files # bdf Note vgdid is mounted under /var/opt/drd/mnts/sysimage_001/dir files there can be accessed or modified like any other file system # drd umount to unmount |
Swintall/swremove on a Clone |
Process to be used for installing a product or patching a cloned image. Bootd off primary # drd mount # drd runcmd swintall -s patch_sys Patch # drd runcmd swlist -l product Patch # drd runcmd swverify Patch Note To remove a product or patch replace swinstall with swremove |
Activationg a Cloned Image |
This pre-suposes you have a cloned image. # setboot -v note your boot path # lvlnboot -v will list both vg00 and drd00 #drd activate -x reboot=true Note System will shtdown and reboot off clone when rebooted check boot path # setboot -v note your boot pth difference # lvlnboot -v note difference from previous |
Deactivating a Cloned Image |
# drd deactivate two steps # shutdown -r -y 0 or reboot |
'HPE' 카테고리의 다른 글
HPE 3PAR 구성 방법 (0) | 2020.06.23 |
---|---|
HP-UX LVM (0) | 2019.06.03 |
HP VM 구성방법 (0) | 2018.06.13 |