<?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 Service Guard new VGs on new storage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/service-guard-new-vgs-on-new-storage/m-p/6712894#M558779</link>
    <description>&lt;P&gt;Hi there ITRCers!&lt;/P&gt;&lt;P&gt;The scenario: two packages, a Service Guard Cluster, need to migrate the data to a new storage!&lt;/P&gt;&lt;P&gt;The plan?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1) Present LUNs to both nodes&lt;BR /&gt;2) ioscan -fnC disk on both nodes and insf -e&lt;BR /&gt;3) pvcreate -f /dev/rdsk/cXtXdX (do NOT run pvcreate on alternative links)&lt;/P&gt;&lt;P&gt;Perform the next two commands on both nodes&lt;BR /&gt;# mkdir /dev/vg_NEW-NAME-ON-NEWSTORAGE&lt;BR /&gt;# mknod /dev/vg_NEW/group c 64 0xNN0000 (where NN=unique minor number)&lt;/P&gt;&lt;P&gt;On the first node only:&lt;BR /&gt;# vgcreate /dev/vg_NEW&lt;BR /&gt;# lvcreate /dev/vg_NEW/lvolN&lt;BR /&gt;(repeat as necessary)&lt;BR /&gt;# vgexport -pvs -m /etc/lvmconf/vg_NEW.map /dev/vg_NEW&lt;BR /&gt;# rcp /etc/lvmconf/vg_NEW.map OTHERNODE:/etc/lvmconf/&lt;/P&gt;&lt;P&gt;On the other node:&lt;BR /&gt;# vgimport -vs -m /etc/lvmconf/vg_NEW.map /dev/vg_NEW (this populates /etc/lvmtab on the 2nd node)&lt;/P&gt;&lt;P&gt;On the first node:&lt;BR /&gt;Edit the cluster configuration ASCII file:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- update the FIRST_CLUSTER_LOCK_VG with vg_NEW&lt;/P&gt;&lt;P&gt;Right now I do have&lt;/P&gt;&lt;P&gt;FIRST_CLUSTER_LOCK_VG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/vgdp&lt;/P&gt;&lt;P&gt;what VG should I put in there?&lt;/P&gt;&lt;P&gt;In the ASCII file, each node section, update FIRST_CLUSTER_LOCK_PV with one of the disks in the VG&lt;/P&gt;&lt;P&gt;Right now I have&lt;/P&gt;&lt;P&gt;&amp;nbsp; FIRST_CLUSTER_LOCK_PV /dev/dsk/c11t0d2&lt;/P&gt;&lt;P&gt;What should I put in there?&lt;/P&gt;&lt;P&gt;Add VOLUME_GROUP vg_NEW&lt;BR /&gt;Remove the old VG VOLUME_GROUP reference&lt;/P&gt;&lt;P&gt;Mount the new VG/lvols&lt;/P&gt;&lt;P&gt;Halt the package which is reliant on the OLD VG&lt;/P&gt;&lt;P&gt;&amp;lt;-- what should be the right way to halt the packacke?&lt;/P&gt;&lt;P&gt;Activate the old VG: vgchange -c y vg_OLD&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Mount the related file systems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Migrate the data from the old VG to the new VG logical volumes. (Use CPIO or cp?)&lt;/P&gt;&lt;P&gt;Edit the package control script, updating these references:&lt;BR /&gt;VG[N]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, our nodes are currently attached to the CURRENT storage via Direct Attach, the CURRENT storage is ALSO on our SAN, if we connect our nodes to the SAN and zone accordingly, the EXISTING storage devices would change or remain the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS!!!!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Feb 2015 13:21:25 GMT</pubDate>
    <dc:creator>loy4lplay</dc:creator>
    <dc:date>2015-02-25T13:21:25Z</dc:date>
    <item>
      <title>Service Guard new VGs on new storage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/service-guard-new-vgs-on-new-storage/m-p/6712894#M558779</link>
      <description>&lt;P&gt;Hi there ITRCers!&lt;/P&gt;&lt;P&gt;The scenario: two packages, a Service Guard Cluster, need to migrate the data to a new storage!&lt;/P&gt;&lt;P&gt;The plan?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1) Present LUNs to both nodes&lt;BR /&gt;2) ioscan -fnC disk on both nodes and insf -e&lt;BR /&gt;3) pvcreate -f /dev/rdsk/cXtXdX (do NOT run pvcreate on alternative links)&lt;/P&gt;&lt;P&gt;Perform the next two commands on both nodes&lt;BR /&gt;# mkdir /dev/vg_NEW-NAME-ON-NEWSTORAGE&lt;BR /&gt;# mknod /dev/vg_NEW/group c 64 0xNN0000 (where NN=unique minor number)&lt;/P&gt;&lt;P&gt;On the first node only:&lt;BR /&gt;# vgcreate /dev/vg_NEW&lt;BR /&gt;# lvcreate /dev/vg_NEW/lvolN&lt;BR /&gt;(repeat as necessary)&lt;BR /&gt;# vgexport -pvs -m /etc/lvmconf/vg_NEW.map /dev/vg_NEW&lt;BR /&gt;# rcp /etc/lvmconf/vg_NEW.map OTHERNODE:/etc/lvmconf/&lt;/P&gt;&lt;P&gt;On the other node:&lt;BR /&gt;# vgimport -vs -m /etc/lvmconf/vg_NEW.map /dev/vg_NEW (this populates /etc/lvmtab on the 2nd node)&lt;/P&gt;&lt;P&gt;On the first node:&lt;BR /&gt;Edit the cluster configuration ASCII file:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- update the FIRST_CLUSTER_LOCK_VG with vg_NEW&lt;/P&gt;&lt;P&gt;Right now I do have&lt;/P&gt;&lt;P&gt;FIRST_CLUSTER_LOCK_VG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /dev/vgdp&lt;/P&gt;&lt;P&gt;what VG should I put in there?&lt;/P&gt;&lt;P&gt;In the ASCII file, each node section, update FIRST_CLUSTER_LOCK_PV with one of the disks in the VG&lt;/P&gt;&lt;P&gt;Right now I have&lt;/P&gt;&lt;P&gt;&amp;nbsp; FIRST_CLUSTER_LOCK_PV /dev/dsk/c11t0d2&lt;/P&gt;&lt;P&gt;What should I put in there?&lt;/P&gt;&lt;P&gt;Add VOLUME_GROUP vg_NEW&lt;BR /&gt;Remove the old VG VOLUME_GROUP reference&lt;/P&gt;&lt;P&gt;Mount the new VG/lvols&lt;/P&gt;&lt;P&gt;Halt the package which is reliant on the OLD VG&lt;/P&gt;&lt;P&gt;&amp;lt;-- what should be the right way to halt the packacke?&lt;/P&gt;&lt;P&gt;Activate the old VG: vgchange -c y vg_OLD&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Mount the related file systems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Migrate the data from the old VG to the new VG logical volumes. (Use CPIO or cp?)&lt;/P&gt;&lt;P&gt;Edit the package control script, updating these references:&lt;BR /&gt;VG[N]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, our nodes are currently attached to the CURRENT storage via Direct Attach, the CURRENT storage is ALSO on our SAN, if we connect our nodes to the SAN and zone accordingly, the EXISTING storage devices would change or remain the same?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2015 13:21:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/service-guard-new-vgs-on-new-storage/m-p/6712894#M558779</guid>
      <dc:creator>loy4lplay</dc:creator>
      <dc:date>2015-02-25T13:21:25Z</dc:date>
    </item>
  </channel>
</rss>

