- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvm best pratices
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
Discussions
Discussions
Forums
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
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
тАО08-10-2009 09:23 AM
тАО08-10-2009 09:23 AM
lvm best pratices
I need help on best practices regarding LVM, I currently have an hpux 11iv3 with an eva4400. I have setup vg00 with mirror ux on the internal drive, vg01 for my client data and vg02 for other things.
My question is on my vg01, here are the fact ...
1- I need a separated env for each of my client
2- each of my client need it's own prod, preprod and test env.
3- I don't want to affect prod env
4- I don't want to much maintenance
Should I build a LV on per client env, I would like to have something like ...
/data/opt/my company/client/prod/ db volume
what should I do?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 09:29 AM
тАО08-10-2009 09:29 AM
Re: lvm best pratices
sounds to me like you are asking for best practice of your application and not of lvm.
What application do you use?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 09:39 AM
тАО08-10-2009 09:39 AM
Re: lvm best pratices
what will be the pro and cons of doing what I describe, it is ok?
- how should I do my mount point?
- should i just put every client env into the same bucket?
- is my naming convention ok lv_client1_env1, lv_client1_env2, lv_client2_env1?
- is my file system mount point ok /data/opt/my company/client/prod or should I use sym link?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 10:57 AM
тАО08-10-2009 10:57 AM
Re: lvm best pratices
The next best thing you can do is to spread your clients into different volume groups, rather than giving them just a different logical volume. Then you can name your LVs according to the environment, as in DEV, TEST, PREPROD and PROD. When it comes to rest of the lv naming, as long as the data are contained in different volume groups, your LV names can even be the same for the ease of management. Mount points are just a matter of preference. I am sure you will have the right permissions and filesystem ownerships, so that one can not peek into other's data.
>3- I don't want to affect prod env
if they are on the same server, and you have to apply a reboot requiring patch, to the test environment, how is this going to happen ? More than likely it's not.
>4- I don't want to much maintenance
neither do I but life as a sysadmin is hard :)
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 11:26 AM
тАО08-10-2009 11:26 AM
Re: lvm best pratices
What will be the advantage of creating a volume group per client? what is the vg limitation?
Another questions, if I create my mount point to be /data/opt/comp/client/prod, if I build a file in /data/opt/test, where the directory will reside?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 12:20 PM
тАО08-10-2009 12:20 PM
Re: lvm best pratices
> if I create my mount point to be /data/opt/comp/client/prod, if I build a file in /data/opt/test, where the directory will reside?
In this case, a file created as /data/opt/test/somefile will reside on the same device/LUN level as /data/opt which is exactly the same thing as /data/opt/comp/client, provided none of these paths and their recursive upper directories are mountpoints.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 12:25 PM
тАО08-10-2009 12:25 PM
Re: lvm best pratices
Should I do FS mount point ...
/data/opt/comp/client/env1
+
/data/opt/comp/client/env2
+
/data/opt/comp/client2/env1
or this will cause an error?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 12:28 PM
тАО08-10-2009 12:28 PM
Re: lvm best pratices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 12:34 PM
тАО08-10-2009 12:34 PM
Re: lvm best pratices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2009 12:41 PM
тАО08-10-2009 12:41 PM
Re: lvm best pratices
ok, so if I have a file system with a mount point /data/opt/comp/client1 and /data/opt/comp/client2 and I build a file in /data, where the file will reside, sorry I'm not a sys admin and I'm trying to understand
*********
If you build a file in /data, that is where it will reside.
You have to build your files in the specific directories for each client. If both client1 and client2 need a file called "mydata", then that file would have to be build in each of /data/opt/comp/client1 and /data/opt/comp/client2. So you would then have /data/opt/comp/client1/mydata and /data/opt/comp/client2/mydata.