<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807986#M695752</link>
    <description>how can I test the working package. for example xclock. I've created vg01 from EVA for one node and distributed to another node. but xclock program works from local node...</description>
    <pubDate>Mon, 19 Jun 2006 09:56:45 GMT</pubDate>
    <dc:creator>Seymur</dc:creator>
    <dc:date>2006-06-19T09:56:45Z</dc:date>
    <item>
      <title>vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807984#M695750</link>
      <description>hi all.&lt;BR /&gt;&lt;BR /&gt;I have created volume group and distributed to other node. Should I do activate volume group on both node?&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Mon, 19 Jun 2006 09:50:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807984#M695750</guid>
      <dc:creator>Seymur</dc:creator>
      <dc:date>2006-06-19T09:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807985#M695751</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Vg will be activated by package , not manually&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jun 2006 09:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807985#M695751</guid>
      <dc:creator>Ludovic Derlyn</dc:creator>
      <dc:date>2006-06-19T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807986#M695752</link>
      <description>how can I test the working package. for example xclock. I've created vg01 from EVA for one node and distributed to another node. but xclock program works from local node...</description>
      <pubDate>Mon, 19 Jun 2006 09:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807986#M695752</guid>
      <dc:creator>Seymur</dc:creator>
      <dc:date>2006-06-19T09:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807987#M695753</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;in SG the volume group will be activated only on a node. If you want just for testing purposes you can active the shared volume group on the first node before and then deactivate it from that node and activate the same VG on the second node. It just for testing purposes to check if there are problems.&lt;BR /&gt;&lt;BR /&gt;Just a thought...&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Mon, 19 Jun 2006 09:59:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807987#M695753</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2006-06-19T09:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807988#M695754</link>
      <description>If you list a VG in the package control script, starting the package will activate the VG on the node, regardless of whether you list any logical volumes or file systems.&lt;BR /&gt;Thus, after the package is started, you should be able to do a 'vgdisplay &lt;VGNAME&gt;' to determine whether it was activated after the package was started.&lt;BR /&gt;You will also note from its status that the VG is active in "exclusive" mode - an indication that it identifies with the SG cluster.&lt;BR /&gt;Halt the xclock package and start it on the other server and you should see the VG deactivate on the first node and activate on the next node.&lt;BR /&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Tue, 20 Jun 2006 09:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807988#M695754</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2006-06-20T09:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807989#M695755</link>
      <description>Seymur,&lt;BR /&gt;&lt;BR /&gt;  If the VG is part of the cluster, the package that uses the VG should be configured to activate/deactivate the volume group.&lt;BR /&gt;&lt;BR /&gt;  Having said that, it is perfectly fine to manually activate the VG from the command.&lt;BR /&gt;&lt;BR /&gt;  But remember, the HP-UX LVM has no means of communicating the VG activation status across the nodes. So the VG should be activated RW only in one node. You can activate the VG in Read-only mode in the other node.&lt;BR /&gt;&lt;BR /&gt;   In node 1&lt;BR /&gt;    &lt;BR /&gt;     # vgchange -a e /dev/vgname&lt;BR /&gt;   &lt;BR /&gt;  In node 2&lt;BR /&gt;&lt;BR /&gt;     # vgchange -a r /dev/vgname&lt;BR /&gt;     # vgcfgbackup /dev/vgname&lt;BR /&gt;&lt;BR /&gt;    (vgcfgbackup wont exist in the adoptive nodes).&lt;BR /&gt;&lt;BR /&gt;   Now remember to deactive the VG before starting the package, or else the package startup will fail.&lt;BR /&gt;&lt;BR /&gt;Sundar</description>
      <pubDate>Tue, 20 Jun 2006 10:49:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807989#M695755</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2006-06-20T10:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807990#M695756</link>
      <description>lvmkd detects a) the cluster ID and b) the exclusive activation flag in the VGDA of the LVM structures on disk.&lt;BR /&gt;When lvmkd detects that a VG is marked to activate in exclusive mode, it cannot be activated on more than one node at any given time.    Hence vgchange -a r on a second node will not succeed.  &lt;BR /&gt;&lt;BR /&gt;Incidentally, HP-UX does not have the ability to communicate inode changes performed on one server to another server.  So if a 2nd server activates a VG and mounts a file system mounted in read-only mode that is already mounted on the 1st server, file system structures in-core on the 2nd node can quickly become unsync'd from what is being done to the file system from the 1st node.  This can cause a file-system inconsistency panic on the 2nd node.</description>
      <pubDate>Tue, 20 Jun 2006 11:01:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807990#M695756</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2006-06-20T11:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807991#M695757</link>
      <description>lvmkd will not allow read-only activation in the second node ?? that is news to me, unless I am missing something here. I have done this zillion times before to create the vgcfgbackup of the cluster volume group, even with the SG version 11.14. I dont know if this is any different in 11.16.</description>
      <pubDate>Tue, 20 Jun 2006 12:20:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807991#M695757</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2006-06-20T12:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807992#M695758</link>
      <description>Hi Seymur,&lt;BR /&gt;&lt;BR /&gt;# cmhaltpkg -pkg_name&lt;BR /&gt;&lt;BR /&gt;In main node (nodea),&lt;BR /&gt;&lt;BR /&gt;# vgchange -a e vgsample&lt;BR /&gt;# mount /dev/vgsample/lvsample /sample&lt;BR /&gt;# bdf /sample&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -m /tmp/vgsample.map vgsameple&lt;BR /&gt;# scp (or rcp) /tmp/vgsample.map nodeb;/tmp&lt;BR /&gt;# vgchange -a n vgsample&lt;BR /&gt;&lt;BR /&gt;In adoptive node (nodeb),&lt;BR /&gt;&lt;BR /&gt;# vgexport -m /tmp/vgsample.map.old&lt;BR /&gt;# mkdir /dev/vgsample&lt;BR /&gt;# mknod /dev/vgsample/group c 64 0xnnnnnn&lt;BR /&gt;# vgimport -m /tmp/vgsample.map vgsample pv_paths&lt;BR /&gt;# vgchange -c y vgsample&lt;BR /&gt;# vgchange -a e vgsample&lt;BR /&gt;# mount /dev/vgsample/lvsample /sample&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;&lt;BR /&gt;ran&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Jun 2006 07:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807992#M695758</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2006-06-21T07:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807993#M695759</link>
      <description>Sundar, &lt;BR /&gt;You are correct.  A VG can be activated in read-only mode even if it is activated in exclusive mode elsewhere.   &lt;BR /&gt;I stand by my message that inode changes are not communicated from the read/write node to the read-only node, so it's not advisable to mount the file system on the read-only node.</description>
      <pubDate>Wed, 21 Jun 2006 07:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807993#M695759</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2006-06-21T07:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807994#M695760</link>
      <description>thanks all.&lt;BR /&gt;&lt;BR /&gt;I've solved this problem with 'vgchange -a e'.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;seymour.</description>
      <pubDate>Wed, 21 Jun 2006 12:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807994#M695760</guid>
      <dc:creator>Seymur</dc:creator>
      <dc:date>2006-06-21T12:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: vgchange</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807995#M695761</link>
      <description>Hi Seymur, &lt;BR /&gt;Although you found that you were able to activate the clustered VG using 'vgchange -a e', that manual operation will normally be done in a package control script. &lt;BR /&gt;Since a VG is only part of the requirements of a critical application, the package control script is used to coordinate and automate making the necessary system resources available to the application, under Serviceguard control.&lt;BR /&gt;Therefore, it seems like the next thing you need to do is make a package control script and add that VG to the script.</description>
      <pubDate>Thu, 22 Jun 2006 08:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgchange/m-p/3807995#M695761</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2006-06-22T08:45:14Z</dc:date>
    </item>
  </channel>
</rss>

