- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX 11iv2 - replacing failed boot disk on RP8...
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
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
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
тАО11-12-2010 08:10 AM
тАО11-12-2010 08:10 AM
HPUX 11iv2 - replacing failed boot disk on RP8420
My boot disk is mirrored. When primary failed, heres the tasks I have documented:
1. Replace failed disk.
2. Reboot and interrupt boot sequence to boot on alternate disk
3. ioscan to locate c/t/d for new disk
4. pvchange -a N /dev/dsk/faileddisk
5. for new disk run
vgcfgrestore -n /dev/vg00 /dev/rdsk/newdisk
6. Perform steps to make new disk a mirror:
pvcreate -fb /dev/rdsk/newdisk
vgextend /dev/vg00 /dev/dsk/newdisk
mkboot /dev/rdsk/newdisk
mkboot -a "hpux" /dev/rdsk/newdisk
lvextend -m 1 /dev/vg00/lvolname /dev/disk/newidsk (do this for each lvol on vg00)
7. lvlnboot -R
8. lvlnboot -v
8 setboot -a x/y/x.x.x (set new disk as alt boot path).
9 add disk to stand/bootconf (this required? ..i noticed my servers have only the primary disk in it).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 09:22 AM
тАО11-12-2010 09:22 AM
Re: HPUX 11iv2 - replacing failed boot disk on RP8420
Action plan is correct, go step by step.
Please have a look on below thread which we more help to U in this activity.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1106342
Hope this resolves ur issue.
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 10:30 AM
тАО11-12-2010 10:30 AM
Re: HPUX 11iv2 - replacing failed boot disk on RP8420
>>1.Replace failed disk<< So you are replacing the disk without reducing the mirror or not..?
If you are doing this without breaking the mirror,(using lvreduce) follow the below steps.
Replace the disk and boot from alternate path.
#vgcfgrestore -n /dev/vg00 /dev/rdsk/c?t?d?
#mkboot /dev/rdsk/c?t?d?
#mkboot -a "hpux -lq" /dev/rdsk/c?t?d?
#vgchange -a y /dev/vg00
#lvlnboot -R /dev/vg00
#vgsync /dev/vg00.
If you are doing this after breaking the mirror(lvreduce), and reducing the the vg (using vgreduce), the steps you have provided is good.But the 5th step is not required(vgcfgrestore).Because here the procedure is just like adding a new mirror disk to the system.
>> 9 )add disk to stand/bootconf (this required? ..i noticed my servers have only the primary disk in it<<
The man page says it is required by the Software Distributor and HP-UX kernel control scripts to determine how and where to update the initial boot loader, if its required to do so.
You can edit the file using vi and add the entry of second disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 11:20 AM
тАО11-12-2010 11:20 AM
Re: HPUX 11iv2 - replacing failed boot disk on RP8420
the command for pvcreate is with a B
Do not miss out any logical volumes.
BUT, I would like to add one thing the replacement disk should be able to accommodate or in other words should be the same size of the failed disk!
You can also do an lifcp after the auto file step.
/stand/bootconf entry is to make the disk SD-UX AWARE. Your steps are fine!
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 11:27 AM
тАО11-12-2010 11:27 AM
Re: HPUX 11iv2 - replacing failed boot disk on RP8420
Always learning something from the forum!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2010 11:29 AM
тАО11-12-2010 11:29 AM