<?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 fcmsutil and tdutil to ge the WWN of the HBA and target port in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567341#M372289</link>
    <description>I want to write a script to do the discovery of the devicepaths and connected FC ports as a NON ROOT user.&lt;BR /&gt;I see fcmsutil can run only as root user, whereas tdutil can run as a non root user.&lt;BR /&gt;&lt;BR /&gt;Is there any tool that can be used instead of fcmsutil?&lt;BR /&gt;&lt;BR /&gt;thanks!!&lt;BR /&gt;&lt;BR /&gt;Here is the sample output::&lt;BR /&gt;&lt;BR /&gt;fcmsutil /dev/td0&lt;BR /&gt;Error: Must have SuperUser privileges to execute this command.&lt;BR /&gt;tdutil /dev/td0&lt;BR /&gt;&lt;BR /&gt;                           Vendor ID is = 0x00103c&lt;BR /&gt;                           Device ID is = 0x001029&lt;BR /&gt;                XL2 Chip Revision No is = 2.3&lt;BR /&gt;            PCI Sub-system Vendor ID is = 0x00103c&lt;BR /&gt;                   PCI Sub-system ID is = 0x00128c&lt;BR /&gt;                               Topology = PTTOPT_FABRIC&lt;BR /&gt;                             Link Speed = 2Gb&lt;BR /&gt;                 Local N_Port_id is = 0xc20300&lt;BR /&gt;     N_Port Node World Wide Name = 0x50060b000023d2bb&lt;BR /&gt;     N_Port Port World Wide Name = 0x50060b000023d2ba&lt;BR /&gt;                    Driver state = ONLINE&lt;BR /&gt;                Hardware Path is = 0/4/1/0&lt;BR /&gt;          Number of Assisted IOs = 1160821&lt;BR /&gt; Number of Active Login Sessions = 1&lt;BR /&gt;                   Dino Present on Card = NO&lt;BR /&gt;                     Maximum Frame Size = 2048&lt;BR /&gt;                         Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.03 /ux/core/isu/TL/kern/src/common/wsio/td_glue.c: Aug 16 2004, 13:49:26&lt;BR /&gt;</description>
    <pubDate>Wed, 20 Jan 2010 07:16:36 GMT</pubDate>
    <dc:creator>v2_1</dc:creator>
    <dc:date>2010-01-20T07:16:36Z</dc:date>
    <item>
      <title>fcmsutil and tdutil to ge the WWN of the HBA and target port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567341#M372289</link>
      <description>I want to write a script to do the discovery of the devicepaths and connected FC ports as a NON ROOT user.&lt;BR /&gt;I see fcmsutil can run only as root user, whereas tdutil can run as a non root user.&lt;BR /&gt;&lt;BR /&gt;Is there any tool that can be used instead of fcmsutil?&lt;BR /&gt;&lt;BR /&gt;thanks!!&lt;BR /&gt;&lt;BR /&gt;Here is the sample output::&lt;BR /&gt;&lt;BR /&gt;fcmsutil /dev/td0&lt;BR /&gt;Error: Must have SuperUser privileges to execute this command.&lt;BR /&gt;tdutil /dev/td0&lt;BR /&gt;&lt;BR /&gt;                           Vendor ID is = 0x00103c&lt;BR /&gt;                           Device ID is = 0x001029&lt;BR /&gt;                XL2 Chip Revision No is = 2.3&lt;BR /&gt;            PCI Sub-system Vendor ID is = 0x00103c&lt;BR /&gt;                   PCI Sub-system ID is = 0x00128c&lt;BR /&gt;                               Topology = PTTOPT_FABRIC&lt;BR /&gt;                             Link Speed = 2Gb&lt;BR /&gt;                 Local N_Port_id is = 0xc20300&lt;BR /&gt;     N_Port Node World Wide Name = 0x50060b000023d2bb&lt;BR /&gt;     N_Port Port World Wide Name = 0x50060b000023d2ba&lt;BR /&gt;                    Driver state = ONLINE&lt;BR /&gt;                Hardware Path is = 0/4/1/0&lt;BR /&gt;          Number of Assisted IOs = 1160821&lt;BR /&gt; Number of Active Login Sessions = 1&lt;BR /&gt;                   Dino Present on Card = NO&lt;BR /&gt;                     Maximum Frame Size = 2048&lt;BR /&gt;                         Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.03 /ux/core/isu/TL/kern/src/common/wsio/td_glue.c: Aug 16 2004, 13:49:26&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jan 2010 07:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567341#M372289</guid>
      <dc:creator>v2_1</dc:creator>
      <dc:date>2010-01-20T07:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: fcmsutil and tdutil to ge the WWN of the HBA and target port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567342#M372290</link>
      <description>What I believe that there is no any another command to see these outputs . but if you still want to use this command as a normal user than you can use sudo access.</description>
      <pubDate>Wed, 20 Jan 2010 09:20:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567342#M372290</guid>
      <dc:creator>Jupinder Bedi</dc:creator>
      <dc:date>2010-01-20T09:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: fcmsutil and tdutil to ge the WWN of the HBA and target port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567343#M372291</link>
      <description>I see as non-root tdutil is working on 2 HP-UX OS I have, how can I confirm that tdutil will always work?</description>
      <pubDate>Wed, 20 Jan 2010 12:17:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567343#M372291</guid>
      <dc:creator>v2_1</dc:creator>
      <dc:date>2010-01-20T12:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: fcmsutil and tdutil to ge the WWN of the HBA and target port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567344#M372292</link>
      <description>using ioscan and fcmsutil,&lt;BR /&gt;I can find the fc class object, the disk, and the target for each fc object&lt;BR /&gt;BUT I can't associate the disk with the target port.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;fcmsutil /dev/fcd0 get remote all&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;Target N_Port_id is = 0x141e00&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;Target Port World Wide Name = 0x50060e8000c28634&lt;BR /&gt;Target Node World Wide Name = 0x50060e8000c28634&lt;BR /&gt;&lt;BR /&gt;# ioscan -knf /dev/fcd0&lt;BR /&gt;# ioscan -knf /dev/fcd0 | more&lt;BR /&gt;Class     I  H/W Path       Driver   S/W State   H/W Type     Description&lt;BR /&gt;==========================================================================&lt;BR /&gt;fc        0  0/2/1/0        fcd      CLAIMED     INTERFACE    HP A6826-60001 2Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)&lt;BR /&gt;                           /dev/fcd0&lt;BR /&gt;fcp       0  0/2/1/0.20     fcd_fcp  CLAIMED     INTERFACE    FCP Domain&lt;BR /&gt;ext_bus   4  0/2/1/0.20.30.0.0        fcd_vbus CLAIMED     INTERFACE    FCP Array Interfa&lt;BR /&gt;ce&lt;BR /&gt;target    6  0/2/1/0.20.30.0.0.0      tgt      CLAIMED     DEVICE&lt;BR /&gt;disk      2  0/2/1/0.20.30.0.0.0.0    sdisk    CLAIMED     DEVICE       HITACHI DF600F&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Jan 2010 13:17:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567344#M372292</guid>
      <dc:creator>v2_1</dc:creator>
      <dc:date>2010-01-25T13:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: fcmsutil and tdutil to ge the WWN of the HBA and target port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567345#M372293</link>
      <description>The fcmsutil command is a restricted to processes having super user privileges.&lt;BR /&gt;&lt;BR /&gt;Hence you must be root, or be granted super user rights to run this command.&lt;BR /&gt;&lt;BR /&gt;See manpage fcmsutil&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Rita</description>
      <pubDate>Mon, 25 Jan 2010 13:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567345#M372293</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2010-01-25T13:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: fcmsutil and tdutil to ge the WWN of the HBA and target port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567346#M372294</link>
      <description>Hi,&lt;BR /&gt;I think you have to interpret with scsimgr&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/A6826-96009/ch01s08.html" target="_blank"&gt;http://www.docs.hp.com/en/A6826-96009/ch01s08.html&lt;/A&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 25 Jan 2010 13:29:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567346#M372294</guid>
      <dc:creator>smatador</dc:creator>
      <dc:date>2010-01-25T13:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: fcmsutil and tdutil to ge the WWN of the HBA and target port</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567347#M372295</link>
      <description>&lt;A href="http://www.docs.hp.com/en/A6826-96009/ch01s08.html" target="_blank"&gt;http://www.docs.hp.com/en/A6826-96009/ch01s08.html&lt;/A&gt;&lt;BR /&gt;helps&lt;BR /&gt;---&lt;BR /&gt;I got some more bit processing here&lt;BR /&gt;Fabrizio, &lt;BR /&gt;&lt;BR /&gt;&amp;gt; Target N_Port_id is = 0x631700 &lt;BR /&gt;&amp;gt; Target state = DSM_READY &lt;BR /&gt;&amp;gt; Symbolic Name = HP OPEN-XP12000 5001 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Look at the FCID (N_Port_id) there and convert into deciaml: &lt;BR /&gt;&lt;BR /&gt;0x631700 = 99.23.0 &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1264597571611+28353475&amp;amp;threadId=1277892" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1264597571611+28353475&amp;amp;threadId=1277892&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;thanks all!&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Jan 2010 13:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fcmsutil-and-tdutil-to-ge-the-wwn-of-the-hba-and-target-port/m-p/4567347#M372295</guid>
      <dc:creator>v2_1</dc:creator>
      <dc:date>2010-01-27T13:07:22Z</dc:date>
    </item>
  </channel>
</rss>

