<?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: Problem with scsimgr replace_wwid in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498861#M555960</link>
    <description>I did what you suggested, I tried adding dsf at the end of the command and it did seem to work.  I'm still not completely sure the disk numbers will be consistant from one time to another.  If the server is ever rebooted, I could expect the disk numbers to be re-assigned which would cause some scripting problems. &lt;BR /&gt;&lt;BR /&gt;The only other option I can think of doing is a brute force approach writing a script that does on ioscan -m lun and does a scsimgr replace_wwid on every disk ID that is found associated with the NetApp.   Once that is done, I can use the NetApp san lun show command to figure out what disk number is associated with the LUN I just mapped to the server.  I would get errors with disk numbers that aren't in need of replacing, but if you have any feedback on a better approach, I'm open to suggestions.</description>
    <pubDate>Thu, 17 Sep 2009 16:11:55 GMT</pubDate>
    <dc:creator>Patrick Briggs</dc:creator>
    <dc:date>2009-09-17T16:11:55Z</dc:date>
    <item>
      <title>Problem with scsimgr replace_wwid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498859#M555958</link>
      <description>I need to write a script that clones a LUN on a NetApp FAS-3050c SAN from one HP-UX system to another for backup and testing purposes.  I've had it working great on HP-UX 11.11, but now that I'm on 11.31, I'm getting errors because the OS sees a different WWID on the LUN and is blocking access.  In order to fix the problem I have to run scsimgr replace_wwid -D /dev/disk/diskN each time I do this.&lt;BR /&gt;&lt;BR /&gt;The problem with running replace_wwid is the /dev/disk/diskN number changes every time I run it which is a scripting nightmare.  I need to know what the /dev/disk/diskN is when I go to vgimport the volume so the script won't fail every time it's run.&lt;BR /&gt;&lt;BR /&gt;Question #1: Is there a way to just turn off this requirement to run replace_wwid?&lt;BR /&gt;&lt;BR /&gt;Question #2: If not, is there a way to prevent the /dev/disk/diskN path changing every time it's validated with replace_wwid?&lt;BR /&gt;&lt;BR /&gt;Question #3: If not, can someone suggest a way I can script this so my snapshot clones will work flawlessly everytime without me having to manually go back in and fix it?&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Sep 2009 18:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498859#M555958</guid>
      <dc:creator>Patrick Briggs</dc:creator>
      <dc:date>2009-09-16T18:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with scsimgr replace_wwid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498860#M555959</link>
      <description>According to the documentation.&lt;BR /&gt;&lt;BR /&gt;scsimgr replace_wwid -D /dev/disk/diskN dsf&lt;BR /&gt;&lt;BR /&gt;should keep the same disk number.&lt;BR /&gt;&lt;BR /&gt;Note: the word 'dsf' after disk name.&lt;BR /&gt;&lt;BR /&gt;I haven't tried this myself.</description>
      <pubDate>Thu, 17 Sep 2009 01:41:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498860#M555959</guid>
      <dc:creator>Bill Costigan</dc:creator>
      <dc:date>2009-09-17T01:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with scsimgr replace_wwid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498861#M555960</link>
      <description>I did what you suggested, I tried adding dsf at the end of the command and it did seem to work.  I'm still not completely sure the disk numbers will be consistant from one time to another.  If the server is ever rebooted, I could expect the disk numbers to be re-assigned which would cause some scripting problems. &lt;BR /&gt;&lt;BR /&gt;The only other option I can think of doing is a brute force approach writing a script that does on ioscan -m lun and does a scsimgr replace_wwid on every disk ID that is found associated with the NetApp.   Once that is done, I can use the NetApp san lun show command to figure out what disk number is associated with the LUN I just mapped to the server.  I would get errors with disk numbers that aren't in need of replacing, but if you have any feedback on a better approach, I'm open to suggestions.</description>
      <pubDate>Thu, 17 Sep 2009 16:11:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498861#M555960</guid>
      <dc:creator>Patrick Briggs</dc:creator>
      <dc:date>2009-09-17T16:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with scsimgr replace_wwid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498862#M555961</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;What release of 11.31 are you on:&lt;BR /&gt;&lt;BR /&gt;swlist *-OE&lt;BR /&gt;&lt;BR /&gt;I vaguely remember the inital release of 11.31 having this problem with disks being incremented every time a new copy of a snapshot was produced, but I did think it was a long-time cured... (although maybe it was fixed in the HP disk arrays rather than the OS). Have you checked you're not supposed to have some different settings on your NetApp PAS for 11.31 (many other arrays have a different setting for 11.31 vs. 11.11)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Thu, 17 Sep 2009 18:24:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498862#M555961</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-09-17T18:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with scsimgr replace_wwid</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498863#M555962</link>
      <description>HPUX11i-OE-Ent B.11.31.0803 HP-UX Enterprise Operating Environment&lt;BR /&gt;&lt;BR /&gt;I have also installed all the latest patch bundles:&lt;BR /&gt;BUNDLE         B.2009.08.25   Patch Bundle   &lt;BR /&gt;FEATURE11i   B.11.31.0903.334c Feature Enablement Patches for HP-UX 11i v3, March 2009 &lt;BR /&gt;HWEnable11i   B.11.31.0903.334d Hardware Enablement Patches for HP-UX 11i v3, March 2009 &lt;BR /&gt;QPKAPPS       B.11.31.0909.341a Applications Patches for HP-UX 11i v3, September 2009 &lt;BR /&gt;&lt;BR /&gt;Yes, the NetApp SAN settings are different with 11.31.  I have the igroup set with ALUA mode turned on.</description>
      <pubDate>Thu, 17 Sep 2009 21:16:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-scsimgr-replace-wwid/m-p/4498863#M555962</guid>
      <dc:creator>Patrick Briggs</dc:creator>
      <dc:date>2009-09-17T21:16:48Z</dc:date>
    </item>
  </channel>
</rss>

