HPUX - 11iv2 and using vgmodify (205 Views)
Reply
Super Advisor
Tom Haddad
Posts: 330
Registered: ‎02-27-2007
Message 1 of 10 (205 Views)

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??!
Please use plain text.
Respected Contributor
AnthonySN
Posts: 511
Registered: ‎09-30-2006
Message 2 of 10 (205 Views)

Re: HPUX - 11iv2 and using vgmodify

attached is a good document from HP
Please use plain text.
Honored Contributor
Kenan Erdey
Posts: 559
Registered: ‎02-13-2006
Message 3 of 10 (205 Views)

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
Please use plain text.
Super Advisor
Tom Haddad
Posts: 330
Registered: ‎02-27-2007
Message 4 of 10 (205 Views)

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??
Please use plain text.
Honored Contributor
Kenan Erdey
Posts: 559
Registered: ‎02-13-2006
Message 5 of 10 (205 Views)

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
Please use plain text.
Honored Contributor
Hakki Aydin Ucar
Posts: 1,313
Registered: ‎08-16-2006
Message 6 of 10 (205 Views)

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.

Please use plain text.
Respected Contributor
AnthonySN
Posts: 511
Registered: ‎09-30-2006
Message 7 of 10 (205 Views)

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.
Please use plain text.
Super Advisor
Tom Haddad
Posts: 330
Registered: ‎02-27-2007
Message 8 of 10 (205 Views)

Re: HPUX - 11iv2 and using vgmodify

Thanks to all..
WIll plan my changes accordingly.
Document is very helpful.
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,953
Registered: ‎03-06-2006
Message 9 of 10 (205 Views)

Re: HPUX - 11iv2 and using vgmodify

[ Edited ]

>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

Please use plain text.
Super Advisor
Tom Haddad
Posts: 330
Registered: ‎02-27-2007
Message 10 of 10 (205 Views)

Re: HPUX - 11iv2 and using vgmodify

i was able to document your info and refer to the HP document that you supplied..thanks
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation