- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Striping & Mirror/UX can they work together?
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
Forums
Discussions
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-05-2002 09:33 AM
11-05-2002 09:33 AM
I have 4 controllers with 3 dries each. I would like to strip half of the drives and then mirror them.
I though I could figure this out myself but I'm getting lost in the "concepts(?)"
I want to control which drives are used and configure it something like this:
where p is primary drive and m is mirror
The lines denote controllers
p|m
p|m
p|m
---
p|m
p|m
p|m
so, what I would windup with is the 6 (p)rimary drives striped and then (m)irror the other 6 drives.
or is this how it's supposed to work?:
p1|m1 - vg1
p2|m2 - vg2
p3|m3 - vg3
-----------
p4|m4 - vg4
p5|m5 - vg5
p6|m6 - vg6
and then I strip vg1-6 ?
Many, many thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2002 09:35 AM
11-05-2002 09:35 AM
Re: Striping & Mirror/UX can they work together?
That's "3 drives each" and "stripe half of them"
-bjw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2002 10:05 AM
11-05-2002 10:05 AM
SolutionDOCID=KBRC00011002
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065180752
Hope it helps ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2002 10:19 AM
11-05-2002 10:19 AM
Re: Striping & Mirror/UX can they work together?
True striping and mirroring do not coexist. However, you *can* do 'extent-based-mirror-strips'. In this case the stripe size is equal to one physical disk extent. See the 'lvcreate' man pages for more details.
The easy way to control which physical disk are used for mirroring is with the 'etc/lvmpvg' file. See 'man 4 lvmpvg' for more details there. This file provides the basis for confining your allocation to a particular group of disks. You simply specify the 'lvmpvg' file in the 'lvextend...pvg_name' command form thereby confining your allocation (and mirrors) to the physical volumes of your choice.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2002 10:23 AM
11-05-2002 10:23 AM
Re: Striping & Mirror/UX can they work together?
You can only use 'extent based striping' if you want to mirror. That is each logical volume mirror is made up of a Physical Extent (PE) from one disk then one from the next etc.
This gives you a very wide 'stripe width', normal striping allows a width of 4 - 32768Kb. Extent based stripe width is from 1Mb but will have to be larger if you use high capacity disks. It equals the -s value supplied when you create the Volume Group.
The whole striped logical volume has to be contained within a single volume group. The easiest way to create this type of LV is to create Physical Volume Groups (see man vgcreate). This creates a list of disks in a file called /etc/lvmpvg, lvcreate then uses them to create your extent striped volume (mirrored if you like) in one operation when you use the -D y -s g flags.
In your example, I'm assuming that you have the following disks:
Controller 1
/dev/dsk/c1t1d0
/dev/dsk/c1t2d0
/dev/dsk/c1t3d0
Controller 2
/dev/dsk/c2t1d0
/dev/dsk/c2t2d0
/dev/dsk/c2t3d0
Controller 3
/dev/dsk/c3t1d0
/dev/dsk/c3t2d0
/dev/dsk/c3t3d0
Controller 4
/dev/dsk/c4t1d0
/dev/dsk/c4t2d0
/dev/dsk/c4t3d0
Put the C1 and C2 disks in one PVG with:
vgextend -g grp1
and the other PVG with:
vgextend -g grp2
You can then create an extent striped/mirrored logical volume with one command...
lvcreate -n
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2002 03:06 PM
11-05-2002 03:06 PM
Re: Striping & Mirror/UX can they work together?
Roughly, what kind of impact would this have on an oracle db with data files between 1M and 1G in size.
I'm trying to spread out the data across as many drives as I can w/o losing fault tolerance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2002 03:23 PM
11-05-2002 03:23 PM
Re: Striping & Mirror/UX can they work together?
What were you expecting, normal striping an mirroring? I've used this on AIX and I'm not convinced that it performs any better than extent based striping. The main trick is to tune your database such that it performs as little disk I/O as possible.
What I tend to do with Oracle databases is to allocate a straight mirrored pair for online redo logs (intensive write but small amount of data), another for archived redo logs (lots of writing and more data) and then spread the tablespaces across the rest of the available disks with extent based striping. If you don't do this then you have to give a lot of thought about how to allocate different tablespaces over the available disks probably with little previous performance information to go on. This will likely result in you having to reorganise your file placement in the light of subsequent experience.
I also use raw logical volumes rather than filesystem files but you'll need to be aware of the various implications such as backups etc.
I'm not sure what HP's official line on this but I'm sure that they'd be happy to sell you an expensive array with all the bells and whistles ;-)
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2002 03:25 PM
11-05-2002 03:25 PM
Re: Striping & Mirror/UX can they work together?
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 10:59 AM
11-06-2002 10:59 AM
Re: Striping & Mirror/UX can they work together?
IT Resource Center
CA522601 - ass821
CA633487 yyaka4
HP Top tools update account:
bwoods -- 000005
HP IT resource center
bwoods@fantasyent.com, whoisbert@yahoo.com
CA633487
yyaka4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 11:00 AM
11-06-2002 11:00 AM
Re: Striping & Mirror/UX can they work together?
don't worry kids I changed the passwords!!!
John, Ted,
Thanks for your suggestions. I have been toying with this for a few months and hadn't reached a point where I felt good about it.
I don't have a budget for the hardware so the s/w will half to do.
John, yes I was hoping for raid 0/1, 1/0, 10 whatever it's correctly called striping with mirroring like what you would get with a h/w solution.
right now I have the datafiles striped across six drives and I have gotten some performance increase but I need the fault protection. I will take your suggestions and break out 4 drives. Two mirrored for Redo and archive.
Again, thanks for getting me going in the right direction.
Bert