- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- MirrorUX / disk mirrors
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
04-30-2004 01:49 AM
04-30-2004 01:49 AM
MirrorUX / disk mirrors
I have an HP-UX 11i system with 6 physical disks. How do I tell if they are mirror? Is there somewhere in SAM to automate mirroring? Could anybody point me to a good informational reference for MirrorUX?
Thank you.
Derek Striemer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:53 AM
04-30-2004 01:53 AM
Re: MirrorUX / disk mirrors
lvdisplay -v /dev/vgxx/lvolxx.
Check for mirror copies.
Mirroring is done as follows.
lvextend -m 1 /dev/vgxx/lvolxxx /dev/dsk/cxtxdx
The root disk is done as follows.
Note the following example is using the disk c1t6d0 as the
mirrored boot disk and c0t6d0 as the boot disk.
1) Initialize the disk and make it bootable
pvcreate -B /dev/rdsk/c1t6d0
Note: the -B parameter tell pvcreate that this will be a
bootable disk.
2) Add the physical volume to the volume group
vgextend /dev/vg01 /dev/dsk/c1t6d0
3) Use mkboot to place the boot utilities in the boot area and add
the AUTO file.
mkboot /dev/dsk/c1t6d0
mkboot -a "hpux -lq" /dev/rdsk/c1t6d0
4) Use mkboot to update the AUTO file on the primary boot
disk.
mkboot -a "hpux -lq" /dev/rdsk/c0t6d0
5) Mirror the stand, root and swap logical volumes
lvextend -m 1 /dev/vg00/lvol1
lvextend -m 1 /dev/vg00/lvol2
lvextend -m 1 /dev/vg00/lvol3
Note: LVM will resynchronize the new mirror copies. This step will
takes several minutes
Repeat the lvextend for all other logical volumes on the boot
mirror.
6) Modify your alternate boot path to point to the mirror copy of the
boot disk.
setboot -a 8/8.6.0 # Use the Hardware path for your new
boot disk.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:54 AM
04-30-2004 01:54 AM
Re: MirrorUX / disk mirrors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:55 AM
04-30-2004 01:55 AM
Re: MirrorUX / disk mirrors
first of all
if you make a vgdisplay -v vgxx | more
you see:
lvols an pv (at the end) in vg
if see for example:
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 512
Used PV 2
you notice that Current PE are 256
and Allocated PE 512 ....so this lvol.. it's mirrored
also if you type
lvdisplay -v /dev/vg00/lvol5| more
LV Name /dev/vg00/lvol5
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC ....
Regds
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 01:57 AM
04-30-2004 01:57 AM
Re: MirrorUX / disk mirrors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:01 AM
04-30-2004 02:01 AM
Re: MirrorUX / disk mirrors
lvdisplay /dev/vgXX/lvolX
Look at line: Mirror copies - if 1 or more- then it is mirrored..
See
http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=5187-2216&service=hpux&path=00/00/54&title=Managing%20Systems%20and%20Workgroups%3A%20A%20Guide%20for%20HP-UX%20System%20Administrators
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:04 AM
04-30-2004 02:04 AM
Re: MirrorUX / disk mirrors
vgdisplay will show you what disks and what LVOLs are contained within each specific VG.
If you want to see what is on each specific disk on your system you can use the 'pvdisplay' command. That will list all LV's that are on the given disk.
If you want to see if an LVOL is mirrored use the 'lvdisplay' command. If you do 'lvdisplay -v /dev/vg01/lvol1' you will see a line that says "Mirror Copies". If that value is greater than 0 then that LVOL is mirrored. If you go through more of the lvdisplay output you will be able to see which disks contain that LVOL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:05 AM
04-30-2004 02:05 AM
Re: MirrorUX / disk mirrors
You need to use the "lvlnboot -v" command to verify that you have a mirrorored boot disk.
When you issue the command you should see output similiar to the following.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
Note that in VG00 there are two devices marked as "Boot".
I have attached the procedure I use to mirror a root VG.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:06 AM
04-30-2004 02:06 AM
Re: MirrorUX / disk mirrors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:07 AM
04-30-2004 02:07 AM
Re: MirrorUX / disk mirrors
only for vg00
with lvlnboot -v
you see your bootable disk.
Do you want to create a mirror of your boot disk (vg00)?
follow this
pvcreate -B /dev/rdsk/cxtxdx
mkboot /dev/dsk/cxtxdx
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/cxtxdx
vgextend /dev/vg00 /dev/dsk/cxtxdx
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/cxtxdx
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/cxtxdx
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/cxtxdx
... and go on until lvol8...
then
lvlnboot -R vg00
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:09 AM
04-30-2004 02:09 AM
Re: MirrorUX / disk mirrors
obviously to type commands
lvextend -m 1 /dev/vg00....
you must install MirrorUX by the Applications Software
Hope this helps
L.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:11 AM
04-30-2004 02:11 AM
Re: MirrorUX / disk mirrors
Your answers have help me out alot. :) The help is appreciated.
Thanks again.
Derek Striemer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 02:22 AM
04-30-2004 02:22 AM
Re: MirrorUX / disk mirrors
Thanks...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2004 07:07 AM
04-30-2004 07:07 AM
Re: MirrorUX / disk mirrors
Yes, I agree, lvlnboot -v does only show the ROOT vg and no other VG's, I should have been clearer in my reply. What I should have said is that all the prior posts are correct, except for checking to see if your ROOT is mirrored properly.
-Tom