<?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: programatically find second disk, to mirror? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048100#M135928</link>
    <description>Attached is Ed Jones ignite_mirror.ksh script. Ed is a HP ASE and his script found its way onto one of my servers. &lt;BR /&gt;&lt;BR /&gt;I hope Ed wouldn't mind having his script seen, but I suspect its found its way onto other servers worldwide.&lt;BR /&gt;&lt;BR /&gt;It isn't entirely completely automatic, as it anticipates that whatever the mirror disk script is, it'll have been defined as the ALTERNATE_DISK. If the disk is suitable, and most importantly, is on an alternate controller, then it will perform the mirroring task.&lt;BR /&gt;&lt;BR /&gt;I've used the script when setting-up an rp7410, and tested the alternate booting sequence without errors...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bren</description>
    <pubDate>Wed, 13 Aug 2003 14:00:39 GMT</pubDate>
    <dc:creator>Brendan Newport_2</dc:creator>
    <dc:date>2003-08-13T14:00:39Z</dc:date>
    <item>
      <title>programatically find second disk, to mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048096#M135924</link>
      <description>okay,&lt;BR /&gt;&lt;BR /&gt;we have multiple models, and they all differ, this is understandable. however I am in the process of writting a post install script for our ignite server, that will find the second disk, regardless of model and mirror root vol to it.&lt;BR /&gt;&lt;BR /&gt;I know the mirror process, I need to find out if anyone has a tool that will always display the second disk, regardless of model and it must be on a different controller.</description>
      <pubDate>Wed, 13 Aug 2003 13:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048096#M135924</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-08-13T13:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: programatically find second disk, to mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048097#M135925</link>
      <description>It would take some time to put it all together, put you could use:&lt;BR /&gt;&lt;BR /&gt;lvlnboot -v &lt;BR /&gt;  to find out the current root disk&lt;BR /&gt;&lt;BR /&gt;ioscan -fNC disk&lt;BR /&gt;  to find out the possible alternate disks&lt;BR /&gt;&lt;BR /&gt;And if you have a candidate disk, you can use "pvdisplay" to see if it already is in use as a physical volume or check /etc/lvmtab to see if its already in use there.  &lt;BR /&gt;&lt;BR /&gt;From here its a matter of scripting it and there are several methods for that.&lt;BR /&gt;&lt;BR /&gt;I dont have time right now to write one up, but might be able to come up with a script later today.</description>
      <pubDate>Wed, 13 Aug 2003 13:12:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048097#M135925</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-08-13T13:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: programatically find second disk, to mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048098#M135926</link>
      <description>Kent,&lt;BR /&gt;&lt;BR /&gt;yes this is tricy, writing the script is the easy part. fidning which disk to use for which model turns out to be more difficult than expected.&lt;BR /&gt;&lt;BR /&gt;yes I can use a lookup table, for each model and hard code the value of the hardware addy, however this is not the route I wish to go.&lt;BR /&gt;&lt;BR /&gt;I will post the tool here once complete!</description>
      <pubDate>Wed, 13 Aug 2003 13:51:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048098#M135926</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-08-13T13:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: programatically find second disk, to mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048099#M135927</link>
      <description>Hi Donny:&lt;BR /&gt;&lt;BR /&gt;I suggest that you use 'diskinfo' (man 'diskinfo' for more information, obviously) to analyze the candidate disk pool  such that you select a device that satisfies (at least) size and perhaps model.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 13 Aug 2003 13:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048099#M135927</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-08-13T13:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: programatically find second disk, to mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048100#M135928</link>
      <description>Attached is Ed Jones ignite_mirror.ksh script. Ed is a HP ASE and his script found its way onto one of my servers. &lt;BR /&gt;&lt;BR /&gt;I hope Ed wouldn't mind having his script seen, but I suspect its found its way onto other servers worldwide.&lt;BR /&gt;&lt;BR /&gt;It isn't entirely completely automatic, as it anticipates that whatever the mirror disk script is, it'll have been defined as the ALTERNATE_DISK. If the disk is suitable, and most importantly, is on an alternate controller, then it will perform the mirroring task.&lt;BR /&gt;&lt;BR /&gt;I've used the script when setting-up an rp7410, and tested the alternate booting sequence without errors...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bren</description>
      <pubDate>Wed, 13 Aug 2003 14:00:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048100#M135928</guid>
      <dc:creator>Brendan Newport_2</dc:creator>
      <dc:date>2003-08-13T14:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: programatically find second disk, to mirror?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048101#M135929</link>
      <description>I would say that you can't automate this 100%.  You could narrow down candidates by model, size, address, etc, but sometimes you can't be sure without tracing cables, etc.</description>
      <pubDate>Wed, 13 Aug 2003 14:04:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/programatically-find-second-disk-to-mirror/m-p/3048101#M135929</guid>
      <dc:creator>Stuart Abramson_2</dc:creator>
      <dc:date>2003-08-13T14:04:36Z</dc:date>
    </item>
  </channel>
</rss>

