- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Create a mirrored boot disk on the N Class
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
10-24-2001 11:50 PM
10-24-2001 11:50 PM
Create a mirrored boot disk on the N Class
Regards
Khurram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 11:58 PM
10-24-2001 11:58 PM
Re: Create a mirrored boot disk on the N Class
Do you wish to make a copy of the disk or do you wish to create a mirror?
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 11:58 PM
10-24-2001 11:58 PM
Re: Create a mirrored boot disk on the N Class
http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x1a07c7af36b7d5118ff10090279cd0f9,00.html
for the dd:
http://forums.itrc.hp.com//cm/QuestionAnswer/1,,0x8aacee3e323bd5118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2001 11:59 PM
10-24-2001 11:59 PM
Re: Create a mirrored boot disk on the N Class
See the link for correct steps.
http://us-support.external.hp.com/cki/bin/doc.pl/sid=0e51423c054a593e3e/screen=ckiDisplayDocument?docId=200000055534397
Best of luck
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 12:00 AM
10-25-2001 12:00 AM
Re: Create a mirrored boot disk on the N Class
Please ensure that MirrorDisk/UX is installed in your system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 12:03 AM
10-25-2001 12:03 AM
Re: Create a mirrored boot disk on the N Class
Thanks for replying back, what are the differences between the two, all we want is extra resillience so that if the primary boot disk failed then we could restart the server by booting off the alternative disk. Which methos is easier and better, would appreciate your advise.
Thanks.
Khurram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 12:07 AM
10-25-2001 12:07 AM
Re: Create a mirrored boot disk on the N Class
If you want to create a mirrored boot disk :
- Install the OS on the first disk
- Then add the second disk to the vg00 :
- pvcreate -B -f /dev/rdsk/cxtydz
- mkboot /dev/rdsk/cxtydz
- mkboot -a "hpux -lq" /dev/rdsk/cxtydz (the -lq mean low quorum, you will be able to boot with only one disk)
- vgextend /dev/vg00 /dev/dsk/cxtydz
- Mirror the LV, for each LV : lvextend -m 1 /dev/vg00/lvolx /dev/rdsk/cxtydz
Regards
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 01:35 AM
10-25-2001 01:35 AM
Re: Create a mirrored boot disk on the N Class
We haven't got a mirror license, and it might be a bit short notice as I need to set it up this coming Saturday. Would anyone have any thoughts on using the dd command, would that not work. Appreciate the advise, thanks.
Regard
Khurram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 01:42 AM
10-25-2001 01:42 AM
Re: Create a mirrored boot disk on the N Class
Safest method is to mirror the system lvols
/
/stand
/var
/usr
/tmp
/opt
/home
Ensure that you have enough space in stand for a vmuxix.bak as well as the standard vmunix.prev files.
The mirrored disks will protect each other and in the event of a disk failure the system will keep running.
Ensure that you are monitoring the disks on your system - Download and install EMS - it is free.
A vmunix.bak which should be a copy of your existing kernel can be boot from if ever the main file corrupts.
In the event of crash just boot from the /stand/vmunix.bak file.
If you do not have mirror disk then for a quick safety then at least copy all of the above directories to a second disk.
Download and install ignite which will make a bootable tape which will also enable you to recover the system.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 02:01 AM
10-25-2001 02:01 AM
Re: Create a mirrored boot disk on the N Class
And even if it did work, there are still downsides to dd'ing the disk. For one thing, the two disks would be out of synch, whereas with mirroring, they're always in synch.
If you don't have Mirror/UX and can't convince your boss(es) to purchase it, I would strongly recommend that you get Ignite/UX (free download from http://www.software.hp.com/products/IUX) and install it on the machine. Then create a make_tape_recovery bootable tape. This way, if your boot/root disk crashes, you can re-install the OS on a secondary disk without having to reconfigure everything. This is still not as good as mirroring though.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 02:15 AM
10-25-2001 02:15 AM
Re: Create a mirrored boot disk on the N Class
Without the MirrorDisk/UX software the only
redundancy you can get with this is having a
make recovery tape standing by. Using
the dd command will never keep to the two
disks in sync even if you could get the second
disk to boot. If a problem occurred the
second disk could be build in around 1.5 hours.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 02:37 AM
10-25-2001 02:37 AM
Re: Create a mirrored boot disk on the N Class
Remember that mirror disk will mirror mistakes too.
The dd (or lifeboat) is a stand aside, just in case disk.
A Clay has a really good script for it, but the search engine here really sucks hard at the moment so I couldn't find his post again.
Maybe someone else will.
Ignite of course just uses a tape and not a spare disk...
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 03:40 AM
10-25-2001 03:40 AM
Re: Create a mirrored boot disk on the N Class
The method that you have mentioned does that require a HPUX Mirror Disk License, if yes we don't have one. Secondly how do you mirror the LV's, please send some instructions.
Thanks.
Khurram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 04:52 AM
10-25-2001 04:52 AM
Re: Create a mirrored boot disk on the N Class
( The command to mirror the LV lvolA to the /dev/dsk/cxtydz is lvextend -m 1 /dev/vg00/lvolA /dev/rdsk/cxtydz )
Regards
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 05:47 AM
10-25-2001 05:47 AM
Re: Create a mirrored boot disk on the N Class
Does anyone have any instructions on how to install and configure ignite. Secondly how do we get around replacing both the internal disks with larger disks. One of the internal disk is a boot disk, and the second one is a swap disk.
Regards
Khurram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 05:55 AM
10-25-2001 05:55 AM
Re: Create a mirrored boot disk on the N Class
Have a look at the threads below for more info.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&con=/hpux/onlinedocs/B2355-90742/00/00/49-con.html&toc=/hpux/onlinedocs/B2355-90742/00/00/49-toc.html&searchterms=Managing%20Mirrored%20File%20Systems%20%20&queryid=20011025-065545
Look for "Managing File Systems "---> "Managing Mirrored File Systems " -->"Mirroring Root, Boot, and Primary Swap Logical Volumes "
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=621f750d1de451cef1/screen=ckiDisplayDocument?docId=200000055534397
Hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 06:19 AM
10-25-2001 06:19 AM
Re: Create a mirrored boot disk on the N Class
To change the both internal disks, you should make a bootable recovery tape using ignite (man make_recovery), change your disks, boot on the tape and reinstall the server using it.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 07:28 AM
10-25-2001 07:28 AM
Re: Create a mirrored boot disk on the N Class
Can someone point me to the correct URL to download IGNITE, as I will be looking at this option.
Thanks.
Khurram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 10:16 AM
10-25-2001 10:16 AM
Re: Create a mirrored boot disk on the N Class
Ignite here, as many have said this is free and will enable you to recover your system.
http://www.software.hp.com/products/IUX/download.html
Do not forget to assign points to the many good answers that you have received on this.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 01:48 PM
10-25-2001 01:48 PM
Re: Create a mirrored boot disk on the N Class
You could do this it is not as safe but it works as well, plus you can bring it up and resync it whenever you want!
- Install the OS on the first disk
- Then add the second disk to vgalt :
- pvcreate -B -f /dev/rdsk/cxtydz
- mkboot /dev/rdsk/cxtydz
- mkboot -a "hpux -lq" /dev/rdsk/cxtydz (the -lq mean low quorum, you will be able to boot with only one disk)
- vgcreate /dev/vgalt /dev/dsk/cxtydz
- then do some lvcreate's with the logical volume numbers the same and mount on /aroot /ausr . . . . etc. then you can do a
cd /(whatever)
find and pipe to cpio for a copy
then unmount the filesystems, you can now boot off the secondary disk by updateing your set_boot parms to make it alt.
BTW I highly suggest you beg your company to buy mirror disk UX it is by far the best methode for data integrity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 02:28 PM
10-25-2001 02:28 PM
Re: Create a mirrored boot disk on the N Class
You can download ignite from the URL as
already mentioned, but you should have a
copy of it on the 1st CD of your
application CD set. It is product No
B5725AA -->HP-UX Installation Utilities
Once installed by using 'swinsta' you can easily create a tape by issuing this command.
# make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/0mn
Make sure that you use the no rewind device.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 10:08 PM
10-25-2001 10:08 PM
Re: Create a mirrored boot disk on the N Class
Thanks for all the replies I have recieved from everyone, there is another question i.e. we don't have a internal tape drive. We only have two external DLT drives attached to the N4000, will the make_tape_recovery command still work and check the DLT drive(s) and tape when it boots up.
Secondly what would I need to do if the tape recovery process works, i.e once booted up with tape what do we need to do get everything back onto the boot disk etc.
Regards
Khurram
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2001 10:47 PM
10-25-2001 10:47 PM
Re: Create a mirrored boot disk on the N Class
I am fairly sure that you cannot create a bootable image on a DLT drive. I will stand corrected if it can be done.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 03:07 AM
10-26-2001 03:07 AM
Re: Create a mirrored boot disk on the N Class
Hope this helps and good luck.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2001 05:57 PM
11-18-2001 05:57 PM