<?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/2746130#M642808</link>
    <description>&lt;BR /&gt;1. Add the remaining 2 drives into the same volume group as your existing ones. (use pvcreate and vgextend)&lt;BR /&gt;&lt;BR /&gt;2. use the lvextend -m 1 &lt;BR /&gt;command to mirror each lvol you need to. If you want to specifiy exactly which disk to mirror to add the /dev/dsk/cxxxxx device to the lvextend command.&lt;BR /&gt;&lt;BR /&gt;Thats it !</description>
    <pubDate>Mon, 17 Jun 2002 14:22:16 GMT</pubDate>
    <dc:creator>Stefan Farrelly</dc:creator>
    <dc:date>2002-06-17T14:22:16Z</dc:date>
    <item>
      <title>Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746129#M642807</link>
      <description>I've got a DS2100 JBOD attached to a rp5430 running 11.0.  The DS2100 holds 4 18GB drives.  I have assigned two of these drives to a database as one logical drive.  How would I mirror this logical drive composed of two physical drives to the remaining two drives?</description>
      <pubDate>Mon, 17 Jun 2002 14:16:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746129#M642807</guid>
      <dc:creator>Gunther Schulze</dc:creator>
      <dc:date>2002-06-17T14:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746130#M642808</link>
      <description>&lt;BR /&gt;1. Add the remaining 2 drives into the same volume group as your existing ones. (use pvcreate and vgextend)&lt;BR /&gt;&lt;BR /&gt;2. use the lvextend -m 1 &lt;BR /&gt;command to mirror each lvol you need to. If you want to specifiy exactly which disk to mirror to add the /dev/dsk/cxxxxx device to the lvextend command.&lt;BR /&gt;&lt;BR /&gt;Thats it !</description>
      <pubDate>Mon, 17 Jun 2002 14:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746130#M642808</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-06-17T14:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746131#M642809</link>
      <description>Howdy!&lt;BR /&gt;&lt;BR /&gt;You don't mention whether or not you're running these two DB drives as raw or cooked.  Mirroring (Mirror/UX) is done by logical volume (LV).  I believe the default policy is strict allocation which will ensure that mirrored extents go to a physical drive other than where the original is located.&lt;BR /&gt;&lt;BR /&gt;You will need the purchased Mirror/UX product.  I can post/attach the procedure I use to mirror LV's in vg00 (for alternate boot) if desired.  It could be easily adapted to non-vg00 use.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jim</description>
      <pubDate>Mon, 17 Jun 2002 14:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746131#M642809</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2002-06-17T14:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746132#M642810</link>
      <description>You do, of course need to have the software MirrorDisk/UX installed to do this. Check if you have this s/w using:&lt;BR /&gt;&lt;BR /&gt;swlist&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 17 Jun 2002 14:24:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746132#M642810</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2002-06-17T14:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746133#M642811</link>
      <description>Yes, I do have the MirroDisk/UX product.  I would appreciate the procedure you use.  I was just curious if the mirroring procedure would be a little trick since I'm mirroring two physical disks as one logical drive to another two physical disks that haven't been configured as a logical drive.</description>
      <pubDate>Mon, 17 Jun 2002 14:27:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746133#M642811</guid>
      <dc:creator>Gunther Schulze</dc:creator>
      <dc:date>2002-06-17T14:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746134#M642812</link>
      <description>Modify as necessary . . .&lt;BR /&gt;&lt;BR /&gt;Mirror Boot Drive&lt;BR /&gt;&lt;BR /&gt;For this example, the original boot disk is /dev/dsk/c0t6d0 (8/4.6.0), and the new mirror disk is /dev/dsk/c0t5d0 (8/4.5.0).  You will need to substitute the disk devices and hardware paths from the new server as appropriate.  Having LV names of lvol1 up through a max of lvol9 is also assumed.&lt;BR /&gt;&lt;BR /&gt;# Prepare bootable disk.&lt;BR /&gt;pvcreate -B -f /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;# Add the new disk to /dev/vg00.&lt;BR /&gt;vgextend /dev/vg00 /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;# Write boot (LIF) info to the disk.&lt;BR /&gt;mkboot /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;# Update AUTO file on both disks so vg00 will activate without a quorum.&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c0t5d0&lt;BR /&gt;mkboot -a "hpux -lq" /dev/rdsk/c0t6d0&lt;BR /&gt;&lt;BR /&gt;Mirror each logical volume in vg00. Note "ls -1" means "ls minus one":&lt;BR /&gt;# for i in $(ls -1 /dev/vg00/lvol*)&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; lvextend -m 1 $i&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;The newly allocated mirrors are now being synchronized. This operation will take some time. Please wait ....&lt;BR /&gt;[Note that this proc assumes all LV's in vg00 are named lvol1, lvol2, etc.  If not, you must mirror lvol1, lvol2, and lvol3 in that order before any others.]&lt;BR /&gt;&lt;BR /&gt;Disable mirror write cache and mirror consistency recovery for&lt;BR /&gt;swap/dump.  Assuming swap/dump is lvol2:&lt;BR /&gt;# lvchange -M n -c n /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;# Recover any missing links to LV???s and update the BDRA of each bootable PV.&lt;BR /&gt;lvlnboot ???R&lt;BR /&gt;&lt;BR /&gt;# Set BOOT, SWAP, and ROOT.&lt;BR /&gt;lvlnboot -b /dev/vg00/lvol1&lt;BR /&gt;lvlnboot -s /dev/vg00/lvol2&lt;BR /&gt;lvlnboot -r /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;# Check stable storage.&lt;BR /&gt;setboot&lt;BR /&gt;&lt;BR /&gt;# If boot paths and switches are not set properly,&lt;BR /&gt;# perform the following as needed.&lt;BR /&gt;setboot -p 8/4.6.0   # Primary boot path&lt;BR /&gt;setboot -a 8/4.5.0   # Alternate boot path&lt;BR /&gt;setboot -s on -b on  # Activate autosearch and autoboot&lt;BR /&gt;&lt;BR /&gt;During a "normal" reboot, the primary boot disk will be used. If the system boots and the primary boot disk has failed, the system will automatically boot off of the alternate boot disk. &lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jun 2002 16:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746134#M642812</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2002-06-17T16:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746135#M642813</link>
      <description>Thanks very much !</description>
      <pubDate>Mon, 17 Jun 2002 16:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mirroring/m-p/2746135#M642813</guid>
      <dc:creator>Gunther Schulze</dc:creator>
      <dc:date>2002-06-17T16:15:17Z</dc:date>
    </item>
  </channel>
</rss>

