Sponsored Content
Operating Systems AIX Defining LV's with the Interpolicy Maximum option Post 302825873 by vbe on Tuesday 25th of June 2013 10:06:52 AM
Old 06-25-2013
Difficult to reply like that, it depends a lot on your architecture... Are you talking of external disks ? LUNS perhaps? how do you acces them (vai HBA's , how many?...)

striping can boost of course but then you are stuck with your policy... e.g. striping using 6 LUNs via 2 HBA will give great perfs, but the day you are short of space you are doomed if you cannot give 6 extra LUNS...
What follows can be achieved by letting the system use all you give:
Code:
n12:/home/vbe $ lslv -l lv111
lv111:/opt/oracle
PV                COPIES        IN BAND       DISTRIBUTION  
hdisk2            003:000:000   0%            000:000:000:003:000 
hdisk8            003:000:000   0%            000:000:000:003:000 
hdisk9            003:000:000   0%            000:000:000:003:000 
hdisk1            003:000:000   0%            000:000:000:003:000 
hdisk5            002:000:000   0%            000:000:000:000:002 
hdisk6            002:000:000   0%            000:000:000:000:002 

LOGICAL VOLUME:     lv111                  VOLUME GROUP:   vg01
LV IDENTIFIER:      00c8e5f200004c0000000123c1b0003f.13 PERMISSION:     read/write
VG STATE:           active/complete        LV STATE:       opened/syncd
TYPE:               jfs2                   WRITE VERIFY:   off
MAX LPs:            516                    PP SIZE:        128 megabyte(s)
COPIES:             1                      SCHED POLICY:   parallel
LPs:                16                     PPs:            16
STALE PPs:          0                      BB POLICY:      relocatable
INTER-POLICY:       maximum                RELOCATABLE:    yes
INTRA-POLICY:       middle                 UPPER BOUND:    6
MOUNT POINT:        /opt/oracle            LABEL:          /opt/oracle
DEVICE UID:         0                      DEVICE GID:     0
DEVICE PERMISSIONS: 432
MIRROR WRITE CONSISTENCY: on/ACTIVE
EACH LP COPY ON A SEPARATE PV ?: yes (superstrict)
Serialize IO ?:     NO
INFINITE RETRY:     no
DEVICESUBTYPE:      DS_LVZ
COPY 1 MIRROR POOL: None
COPY 2 MIRROR POOL: None
COPY 3 MIRROR POOL: None

But this is not what is commonly called stripes and so the day you are short in the VG you can add what you have and let AIX deal with it...

That said, tuning a system is knowing what is the best compromise for the appointed tasks to need to realize :
Stripping is very good but it has a cost... I remember seeing an HP-UX system striped over 180 disks using 16 HBAs...
But as I said tuning is finding an acceptable compromise, e.g. bigger the cache, less memory you have for your programs ...
Then of course e.g. oracle greater the SGA better the perfs. should be, only I noticed that this is not quite true, it will follow more something like a Gauss curve and so the best can be the ennemy of the Good.... (e.g. You can end with a system loooooosing such a time parsing the SGA for some data when reading from disk would already give the data...) Also having to many Caches will end with same sort of result ( If you are using a disk bay, it caches also so why let AIX use a lot of cache for your file systems... )
About disks/ LUNs the spindles you can give and spread over the more HBAs - bigger the throughput you have, but keep in mind you may be moving the problem forward: for it to be the most performant the ideal would be to have a LUNs from separate arrays using different controllers in the bay...
All this to say take your time defining correctly what your needs are because once your system is up, you will have to live with it

Last edited by vbe; 06-25-2013 at 11:30 AM..
This User Gave Thanks to vbe For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Defining Variables

I'm trying to define a variable named sin I already have a variable named cos, which has the value "hello" I want sin to have the value of "hellothere", so sin would be something like sin = $cos & "there" but I'm not sure that I know the syntax. Can anyone help? :confused: (4 Replies)
Discussion started by: sailorliones
4 Replies

2. Shell Programming and Scripting

option followed by : taking next option if argument missing with getopts

Hi all, I am parsing command line options using getopts. The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument. Below is the script: while getopts :hd:t:s:l:p:f: opt do case "$opt" in -h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies

3. AIX

defining a printer in qconfig

I've got a modified samba script (named it winprint) that I can use to print out to a to a shared Win Network printer from an AIX machine. This is a modification of the samba provided smbprint script changed to work under AIX as the backend for a queue. It does not read a config file I can print... (0 Replies)
Discussion started by: matheeq
0 Replies

4. Shell Programming and Scripting

defining variables

Hey all, I was wondering if someone would take a look at this script I'm working on. I don't know if i have the syntax correct for my variables and if the for loop is written correctly. any assistance would be greatly appreciated. #!/usr/bin/bash ###########################################... (12 Replies)
Discussion started by: em23
12 Replies

5. Programming

Defining the inputStream object

Question regarding extend issue What is the reason behind defining the inputStream object in this way... InputStream inputStream = new FileInputStream("c:\\input.txt"); I know that FileInputStream extends InputStream, is there anything else ? I mean we could have define it like ... (0 Replies)
Discussion started by: yahyaaa
0 Replies

6. UNIX for Dummies Questions & Answers

defining variable in .profile

In root dir i have created a .profile file and added variable and assigned a path to it: a = '/dir/dir' export a but when i echo (echo $a) the path or use this variable the value or path not getting displayed. i tried executing the .profile and logging out and logging in, didnt workout. am... (1 Reply)
Discussion started by: abhi_n123
1 Replies

7. Shell Programming and Scripting

recently introduced to the newer option for find...does an older option exist?

To find all the files in your home directory that have been edited in some way since the last tar file, use this command: find . -newer backup.tar.gz Is anyone familiar with an older solution? looking to identify files older then 15mins across several directories. thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

8. UNIX for Dummies Questions & Answers

Defining an alias FreeBSD

I have defined this alias as quick way to find out which mount point to use for a USB drive after inserting it: # alias da='dmesg | grep da | grep MB' However, when invoking it, it states the following: # da da: Command not found. Can someone explain what is the issue here and how it can be... (3 Replies)
Discussion started by: figaro
3 Replies

9. UNIX for Dummies Questions & Answers

Help with defining PATH

Hi All, I have a trivial question but I dont know how to solve it. So basically I'm working on a USB key and I have a directory with some scripts which I use to work on files present in other directories within the USB or sometimes on the main harddisk too. The problem is every time I have to... (3 Replies)
Discussion started by: pawannoel
3 Replies

10. Programming

Problem defining a struct

I have the following code and getting the compilation errors baseLib/DynBaseObj.h:80: error: expected constructor, destructor, or type conversion before ‘(' token baseLib/DynBaseObj.h:89: error: expected constructor, destructor, or type conversion before ‘(' token baseLib/DynBaseObj.h:101:... (0 Replies)
Discussion started by: kristinu
0 Replies
All times are GMT -4. The time now is 04:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy