1838463 Members
3067 Online
110126 Solutions
New Discussion

Re: Mirror UX

 
SOLVED
Go to solution
Nick D'Angelo
Super Advisor

Mirror UX

All,
We have purchased a new R class server and I am trying to use Sam to Mirror some disks, both the internals and also the disks in a JBOD.

I have confirmed that MirrorDisk/Ux is installed using the swlist.

My problem/question is this: When I go into Sam, I do not see any feature/option related to Mirroring, therefore I am unable to mirror the disks that I want.

Suggestions/pointers??
Always learning
6 REPLIES 6
Vincenzo Restuccia
Honored Contributor

Re: Mirror UX

you can't use SAM for mirroring.You can see the script in attachment.
Mark Mitchell
Trusted Contributor

Re: Mirror UX

the mirror option can be found when you are seting up the logical volumes. Look under define lv and then under the lv defaults tab. If you are doing this on the root, then you have to set up the second disk to be bootable and use lvextend commands with the -m 1 option.
Patrick Wallek
Honored Contributor

Re: Mirror UX

You do need to use the command line to mirror any of your lvols that already exist. If you root VG is one of the areas that you want to mirror, so you have redundant boot disks, then there is a very good cook book approach in the HP-UX System Administration Tasks manual. In the version of the manual I have the procedure starts on page 7-12.

If you don't have this manual, go to http://docs.hp.com and get it from there.
Mark Mitchell
Trusted Contributor

Re: Mirror UX

you do not have to use command line to mirror existing lvs. In sam under the lv action you
hake sure that the highlighted lvol is in a vg with more than 1 disk, then make sure that the settings for it is miror (on seperate disks or luns) that will be under modify. Then to create the mirror, highlight the lvol and under actions hit (change number of mirrored copies from 0 to 1 and you will see it creating it.
Mark Mitchell
Trusted Contributor
Solution

Re: Mirror UX

and I almost forgot, hit (view information) from the menu and make sure that you see 2 different disk locations in the window.
Thierry Poels_1
Honored Contributor

Re: Mirror UX

uh?? "Can't use SAM for mirroring??"

SAM CAN be used to set up mirroring!! Select the Logical Volume - Options - Modify and change the number of copies.

I do agree that using SAM you have very little control over the location of the mirror, that's why the command line is the prefered option.
And the disk part of SAM is damn slow :(

Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.