HPUX 11.23: Steps for installing an image

Source: Internet
Author: User
Tags hpsp

 

The maximum difference between HPUX 11.23 and 11.22 When configuring the root disk image:

 

1. the HPSP partition is added.

The root disk of the 11.22 system is divided into only two partitions: EFI/HP-UX. In the 11.23 system, three partitions are divided, the content of the/tmp/partitionfile file is adjusted for EFI/HP-UX/HPSP when the idisk command is used to divide hard disk partitions.

 

2. The size of the EFI partition has increased from 100 MB to 500 mb.

 

 

The following describes how to configure the root disk image in HPUX 11.23:

 

 

How do you mirror vg00 on itanium systems that are running B .11.23?

 

Resolution

 

Note: There are differences in procedure between 11.22 and 11.23.

 

Please refer to kbrc00011156 for B .11.22.

 

1. From HPUX, use vgdisplay to identify the disk that is in vg00. use ioscan to find the spare disk.

 

# Vgdisplay-V --> vg00 is on/dev/DSK/c2t1d0s2 in this example

# Ioscan-efunc disk --> let's assume c3t2d0 for this example

 

2. Create the system, OS, and service partitions.

# Vi/tmp/partitionfile

3

EFI 500 mb

HPUX 100%

HPSP 400 mb

# Idisk-WF/tmp/partitionfile/dev/rdsk/c3t2d0

Idisk version: 1.31

********************* Warning ***************** ******

If you continue you may destroy all data on this disk.

Do you wish to continue (Yes/No )? Yes <-- answer "yes" and not "Y"

 

3. Create device files needed for the new partitions.

# Insf-EC Disk

 

4. Verify the partition table.

# Idisk/dev/rdsk/c3t2d0

 

5. Verify that the device files were created properly.

# Ioscan-efnc disk --> c3t2d0 is 0/1/1/1.2.0

 

6. populate the/EFI/HPUX/directory in the new EFI system partition.

# Mkboot-e-l/dev/rdsk/c3t2d0

 

7. Change the auto file for the mirror to boot without quorum.

Note: using "S1"

# Echo "Boot vmunix-SCSI">/tmp/auto. scsi

# Efi_cp-D/dev/rdsk/c3t2d0s1/tmp/auto. SCSI/EFI/HPUX/auto

 

Note: We assume that if we boot from the primary, the mirror is fully

Functional and therefore we don't need to override quorum. Your site might

Require that both disks override quorum.

 

9. verify the contents of the auto file on the primary and the mirror.

Note: using "S1"

# Efi_cp-D/dev/rdsk/c2t1d0s1-U/EFI/HPUX/auto/tmp/auto. PRI

# Efi_cp-D/dev/rdsk/c3t2d0s1-U/EFI/HPUX/auto/tmp/auto. ALT

# Cat/tmp/auto. PRI

# Cat/tmp/auto. ALT

 

10. Add the new partition to vg00.

Note: using "S2"

# Pvcreate-FB/dev/rdsk/c3t2d0s2

# Vgextend vg00/dev/DSK/c3t2d0s2

 

11. mirror all logical volumes in vg00.

Note: using "S2"

# Lvextend-M 1/dev/vg00/lvol1/dev/DSK/c3t2d0s2

# Lvextend-M 1/dev/vg00/lvol2/dev/DSK/c3t2d0s2

# Lvextend-M 1/dev/vg00/lvol3/dev/DSK/c3t2d0s2

.

.

.

# Lvextend-M 1/dev/vg00/lvol8/dev/DSK/c3t2d0s2

 

12. Add the new disk to/STAND/bootconf.

Note: using "S2"

# Vi/STAND/bootconf

L/dev/DSK/c2t1d0s2

L/dev/DSK/c3t2d0s2

 

13. Verify that the new disk was added to vg00, And the LV's are in sync.

# Vgdisplay-V vg00

 

14. Verify that the bdra was updated properly. Take note of the HW paths

Step 15.

# Lvlnboot-V

 

15. Add EFI primary and high availability boot path menu entries.

# Setboot-P 0/1/1/0.1.0 <-- Set primary Disk

# Setboot-H 0/1/1/1.2.0 <-- set mirror Disk

# Setboot-B on <-- set autoboot on

 

16. Verify that the primary and mirror boot paths are configured properly.

# Setboot

 

17. test the new mirror by booting off of it.

# Shutdown-r-y 0

 

18. Select "HP-UX ha alternate Boot" to test the mirror.

EFI Boot manager ver 1.10 [14.61] firmware ver 2.21 [4334]

Please select a boot Option

HP-UX primary boot: 0/1/1/0.1.0

HP-UX ha alternate boot: 0/1/1/1.2.0

EFI shell [built-in]

 

20. Verify which disk/kernel you booted from.

# Grep "boot device"/var/adm/syslog. Log

Vmunix: boot device's HP-UX HW path is: 0.1.1.1.2.0

 

21. Remove temporary files.

# Rm/tmp/partitionfile/tmp/auto *

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.