Operating System - HP-UX
1748021 Members
4989 Online
108757 Solutions
New Discussion юеВ

HPUX - 11iv2 and using vgmodify

 
Tom Haddad
Super Advisor

HPUX - 11iv2 and using vgmodify

I had an earlier thread on this issue but want to re-address it.
I have a 11iv2 host and I want to increase the max_pv. The VG is in exclusive status (and is part of a serviceguard package).
here my understanding as I reading a document on this and the steps to run
1. vgchange -c n /dev/vggroup
2. vgmodify -p xxxx /dev/vggroup
3. vgchange -c y /dev/vggroup

I think the vgmodify will de-activate the vggroup (vgchange -a n ..) then reactive it when done??!!

Anyone clarify the steps??!
9 REPLIES 9
AnthonySN
Respected Contributor

Re: HPUX - 11iv2 and using vgmodify

attached is a good document from HP
Kenan Erdey
Honored Contributor

Re: HPUX - 11iv2 and using vgmodify

Hi,

no you must manually de-activate by halting package.

> first halt the package that uses vg.
1. vgchange -c n /dev/vggroup
2. vgmodify -p xxxx /dev/vggroup
3. vgchange -c y /dev/vggroup
> run the package.
Computers have lots of memory but no imagination
Tom Haddad
Super Advisor

Re: HPUX - 11iv2 and using vgmodify

Thanks Kenan...
I see what you are saying..
Does the VGMODIFY deactivate/reactivate with LVM (vgchange -a n/y)as part of its process??
Kenan Erdey
Honored Contributor

Re: HPUX - 11iv2 and using vgmodify

No, it does not. as you are using hp-ux v2 you must halt the package, you cannot do this online.
Computers have lots of memory but no imagination
Hakki Aydin Ucar
Honored Contributor

Re: HPUX - 11iv2 and using vgmodify

>SASJ put a good document, I also want to address a full vgmodify document;
http://docs.hp.com/en/B2355-60130/vgmodify.1M.html


-p max_pv

Set the maximum number of physical volumes that the volume group is allowed to contain (see vgcreate(1M) -p). The maximum number of physical volumes can range from the current number of physical volumes in the volume group to 255.

The -t option displays a table of possible max_pv values for vg_name.

AnthonySN
Respected Contributor

Re: HPUX - 11iv2 and using vgmodify

when a package is halted the lvols are umounted and vg is deactivated as part of halting the package.
Tom Haddad
Super Advisor

Re: HPUX - 11iv2 and using vgmodify

Thanks to all..
WIll plan my changes accordingly.
Document is very helpful.
Dennis Handly
Acclaimed Contributor

Re: HPUX - 11iv2 and using vgmodify

>I had an earlier thread on this issue but want to re-address it.

Your previous thread:
http://h30499.www3.hp.com/t5/System-Administration/Vgmodify-HPUX-11iv2-systems/m-p/5257124

Tom Haddad
Super Advisor

Re: HPUX - 11iv2 and using vgmodify

i was able to document your info and refer to the HP document that you supplied..thanks