<?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: Break root mirror vg00 prior to large scale patching in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124392#M588293</link>
    <description>DRD would be a nice solution, but it is not available for 11.11.&lt;BR /&gt;&lt;BR /&gt;Consider to shutdown the server and pull a disk or do an ignite backup as suggested earlier.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 13 Aug 2008 04:15:43 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2008-08-13T04:15:43Z</dc:date>
    <item>
      <title>Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124379#M588280</link>
      <description>Looking for confirmation on my method for breaking vg00 mirroring so in case of system not booting from primary I can boot from secondary.&lt;BR /&gt;I also have an Ignite backup available as well.&lt;BR /&gt;OS 11.11i &lt;BR /&gt;&lt;BR /&gt;==&amp;gt; setboot -v ( check prim and alt boot paths)&lt;BR /&gt;==&amp;gt; lvreduce -m 0 /dev/vg00/lvolx /dev/dsk/cXtYdZ (alternative boot disk)&lt;BR /&gt;repeat for all lvols and leave / (lvol3) last&lt;BR /&gt;==&amp;gt; Carry out patching followed by a reboot.&lt;BR /&gt;&lt;BR /&gt;Scenario 1&lt;BR /&gt;~~~~~~~~~~&lt;BR /&gt;All goes according to plan then remirror&lt;BR /&gt;==&amp;gt; vgcfgrestore -n vg00 /dev/rdsk/cXtYdZ (alternate boot disk)&lt;BR /&gt;==&amp;gt; vgchange -a y vg00 ??&lt;BR /&gt;==&amp;gt; vgsync vg00&lt;BR /&gt;&lt;BR /&gt;Scenario 2&lt;BR /&gt;~~~~~~~~~~&lt;BR /&gt;System does not boot from primary disk&lt;BR /&gt;==&amp;gt; reset and interrupt boot sequence&lt;BR /&gt;==&amp;gt; boot from Alternate boot disk&lt;BR /&gt;==&amp;gt; vgcfgrestore -n vg00 /dev/rdsk/cXtYdZ (primary boot disk_&lt;BR /&gt;==&amp;gt; vgchange -a y vg00 ??&lt;BR /&gt;==&amp;gt; vgsync vg00&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; reboot - ensure system is booting from primary&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And that's it. I this the route to go ??&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Aug 2008 00:15:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124379#M588280</guid>
      <dc:creator>Kenneth Woolard</dc:creator>
      <dc:date>2008-08-12T00:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124380#M588281</link>
      <description>You may also want to look at DRD (unfortunately it is for 11.23 or later):&lt;BR /&gt;&lt;A href="http://www.hp.com/go/drd" target="_blank"&gt;http://www.hp.com/go/drd&lt;/A&gt;</description>
      <pubDate>Tue, 12 Aug 2008 00:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124380#M588281</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-12T00:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124381#M588282</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This will work.&lt;BR /&gt;&lt;BR /&gt;I will say that a more realistic scenario involves pulling out one of the two mirror drives and booting.&lt;BR /&gt;&lt;BR /&gt;This is more like how the system "feels" when it loses a drive.&lt;BR /&gt;&lt;BR /&gt;But what you propose will get the job done.&lt;BR /&gt;&lt;BR /&gt;Confirm all mirrors are good and not stale when you are done.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 12 Aug 2008 00:22:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124381#M588282</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-12T00:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124382#M588283</link>
      <description>DRD is not available for 11.11.&lt;BR /&gt;&lt;BR /&gt;If you lvreduce the disk, all data on it will be marked as invalid, so you unlikely can boot from this disk again.&lt;BR /&gt;&lt;BR /&gt;Better to use ignite or just shutdown the server and pull out one of the disks.</description>
      <pubDate>Tue, 12 Aug 2008 04:18:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124382#M588283</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-08-12T04:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124383#M588284</link>
      <description>Hi Kenneth,&lt;BR /&gt;&lt;BR /&gt;No, thats not the route to go.&lt;BR /&gt;As torsten said, you just lost all youre data on the mirrordisk, with the lvreduce.&lt;BR /&gt;&lt;BR /&gt;The commands to use is lvsplit, to split the mirror and later use lvmerge to resync back.&lt;BR /&gt;&lt;BR /&gt;something like this.&lt;BR /&gt;&lt;BR /&gt;1. lvsplit&lt;BR /&gt;&lt;BR /&gt;i="&lt;VOLUME&gt;"&lt;BR /&gt;&lt;BR /&gt;atlas2&amp;gt; for j in $i&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt; lvsplit -s backup /dev/vg00/lvol$j&lt;BR /&gt;&amp;gt; done&lt;BR /&gt;&lt;BR /&gt;2. do all the things you want to do..&lt;BR /&gt;&lt;BR /&gt;if everything goes good..&lt;BR /&gt;&lt;BR /&gt;3. sync up the volumes of the mirrorbootdisk with the volumes of the original bootdisk again&lt;BR /&gt;&lt;BR /&gt;atlas2&amp;gt;i="1 2 3 4 5 6 7 8"&lt;BR /&gt;atlas2&amp;gt;for j in $i&lt;BR /&gt;&amp;gt;do&lt;BR /&gt;&amp;gt;lvmerge /dev/vg00/lvol${j}backup /dev/vg00/lvol$j&lt;BR /&gt;&amp;gt;done&lt;BR /&gt;&lt;BR /&gt;f.e. &lt;BR /&gt;&lt;BR /&gt;atlas2&amp;gt;lvmerge /dev/vg00/lvolbackuporacle /dev/vg00/lvoloracle&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if there is a problem.  merge the other way..&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris&lt;BR /&gt;&lt;/VOLUME&gt;</description>
      <pubDate>Tue, 12 Aug 2008 11:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124383#M588284</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2008-08-12T11:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124384#M588285</link>
      <description>You have the right idea but implementing it (lvreduce) is not correct. To get a consistent alternate disk you could shutdown the server and remove the alternate boot disk and boot from the primary using "-lq" mode. If you have a spare disk you could even replace it.&lt;BR /&gt;Other options are to make an ignite tape (or two) or boot from the vmunix.prev if the patched kernel does not boot.</description>
      <pubDate>Tue, 12 Aug 2008 11:29:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124384#M588285</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-08-12T11:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124385#M588286</link>
      <description>I third the motion for removing the disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;modify the boot string with -lq, shutdown server, pull out mirror disk, boot, apply patches.  Check things out, everything ok? reinstert disk. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;An ignite image is excellent as well. Very reliable.  &lt;BR /&gt;&lt;BR /&gt;Actually in all the years I have never had a major issue with any patch bundles.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Aug 2008 12:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124385#M588286</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-08-12T12:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124386#M588287</link>
      <description>Just pull the mirrored drives, and if you want to go back to the old OS - then you can just put these back, and pull the other ones.  Then reboot and you'll have the old OS and setup back.</description>
      <pubDate>Tue, 12 Aug 2008 12:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124386#M588287</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2008-08-12T12:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124387#M588288</link>
      <description>Thanks for all the feedback so far but I'm still not satisfied that I have an answer that I feel comfortable with. Let me summarise.&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; Firstly I cannot physically remove the mirrored drive as it's a customer at a remote site which I do not have access to and I do not trust the customer to pull the drive. &lt;BR /&gt;I would have an Ignite backup available and also have the option of booting from the previous kernel if all goes pear shaped.&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; According to Steven Protter using lvreduce would work but the rest think not.&lt;BR /&gt;I was under the impressiuon that breaking the mirroring would preserve the data on the alternate drive. Just that no more data would be mirrored from the original system disk.&lt;BR /&gt;Steven - can you clarify this point if possible or input from anyone else.&lt;BR /&gt;&lt;BR /&gt;==&amp;gt; I did think of using lvsplit and lvmerge as another possibility but decided lvreduve would be easier. Chris Huys solution is along the lines I would use but that's fine if the patching goes fine - if not ? then what about this is a solution - feedback welcome&lt;BR /&gt;&lt;BR /&gt;* Assume lvspit was done on all lvols on vg00&lt;BR /&gt;* fsck all mirrored volumes&lt;BR /&gt;* Mount mirrored lvol3b on /mnt&lt;BR /&gt;* edit fstab - change all lvolx to lvolxb&lt;BR /&gt;* unmount /mnt&lt;BR /&gt;* carry out patching and reboot&lt;BR /&gt;* assume system does not boot&lt;BR /&gt;* boot from Alternate disk&lt;BR /&gt;* once system up then edit fstab - change back lvols to original&lt;BR /&gt;* mirror via lvextend -m 1 to original system disk&lt;BR /&gt;* Reboot system</description>
      <pubDate>Tue, 12 Aug 2008 23:34:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124387#M588288</guid>
      <dc:creator>Kenneth Woolard</dc:creator>
      <dc:date>2008-08-12T23:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124388#M588289</link>
      <description>The procedure that you are looking for is called Dynamic Root Disk.  See attached or go here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/oshpux11iv2.html#Dynamic%20Root%20Disk" target="_blank"&gt;http://docs.hp.com/en/oshpux11iv2.html#Dynamic%20Root%20Disk&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You haven't specified Ia64 or PA-Risc and there's a big difference.  Here's a good pa-risc doc&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90113/B2355-90113.pdf" target="_blank"&gt;http://docs.hp.com/en/B2355-90113/B2355-90113.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 13 Aug 2008 01:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124388#M588289</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2008-08-13T01:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124389#M588290</link>
      <description>OS 11.11i so no good. I stated that in the original question and others have already mentioned DRD</description>
      <pubDate>Wed, 13 Aug 2008 01:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124389#M588290</guid>
      <dc:creator>Kenneth Woolard</dc:creator>
      <dc:date>2008-08-13T01:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124390#M588291</link>
      <description>Well if you can't read the manual and find the CORRECT procedure then you better get another job, cause you can't do this one</description>
      <pubDate>Wed, 13 Aug 2008 02:01:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124390#M588291</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2008-08-13T02:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124391#M588292</link>
      <description>Michael, it was not my intention to offend you but it seems I inadvertently have.&lt;BR /&gt;I appreciated your input and my reply was only stating that DRD was already mentioned.&lt;BR /&gt;&lt;BR /&gt;There was no need to be so impolite and start telling me that I am incapable of doing my job.&lt;BR /&gt;Language like that helps no one in particular.</description>
      <pubDate>Wed, 13 Aug 2008 02:20:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124391#M588292</guid>
      <dc:creator>Kenneth Woolard</dc:creator>
      <dc:date>2008-08-13T02:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124392#M588293</link>
      <description>DRD would be a nice solution, but it is not available for 11.11.&lt;BR /&gt;&lt;BR /&gt;Consider to shutdown the server and pull a disk or do an ignite backup as suggested earlier.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Aug 2008 04:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124392#M588293</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-08-13T04:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124393#M588294</link>
      <description>Hi Kenneth,&lt;BR /&gt;&lt;BR /&gt;Will retract my lvsplit/lvmerge procedure. ;)&lt;BR /&gt;&lt;BR /&gt;When it goes good there is no problem.. but when it goes bad.. the lvmerge in the other direction will change the minor numbers of lvol1/lvol2/lvol3 volumes to non-standard ones (the ones of the lvol1backup/lvol2backup/lvol3backup ) what defenitely is not good.&lt;BR /&gt;&lt;BR /&gt;So there might be a better procedure out there, but for the moment I would only go with an ignite backup as the method to getting everything back after it "goes bad".&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 13 Aug 2008 19:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124393#M588294</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2008-08-13T19:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124394#M588295</link>
      <description>Thanks to all your contributions. I'm now going to close this thread</description>
      <pubDate>Wed, 13 Aug 2008 22:21:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124394#M588295</guid>
      <dc:creator>Kenneth Woolard</dc:creator>
      <dc:date>2008-08-13T22:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Break root mirror vg00 prior to large scale patching</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124395#M588296</link>
      <description>THanks to everyone for replying</description>
      <pubDate>Wed, 13 Aug 2008 22:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/break-root-mirror-vg00-prior-to-large-scale-patching/m-p/5124395#M588296</guid>
      <dc:creator>Kenneth Woolard</dc:creator>
      <dc:date>2008-08-13T22:22:51Z</dc:date>
    </item>
  </channel>
</rss>

