<?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: How to simulate a disk failure - character device (ASM) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5685285#M480536</link>
    <description>&lt;P&gt;We are going to try that.&amp;nbsp; The scsimgr man page also mentions it and refers to the "block device".&amp;nbsp; Oracle ASM uses the character device, but I would imagine if the LUN is blocked, it does not matter which device is being used.&amp;nbsp; We will find out soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jun 2012 15:19:01 GMT</pubDate>
    <dc:creator>Ken Englander</dc:creator>
    <dc:date>2012-06-08T15:19:01Z</dc:date>
    <item>
      <title>How to simulate a disk failure - character device (ASM)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5682633#M480515</link>
      <description>&lt;P&gt;We need to simulate a disk failure to check on flag in the minor number on /dev/async.&amp;nbsp; Running HP-UX 11i v3, Oracle 11gR2.&amp;nbsp; We cannot unplug the fiber connections because all the devices are on the same fabric.&amp;nbsp; We only want to fail a single LUN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The bit settings are defined below.&amp;nbsp; We are setting it to 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions would be welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;&lt;STRONG&gt;Disk I/O Hangs On HP-UX With ASM After Loss Of Storage [ID 393314.1&lt;/STRONG&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Timeout setting of storage devices is configured too high or indefinite. When device is not accesible, ASM I/O requests hang till timeout expires. For example, /dev/async device file doesn't have support for timeouts if minor device number is 0x000000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The minor device number is 0x000000. Here are the possible values for this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;0x000000 default&lt;BR /&gt;0x000001 enable immediate reporting&lt;BR /&gt;0x000002 flush the CPU cache after reads&lt;BR /&gt;0x000004 allow disks to timeout&lt;BR /&gt;0x000005 is a combination of 1 and 4&lt;BR /&gt;0x000007 is a combination of 1, 2 and 4&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Jun 2012 21:37:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5682633#M480515</guid>
      <dc:creator>Ken Englander</dc:creator>
      <dc:date>2012-06-06T21:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate a disk failure - character device (ASM)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5683209#M480521</link>
      <description>&lt;P&gt;Modify SAN zoning to block communications to that LUN?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Deconfigure that particular LUN in the storage?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2012 09:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5683209#M480521</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-06-07T09:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate a disk failure - character device (ASM)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5683545#M480527</link>
      <description>&lt;P&gt;Sorry, I should have mentioned I was looking for something easier than modifying the zoning.&amp;nbsp; That is secured so it is difficult to get done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2012 15:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5683545#M480527</guid>
      <dc:creator>Ken Englander</dc:creator>
      <dc:date>2012-06-07T15:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate a disk failure - character device (ASM)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5684855#M480531</link>
      <description>&lt;P&gt;Hmm, if you had ASM on a LV, you could do a "pvchange -a N" on the LUN, but you might not have such a configuration...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You said you're using 11iv3. How about:&lt;/P&gt;&lt;PRE&gt;scsimgr disable -D /dev/rdisk/diskNNN&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;on the desired LUN?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can restore it with the corresponding &lt;FONT face="courier new,courier"&gt;scsimgr enable&lt;/FONT&gt; command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the scsimgr whitepaper, the system will automatically disable a LUN in the same way if an unrecoverable deferred disk error occurs, so this might actually be a relatively good simulation for your case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The scsimgr whitepaper is available here:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01914672/c01914672.pdf"&gt;http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01914672/c01914672.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See pages 39-40.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2012 06:56:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5684855#M480531</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-06-08T06:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate a disk failure - character device (ASM)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5685285#M480536</link>
      <description>&lt;P&gt;We are going to try that.&amp;nbsp; The scsimgr man page also mentions it and refers to the "block device".&amp;nbsp; Oracle ASM uses the character device, but I would imagine if the LUN is blocked, it does not matter which device is being used.&amp;nbsp; We will find out soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2012 15:19:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-a-disk-failure-character-device-asm/m-p/5685285#M480536</guid>
      <dc:creator>Ken Englander</dc:creator>
      <dc:date>2012-06-08T15:19:01Z</dc:date>
    </item>
  </channel>
</rss>

