1835066 Members
2776 Online
110073 Solutions
New Discussion

Re: mirroring disks

 
Chris Fadrowski
Super Advisor

mirroring disks

If i want to mirror to 9 gb drives, (will be vg00) for my OS, how do i go about doing that. Do i need special software? or is there commands that will do the mirroring in HPUX 11.0?
8 REPLIES 8
Kevin Wright
Honored Contributor

Re: mirroring disks

You need to purchase MirrorDSK/UX from Hp. Not very expensive for what is accomplishes.
harry d brown jr
Honored Contributor

Re: mirroring disks

You need a mirror/ux license from hp or your supplier.
Live Free or Die
Byron Myers
Trusted Contributor

Re: mirroring disks

After installing mirror-ux, you will use the lvextend command to mirror. Check out the man page on lvextend.
If you can focus your eyes far and straight enough ahead of yourself, you can see the back of your head.
James R. Ferguson
Acclaimed Contributor

Re: mirroring disks

Hi Chris:

First, you will need to license (purchase) MirrorDisk/UX (product #B2491BA).

A very good guide to mirroring, in general, can be found in chapter-6 of "Managing Systems and Workgroups: A Guide for HP-UX System Administrators"

http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html

The installation of the MirrorDisk/UX requires a reboot, so plan accordingly. The establishment of a mirrored logical volume can easily and safely be done "online". You should remember that *logical volumes*, not disks, are mirrored with MirrorDisk/UX.

Regards!

...JRF...
harry d brown jr
Honored Contributor

Re: mirroring disks

Once you get the license, you would use vgextend/lvextend or sam.

You can mirror Logical Volumes , but not an entire volume group - unless you individually mirror each LV.
Live Free or Die
Deshpande Prashant
Honored Contributor

Re: mirroring disks

Hi
1.Get MirrorDisk/UX (B2491BA) product and install on system.
2. Extend vg00 over new disk.
3. Extend all lvols to new mirror disk.

Thanks.
Prashant.
Take it as it comes.
Michael Tully
Honored Contributor

Re: mirroring disks

Hi,

To mirror you vg00 volume group you need
to puchase Product B2491BA which is called
MirrorDisk/UX if you don't already have it.
If you are new to your site you can test
to see if it is already installed:

# /usr/sbin/swlist -l bundle

If it returns something like the below it
is already installed. If not you must buy
it.

B2491BA B.11.00 MirrorDisk/UX

To do the actual mirroring is quite easy.
Below is a simple script to do the job.

# pvcreate -Bf /dev/rdsk/cXtXdX (the disk
you wish to use.
# vgextend /dev/vg00 /dev/dsk/cXtXdX
# mkboot /dev/rdsk/cXtXdX
# mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/cXtXdX
# lvlnboot -R
# for LVOL in /dev/vg00/lv*
> do
> echo $LVOL
> lvextend -m 1 $LVOL
> done

HTH
-Michael
Anyone for a Mutiny ?
Santosh Nair_1
Honored Contributor

Re: mirroring disks

One thing to keep in mind is that you have to mirror the /stand filesystem. This has to be the first filesystem on the disk. The order of the other filesystems on the disk doesn't matter as much.

-Santosh
Life is what's happening while you're busy making other plans