HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How many VG's do I need?
Operating System - HP-UX
1832804
Members
3015
Online
110045
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-25-2001 05:53 AM
11-25-2001 05:53 AM
Dear Colleagues,
That's the silly question - how many volume groups do I need and do I benefit from reducing their number (I think that it would be easier to redistribute space between lvols)? What are the reasons for creating more VG's?
About LV number limitation - I need only 16-17 logical volumes totally.
My configuration - I would like to place my application (non system) data on AutoRAID (~100 GB).
I know that I should use "interlaced" hardware paths for primary and seconday controllers. But depending on the number of VG I will need at least 2 or at least 4 LUNs.
AFAIK I will load all disks and all controllers anyway. So the nature of application data doesn't matter - e.g. if I use two groups of applications - nethertheless I would not split them. I mean that although two "disks" in SAR will be more loaded than two others (in 4 LUNs config) in we will use only one application but all "hardware drives" and controllers will be loaded equally.
And one more question - since I will use lvol stripping - should I use stripe size other than 64K, is there a benefit of using smaller stripe size?
Am I right? What are your opinions?
Best regards,
Vassily Gorbounov
Unilever SNG
That's the silly question - how many volume groups do I need and do I benefit from reducing their number (I think that it would be easier to redistribute space between lvols)? What are the reasons for creating more VG's?
About LV number limitation - I need only 16-17 logical volumes totally.
My configuration - I would like to place my application (non system) data on AutoRAID (~100 GB).
I know that I should use "interlaced" hardware paths for primary and seconday controllers. But depending on the number of VG I will need at least 2 or at least 4 LUNs.
AFAIK I will load all disks and all controllers anyway. So the nature of application data doesn't matter - e.g. if I use two groups of applications - nethertheless I would not split them. I mean that although two "disks" in SAR will be more loaded than two others (in 4 LUNs config) in we will use only one application but all "hardware drives" and controllers will be loaded equally.
And one more question - since I will use lvol stripping - should I use stripe size other than 64K, is there a benefit of using smaller stripe size?
Am I right? What are your opinions?
Best regards,
Vassily Gorbounov
Unilever SNG
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2001 07:23 AM
11-25-2001 07:23 AM
Solution
hi,
<< how many volume groups do I need and do I benefit from reducing their number >>
That decision is based on few factors:
-the size of the disks you are using
-the number of disks which are used.
-the type of application being run on the
system (database? how many instances?
how many user filesystems?
any other applications?)
- what type of disks? (raid array, emc, xp)
<<(I think that it would be easier to redistribute space between lvols)? What are the reasons for creating more VG's?>>
Three reasons which makes me create more VG's is:
the PE size of VG. I use distributed striping on LV's, so prefer a PE size of 2MB. When the PE size is reduced, i would need to have lesser number of PV's in the VG, which puts limitation on the size of VG.
Since most of my systems uses EMC arrays,
i like to create VG's spread across each emc
controller, rather than group them altogether.
It would be a nightmare to debug performance
or hot spot issues at a later time.
Management-> More Vg's have an advantage in a large system. You can group userfilesystems in one VG, one instance in a bunch of VG's, another instance in another bunch of VG's.
But,for small Raid systems, i just bunch them
into smaller number of VG's.
<>
My configuration - I would like to place my application (non system) data on AutoRAID (~100 GB). only one application but all "hardware drives" and controllers will be loaded equally. >>
In your case, i think one or two vg's should
suffice. (other than VG00). 100Gb and 16 volumes seems small enough to not create more VG's. But, remember to give the right vgcreate options.
vgcreate -e -p < > -s <>
<>
It depends on what sort of application you are using. For internal lv striping, 64K should be fine.
No, this was not a silly question ;-) No question is.
HTH
raj
<< how many volume groups do I need and do I benefit from reducing their number >>
That decision is based on few factors:
-the size of the disks you are using
-the number of disks which are used.
-the type of application being run on the
system (database? how many instances?
how many user filesystems?
any other applications?)
- what type of disks? (raid array, emc, xp)
<<(I think that it would be easier to redistribute space between lvols)? What are the reasons for creating more VG's?>>
Three reasons which makes me create more VG's is:
the PE size of VG. I use distributed striping on LV's, so prefer a PE size of 2MB. When the PE size is reduced, i would need to have lesser number of PV's in the VG, which puts limitation on the size of VG.
Since most of my systems uses EMC arrays,
i like to create VG's spread across each emc
controller, rather than group them altogether.
It would be a nightmare to debug performance
or hot spot issues at a later time.
Management-> More Vg's have an advantage in a large system. You can group userfilesystems in one VG, one instance in a bunch of VG's, another instance in another bunch of VG's.
But,for small Raid systems, i just bunch them
into smaller number of VG's.
<
My configuration - I would like to place my application (non system) data on AutoRAID (~100 GB). only one application but all "hardware drives" and controllers will be loaded equally. >>
In your case, i think one or two vg's should
suffice. (other than VG00). 100Gb and 16 volumes seems small enough to not create more VG's. But, remember to give the right vgcreate options.
vgcreate -e
<
It depends on what sort of application you are using. For internal lv striping, 64K should be fine.
No, this was not a silly question ;-) No question is.
HTH
raj
Take it easy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2001 08:05 AM
11-25-2001 08:05 AM
Re: How many VG's do I need?
Hi Vassily:
This is not a silly question at all. In fact, it shows good foresight.
First, for two reasons, I would limit the number of volume groups. Subjectively, I think a fewer volume groups with correspondingly, more logical volumes makes disk management easier. In fact, you probably will find configurations that are better able to smooth "hot-spots" by configuring proportionally more physical volumes to fewer volume groups than the inverse. This is particularly true for stripping however implemented ("true" stripes, or logical, distributed extents).
Perhaps more importantly, however, is that for every volume group, a kernel data structure exists thereby using memory resources. The 'maxvgs' kernel parameter controls the ceiling, defaults to ten (10), and can be increased to as much as 256.
You have already noted that you are aware of the desirability of splitting your primary and alternate links between controllers to provide both high-availability and load-balancing. I give high weight to this in laying out any configuration.
However you choose to create your disk configuration, give careful consideration to the 'pe_size', 'max_pv' and 'max_pe' parameters when you issue your 'vgcreate'. None of these values can be changed after volume group creation, and you don't want to find that you have been too conservative later if/when you add additional disk. (Disk stripping also adds wrinkles to long-term management, too). Remember that these parameters affect the size of the LVM tables in the Volume Group Reserved Area (VGRA) and must fit into one physical disk extent.
As for the stripe size, this is best determined emperically by you for your application. Choosing a 64K value for the stripe size is fine.
Regards!
...JRF...
This is not a silly question at all. In fact, it shows good foresight.
First, for two reasons, I would limit the number of volume groups. Subjectively, I think a fewer volume groups with correspondingly, more logical volumes makes disk management easier. In fact, you probably will find configurations that are better able to smooth "hot-spots" by configuring proportionally more physical volumes to fewer volume groups than the inverse. This is particularly true for stripping however implemented ("true" stripes, or logical, distributed extents).
Perhaps more importantly, however, is that for every volume group, a kernel data structure exists thereby using memory resources. The 'maxvgs' kernel parameter controls the ceiling, defaults to ten (10), and can be increased to as much as 256.
You have already noted that you are aware of the desirability of splitting your primary and alternate links between controllers to provide both high-availability and load-balancing. I give high weight to this in laying out any configuration.
However you choose to create your disk configuration, give careful consideration to the 'pe_size', 'max_pv' and 'max_pe' parameters when you issue your 'vgcreate'. None of these values can be changed after volume group creation, and you don't want to find that you have been too conservative later if/when you add additional disk. (Disk stripping also adds wrinkles to long-term management, too). Remember that these parameters affect the size of the LVM tables in the Volume Group Reserved Area (VGRA) and must fit into one physical disk extent.
As for the stripe size, this is best determined emperically by you for your application. Choosing a 64K value for the stripe size is fine.
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP