<?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: cant activated vg after truecopy in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145381#M565519</link>
    <description>Case closed</description>
    <pubDate>Tue, 16 Dec 2008 08:11:10 GMT</pubDate>
    <dc:creator>yunardi</dc:creator>
    <dc:date>2008-12-16T08:11:10Z</dc:date>
    <item>
      <title>cant activated vg after truecopy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145375#M565513</link>
      <description>Dear Expert,&lt;BR /&gt;&lt;BR /&gt;On a cluster system (test system), I'm doing a storage truecopy between 2 identical storage (source and target). I have shutdown the cluster on target first before truecopy running.&lt;BR /&gt;&lt;BR /&gt;But after truecopy I can't running the package :&lt;BR /&gt;Dec  9 17:25:36 - Node "sapr3db": Activating volume group vgsap with exclusive option.&lt;BR /&gt;vgchange: Volume group "/dev/vgsap" belongs to a different Cluster.  Activation failed.&lt;BR /&gt;        ERROR:  Function activate_volume_group&lt;BR /&gt;        ERROR:  Failed to activate vgsap&lt;BR /&gt;Dec  9 17:25:36 - Node "sapr3db": Deactivating volume group vgsap&lt;BR /&gt;vgchange: Volume group "vgsap" has been successfully changed.&lt;BR /&gt;&lt;BR /&gt;I try to activated manually, but still error :&lt;BR /&gt;sapr3db:/etc/cmcluster/P11&amp;gt;vgchange -c n vgsap&lt;BR /&gt;Performed Configuration change. &lt;BR /&gt;Volume group "vgsap" has been successfully changed.&lt;BR /&gt;sapr3db:/etc/cmcluster/P11&amp;gt;&lt;BR /&gt;sapr3db:/etc/cmcluster/P11&amp;gt;vgchange -a y vgsap&lt;BR /&gt;vgchange: Activation mode requested for the volume group "/dev/vgsap" conflicts with configured mode.&lt;BR /&gt;sapr3db:/etc/cmcluster/P11&amp;gt;&lt;BR /&gt;sapr3db:/etc/cmcluster/P11&amp;gt;strings /etc/lvmtab&lt;BR /&gt;/dev/vgsap&lt;BR /&gt;G:vv&lt;BR /&gt;/dev/dsk/c10t0d0&lt;BR /&gt;/dev/dsk/c12t0d0&lt;BR /&gt;&lt;BR /&gt;I have done this before on non cluster system and had no problem. This time I'm running it in cluster. Do I need to export and re-import vg ?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Tue, 09 Dec 2008 10:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145375#M565513</guid>
      <dc:creator>yunardi</dc:creator>
      <dc:date>2008-12-09T10:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: cant activated vg after truecopy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145376#M565514</link>
      <description>&amp;gt;&amp;gt;&amp;gt;Do I need to export and re-import vg ?&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Yes, You should please see below example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# vgchange -a -e /dev/vg_database vgchange: Warning: Couldn't attach to the volume groupphysical volume "/dev/dsk/c3t2d0":Cross-device linkvgchange: Activation mode requested for the volume group"/dev/vg_for_dd" conflicts with configured mode &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;# vgexport /dev/vg_for_dd # mkdir /dev/vg_for_dd # mknod /dev/vg_for_dd/group c 64 0x040000 # vgimport /dev/vg_for_dd /dev/dsk/c3t2d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Dec 2008 11:17:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145376#M565514</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-12-09T11:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: cant activated vg after truecopy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145377#M565515</link>
      <description>Hi Johnson,&lt;BR /&gt;&lt;BR /&gt;Thanks for reply.&lt;BR /&gt;&lt;BR /&gt;I have vg map file from source vg. Usually I used to reimport vg by vgimport -p -s -m vgxxx.map vgname.&lt;BR /&gt;&lt;BR /&gt;But in this cluster environtment, is there any procedure I must do first before export/import ? for example shutdown the cluster daemon ?&lt;BR /&gt;&lt;BR /&gt;Is there will be any impact on cluster config if I reimport the vg, may be I need to recompile the cluster ?&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Wed, 10 Dec 2008 03:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145377#M565515</guid>
      <dc:creator>yunardi</dc:creator>
      <dc:date>2008-12-10T03:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: cant activated vg after truecopy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145378#M565516</link>
      <description>Bonjour Yunardi,&lt;BR /&gt;&lt;BR /&gt;Not sure but I remenber that I did the same thing in a cluster. The problem was that both VG, source and copy, have the same VGID. And MC/ServiceGuard is aware this.&lt;BR /&gt;&lt;BR /&gt;So you should change VGID on one VG, the copy one seems to be the good target. See "man vgchgid". Be aware that you MUST do this command in a single pass on ALL disks from the copy VG at a time.&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Wed, 10 Dec 2008 10:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145378#M565516</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2008-12-10T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: cant activated vg after truecopy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145379#M565517</link>
      <description>Here is an example, all of this should go in a script, with all it's checks fsck's etc, just and example from man:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1. The system administrator uses the following commands to create the&lt;BR /&gt;         Business Continuity (BCV or BC) copy:&lt;BR /&gt;&lt;BR /&gt;         1)   For EMC Symmetrix disks, the commands are BCV establish and&lt;BR /&gt;              BCV split.&lt;BR /&gt;&lt;BR /&gt;         2)   For XP disk array, the commands are paircreate and pairsplit.&lt;BR /&gt;&lt;BR /&gt;         Three BCV disks are created.&lt;BR /&gt;&lt;BR /&gt;      2. Change the VGID on the BCV disks.&lt;BR /&gt;&lt;BR /&gt;         vgchgid /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d1 /dev/rdsk/c0t0d2&lt;BR /&gt;&lt;BR /&gt;      3. Make a new volume group using the BCV disks.&lt;BR /&gt;&lt;BR /&gt;         mkdir /dev/vgbcv&lt;BR /&gt;         mknod /dev/vgbcv/group c 64 0x040000&lt;BR /&gt;&lt;BR /&gt;      4. Import the BCV disks into the new volume group.&lt;BR /&gt;&lt;BR /&gt;         vgimport /dev/vgbcv /dev/dsk/c0t0d0 /dev/dsk/c0t0d1 /dev/dsk/c0t0d2&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Dec 2008 13:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145379#M565517</guid>
      <dc:creator>likid0</dc:creator>
      <dc:date>2008-12-10T13:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: cant activated vg after truecopy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145380#M565518</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;The problem solved. Don't need to reimport the vg since this is on different cluster and different storage.&lt;BR /&gt;&lt;BR /&gt;After true copy compled the split process, just do :&lt;BR /&gt;shutdown the cluster and set cluster not to autostart after system restart.&lt;BR /&gt;vgchange -a n vgxxx&lt;BR /&gt;vgchange -c y vgxxx&lt;BR /&gt;startup cluster/package&lt;BR /&gt;&lt;BR /&gt;Thanks all for the response.</description>
      <pubDate>Tue, 16 Dec 2008 08:05:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145380#M565518</guid>
      <dc:creator>yunardi</dc:creator>
      <dc:date>2008-12-16T08:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: cant activated vg after truecopy</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145381#M565519</link>
      <description>Case closed</description>
      <pubDate>Tue, 16 Dec 2008 08:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-activated-vg-after-truecopy/m-p/5145381#M565519</guid>
      <dc:creator>yunardi</dc:creator>
      <dc:date>2008-12-16T08:11:10Z</dc:date>
    </item>
  </channel>
</rss>

