<?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: Mirroring in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766159#M643608</link>
    <description>Hi (again) Pete:&lt;BR /&gt;&lt;BR /&gt;...in that case, I would look use 'dd' to copy the data.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 17 Jul 2002 16:42:19 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2002-07-17T16:42:19Z</dc:date>
    <item>
      <title>Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766148#M643597</link>
      <description>My 140GB production database resides on two SC10 enclosures of a FC60 disk array configured as RAID 0/1.  What I would like to do is use software mirroring (MirrorDisk/UX) to replicate that database onto the (currently empty) third SC10 of the same array which is configured as RAID 5.  I can then split off the mirrors and use the replicated copy as my development database (I hope).&lt;BR /&gt;&lt;BR /&gt;The questions that occur to me are:&lt;BR /&gt;1) Am I completely out of my mind?&lt;BR /&gt;2) All these lvols have to be in the same VG, right?&lt;BR /&gt;3) The mirror copy starts when the mirror is created via lvextend, right?&lt;BR /&gt;4) How long is it going to take to copy 140GB of data to the new mirrors?&lt;BR /&gt;5) How do I activate the VG in shared mode between the production and development server?&lt;BR /&gt;6) Is there a good reference on MirrorDisk/UX out there?  All I see is bits and pieces.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 17 Jul 2002 13:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766148#M643597</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-17T13:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766149#M643598</link>
      <description>You can do the above as follows:&lt;BR /&gt;&lt;BR /&gt;1. Include new LUNs on the existing VG.&lt;BR /&gt;2. Do lvextend -m 1 to create the mirror.&lt;BR /&gt;3. then break the mirror.&lt;BR /&gt;4. Connect the new SC10 to the dev server.&lt;BR /&gt;5. Create /dev/vgXX directory and the group file under it.&lt;BR /&gt;6. Do vgimport with the LUNs of the new SC10.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Wed, 17 Jul 2002 14:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766149#M643598</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-07-17T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766150#M643599</link>
      <description>Pete,&lt;BR /&gt;&lt;BR /&gt;I'm not an expert with performance so I will let question 1 without an answer since the only thing that this could bring you would be a performance improvement.&lt;BR /&gt;&lt;BR /&gt;2) yes all the lvols needs to be in the same VG to use mirroring.&lt;BR /&gt;3) exactly&lt;BR /&gt;4) 140Gig will take a looooonnnng time I'm not sure of the exact time but I would say multiple hours.&lt;BR /&gt;5) What do you really wants to achieve exactly, there is a shared mode available in the VG configuration but I have seen it used only with OPS (oracle parallel server) there could be some other solution like NFS or ServiceGuard depending what you want to do  &lt;BR /&gt;6) I have not seen any...&lt;BR /&gt;&lt;BR /&gt;I hope this help&lt;BR /&gt;Luc</description>
      <pubDate>Wed, 17 Jul 2002 14:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766150#M643599</guid>
      <dc:creator>Luc Bussieres_1</dc:creator>
      <dc:date>2002-07-17T14:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766151#M643600</link>
      <description>Hi Pete:&lt;BR /&gt;&lt;BR /&gt;In order:&lt;BR /&gt;&lt;BR /&gt;1.  No, you can use MirrorDisk/UX to replicate.&lt;BR /&gt;&lt;BR /&gt;2.  Yes, mirroring is done at the *logical volume* level, so your mirrors (logical volumes) will have to be part of the *same* volume group as that from which you start.&lt;BR /&gt;&lt;BR /&gt;3.  Yes, the mirror copy is established with 'lvextend -m 1 ...' (see the man pages of 'lvextend' for details).&lt;BR /&gt;&lt;BR /&gt;4.  Mirroring is fast, but "how long" really depends on the I/O characteristics and load on the channels you are using.&lt;BR /&gt;&lt;BR /&gt;5.  At most, you will only be able to share a volume group as readonly.  Only *one* copy of LVM should ever have write-access.&lt;BR /&gt;&lt;BR /&gt;6.  A reasonably good reference for MirrorDisk/UX is the "Managing Systems and Workgroups: A Guide for HP-UX System Administrators".  See the section of high-availability strategies.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 17 Jul 2002 14:11:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766151#M643600</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-17T14:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766152#M643601</link>
      <description>Hi (again) Pete:&lt;BR /&gt;&lt;BR /&gt;Sorry, for the "Managing Systems and Workgroups: A Guide for HP-UX System Administrators" the link is:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90742/B2355-90742.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 17 Jul 2002 14:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766152#M643601</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-17T14:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766153#M643602</link>
      <description>I think I read your message to fast the first time. &lt;BR /&gt;1) no the way you want to do it make sense and the steps  sandip as told you to do it make sense. &lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 14:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766153#M643602</guid>
      <dc:creator>Luc Bussieres_1</dc:creator>
      <dc:date>2002-07-17T14:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766154#M643603</link>
      <description>In response to question 5: It depends on what you mean by "shared mode". You can use ServiceGuard to share the data, but it can only be active on one node at a time. &lt;BR /&gt;&lt;BR /&gt;If you want the data to be shared, that would depend on the database software you are using. Sybase and Oracle support replication servers where when one copy of the database is updated, the other copy is also updated.&lt;BR /&gt;&lt;BR /&gt;Remember to have all files closed before you break the mirror. Otherwise you can have corrupted data.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 17 Jul 2002 14:26:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766154#M643603</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-07-17T14:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766155#M643604</link>
      <description>Just my thoughts:&lt;BR /&gt;&lt;BR /&gt;1) About the mind, honestly I don't know =)) But it look like you are on the track.&lt;BR /&gt;&lt;BR /&gt;2) I would not agree completely with that. It depends on the current configuration. If in case you have two lvols now (in vg01 and vg02), then you have to add one LUN in vg01 and the next to vg02 and then mirror each one. The rule is - You could do mirroring (software) only in the same VG.&lt;BR /&gt;&lt;BR /&gt;3) Yes. &lt;BR /&gt;&lt;BR /&gt;4) It depends on your system's resource and device speeds. I think it will be faster if you run simultaneous mirrorings on different lvols.&lt;BR /&gt;&lt;BR /&gt;5) I think, You need to have cluster configuration in order to do this. There is an option with vgchange (-a s), but there are limitations for this. Read man pages&lt;BR /&gt;&lt;BR /&gt;6) This will be a good reference, read chapter -7 :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html" target="_blank"&gt;http://www.docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 15:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766155#M643604</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-07-17T15:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766156#M643605</link>
      <description>Aarrrgh!&lt;BR /&gt;&lt;BR /&gt;The whole point of this exercise was to share the replicated data with the development server.  The part I missed in the original concept was that the lvols would have to be in the same volume group and the volume group can't be activated in shared mode without high availablity software (that's pronounced MCService Guard, I believe).&lt;BR /&gt;&lt;BR /&gt;One last (extremely desperate) question:&lt;BR /&gt;can anyone think of some deviously clever way to fool the system and move lvols from one VG to another?&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 17 Jul 2002 16:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766156#M643605</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-17T16:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766157#M643606</link>
      <description>Hi Pete:&lt;BR /&gt;&lt;BR /&gt;Moving logical volumes (that is, the filesystem's contained within them) is easy:&lt;BR /&gt;&lt;BR /&gt;# cd /myolddir || exit 1&lt;BR /&gt;# find . -depth ???print | cpio -pudlmv /mynewdir&lt;BR /&gt;&lt;BR /&gt;When done, you can edit '/etc/fstab' to rename '/mynewdir' to the name ('/myolddir') it was before you started (or leave it alone if you want replicated data).  If you were renaming it to its old name (i.e. moving your data from one logical volume to another, perhaps on a different volume group) then you would simply remove the old mountpoints from '/etc/fstab' and renmae the new ones.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 17 Jul 2002 16:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766157#M643606</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-17T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766158#M643607</link>
      <description>Ahh yes, James, but these are not filesystems, they are the raw logical volumes of an Informix database.  That's why I was looking for the proverbial "lvexport" command.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 17 Jul 2002 16:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766158#M643607</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-17T16:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766159#M643608</link>
      <description>Hi (again) Pete:&lt;BR /&gt;&lt;BR /&gt;...in that case, I would look use 'dd' to copy the data.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 17 Jul 2002 16:42:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766159#M643608</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-17T16:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766160#M643609</link>
      <description>Pete,&lt;BR /&gt;&lt;BR /&gt;The only way I could imagine would be to create identical lvols in a different VG and then to use the dd command to copy the raw data over. &lt;BR /&gt;&lt;BR /&gt;What you would really need is something like the bcvsplit (business copy) that is supported by high end disk array (EMC, XP) &lt;BR /&gt;&lt;BR /&gt;You could try to simulate it also by using dd to copy the contents of your original LUNS to the new ones, and then to run a vgchgid on the new LUNS.&lt;BR /&gt;&lt;BR /&gt;Luc&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 16:47:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766160#M643609</guid>
      <dc:creator>Luc Bussieres_1</dc:creator>
      <dc:date>2002-07-17T16:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766161#M643610</link>
      <description>Actually, James, the more I think about it, that's really exactly what I want to accomplish.  If I make the third SC10 it's own separate VG and set up a script to dd from the production lvols to the development lvols, deactivate the volume group on the production machine, then activate it on the development machine, I've got almost exactly what I was looking for.  Can you see any other gotchas?  I seem to have a bad case of tunnel vision.  Either that or I can't see the forest for the trees.  Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Jul 2002 16:50:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766161#M643610</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-17T16:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766162#M643611</link>
      <description>Hi (again) Pete:&lt;BR /&gt;&lt;BR /&gt;I think that will work.  For efficiency, of course, use a large block size with 'dd' and make sure that nothing is using the sending data!  I admit, that I have never played with raw stuff -- only LVM.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 17 Jul 2002 16:54:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766162#M643611</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-07-17T16:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766163#M643612</link>
      <description>And on that note - my thanks to all of you for your very valuable assistance.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 17 Jul 2002 17:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766163#M643612</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-07-17T17:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766164#M643613</link>
      <description>Pete, when you start lvextend -m 1 .... then it takes about 10-20 minutes per GB to mirror so I expect to take about 24-48 hours to complete.  Then, before splitting the mirrors, make sure your database is down else the copied/splitted data will probably be corrupted.  If you are planning to use the offline mirrors on another server, then that is quite complicated.  If you try what another fella suggested with just importing and activating the groups on the development server, then you will loose your production data since ONLY ONE server at a time can access a volume group.  Hope this helps.</description>
      <pubDate>Thu, 18 Jul 2002 06:07:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2766164#M643613</guid>
      <dc:creator>George Petrides_1</dc:creator>
      <dc:date>2002-07-18T06:07:17Z</dc:date>
    </item>
  </channel>
</rss>

