Operating System - HP-UX
1837930 Members
3963 Online
110124 Solutions
New Discussion

Ideal LV Configuration for App

 
SOLVED
Go to solution
Gunther Schulze
Frequent Advisor

Ideal LV Configuration for App

I posted this question in the HP OpenView Network Node Manager forum and no one touched it with a 10 foot pole! Maybe someone here might be able to help. I've got a K460 2-way server with 1GB RAM that I'll be installing HP-UX 11.0 on. I also have an autoRAID attached with about 24GB of capacity. The only app that will be running on this machine will be NNM. Does anyone have any suggestions for an ideal LV setup for this software? In other words, how should I divide my LV's given the amount of free disk space I'll have for /usr, /, /tmp, /home, /var, etc.... I'll have about 5 users. Thanks!
The only constant in life is change.
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Ideal LV Configuration for App

Give this a shot:

/usr 1.5gb to 2gb (depends upon what other things you load other than NNM)
/ 500mb to 700mb
/tmp 500mb to 1gb depending upon how you or your
utilities or users might use /tmp
/home 40mb to ??? depending upon how or why your
users would need to keep files locally
/opt 1.5gb to 2gb (how much software do you need to load
/stand 80mb-100mb (how many versions of kernel rebuilds do you want to keep?)
/var 10gb to 12gb (put all log files here)

Leave a few GB left, just in case you need some space down the line.
Live Free or Die
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Ideal LV Configuration for App

NNM doesn't really do much Disk I/O activity. So we don't really have to worry about how you would lay the file systems. The default would do.

I would always suggest to keep the OS file systems as small as possible. It will be easy to recover the system.

Also, please do not install NNM as part of /opt or /etc/ or /var/opt file systems. Create a seperate volume group and file systems for all the applications and mount them on the required mount points. You may want to consider the following setup.

vg00

/stand - 150 MB
/var - 1.5 GB
/usr - 1 GB
/opt - 1 GB
/tmp - 500 MB
/ - 150 MB
pri_swap - 3 GB

vg01 (or any name that you like)

Mounted Directory Size lv_name
/home - 500 MB home
/opt/OV - 500 - 1000 MB optov
/var/opt/OV - 5 GB voptov
/etc/opt/OV - 500 MB eoptov
apps - ??? apps
...


NNM resides in /opt/OV, /etc/opt/OV and /var/opt/OV. If you have them in a seperate volume group, you don't have to worry about recoving these file systems from the backup. In case of disaster, ignite the system with make_recovery tape and import the volume group and you will be good to go.

NNM take considerable amount of Memory. You should also have good Network bandwidth. So, you may want to study how the system is doing for few months and forecast the growth.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
linuxfan
Honored Contributor

Re: Ideal LV Configuration for App

Hi Gunther,

You haven't mentioned anything about your internal disks? Do you have any or are you planning to put the OS and the other data on the autoraid.

Remember you can only configure a maximum of 8 LUNS on the autoraid (which means max of 8 logical disks) and once you create a LUN, you cannot extend it (you will have to recreate the LUN).

-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Gunther Schulze
Frequent Advisor

Re: Ideal LV Configuration for App

Thanks Harry, Sridhar, and Ramesh! I appreciate the suggestions.
The only constant in life is change.
Magdi KAMAL
Respected Contributor

Re: Ideal LV Configuration for App

Hi Gunter,

Mounted Directory under vg00:
/ : 400 MB
/stand: 200 MB
/home : 500 MB
/tmp : 500 MB
/opt : 2000 MB
/var : 2000 MB
/usr : 2000 MB
/var/adm/crash : 2000 MB
swap value : 4000 MB on two files to load balance ( 4000 = 4 times the 1GB memory ).
...

Magdi