<?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: Moving Data between servers in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691455#M617403</link>
    <description>Connie,&lt;BR /&gt;&lt;BR /&gt;Title: Moving disks from Server1 to Server2&lt;BR /&gt;Document ID: KBRC00014628&lt;BR /&gt;&lt;BR /&gt;US&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000075725050" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000075725050&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Europe&lt;BR /&gt;&lt;A href="http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000075725050" target="_blank"&gt;http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000075725050&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With the vgchid you can change "cpu id"&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
    <pubDate>Wed, 14 Dec 2005 14:17:11 GMT</pubDate>
    <dc:creator>Robert-Jan Goossens</dc:creator>
    <dc:date>2005-12-14T14:17:11Z</dc:date>
    <item>
      <title>Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691448#M617396</link>
      <description>I'm replacing an existing production server with a new one. I need to quickly move the data from the existing server to the new one--the bright idea was to mirror the data from the existing server's fc60 disk array to a VA7410 which is attached to both servers. &lt;BR /&gt;&lt;BR /&gt;This is great, but I am having trouble getting the LVM commands to separate out those new mirror disks, without losing the data on them, and then import them as a new VG on the new server.&lt;BR /&gt;&lt;BR /&gt;Any suggestions?&lt;BR /&gt;c*</description>
      <pubDate>Wed, 14 Dec 2005 12:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691448#M617396</guid>
      <dc:creator>MTSU_SAN</dc:creator>
      <dc:date>2005-12-14T12:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691449#M617397</link>
      <description>What kind of trouble?&lt;BR /&gt;&lt;BR /&gt;You will need to lvreduce -m 0 /dev/vgXX/ /dev/dsk/&lt;DEVICEFILEOFVA&gt;&lt;BR /&gt;&lt;BR /&gt;When done for all lvols, you need to vgreduce those devs from the vg...&lt;BR /&gt;&lt;BR /&gt;Then vgimport on the new server...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;/DEVICEFILEOFVA&gt;</description>
      <pubDate>Wed, 14 Dec 2005 12:59:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691449#M617397</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-12-14T12:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691450#M617398</link>
      <description>Doing a mirror from 1 type of array to another type of array does not always work.&lt;BR /&gt;&lt;BR /&gt;Can copy the data from 1 system to other. Here are some examples using tar, cpio, and vxdump...&lt;BR /&gt;&lt;BR /&gt;to WRITE a tar file TO a remote device&lt;BR /&gt;tar cvf - * | remsh (systemname) dd of=/dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;to LIST (table of contents) tar file ON remote tape device&lt;BR /&gt;remsh (systemname) dd if=/dev/rmt/0m | tar tvf -&lt;BR /&gt;&lt;BR /&gt;to READ (get) tar file(s) FROM remote tape device&lt;BR /&gt;remsh (systemname) dd if=/dev/rmt/0m | tar xvf -&lt;BR /&gt;&lt;BR /&gt;Do not cross NFS mounts or it will fail. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Remote CPIO&lt;BR /&gt;&lt;BR /&gt;find filesys -print | cpio -ocv | remsh remotehost "dd of=/dev/rmt/0m"&lt;BR /&gt;&lt;BR /&gt;find filesys -print | cpio -ocv | remsh remotehost "dd of=/backup/system_a.cpio"&lt;BR /&gt;&lt;BR /&gt;find . | cpio -oc | remsh remotehost "cd /newpath ; cpio -icdmuv"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/vxdump 0f - /dev/vg00/osymmgr | remsh luna '(cd /apps/osymmgr; /usr/sbin/vxrestore -rf -)'&lt;BR /&gt;/usr/sbin/vxdump 0f - /dev/vg00/openv | remsh luna '(cd /apps/openv; /usr/sbin/vxrestore -rf -)'&lt;BR /&gt;/usr/sbin/vxdump 0f - /dev/vgfin107/orahome | remsh luna '(cd /apps/aporacle107; /usr/sbin/vxrestore -rf -)'&lt;BR /&gt;/usr/sbin/vxdump 0f - /dev/vgfin107/appsmgr | remsh luna '(cd /apps/appsmgr107; /usr/sbin/vxrestore -rf -)'&lt;BR /&gt;/usr/sbin/vxdump 0f - /dev/vgfin107/custom | remsh luna '(cd /apps/custom107; /usr/sbin/vxrestore -rf -)'&lt;BR /&gt;/usr/sbin/vxdump 0f - /dev/vgfin107/orchid | remsh luna '(cd /apps/orchid107; /usr/sbin/vxrestore -rf -)'&lt;BR /&gt;/usr/sbin/vxdump 0f - /dev/vgcrcard/crcard | remsh luna '(cd /apps/crcard107; /usr/sbin/vxrestore -rf -)'&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691450#M617398</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-12-14T13:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691451#M617399</link>
      <description>Hi Connie:&lt;BR /&gt;&lt;BR /&gt;If you are merely replacing the server, then 'vgexport' your non-vg00 volume groups and 'vgimport' them on the new server.  This is one of the things that 'vgexport/vgimport' is designed to do.&lt;BR /&gt;&lt;BR /&gt;# vchange -a n vgNN&lt;BR /&gt;# vgexport -m /tmp/vgNN.map -v -f /tmp/vgNN.dev vgNN&lt;BR /&gt;&lt;BR /&gt;...move '/tmp/vgNN.map' and '/tmp/vgNN.dev' to new server; edit the device file paths in '/tmp/vgNN.dev' to match the new server's configuration; and 'vgimport':&lt;BR /&gt;&lt;BR /&gt;...OR, use th e'-s' variation of 'vgexport':&lt;BR /&gt;&lt;BR /&gt;# vgexport -m /tmp/vgNN.map -s -v vgNN&lt;BR /&gt;&lt;BR /&gt;...and on the new server (either):&lt;BR /&gt;&lt;BR /&gt;# vgimport -m /tmp/vgNN.map -v -f /tmp/vgNN.dev vgNN&lt;BR /&gt;&lt;BR /&gt;(or):&lt;BR /&gt;&lt;BR /&gt;# vgimport -m /tmp/vgNN.map -s -v vgNN&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF... &lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Dec 2005 13:06:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691451#M617399</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-14T13:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691452#M617400</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I use the method of JRF..&lt;BR /&gt;&lt;BR /&gt;lvreduce to remove mirror. &lt;BR /&gt;&lt;BR /&gt;Ensure that your application and database is down while removing the mirror to have a complete sync.&lt;BR /&gt;&lt;BR /&gt;Cheers ...007</description>
      <pubDate>Wed, 14 Dec 2005 13:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691452#M617400</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2005-12-14T13:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691453#M617401</link>
      <description>Appreciate all of the replies, but I need some time where both servers are up for testing before the change--the cpio is fine, but will take days (I've done this before when I installed Service Guard cluster), and the vgexport will give me no time to test.&lt;BR /&gt;c*</description>
      <pubDate>Wed, 14 Dec 2005 13:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691453#M617401</guid>
      <dc:creator>MTSU_SAN</dc:creator>
      <dc:date>2005-12-14T13:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691454#M617402</link>
      <description>Oh, and Geoff, I did that and the new server complained that the disks belonged to another CPU ID, and the data was not retrievable on those disks.&lt;BR /&gt;c*</description>
      <pubDate>Wed, 14 Dec 2005 13:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691454#M617402</guid>
      <dc:creator>MTSU_SAN</dc:creator>
      <dc:date>2005-12-14T13:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691455#M617403</link>
      <description>Connie,&lt;BR /&gt;&lt;BR /&gt;Title: Moving disks from Server1 to Server2&lt;BR /&gt;Document ID: KBRC00014628&lt;BR /&gt;&lt;BR /&gt;US&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000075725050" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000075725050&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Europe&lt;BR /&gt;&lt;A href="http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000075725050" target="_blank"&gt;http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000075725050&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With the vgchid you can change "cpu id"&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 14 Dec 2005 14:17:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691455#M617403</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-12-14T14:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691456#M617404</link>
      <description>Thanks for the document, and the vgchid idea. I'll try my old method and see if the data is on those disks after I move it. But, I'm moving a copy of the disks, not the disks themselves, so it is a little more involved than in this document.</description>
      <pubDate>Wed, 14 Dec 2005 14:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691456#M617404</guid>
      <dc:creator>MTSU_SAN</dc:creator>
      <dc:date>2005-12-14T14:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691457#M617405</link>
      <description>Sense you have a disk array that is attached to both servers I recommend the following.&lt;BR /&gt;&lt;BR /&gt;Using the shared disk array, create equivalent volume groups.  For example if you have a vg01 then create a vg01a if you have oraclevg create oraclevga or something like that.&lt;BR /&gt;&lt;BR /&gt;Then create equivalent logical volumes and file systems then mount them to relative mount points.&lt;BR /&gt;&lt;BR /&gt;Then you can use cpio on a per file system basis to copy the data from one to the other&lt;BR /&gt;&lt;BR /&gt;#&amp;gt;cd /opt/whateverdir&lt;BR /&gt;#&amp;gt;find . -xdev -print | cpio -pdxamv /opt2/whateverdir&lt;BR /&gt;&lt;BR /&gt;you can have more than one instance of this running without overwriting anything sense the find -xdev won't cross mount point .&lt;BR /&gt;&lt;BR /&gt;when the find and cpio commands have copied the files over unmount the relative file systems, export the vg and import it as the correct vg name on the other system.&lt;BR /&gt;&lt;BR /&gt;Do all the testing you want or need, then when its time to convert for real you can just move the database data across.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Dec 2005 15:14:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691457#M617405</guid>
      <dc:creator>Howard Marshall</dc:creator>
      <dc:date>2005-12-20T15:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691458#M617406</link>
      <description>I just thought of another idea that should be as fast as mirroring for you.&lt;BR /&gt;&lt;BR /&gt;Just create the equivalent volume groups and logical volumes but instead of creating file systems just use dd to transfer everything in each logical volume.&lt;BR /&gt;&lt;BR /&gt;The drawback to that though is that you don't get the defragmentation benefits of doing it at the file system level.&lt;BR /&gt;&lt;BR /&gt;H&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Dec 2005 15:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691458#M617406</guid>
      <dc:creator>Howard Marshall</dc:creator>
      <dc:date>2005-12-20T15:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Moving Data between servers</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691459#M617407</link>
      <description>Unfortunately.. you CANNOT do this with LVM mirroring specially if you want no to minimal downtime. Remember that split mirrors in LVM VG cannot be split off to a separate completely indpendent LVM Volumegroup that can be imported on the other server.&lt;BR /&gt;&lt;BR /&gt;Yo'll need an in-array solution which is array/vendor restrictive -- like Business Copy. But since you plan on mirroring to a diferent Array -- in-array mirror/snapshot/snapclone solutions are not available.&lt;BR /&gt;&lt;BR /&gt;Your only solution is to do cold dd's, cpios, vxdump/vxretore etc. -- which will be disruptive.&lt;BR /&gt;&lt;BR /&gt;Another is you can convert your LVM VG to VxVM - (if you have the full VxVM License) and use VxVM Mirroring.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Dec 2005 13:54:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-data-between-servers/m-p/3691459#M617407</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2005-12-21T13:54:41Z</dc:date>
    </item>
  </channel>
</rss>

