<?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 parameter is not available for Data ONTAP 9.0 and up in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151838#M6066</link>
    <description>&lt;P&gt;Yeah, I get the same error in my lab. Not sure why they decided to remove that particular functionality from the PSTK. In any case, you could use the Invoke-NcSsh cmdlet to run the native ONTAP CLI commands needed to change the WWPN. Something like this:&lt;/P&gt;
&lt;PRE&gt;New-NcNetInterface -Vserver svm_test -Name lif_test -Role data -Dataprotocols fcp -Node labnode1 -Port 1a -AdministrativeStatus down
Invoke-NcSsh -Command "set -priv advanced;y;vserver fcp portname set -vserver svm_test -lif lif_test -wwpn 20:01:00:a0:98:00:af:01"
Set-NcNetInterface -Vserver svm_test -Name lif_test -AdministrativeStatus up&lt;/PRE&gt;
&lt;P&gt;Of course, I'd probably want to flesh this out with some variables and and error-checking to make this easier to duplicate for different SVMs/ports/LIFs/etc. but the basics are there. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ZAPI also has the "net-interface-modify-iter" API call which includes the "WWPN" attribute, so you could likely make a native API call to handle this as well (using the Invoke-NcSystemApi command) if you'd rather not use SSH.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Donny&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2019 13:43:05 GMT</pubDate>
    <dc:creator>donny_lang</dc:creator>
    <dc:date>2019-10-18T13:43:05Z</dc:date>
    <item>
      <title>Wwpn parameter is not available for Data ONTAP 9.0 and up</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151724#M6063</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pardon if I'm rehashing an old thread.&amp;nbsp; Got a customer who has adopted the position that WWPNs can never be randomly generated and must be deterministic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am automating several tasks for them in powershell and have come accross a problem trying to change the WWPN of a LIF. I get a warning message about the parameter being unavaliable for ONTAP 9.0 and newer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does any know of another automated method to change WWPN? I'd like to tell them it will have to be random, but can't unless it's basically impossible.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:11:23 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151724#M6063</guid>
      <dc:creator>StorageNob</dc:creator>
      <dc:date>2025-06-04T12:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Wwpn parameter is not available for Data ONTAP 9.0 and up</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151727#M6064</link>
      <description>&lt;P&gt;Hi, can you provide the following information:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. ONTAP version&lt;BR /&gt;2. PS Toolkit version&lt;/P&gt;
&lt;P&gt;3. Command you're running to change the LIF's WWPN&lt;/P&gt;
&lt;P&gt;4. Error output generated by the command&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That'll allow us to help out a lot more easily - thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 21:27:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151727#M6064</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2019-10-14T21:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Wwpn parameter is not available for Data ONTAP 9.0 and up</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151744#M6065</link>
      <description>&lt;P&gt;1. ONTAP version 9.5P6&lt;/P&gt;
&lt;P&gt;2. PS toolkit 9.6&lt;/P&gt;
&lt;P&gt;3. New-NcNetInterface -Vserver svm_test -Name lif_test -Role data -Dataprotocol fcp -Node labnode1 -Port 1a -Wwpn 20:01:00:a0:98:00:af:01 -AdministrativeStatus up&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Warning Wwpn parameter is not available for Data ONTAP 9.0 and up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 11:08:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151744#M6065</guid>
      <dc:creator>StorageNob</dc:creator>
      <dc:date>2019-10-15T11:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Wwpn parameter is not available for Data ONTAP 9.0 and up</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151838#M6066</link>
      <description>&lt;P&gt;Yeah, I get the same error in my lab. Not sure why they decided to remove that particular functionality from the PSTK. In any case, you could use the Invoke-NcSsh cmdlet to run the native ONTAP CLI commands needed to change the WWPN. Something like this:&lt;/P&gt;
&lt;PRE&gt;New-NcNetInterface -Vserver svm_test -Name lif_test -Role data -Dataprotocols fcp -Node labnode1 -Port 1a -AdministrativeStatus down
Invoke-NcSsh -Command "set -priv advanced;y;vserver fcp portname set -vserver svm_test -lif lif_test -wwpn 20:01:00:a0:98:00:af:01"
Set-NcNetInterface -Vserver svm_test -Name lif_test -AdministrativeStatus up&lt;/PRE&gt;
&lt;P&gt;Of course, I'd probably want to flesh this out with some variables and and error-checking to make this easier to duplicate for different SVMs/ports/LIFs/etc. but the basics are there. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ZAPI also has the "net-interface-modify-iter" API call which includes the "WWPN" attribute, so you could likely make a native API call to handle this as well (using the Invoke-NcSystemApi command) if you'd rather not use SSH.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Donny&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 13:43:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151838#M6066</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2019-10-18T13:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Wwpn parameter is not available for Data ONTAP 9.0 and up</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151842#M6067</link>
      <description>&lt;P&gt;Thanks for the reply, that's very helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just started testing. Putty is installed on the machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm getting an error:&lt;/P&gt;
&lt;P&gt;Invoke-NcSsh : The system cannot find the file specified&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Import-Module DataONTAP&lt;/P&gt;
&lt;P&gt;Connect-NcController (ip addr)&lt;/P&gt;
&lt;P&gt;Then your command with proper svm and wwpn entered.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I run that commandlet while authenticated to the Cluster Management SVM? It's having a problem with the command itself.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 14:47:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151842#M6067</guid>
      <dc:creator>StorageNob</dc:creator>
      <dc:date>2019-10-18T14:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Wwpn parameter is not available for Data ONTAP 9.0 and up</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151844#M6068</link>
      <description>&lt;P&gt;Ok,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This solution worked, I just needed to ensure plink.exe (which is typically in C:\Program files(x86)\Putty) was copied over to the C:\Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 15:29:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151844#M6068</guid>
      <dc:creator>StorageNob</dc:creator>
      <dc:date>2019-10-18T15:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Wwpn parameter is not available for Data ONTAP 9.0 and up</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151845#M6069</link>
      <description>&lt;P&gt;Glad you got it sorted, thanks for following back up with the solution!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 15:31:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Wwpn-parameter-is-not-available-for-Data-ONTAP-9-0-and-up/m-p/151845#M6069</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2019-10-18T15:31:13Z</dc:date>
    </item>
  </channel>
</rss>

