<?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: Split Boot Mirrors in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977733#M419151</link>
    <description>Thanks to everyone, we will evaluate all the answers and assign points accordingly.</description>
    <pubDate>Tue, 09 May 2006 07:33:44 GMT</pubDate>
    <dc:creator>Steve Andrews_6</dc:creator>
    <dc:date>2006-05-09T07:33:44Z</dc:date>
    <item>
      <title>Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977723#M419141</link>
      <description>We are gtiing ready to add patches to a rx4640 Itanium system running HP-UX 11.23. Before patching the system we want to split the vg00 root mirror in order to preserve the current HP-UX Operating system and reduce the risk of patching. Does anyone have proper documentation on splitting off the mirror so that both disks are bootable just in case the patches fail and corrupt the primary Operating system?</description>
      <pubDate>Mon, 08 May 2006 08:03:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977723#M419141</guid>
      <dc:creator>Steve Andrews_6</dc:creator>
      <dc:date>2006-05-08T08:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977724#M419142</link>
      <description>Steve, there is a standard doc that explains this somewhere.&lt;BR /&gt;However, the process is pretty simple:&lt;BR /&gt;1) determine the root mirror disk ID, using "lvdisplay -v /dev/vg00/lvol1": the two disks are named at the beginning of the output, as well as in the extent listing.&lt;BR /&gt;2) Perform an "ioscan -fn" and record the hardware path of the root mirror disk&lt;BR /&gt;3) execute "lvsplit /dev/vg00/lvol1" which will then rename the mirror portion of the lvol as "/dev/vg00/lvol1b" (if my memory serves me correctly...)&lt;BR /&gt;&lt;BR /&gt;You will need the Hardware path for the mirror if you need to boot from that disk...&lt;BR /&gt;However, there are some other issues:&lt;BR /&gt;- /etc/fstab will not be correct, so I doubt if you will get the server up further than single-user or LVM maintenance mode.&lt;BR /&gt;- you might need to modify the /etc/fstab file on the root mirror disk to reflect the name of the new split mirror BEFORE you start your patching. For this, you will need to mount that split lvol on a dummy mount-point and vi the file, which will be /dummy_fs/etc/fstab.&lt;BR /&gt;</description>
      <pubDate>Mon, 08 May 2006 08:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977724#M419142</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2006-05-08T08:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977725#M419143</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I recommend doing a make_tape_backup or a make_tape_recovery&lt;BR /&gt;&lt;BR /&gt;Restoring vg00 from either is quite simple though consumes a bit of time.&lt;BR /&gt;&lt;BR /&gt;splitting mirrors is to touchy a thing in my opinion and possibly more risky than the patch itself.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 08 May 2006 14:15:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977725#M419143</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-05-08T14:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977726#M419144</link>
      <description>The command I use to split mirrors is&lt;BR /&gt;lvreduce.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 May 2006 15:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977726#M419144</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2006-05-08T15:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977727#M419145</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If your root disks are hot pluggable and server is physically reachable, I would recommend to pull out boot mirror till the patching is completed and tested. If things go horribly wrong, you can unplug primary and insert mirror and boot through that, else you can plugg it later and sync.&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;Shahul</description>
      <pubDate>Mon, 08 May 2006 15:21:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977727#M419145</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2006-05-08T15:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977728#M419146</link>
      <description>another option:&lt;BR /&gt;&lt;BR /&gt;ensure hpux-lw is your boot string on both drives&lt;BR /&gt;&lt;BR /&gt;shutdown the system and disconnect the mirror drive&lt;BR /&gt;&lt;BR /&gt;bring the system up and lv/vgreduce the now defunct mirror&lt;BR /&gt;&lt;BR /&gt;shutdown the system and plug the mirror drive back in&lt;BR /&gt;&lt;BR /&gt;install your patches&lt;BR /&gt;&lt;BR /&gt;if the patch install corrupts the boot disk, you can reboot, interrupt the boot process and specify the old mirror disk. &lt;BR /&gt;&lt;BR /&gt;if the install is good, you can add the old mirror back to the vg00 and re-mirror it.</description>
      <pubDate>Mon, 08 May 2006 15:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977728#M419146</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-05-08T15:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977729#M419147</link>
      <description>Another (unsupported) way:&lt;BR /&gt;- lvreduce and vgreduce the mirror&lt;BR /&gt;- use dd from the pv raw device to the&lt;BR /&gt;   empty mirror disk&lt;BR /&gt;- patch your OS&lt;BR /&gt;- in case it is OK, pvcreate and remirror&lt;BR /&gt;- in case it is KO, switch off, swap the&lt;BR /&gt;  drives and boot the copy &lt;BR /&gt;&lt;BR /&gt;Alessandro Bocchino&lt;BR /&gt;&lt;A href="http://www.risolve.com" target="_blank"&gt;http://www.risolve.com&lt;/A&gt;</description>
      <pubDate>Mon, 08 May 2006 15:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977729#M419147</guid>
      <dc:creator>Alessandro Bocchino</dc:creator>
      <dc:date>2006-05-08T15:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977730#M419148</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;In order to protect your operating system while patching your boot disk, do the following:&lt;BR /&gt;&lt;BR /&gt;1. Use lvsplit to create new logical volumes of all vg00 based LVs. Note the new LV names.&lt;BR /&gt;&lt;BR /&gt;2. Mount the split lv for the root filesystem. After creating a backup copy, update the split /mnt/etc/fstab to reflect all the split lvs instead of the originals.&lt;BR /&gt;&lt;BR /&gt;3. Execute setboot to verify that the system sees the alternate boot disk as a valid boot path.&lt;BR /&gt;&lt;BR /&gt;4. Add Patches&lt;BR /&gt;&lt;BR /&gt;5. If you need to eliminate the patching, boot from the alternate disk and execute&lt;BR /&gt;&lt;BR /&gt;lvmerge -A n ${upgraded_lvs} ${split_lvs}&lt;BR /&gt;&lt;BR /&gt;then restore the backed up copy of /etc/fstab&lt;BR /&gt;Then reboot to start using the old OS again.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Amit&lt;BR /&gt;</description>
      <pubDate>Tue, 09 May 2006 01:51:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977730#M419148</guid>
      <dc:creator>Chauhan Amit</dc:creator>
      <dc:date>2006-05-09T01:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977731#M419149</link>
      <description>Dear Steve..&lt;BR /&gt;&lt;BR /&gt;  Atleast twice in a week we are doing such activity (split mirror disk as a contingency plan). We r following this steps only.&lt;BR /&gt;&lt;BR /&gt;- for safety reason, take two sets of Ignite Backup&lt;BR /&gt;&lt;BR /&gt;- Dowuble check the AUTO string for the following entry,&lt;BR /&gt; "hpux -lq"&lt;BR /&gt;  use the following command for checking&lt;BR /&gt;  # lifcp /dev/rdsk/cxtxdx:AUTO -&lt;BR /&gt;&lt;BR /&gt;- check the alternate boot path&lt;BR /&gt;  # setboot &lt;BR /&gt;&lt;BR /&gt;- Check completely that all LVs are in sync.&lt;BR /&gt;&lt;BR /&gt;- Try booting the server from Mirror Disk, to check the proper working.&lt;BR /&gt;&lt;BR /&gt;- Shutdown the server, simply remove the Mirror disk from the server.&lt;BR /&gt;&lt;BR /&gt;- Boot the server, do ur patch installation&lt;BR /&gt;&lt;BR /&gt;- Once everything is ok, if the server is capable of Hotswap HDD simply insert the Mirror HDD, do fresh "ioscan", run "insf -e", start the synchronization "vgsync /dev/vg00".&lt;BR /&gt;Note: normally vgsync starts automatically.&lt;BR /&gt;  &lt;BR /&gt;  If the server is not capable of hotswap, shutdown the server, put the mirror HDD back in slot &amp;amp; boot the server,&lt;BR /&gt;&lt;BR /&gt;- If ur patch installation activity is not successfull or if u want to revert back the system using mirror disk,&lt;BR /&gt;  * shutdown the system&lt;BR /&gt;  * Insert the Mirror HDD&lt;BR /&gt;  * Boot the system through Mirror HDD (as a Pri Path). Now, the sync will occur from Mirror HDD to Orig HDD&lt;BR /&gt;&lt;BR /&gt;Hope it'll help u.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regds,&lt;BR /&gt;Saravanan</description>
      <pubDate>Tue, 09 May 2006 02:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977731#M419149</guid>
      <dc:creator>m saravanan</dc:creator>
      <dc:date>2006-05-09T02:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977732#M419150</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;I'm agreed with SEP, it's very easy if you want to use Ignite/UX features by using make_tape_recovery to have a preserve of current HP-UX Operating system. Because if something wrong happened on your patching, you can revert back immediate by boot from the Ignite/UX backup tape.&lt;BR /&gt;&lt;BR /&gt;But if you insist to use split the mirror, you can use the steps below :&lt;BR /&gt;&lt;BR /&gt;1.  Get a list of all the logical volumes in vg00 :&lt;BR /&gt;    # cat /etc/fstab&lt;BR /&gt;&lt;BR /&gt;2.  Get the boot definitions from vg00 :&lt;BR /&gt;    # lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;3.  Make sure all writes to the disk have taken place:&lt;BR /&gt;    # /usr/sbin/sync&lt;BR /&gt;&lt;BR /&gt;4.  Split all the logical volumes in vg00 :&lt;BR /&gt;    # sync;lvsplit /dev/vg00/lvol1&lt;BR /&gt;    Repeat for other lvols&lt;BR /&gt;&lt;BR /&gt;5.  Do a filesystem check on each split logical volume :&lt;BR /&gt;    # fsck -F hfs /dev/vg00/lvol1b&lt;BR /&gt;&lt;BR /&gt;6.  Now mount the split root logical volume to the mount point /newroot.  Then&lt;BR /&gt;edit the fstab to use the split logical volumes.&lt;BR /&gt;&lt;BR /&gt;# mkdir /newroot&lt;BR /&gt;# mount /dev/vg00/lvol3b /newroot&lt;BR /&gt;# vi /newroot/etc/fstab   #change to lvolb's&lt;BR /&gt;# cat /newroot/etc/fstab&lt;BR /&gt;&lt;BR /&gt;7.  Remove the current boot definitions and add the split logical volumes:&lt;BR /&gt;&lt;BR /&gt;# lvrmboot -r /dev/vg00&lt;BR /&gt;# lvlnboot -b /dev/vg00/lvol1b /dev/vg00&lt;BR /&gt;# lvlnboot -r /dev/vg00/lvol3b /dev/vg00&lt;BR /&gt;# lvlnboot -s /dev/vg00/lvol2b /dev/vg00&lt;BR /&gt;# lvlnboot -d /dev/vg00/lvol2b /dev/vg00 &lt;BR /&gt;&lt;BR /&gt;8.  Change the bootconf file to reflect the new boot disk and update&lt;BR /&gt;the&lt;BR /&gt;boot definitions again:&lt;BR /&gt;&lt;BR /&gt;# mount /dev/vg00/lvol1b /newroot/stand&lt;BR /&gt;# vi /newroot/stand/bootconf  #change root disk definition in this file&lt;BR /&gt;# lvlnboot -R /dev/vg00 &lt;BR /&gt;&lt;BR /&gt;9.  Reboot the system and interrupt the boot sequence in order to boot from the&lt;BR /&gt;split disk:&lt;BR /&gt;&lt;BR /&gt;#shutdown -ry now&lt;BR /&gt;&lt;BR /&gt;interrupt boot sequence&lt;BR /&gt;boot from split mirror disk&lt;BR /&gt;&lt;BR /&gt;If the split logical volumes need to be merged back to the original logical&lt;BR /&gt;volumes, but the data that is on the split logical volume is the data that&lt;BR /&gt;needs to be perserved, do the following steps:&lt;BR /&gt;&lt;BR /&gt;1.  Merge logical volume so that "lvolb" is primary.&lt;BR /&gt;&lt;BR /&gt;# lvmerge /dev/vg00/lvol1 /dev/vg00/lvol1b&lt;BR /&gt;&lt;BR /&gt;Repeat it for other lvols&lt;BR /&gt;&lt;BR /&gt;2.  Update the boot definitions again and view them for accuracy:&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -R /dev/vg00&lt;BR /&gt;&lt;BR /&gt;# shutdown -ry now &lt;BR /&gt;&lt;BR /&gt;interrupt boot sequence&lt;BR /&gt;boot from alternate boot disk&lt;BR /&gt;interact with ISL: &lt;BR /&gt;ISL&amp;gt; hpux -is (;0)/stand/vmunix  # boot single user&lt;BR /&gt;&lt;BR /&gt;3.  Reboot the system and interrupt the boot sequence:&lt;BR /&gt;&lt;BR /&gt;# shutdown -ry now &lt;BR /&gt;&lt;BR /&gt;interrupt boot sequence&lt;BR /&gt;boot from alternate boot disk&lt;BR /&gt;interact with ISL: &lt;BR /&gt;ISL&amp;gt; hpux -is (;0)/stand/vmunix  # boot single user&lt;BR /&gt;&lt;BR /&gt;4.  Move all of the lvolb device files to lvol device files:&lt;BR /&gt;&lt;BR /&gt;# cd /dev/vg00&lt;BR /&gt;# ls&lt;BR /&gt;group    lvol1b   lvol4b   lvol7b   rlvol11  rlvol3b  rlvol6b&lt;BR /&gt;lvol10   lvol2b   lvol5b   lvol8b   rlvol1b  rlvol4b  rlvol7b&lt;BR /&gt;lvol11   lvol3b   lvol6b   rlvol10  rlvol2b  rlvol5b  rlvol8b&lt;BR /&gt;&lt;BR /&gt;# mv lvol1b lvol1&lt;BR /&gt;# mv lvol2b lvol2&lt;BR /&gt;# mv lvol3b lvol3&lt;BR /&gt;# mv lvol4b lvol4&lt;BR /&gt;# mv lvol5b lvol5&lt;BR /&gt;# mv lvol6b lvol6&lt;BR /&gt;# mv lvol7b lvol7&lt;BR /&gt;# mv lvol8b lvol8&lt;BR /&gt;# mv rlvol8b  rlvol8&lt;BR /&gt;# mv rlvol7b  rlvol7&lt;BR /&gt;# mv rlvol6b  rlvol6&lt;BR /&gt;# mv rlvol5b  rlvol5&lt;BR /&gt;# mv rlvol4b  rlvol4&lt;BR /&gt;# mv rlvol3b  rlvol3&lt;BR /&gt;# mv rlvol2b  rlvol2&lt;BR /&gt;# mv rlvol1b  rlvol1 &lt;BR /&gt;&lt;BR /&gt;5.  View the boot definitions again:&lt;BR /&gt;# lvlnboot -v /dev/vg00&lt;BR /&gt;&lt;BR /&gt;If desired the dump device can be changed to use the c1t4d0&lt;BR /&gt;device using: &lt;BR /&gt;&lt;BR /&gt;#  lvlnboot -d /dev/vg00/lvol2 /dev/vg00&lt;BR /&gt;#  lvlnboot -R &lt;BR /&gt;&lt;BR /&gt;6.  Edit the /etc/fstab again and change lvolb's back to lvols:&lt;BR /&gt;&lt;BR /&gt;# mount -F vxfs /dev/vg00/lvol7 /usr&lt;BR /&gt;# vi /etc/fstab  #Make changes &lt;BR /&gt;#cat /etc/fstab &lt;BR /&gt;&lt;BR /&gt;7.  Reboot the system again and let it come up on it's own:&lt;BR /&gt;&lt;BR /&gt;# shutdown -ry now&lt;BR /&gt;&lt;BR /&gt;As you can see the split mirror is quite troublesome compare if you want to use 'make_tape_recovery'.&lt;BR /&gt;&lt;BR /&gt;Hope you can consider your steps.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 May 2006 02:55:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977732#M419150</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-05-09T02:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Split Boot Mirrors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977733#M419151</link>
      <description>Thanks to everyone, we will evaluate all the answers and assign points accordingly.</description>
      <pubDate>Tue, 09 May 2006 07:33:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-boot-mirrors/m-p/4977733#M419151</guid>
      <dc:creator>Steve Andrews_6</dc:creator>
      <dc:date>2006-05-09T07:33:44Z</dc:date>
    </item>
  </channel>
</rss>

