Operating System - HP-UX
1834187 Members
2526 Online
110064 Solutions
New Discussion

I need a correct mirroring boot disk procedure in Itanium.

 
SOLVED
Go to solution
Hoang Chi Cong_1
Honored Contributor

I need a correct mirroring boot disk procedure in Itanium.

Dear,

I have receive a rx4640 server but I have never do with Itanium.
I just do with PA-RISC!
So that there is some diffirence between them at ioscan output.
Here is output of ioscan command:
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/3/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s1 /dev/rdsk/c2t1d0s3

I have searched around this forum and have checked out the "s" character.

I don't like it at all :)
Anyway, can anyone gives me a full description for this feature?
And the correct boot disk mirroring procedure?

Output of "lvlnboot -v":
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0s2
Root: lvol3 on: /dev/dsk/c2t1d0s2
Swap: lvol2 on: /dev/dsk/c2t1d0s2
Dump: lvol2 on: /dev/dsk/c2t1d0s2, 0

Please advice!
Looking for a special chance.......
8 REPLIES 8
Warren_9
Honored Contributor

Re: I need a correct mirroring boot disk procedure in Itanium.

hi,

The boot disk of IA machine got 3 partition,

s1 - EFI
s2 - OS
s3 - HP support tools

for mirroring - reference thread
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=971842

GOOD LUCK!!
saju_2
Respected Contributor
Solution

Re: I need a correct mirroring boot disk procedure in Itanium.

Hi

I am attaching the itanium h/w pdf file. It contains "How to mirror root disk"..

Regards
CS
Adisuria Wangsadinata_1
Honored Contributor

Re: I need a correct mirroring boot disk procedure in Itanium.

Hi,

Check this url below (docID : KBRC00014526) about 'How to mirror vg00 using LVM on IA with 11.23' with detail steps :

http://www2.itrc.hp.com/service/cki/search.do?docType=all&searchString=KBRC00014526&admit=-1335382922+1132027350639+28353475&mode=id

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Devender Khatana
Honored Contributor

Re: I need a correct mirroring boot disk procedure in Itanium.

Hi,

Mirroring HP-UX root disk on Itanium-based systems --->


The following procedure shows how to mirror the root disk. Let c3t2d0 be the existing primary disk and c2t1d0 the new mirror boot disk:

1. Setup the disk partitions

1. Create a partition description file:

# vi /tmp/partitionfile
2
EFI 100MB
HPUX 100%
2. Use the idisk(1M) command to partition the disk according to this file:

# idisk -wf /tmp/partitionfile /dev/rdsk/c2t1d0
idisk version: 1.2
********************** WARNING ***********************
If you continue you may destroy all data on this disk.
Do you wish to continue(yes/no)? yes
...
2. Create the new device files for the new partitions (c2t1d0s1 and c2t1d0s2)

# insf -e -C disk
3. Use mkboot(1M) to format the EFI partition (s1), populate it with the EFI files under /usr/lib/efi/, format the LIF volume (part of s2), and populate it with the LIF files (ISL, AUTO, HPUX, LABEL) under /usr/lib/uxbootlf:

# mkboot -e -l /dev/rdsk/c2t1d0
# efi_ls -d /dev/rdsk/c2t1d0s1 (to check EFI)
FileName Last Modified Size
EFI/ 5/19/2003 0
STARTUP.NSH 5/19/2003 336

total space 103215616 bytes, free space 100076032 bytes

# lifls -l /dev/rdsk/c2t1d0s2 (to check LIF)


4. Write the contents of the AUTO file to the EFI partition:

# mkboot -a "boot vmunix" /dev/dsk/c2t1d0
# efi_cp -d /dev/rdsk/c2t1d0s1 -u /EFI/HPUX/AUTO /tmp/x; cat /tmp/x
(to check it)
NOTE: Specify -a "boot vmunix -lq" if you want the system to boot up without interruption in case of a disk failure.
5. Initialize the LVM partition (s2) and add it to vg00:

# pvcreate [-f] -B /dev/rdsk/c2t1d0s2 (take care to use s2)
# vgextend vg00 /dev/dsk/c2t1d0s2
1. Mirror the LVs to the s2 partition:

# for i in lvol1 lvol ... lvol8
> do lvextend -m 1 /dev/vg00/$i /dev/dsk/c2t1d0s2
> done
2. Write the contents of the LABEL file, i.e. set root, boot, swap and dump device:

# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2

# lvlnboot -v (to check it)
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t2d0s2 (0/1/1/1.2.0) -- Boot Disk
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c3t2d0s2
/dev/dsk/c2t1d0s2
Root: lvol3 on: /dev/dsk/c3t2d0s2
/dev/dsk/c2t1d0s2
Swap: lvol2 on: /dev/dsk/c3t2d0s2
/dev/dsk/c2t1d0s2
Dump: lvol2 on: /dev/dsk/c3t2d0s2, 0

6. Specify the mirrored disk as an alternate bootpath

# setboot -a
# setboot (to check it)
7. Create an EFI boot option. This boot option will be stored in NVRAM:

Boot to EFI and enter the Boot option maintenance menu:

--------------------------------------------------------------
| EFI Boot Maintenance Manager ver 1.10 [14.61]
|
| Main Menu. Select an Operation
|
|
| Boot from a File
| >>> Add a Boot Option
| Delete Boot Option(s)
| Change Boot Order
|
| Manage BootNext setting
| Set Auto Boot TimeOut
|
| Select Active Console Output Devices
| Select Active Console Input Devices
| Select Active Standard Error Devices
|
| Cold Reset
| Exit
--------------------------------------------------------------


Select the mirror disk. (Pun1,Lun0) represents SCSI target 1, Lun 0
(c2t1d0) in our case. (Pun2,Lun0) is the original boot disk (c3t2d0):

---------------------------------------------------------------------
| EFI Boot Maintenance Manager ver 1.10 [14.61]
|
| Add a Boot Option. Select a Volume
|
| >>> IA64_EFI [Acpi(HWP0002,100)/Pci(1|0)/
| Scsi(Pun1,Lun0)/HD(Part1,SigB45A0000)
| IA64_EFI [Acpi(HWP0002,100)/Pci(1|1)/
| Scsi(Pun2,Lun0)/HD(Part1,Sig958B0000)
| EFI DISK [Acpi(HWP0002,600)/Pci(1|0)/Pci(0|0)/Pci(0|0)/
| Pci(0|0)/Scsi(Pun0,Lun0)/
| HD(Part1,Sig 119E1A60-0B4C-01C3-507B-9E5F8078F531)
| Removable Media Boot [Acpi(HWP0002,0)/Pci(2|0)/
| Ata(Primary,Master)]
| Load File [EFI Shell [Built-in]]
| Load File [Acpi(HWP0002,0)/Pci(3|0)/Mac(00306E3809C6)]
| Load File [Acpi(HWP0002,100)/Pci(2|0)/Mac(00306E3889E3)]
| Exit
---------------------------------------------------------------------


Now navigate to the HP-UX bootloader, HPUX.EFI, on the disk:

---------------------------------------------------------------------
| EFI Boot Maintenance Manager ver 1.10 [14.61]
|
| Select file or change to new directory:
|
| >>> 05/28/03 09:38a 512 EFI
| [Treat like Removable Media Boot]
| Exit

| Select file or change to new directory:
|
| 05/28/03 09:38a 512 .
| 05/28/03 09:38a 0 ..
| >>> 05/28/03 09:38a 512 HPUX
| 05/28/03 09:38a 512 Intel_Firmware
| 05/28/03 09:38a 512 DIAG
| 05/28/03 09:38a 512 HP
| 05/28/03 09:38a 512 TOOLS
| Exit

| Select file or change to new directory:
|
| 05/28/03 09:38a 512 .
| 05/28/03 09:38a 512 ..
| >>> 05/28/03 11:52a 419,545 HPUX.EFI
| 05/28/03 11:52a 24,576 NBP.EFI
| Exit
|
|
| Filename: \EFI\HPUX\HPUX.EFI
|
| DevicePath:[Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/
| HD(Part1,SigB45A0000)/\EFI\HPUX\HPUX.EFI]
| IA-64 EFI Application 05/28/03 11:52a 419,545 bytes
|
| BootFFFF: Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/
| HD(Part1,SigB45A0000)/\EFI\HPUX\HPUX.EFI
---------------------------------------------------------------------


Now enter a description for this boot option, e.g. "HP-UX mirror boot
disk":

---------------------------------------------------------------------
| Enter Description: HP-UX mirror boot disk
|
| Current BootOption-->Main Menu. Select an Operation
| New BootOption Data. ASCII/Unicode strings only, with max of
| 240 characters
| Enter BootOption Data Type [A-Ascii U-Unicode
| N-No BootOption] : N
---------------------------------------------------------------------

Finally save the setting to NVRAM:

| Save changes to NVRAM [Y-Yes N-No]: Y

8. Try to boot from the mirror disk by choosing the appropriate boot option.


HTH,
Devender
Impossible itself mentions "I m possible"
Hoang Chi Cong_1
Honored Contributor

Re: I need a correct mirroring boot disk procedure in Itanium.

Thanks for your helps

To saju: So many kind if you send me a full of that document.
I am 3 years experience with PA-RISC but seem that newbie with Itanium....
Looking forward from you.
My email: cong.hoangchi@gmail.com

To Adisuria Wangsadinata: Can not get that document. It says: "File not found..."

To Devender Khatana:
I will check for your steps later but can you give me how to do in step 7?

To Warren :
I have read this thread before...


Thanks to all

Hoang Chi Cong
Looking for a special chance.......
Adisuria Wangsadinata_1
Honored Contributor

Re: I need a correct mirroring boot disk procedure in Itanium.

Hi Hoang,

Sorry I gave you the link for AMERICAS / ASIA PASIFIC site.

For EUROPE site, you can get the link by search the 'technical documents' on ITRC by using docID (docID : KBRC00014526).

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Devender Khatana
Honored Contributor

Re: I need a correct mirroring boot disk procedure in Itanium.

Hi,

The 7th option can be set from the boot menu prior to OS boot up. Something like PDC menu in PA RISC. Once if you restart your server and monitor console, you will get this menu from where you boot to EFI which is similar to ISL in PA RISC.

HTH,
Devender
Impossible itself mentions "I m possible"
Ted Buis
Honored Contributor

Re: I need a correct mirroring boot disk procedure in Itanium.

Until the Itanium servers came out, HP-UX didn't bother to partition individual drives. Since Integrity servers were developed for both LINUX and Windows where disk partitioning is standard, HP-UX had to adapt and be able to co-exist within a partitioned root disk environment. The added options make sense, and add some additional flexibility to HP-UX that didn't exist previously and this can be useful in playing with Integrity Virtual Machines.
Mom 6