<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: vgchange options in SG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525047#M668795</link>
    <description>&lt;!--!*#--&gt;Hi..&lt;BR /&gt;&lt;BR /&gt;Package ctrl script takes care of VG activation etc but in case it fails and I want to activate VG manually and then run  package;so for that, do we need to first activate (-a y) the VG and then make it cluster aware (-c y) ??&lt;BR /&gt;&lt;BR /&gt;Thanks..</description>
    <pubDate>Sun, 01 Nov 2009 14:27:19 GMT</pubDate>
    <dc:creator>UniRock</dc:creator>
    <dc:date>2009-11-01T14:27:19Z</dc:date>
    <item>
      <title>vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525042#M668790</link>
      <description>&lt;!--!*#--&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have few questions about ServiceGuard. I have also gone through admin guide but still doubts are persistent.&lt;BR /&gt;For example, cluster is up; package is down; VG is deactivated on nodes; we start the package; everything runs fine (including VG activation).&lt;BR /&gt;&lt;BR /&gt;But then, WHY and WHEN do we require "vgchange" options like "-c y", "-c n", "-a e", "-a y" etc.&lt;BR /&gt;Are these only for troubleshooting purpose??&lt;BR /&gt;&lt;BR /&gt;Thanks in advance..&lt;BR /&gt;Good points assured ;)&lt;BR /&gt;</description>
      <pubDate>Sun, 01 Nov 2009 04:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525042#M668790</guid>
      <dc:creator>UniRock</dc:creator>
      <dc:date>2009-11-01T04:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525043#M668791</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;-c is for each node in the cluster.  It's a sharing of ownership mechanism for LVM.&lt;BR /&gt;&lt;BR /&gt;-c y - yes share to other nodes&lt;BR /&gt;&lt;BR /&gt;-c n - no share &lt;BR /&gt;&lt;BR /&gt;-a e - activate in exclusive read / write - so the other nodes don't take control of the vg when used on another node&lt;BR /&gt;&lt;BR /&gt;-a y - activate true - won't mount the file systems if not activated.</description>
      <pubDate>Sun, 01 Nov 2009 06:01:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525043#M668791</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-01T06:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525044#M668792</link>
      <description>Unirock,&lt;BR /&gt;&lt;BR /&gt;Normally a vg is available fr use if it has been activated: can be activated with: &lt;BR /&gt;# vgchange -a y vgxx&lt;BR /&gt;Then mount the FS, work with lv , raw lv... etc....&lt;BR /&gt;&lt;BR /&gt;To deactivate :&lt;BR /&gt;# unmount fsss..lvss..&lt;BR /&gt;# vgchange -a n vgxx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;However in Service Guard Environment , Serive gurad cluser can use a VG if is made cluster aware, that means it adds a cluster flag/id on that vg:&lt;BR /&gt;This is done during setting up the cluster.&lt;BR /&gt;with vgchange -c y vgxx  option.&lt;BR /&gt;&lt;BR /&gt;And to activate # vgchange -a e vgxx &lt;BR /&gt;[ It will be activated exclusively , as it is shared vg between the nodes , and any node can activate the vg on request. ]&lt;BR /&gt;&lt;BR /&gt;This options are alrady in the package control script and during package startup it takes care of it. However in case of packge failed to start, and you try to activate the vg, it won't actiavet with just # vgchang -a y , because it is cluster vg.&lt;BR /&gt;So you have to use:&lt;BR /&gt;# vgchange -a e vgxx &lt;BR /&gt;[ As already having cluster aware flag on it]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Similarly to deactivate a cluster aware vg , vgchange -a n will not work,  you have to make it cluster unaware:&lt;BR /&gt;&lt;BR /&gt;- Make sure lvs are not in use or mounted.&lt;BR /&gt;Then&lt;BR /&gt;# vgchange -c n vgxx &lt;BR /&gt;# vgchange -a n vgxx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 01 Nov 2009 09:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525044#M668792</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-11-01T09:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525045#M668793</link>
      <description>Also remember &lt;BR /&gt;To make a vg cluster aware:&lt;BR /&gt;---&amp;gt; the cluster must be running.&lt;BR /&gt;cmviewcl should  be showing that the cluster is UP/running.&lt;BR /&gt;&lt;BR /&gt;If you try to make a vg cluster aware and want it to be the part of a High Availability service guard package, you have to run  # vghange -c y vg_name&lt;BR /&gt;(This is needed during  initialization of the vg  as cluster aware at the time of creation of the cluster.)&lt;BR /&gt;&lt;BR /&gt;This is also mentioned in the pkg control script:&lt;BR /&gt;&lt;BR /&gt;Check : any pkg control script :&lt;BR /&gt;/etc/cmcluster/pkg/pkg.cntl &lt;BR /&gt;&lt;BR /&gt;# VOLUME GROUP ACTIVATION:&lt;BR /&gt;# Specify the method of activation for volume groups.&lt;BR /&gt;# Leave the default (â  VGCHANGE=â  vgchange -a eâ  ) if you want volume&lt;BR /&gt;# groups activated in exclusive mode. This assumes the volume groups have&lt;BR /&gt;# been initialized with â  vgchange -c yâ   at the time of creation.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also further reading:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60127/vgchange.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60127/vgchange.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3936-90100/B3936-90100.pdf" target="_blank"&gt;http://docs.hp.com/en/B3936-90100/B3936-90100.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Sun, 01 Nov 2009 09:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525045#M668793</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-11-01T09:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525046#M668794</link>
      <description>&amp;gt;&amp;gt;But then, WHY and WHEN do we require "vgchange" options like "-c y", "-c n", "-a e", "-a y" etc.&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;You can always check man pages for "vgchange"&lt;BR /&gt;lots of information with examples&lt;BR /&gt;&lt;BR /&gt;vgchange -c "make the VG cluster aware" y|n - Yes/No&lt;BR /&gt;&lt;BR /&gt;vgchange -a "activate volume group" y|n Yes/No&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;Are these only for troubleshooting purpose??&lt;BR /&gt;&lt;BR /&gt;It depends on scenarios&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 01 Nov 2009 13:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525046#M668794</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-11-01T13:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525047#M668795</link>
      <description>&lt;!--!*#--&gt;Hi..&lt;BR /&gt;&lt;BR /&gt;Package ctrl script takes care of VG activation etc but in case it fails and I want to activate VG manually and then run  package;so for that, do we need to first activate (-a y) the VG and then make it cluster aware (-c y) ??&lt;BR /&gt;&lt;BR /&gt;Thanks..</description>
      <pubDate>Sun, 01 Nov 2009 14:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525047#M668795</guid>
      <dc:creator>UniRock</dc:creator>
      <dc:date>2009-11-01T14:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525048#M668796</link>
      <description>&amp;gt;&amp;gt;&amp;gt;I want to activate VG manually and then run  package;so for that, do we need to first activate (-a y) the VG and then make it cluster aware (-c y) ?? &amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;if you want to activate manauly- &lt;BR /&gt;&lt;BR /&gt;vgchange -c n /dev/vgXX&lt;BR /&gt;vgchange -a y /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;Once activated , you need manually mount file system which part of cluster pkg.&lt;BR /&gt;&lt;BR /&gt;Once you have fixed the issue why "your pkg "&lt;BR /&gt; before you ru "pkg"&lt;BR /&gt;&lt;BR /&gt;vgchange -c y /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;than you run your "pkg"&lt;BR /&gt;&lt;BR /&gt;cmrunpkg -v &lt;PKG_NAME&gt; -n &lt;NODE_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps :)&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Johnson&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/NODE_NAME&gt;&lt;/PKG_NAME&gt;</description>
      <pubDate>Sun, 01 Nov 2009 15:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525048#M668796</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-11-01T15:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525049#M668797</link>
      <description>Hi,&lt;BR /&gt;&amp;gt;&amp;gt; do we need to first activate (-a y) the VG and then make it cluster aware (-c y) ??&lt;BR /&gt;&lt;BR /&gt;If you run the package ctrl file then no need to do all this just run &lt;BR /&gt;#cmrunpkg &lt;PKGNAME&gt;&lt;BR /&gt;if this fails then you need to do all manually from activate to mount.&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;/PKGNAME&gt;</description>
      <pubDate>Sun, 01 Nov 2009 18:31:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525049#M668797</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-11-01T18:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525050#M668798</link>
      <description>&lt;BR /&gt;if your package does not start properly  FIX IT and then your package will start properly.  Your package script needs to be robust enought to start the package even if the other system went down hard.&lt;BR /&gt;&lt;BR /&gt;You do not want to start the package manually except as part of testing why the package did not start.  &lt;BR /&gt;&lt;BR /&gt;What ServiceGuard giveth ServiceGuard should take away so let serviceguard control the package and if there is a failure fix it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2009 00:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525050#M668798</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2009-11-02T00:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525051#M668799</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;To verify,&lt;BR /&gt;cmgetconf -p pkg1 | grep ^NODE_NAME&lt;BR /&gt;cmgetconf -p pkg2 | grep ^NODE_NAME&lt;BR /&gt;cmgetconf -p pkg1 | grep ^SERVICE_NAME&lt;BR /&gt;cmgetconf -p pkg2 | grep ^SERVICE_NAME&lt;BR /&gt;cmviewcl -v</description>
      <pubDate>Mon, 02 Nov 2009 00:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525051#M668799</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-11-02T00:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525052#M668800</link>
      <description>I'm not familiar with all of the veritas commands, but since SG supports two different volume manages this is an easy way to differentiate to two volume managers.  This is in addition to some of the answers related to shared vs unshared volume groups.</description>
      <pubDate>Mon, 02 Nov 2009 00:49:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525052#M668800</guid>
      <dc:creator>Serviceguard for Linux</dc:creator>
      <dc:date>2009-11-02T00:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange options in SG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525053#M668801</link>
      <description>Hi UniRock;&lt;BR /&gt;&lt;BR /&gt;WHY: Yo need to use these commands manually in order to solve problems with package start/stop.  &lt;BR /&gt;&lt;BR /&gt;WHEN:  Somethimes you can have some problems with your application (Not necessarily with the cluster or package commands),  for example your database does not start or stop.  In such situations you need to activate or deactivate the volume groups that are used with this application, then manually try to solve the application problem before controlling it through the cluster packages.&lt;BR /&gt;&lt;BR /&gt;Best Regards &lt;BR /&gt;&lt;BR /&gt;Alexander</description>
      <pubDate>Mon, 02 Nov 2009 17:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange-options-in-sg/m-p/4525053#M668801</guid>
      <dc:creator>Alexander Santamaria Ji</dc:creator>
      <dc:date>2009-11-02T17:21:40Z</dc:date>
    </item>
  </channel>
</rss>

