<?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: wwpn information in ProLiant Servers (ML,DL,SL)</title>
    <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7028421#M164964</link>
    <description>&lt;P&gt;This is the PowerShell command: Get-InitiatorPort&lt;/P&gt;</description>
    <pubDate>Thu, 13 Dec 2018 13:05:24 GMT</pubDate>
    <dc:creator>Cali</dc:creator>
    <dc:date>2018-12-13T13:05:24Z</dc:date>
    <item>
      <title>wwpn information</title>
      <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7028201#M164958</link>
      <description>&lt;P&gt;Is it possible to find wwpn/wwnn information for a bare metal server using powershell or REST. I looked at the HP ILO cmdlets and I do not see anything I can use to pull up the information. I could go into the ILO but trying to automate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 13:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7028201#M164958</guid>
      <dc:creator>Mtgreene85</dc:creator>
      <dc:date>2018-12-11T13:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: wwpn information</title>
      <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7028399#M164961</link>
      <description>&lt;P&gt;What is the Model No. of server?&lt;/P&gt;&lt;P&gt;What is the Installed Network card/HBA in use?&lt;/P&gt;&lt;P&gt;Which OS is installed on server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 10:02:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7028399#M164961</guid>
      <dc:creator>Jazz_ISS</dc:creator>
      <dc:date>2018-12-13T10:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: wwpn information</title>
      <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7028421#M164964</link>
      <description>&lt;P&gt;This is the PowerShell command: Get-InitiatorPort&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 13:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7028421#M164964</guid>
      <dc:creator>Cali</dc:creator>
      <dc:date>2018-12-13T13:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: wwpn information</title>
      <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7028713#M164990</link>
      <description>&lt;P&gt;380 G10 or G9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bare Bones no OS installed.&lt;/P&gt;&lt;P&gt;If an OS is installed I see a lot of approaches to get the information. I am thinking redfish might get me the answer. Two conflicting opinions, I have been told I need AMS running ie OS installed, but I have been also told I do not need it. I will test&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;</description>
      <pubDate>Mon, 17 Dec 2018 15:22:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7028713#M164990</guid>
      <dc:creator>Mtgreene85</dc:creator>
      <dc:date>2018-12-17T15:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: wwpn information</title>
      <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7078577#M169582</link>
      <description>&lt;P&gt;I have the same problem at work and I wrote something that does not use the OS but just the ILO, but it only works for some models. I only tested on three models. I found this post because I don't want to rewrite this code for Gen 8 because there has to be a better way but seems not.&amp;nbsp;&lt;/P&gt;&lt;P&gt;DL380 Gen 10 = Works&lt;/P&gt;&lt;P&gt;DL380 Gen 8,9 = Failed, going to make this soon/someday. If I remember I'll post back.&lt;/P&gt;&lt;P&gt;You need the redfish PowerShell cmdlets, found here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/HewlettPackard/PowerShell-ProLiant-SDK" target="_blank" rel="noopener"&gt;https://github.com/HewlettPackard/PowerShell-ProLiant-SDK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;#########################################START OF CODE #############&lt;/P&gt;&lt;P&gt;$conn = Connect-HPERedfish -Address $iloip -Password $password -Username $username -DisableCertificateAuthentication&lt;/P&gt;&lt;P&gt;$hbalist = (Get-HPERedfishDataRaw -Odataid 'redfish/v1/Chassis/1/NetworkAdapters' -Session $conn -DisableCertificateAuthentication).Members&lt;BR /&gt;$HBAMASTER = @()&lt;BR /&gt;foreach($element in $hbalist)&lt;BR /&gt;{&lt;BR /&gt;$hbatemp = Get-HPERedfishDataraw -Odataid $element.'@odata.id' -Session $conn -DisableCertificateAuthentication&lt;BR /&gt;$hbamodel = $hbatemp.SKU&lt;BR /&gt;$hbapn = $hbatemp.PartNumber&lt;BR /&gt;$hbasn = $hbatemp.SerialNumber&lt;BR /&gt;$hbafw = (Get-HPERedfishDataraw -Odataid $element.'@odata.id' -Session $conn -DisableCertificateAuthentication).Controllers.FirmwarePackageVersion.trim(" ")&lt;BR /&gt;$temp = ($element.'@odata.id').TrimEnd("/") + "/NetworkDeviceFunctions/"&lt;/P&gt;&lt;P&gt;$temp1 = ((Get-HPERedfishDataRaw -Odataid $temp -Session $conn -DisableCertificateAuthentication).Members).'@odata.id'&lt;/P&gt;&lt;P&gt;$WWTEMP = ((Get-HPERedfishDataRaw -Odataid $temp1 -Session $conn -DisableCertificateAuthentication).FibreChannel)&lt;BR /&gt;$WWNN = $WWTEMP.PermanentWWNN&lt;BR /&gt;$WWPN = $WWTEMP.PermanentWWPN&lt;BR /&gt;$interfacetemp = ($element.'@odata.id').TrimStart("/redfish/v1/Systems/1/NetworkInterfaces/").Trim("/")&lt;BR /&gt;$HBAMASTER += "HBAM:$hbamodel, HBAPN:$hbapn, HBAFW:$hbafw, HBASN:$hbasn, WWNN:$WWNN, WWPN:$WWPN"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;$HBAMASTER&lt;/P&gt;&lt;P&gt;############### END OF CODE #########################&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 19:51:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7078577#M169582</guid>
      <dc:creator>JayFromIT</dc:creator>
      <dc:date>2020-02-10T19:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: wwpn information</title>
      <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7078741#M169590</link>
      <description>&lt;P&gt;I changed the code a bit. Works only on DL380 Gen 10, it seems there is no way using redfish/ilo cmdlets getting the WWNN.&amp;nbsp;&lt;/P&gt;&lt;P&gt;$hbalist = (Get-HPERedfishDataRaw -Odataid 'redfish/v1/Chassis/1/NetworkAdapters' -Session $conn -DisableCertificateAuthentication).Members&lt;BR /&gt;$hbacount = $hbatemp.Count&lt;BR /&gt;$hbacard = 1&lt;BR /&gt;$HBAMASTER = @()&lt;BR /&gt;&lt;BR /&gt;foreach($element in $hbalist)&lt;BR /&gt;{&lt;BR /&gt;# Get-HPERedfishDataraw -Odataid redfish/v1/Chassis/1/NetworkAdapters/6907470F/ -Session $conn -DisableCertificateAuthentication&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$hbatemp = Get-HPERedfishDataraw -Odataid $element.'@odata.id' -Session $conn -DisableCertificateAuthentication&lt;BR /&gt;$hbamodel = $hbatemp.SKU&lt;BR /&gt;$hbapn = $hbatemp.PartNumber&lt;BR /&gt;$hbasn = $hbatemp.SerialNumber&lt;BR /&gt;$hbafw = (Get-HPERedfishDataraw -Odataid $element.'@odata.id' -Session $conn -DisableCertificateAuthentication).Controllers.FirmwarePackageVersion.trim(" ")&lt;BR /&gt;$temp = ($element.'@odata.id').TrimEnd("/") + "/NetworkDeviceFunctions/"&lt;BR /&gt;$temp1 = ((Get-HPERedfishDataRaw -Odataid $temp -Session $conn -DisableCertificateAuthentication).Members).'@odata.id'&lt;BR /&gt;$HBAPORTCOUNT = $temp1.count&lt;BR /&gt;if($HBAPORTCOUNT -eq 1)&lt;BR /&gt;{&lt;BR /&gt;$WWTEMP = ((Get-HPERedfishDataRaw -Odataid $temp1 -Session $conn -DisableCertificateAuthentication).FibreChannel)&lt;BR /&gt;$WWNN = $WWTEMP.PermanentWWNN&lt;BR /&gt;$WWPN = $WWTEMP.PermanentWWPN&lt;BR /&gt;$interfacetemp = ($element.'@odata.id').TrimStart("/redfish/v1/Systems/1/NetworkInterfaces/").Trim("/")&lt;BR /&gt;$HBAMASTER += "CARD:$hbacard, PORT:1, HBAM:$hbamodel, HBAPN:$hbapn, HBAFW:$hbafw, HBASN:$hbasn, WWNN:$WWNN, WWPN:$WWPN"&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;for($i=0; $i -lt $HBAPORTCOUNT; $i++)&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;$WWTEMP = ((Get-HPERedfishDataRaw -Odataid $temp1[$i] -Session $conn -DisableCertificateAuthentication).FibreChannel)&lt;BR /&gt;$WWNN = $WWTEMP.PermanentWWNN&lt;BR /&gt;$WWPN = $WWTEMP.PermanentWWPN&lt;BR /&gt;$interfacetemp = ($element.'@odata.id').TrimStart("/redfish/v1/Systems/1/NetworkInterfaces/").Trim("/")&lt;BR /&gt;$tempi = $i + 1&lt;BR /&gt;$HBAMASTER += "CARD:$hbacard, PORT:$tempi, HBAM:$hbamodel, HBAPN:$hbapn, HBAFW:$hbafw, HBASN:$hbasn, WWNN:$WWNN, WWPN:$WWPN"&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;$hbacard++&lt;BR /&gt;}&lt;BR /&gt;$HBAMASTER&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 18:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/wwpn-information/m-p/7078741#M169590</guid>
      <dc:creator>JayFromIT</dc:creator>
      <dc:date>2020-02-11T18:22:25Z</dc:date>
    </item>
  </channel>
</rss>

