chvg -g on Concurrent VG


 
Thread Tools Search this Thread
Operating Systems AIX chvg -g on Concurrent VG
# 1  
Old 11-18-2008
chvg -g on Concurrent VG

Hi,

on normal (non concurrent) vgs, it's possible to extend a lun on san-storage , and use chvg -g to rewrite vgda, and use disks with the new size for lvm operations


is the same procedure possbile on a hacmp-cluster (2 node in our case) with concurrent vgs in active/passive mode?

cheers funksen

Edit:

ok here ist what the man page says, but perhaps it's possible and the man page just was not adapted, has anyone tried it yet? Smilie

Code:
 -g
            Will examine all the disks in the volume group to see if they have
            grown in size. If any disks have grown in size attempt to add
            additional PPs to PV. If necessary will determine proper 1016
            multiplier and conversion to big vg. Notes:

              1    The user might be required to execute varyoffvg and then
                   varyonvg on the volume group for LVM to see the size change
                   on the disks.
              2    There is no support for re-sizing while the volume group is
                   activated in classic or enhanced concurrent mode.
              3    There is no support for re-sizing for the rootvg.

Edit2: aix 5.3 TL07/08

Last edited by funksen; 11-18-2008 at 08:18 AM..
# 2  
Old 11-18-2008
AFAIK growing the VG by adding new partitions to VGDA while it is varyon is still at the pilot stage Smilie. If you want to extend an HACMP shared VG online you can (with CSPOC) add disks to it and then extend the LV/FS.
# 3  
Old 11-19-2008
well it's no problem on non concurrent vgs,

another way, unfortunately offline, ist taking down hacmp, extend luns, cfgmgr, varyonvg in normal mode, run chvg, start the cluster, and hacmp synchronises the new vgda to other nodes


extending with new luns is the way we were doing it the last years, but this leads to 100+ luns on bigger systems
we run hacmp in virtualized environment, with two vio-servers, mpio on the lpar

this is really hard to administrate
# 4  
Old 11-19-2008
Quote:
Originally Posted by funksen
[...]well it's no problem on non concurrent vgs, [...]
Sorry, I thought you asked about concurrent VG.

Quote:
Originally Posted by funksen
[...]extending with new luns is the way we were doing it the last years, but this leads to 100+ luns on bigger systems[...]
yes, that happens usually when the hdisk slices from the SAN are too small. I remember a datacenter where the SAN guys allocated the SAN disks in 8GB chunks because "with smaller disks we are more flexible".... I.e. know your workload from the beginning. If your data doubles every 6 month or so start with few big disks/lun so that you neither hit the VG limits nor end up with hundreds of disks/luns (that might double when mirrored).
# 5  
Old 11-19-2008
you are right, I asked about concurrent vg, just wanted to say that it's no problem on non concurrent vgs Smilie



Quote:
yes, that happens usually when the hdisk slices from the SAN are too small. I remember a datacenter where the SAN guys allocated the SAN disks in 8GB chunks because "with smaller disks we are more flexible".... I.e. know your workload from the beginning. If your data doubles every 6 month or so start with few big disks/lun so that you neither hit the VG limits nor end up with hundreds of disks/luns (that might double when mirrored).


we were told that we should use 60gb luns and a lot of them, due to better performance on our old DS4800 storage
on our new DS8300 we tested the same lv striped on 2, 4, 8, and only one disk
there was almost no performance improvement with more luns, thats why I ordered luns up to 260gb for some systems, makes it much easier



and back to hacmp, I know that it is possible to run hacmp with non-concurrent vgs, and in case of takeover, the vg is varied offline on primary node and online on sec node,
takes a bit longer, but it's easier to handle the whole lvm management
any experience on this?
# 6  
Old 11-19-2008
Quote:
Originally Posted by funksen
[...]there was almost no performance improvement with more luns, thats why I ordered luns up to 260gb for some systems, makes it much easier
Yes, this definitely sounds like a good lun size for any DB and/or SAP installation these days.

Quote:
Originally Posted by funksen
[...]it is possible to run hacmp with non-concurrent vgs, and in case of takeover, the vg is varied offline on primary node and online on sec node,
takes a bit longer, but it's easier to handle the whole lvm management
any experience on this?
In my experience this "bit longer" can make quite a big difference especially with VG that have lots of disks. Personally I'd thus always prefer an ECM VG and live with a slightly more complicated handling. Another big advantage of ECM IMHO is that a takeover won't fail because of problems with releasing SCSI locks. (But that was with HACMP V4 and might not be a problem with V5)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Difference between concurrent and enhanced concurrent VG

Hi, What are the differences between concurrent and enhanced concurrent VGs.? Any advantages of enhanced concurrent VG over normal concurrent vg Regards, Siva (2 Replies)
Discussion started by: ksgnathan
2 Replies

2. AIX

Normal VG to Enhanced Concurrent VG

Hi All, I am going to perform some activity in 2Node HA Server(Active/Passive). For that i have to do some pre-requsite (ie., Resource Group VG's should be Enhanced-Concurrent) In my setup, we have two volume groups in one RG. In that one VG is Normal and another is Enhance Concurrent. ... (2 Replies)
Discussion started by: Thala
2 Replies

3. Solaris

Increase concurrent logins?

Hi all, I've been tasked to create a robot account across a bunch of SunOS servers, amongst the requirements for this account is this condition: Concurrent access requirement The robot account shall have the ability to create at least ten(10) concurrent access sessions. In order to... (0 Replies)
Discussion started by: dan-e
0 Replies

4. Shell Programming and Scripting

Concurrent execution

Hi all, I have a folder with sql files that need to be inserted in a DB with SQL*Plus. The thing is that it takes too long to insert them all one by one, so I want to insert them five at a time. Currently what I use is this: for $FILENAME in *.sql do sqlplus -s $DBUSER@$SID << EOF ... (0 Replies)
Discussion started by: Tr0cken
0 Replies

5. Linux

Is Concurrent I/O (CIO) available on Linux?

Hi Guys, I just wondering if any of the AIX gurus with some exposure to Linux Redhat can tell me whether in Linux ( Red Hat or OpenSuse ) we have a similar option/capability like the CIO (Concurrent I/O) which is currently available on AIX. The reason I'm asking is because in the past we... (2 Replies)
Discussion started by: arizah
2 Replies

6. Shell Programming and Scripting

concurrent processes

We have a very large text file..contains almost 100K lines. We want to process this file to generate another text file as per our data requirement. As for now the parsing of data takes 20-25 mins each , for 100K lines. the current script uses : While Read Each Line do parsing.. Done ... (6 Replies)
Discussion started by: Amruta Pitkar
6 Replies

7. AIX

chvg -t (factor size) - risk?

have machine running AIX 4.3.3ML 11. It's rootvg has about 1GB of space available and is made up of 2 9GB drives. We are going to upgrade it to AIX 5.x but wanted more disk space for the upgrade. So was going to install 2 new 18GB drives. The plan was to bring the 2 18GB drives in as hdisk# and... (2 Replies)
Discussion started by: spattson
2 Replies

8. IP Networking

concurrent udp server

Just like concurrent tcp server, anyone know how to design the concurrent udp server with the thread? it's best to give some basic examples,thanks (0 Replies)
Discussion started by: Frank2004
0 Replies

9. Shell Programming and Scripting

Concurrent writing to file

Hi I have a ksh that can have multiple instances running at the same time. The script (each instance) uses the SAME log file to write to. Should this cause a problem or is the ksh clever enough to queue write requests to the file? Thanks. GMMIKE (2 Replies)
Discussion started by: GNMIKE
2 Replies

10. UNIX for Advanced & Expert Users

No concurrent login

Hi, I notice in my Sun Solaris 8 sparc workstatin, I am able to login concurrently using a same user ID. Is there a way to disallow this? That is, at anyone time, the user can have only 1 login session. How can it be done? Thanks (10 Replies)
Discussion started by: champion
10 Replies
Login or Register to Ask a Question