Operating System - HP-UX
1833730 Members
2202 Online
110063 Solutions
New Discussion

custom_vg_activation() How would I configure to avtivate vg00

 
SOLVED
Go to solution
David Willams
Super Advisor

custom_vg_activation() How would I configure to avtivate vg00

AUTO_VG_ACTIVATE=0

#
# The variable RESYNC controls the order in which
# Volume Groups are resyncronized. Allowed values
# are:
# "PARALLEL" - resync all VGs at once.
# "SERIAL" - resync VGs one at a time.
#
# SERIAL will take longer but will have less of an
# impact on overall I/O performance.
#

RESYNC="SERIAL"


#
# Add customized volume group activation here.
# A function is available that will synchronize all
# volume groups in a list in parallel. It is
# called parallel_vg_sync.
#
# This routine is only executed if AUTO_VG_ACTIVATE
# equals 0.
#

custom_vg_activation()
3 REPLIES 3
melvyn burnard
Honored Contributor
Solution

Re: custom_vg_activation() How would I configure to avtivate vg00

vg00 will be activated automatically even though you have turned auto_activation off
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Stephen Doud
Honored Contributor

Re: custom_vg_activation() How would I configure to avtivate vg00

As Melvyn said, vg00 is activated at boot time, before this script is even entered. There is no need to list it in /etc/lvmrc.

A word about /etc/lvmrc...
The purpose of /etc/lvmrc is to prevent LVM from attempting to activate volume groups that are identified as cluster-aware, at boot time, because doing so will generate error messages to the console, since the cluster daemons have not started at this point.
So the value of the script is to avoid unnecessary error messages being sent to the console.

There is no requirement to edit this file for proper system startup and cluster operation.
David Willams
Super Advisor

Re: custom_vg_activation() How would I configure to avtivate vg00

thanks