<?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: Incorrect credentials after making connection multiple controllers in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Incorrect-credentials-after-making-connection-multiple-controllers/m-p/166227#M28204</link>
    <description>&lt;P&gt;What version of PowerShell and the PSTK are you using? I'm not able to replicate the issue on the couple of different machines I tried it on, running PSTK 9.8.0 and PowerShell 5.1.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Apr 2021 14:55:36 GMT</pubDate>
    <dc:creator>donny_lang</dc:creator>
    <dc:date>2021-04-22T14:55:36Z</dc:date>
    <item>
      <title>Incorrect credentials after making connection multiple controllers</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Incorrect-credentials-after-making-connection-multiple-controllers/m-p/166181#M28203</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;Just trying to use Get-NcSnapmirror on multiple controllers. i tried&lt;/P&gt;&lt;P&gt;$nc1 = connect-NcController -name xxx ...&lt;/P&gt;&lt;P&gt;$nc2 = connect-NcController -name yyy ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i try "Get-NcSnapmirror -Controller $nc2" i get incorrect credentials. and without -Controllers it works but i must use it&amp;nbsp; because i script&amp;nbsp;resync svm-dr so i need to connect to both controllers in the same script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:27:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Incorrect-credentials-after-making-connection-multiple-controllers/m-p/166181#M28203</guid>
      <dc:creator>Daniel_Maryuma</dc:creator>
      <dc:date>2025-06-04T10:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect credentials after making connection multiple controllers</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Incorrect-credentials-after-making-connection-multiple-controllers/m-p/166227#M28204</link>
      <description>&lt;P&gt;What version of PowerShell and the PSTK are you using? I'm not able to replicate the issue on the couple of different machines I tried it on, running PSTK 9.8.0 and PowerShell 5.1.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 14:55:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Incorrect-credentials-after-making-connection-multiple-controllers/m-p/166227#M28204</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2021-04-22T14:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Incorrect credentials after making connection multiple controllers</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Incorrect-credentials-after-making-connection-multiple-controllers/m-p/166264#M28205</link>
      <description>&lt;P&gt;Hi Daniel_Maryuma,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to replicate the issue, which indeed is due to the stored credentials only being active in memory for a single controller at a time. The solution for this would be to set a credential variable for each controller and specify the credential variable in the connect variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the example below that I tested in our lab system using PSTK 9.8:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PS LAB&amp;gt; $creds_nc1 = Get-Credential -message 'Please provide password for nc1'
PS LAB&amp;gt; $creds_nc2 = Get-Credential -message 'Please provide password for nc2'
PS LAB&amp;gt; $nc1 = Connect-NcController lab-cluster1 -Credential $creds_nc1
PS LAB&amp;gt; $nc2 = Connect-NcController lab-cluster2 -Credential $creds_nc2
PS LAB&amp;gt; get-ncsnapmirror -controller $nc1

SourceLocation                                DestinationLocation                           Status       MirrorState
--------------                                -------------------                           ------       -----------
lab-cluster1://labsvm1/labsvm1_vol1_src       lab-cluster2://labsvm1/labsvm1_vol1_dest      idle         snapmirrored

PS LAB&amp;gt; get-ncsnapmirror -controller $nc2

SourceLocation                                DestinationLocation                           Status       MirrorState
--------------                                -------------------                           ------       -----------
lab-cluster2://labsvm1/labsvm1_vol1_src       lab-cluster1://labsvm1/labsvm1_vol1_dest 		idle         snapmirrored

PS LAB&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Team Netapp&lt;/P&gt;</description>
      <pubDate>Fri, 23 Apr 2021 08:45:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Incorrect-credentials-after-making-connection-multiple-controllers/m-p/166264#M28205</guid>
      <dc:creator>ttran</dc:creator>
      <dc:date>2021-04-23T08:45:56Z</dc:date>
    </item>
  </channel>
</rss>

