Monday, December 7, 2015

How to change the boot device hardware path for a VPAR (HP-UX)


Note: These apply to VPARs versions 4.x/5.x . For the latest in case of any differences refer to the latest documents on the VPARs


How can we change the hardware path of the boot disk in a VPAR?


vpar2 is the VPAR whose disk we are going to migrate to a new hardware path location.

1) Note the present boot configuration of the VPAR vpar1

vpar2#vparstatus –p vpar2 –v --- note boot path and Autoboot and autosearch settings.

vpar2#setboot

vpar2#lvlnboot –v

vpar2#vgexport –p –v –s –m /stand/vg00.map /dev/vg00

vpar2#vgexport –p –f /stand/vg00_pv_list /dev/vg00

2) Shutdown the VPAR and remove the disk.

vpar2#shutdown –hy 00

3) Make changes to the VPDB from the other VPAR.

vpar1#vparmodify –p vpar2 –a io:new_io_path: –a io:new_io_path:boot

vpar1#vparmodify –p vpar2 –d io:old_io_path

4) Boot the VPAR from the VPMON.

MON>vparload –p vpar2 –o “-lq” –B <new_io_path>

5) After the VPAR has booted access the prompt of that VPAR and do a VGIMPORT and lvlnboot and setboot and if reqd vparefiutil.

No comments:

Post a Comment