- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting up MirrorDisk for boot partition
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 02:01 AM
07-20-2007 02:01 AM
Setting up MirrorDisk for boot partition
I'm looking for advice on configuring mirror disk. I have 2 disks and am looking mirroring one disk to the other.
I ran the following commands,
#pvcreate -Bf /dev/rdsk/c1t1d0
#mkboot -l /dev/rdsk/c1t1d0
I've managed to mirror each of the partitions except for the /stand.
I ran this command, and returns no boot area,
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t1d0
-a specified but no current boot area on /dev/rdsk/c1t1d0
Could someone advice on how to create this boot area?
Thanks in advance,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 02:04 AM
07-20-2007 02:04 AM
Re: Setting up MirrorDisk for boot partition
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
(Appendix)
Of course you must mirror /stand too.
Is this an Integrity server?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 02:33 AM
07-20-2007 02:33 AM
Re: Setting up MirrorDisk for boot partition
Yes it's an RX2660 server. Running HP-UX B.11.23.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 03:25 AM
07-20-2007 03:25 AM
Re: Setting up MirrorDisk for boot partition
Here is the procedure I follow to mirror a boot disk on itanium server...
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.
# cat <
> 3
> EFI 500MB
> HPUX 100%
> HPSP 400MB
> EOF
# 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. Initialize the efi partition for use.
# efi_fsinit -d /dev/rdsk/c3t2d0s1
7. Populate the /efi/hpux/ directory in the new EFI system partition.
# mkboot -e -l /dev/rdsk/c3t2d0
8. Change the auto file for the mirror to boot without quorum.
NOTE: Using "s1"
# echo "boot vmunix -lq" > /tmp/AUTO.lq
# efi_cp -d /dev/rdsk/c3t2d0s1 /tmp/AUTO.lq /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"
# echo "l /dev/dsk/c3t2d0s2" >> /stand/bootconf
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 for
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/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*
Best Regards,
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 03:33 AM
07-20-2007 03:33 AM
Re: Setting up MirrorDisk for boot partition
[root]# lvlnboot -R /dev/vg00
lvlnboot: Logical Volume has no extents.
lvlnboot: Logical Volume has no extents.
lvlnboot: Logical Volume has no extents.
vgcfgbackup: Invalid LVMREC on Physical Volume /dev/rdsk/c1t1d0
[root]# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t0d0s2 (0/1/1/0.0.0.0.0) -- Boot Disk
/dev/dsk/c1t1d0 (0/1/1/0.0.0.1.0)
/dev/dsk/c1t1d0s2 (0/1/1/0.0.0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t0d0s2
Root: lvol3 on: /dev/dsk/c1t0d0s2
Swap: lvol2 on: /dev/dsk/c1t0d0s2
Dump: lvol2 on: /dev/dsk/c1t0d0s2, 0
[root]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2007 09:40 AM
07-21-2007 09:40 AM
Re: Setting up MirrorDisk for boot partition
I would go with the integrated DAID option instead of LVM mirror.
Go to
http://docs.hp.com -> servers -> rx2660 -> Integrated raid
This will bring you to the integrated raid controller manual.
I'm on a slow connection now, unable to provide you the link.
But I'm sure this will help you. Once a disk will fail, just replace it and you are done.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2007 05:42 PM
07-22-2007 05:42 PM
Re: Setting up MirrorDisk for boot partition
http://docs.hp.com/en/J6369-90045/index.html
HP 8 Internal Port SAS Controller Users Guide: HP-UX 11i v2, 11i v3
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!