<?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 WFA autotest controller/cluster credentials in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-autotest-controller-cluster-credentials/m-p/123727#M22216</link>
    <description>&lt;P&gt;Gentlemen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many times admin/root passwords on controllers/cluster change and suddenly part of a workflow fails for that specific controller/cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to know if there is a way for WFA to autotest it's own credentials ( for existence and also to validate the credentials ) so we can callback BAO and open a ticket to fix, all running in the background, to minimize workflow failing because of lack of credentials or admin/root pwd change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 18:50:01 GMT</pubDate>
    <dc:creator>trentino123</dc:creator>
    <dc:date>2025-06-04T18:50:01Z</dc:date>
    <item>
      <title>WFA autotest controller/cluster credentials</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-autotest-controller-cluster-credentials/m-p/123727#M22216</link>
      <description>&lt;P&gt;Gentlemen,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many times admin/root passwords on controllers/cluster change and suddenly part of a workflow fails for that specific controller/cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to know if there is a way for WFA to autotest it's own credentials ( for existence and also to validate the credentials ) so we can callback BAO and open a ticket to fix, all running in the background, to minimize workflow failing because of lack of credentials or admin/root pwd change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:50:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-autotest-controller-cluster-credentials/m-p/123727#M22216</guid>
      <dc:creator>trentino123</dc:creator>
      <dc:date>2025-06-04T18:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: WFA autotest controller/cluster credentials</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-autotest-controller-cluster-credentials/m-p/123772#M22238</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is a good suggestion.&lt;/P&gt;&lt;P&gt;There can be couple of ways in which it can be done:&lt;/P&gt;&lt;P&gt;1. The best way will be to do in OCUM 6.4 or 7.0. In OCUM, check if an event can be generated and an email can be sent.&lt;/P&gt;&lt;P&gt;2. In WFA a workflow can be recurringly scheduled to check the status of the clusters. A mail can be sent in case a filer is down.&lt;/P&gt;&lt;P&gt;However this will introduce another monitoring engine on top of OCUM. So the best way will be do it via OCUM since&lt;/P&gt;&lt;P&gt;OCUM already runs a monitoring engine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 05:51:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-autotest-controller-cluster-credentials/m-p/123772#M22238</guid>
      <dc:creator>abhit</dc:creator>
      <dc:date>2016-10-04T05:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: WFA autotest controller/cluster credentials</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-autotest-controller-cluster-credentials/m-p/124412#M22323</link>
      <description>&lt;P&gt;Thanks for the update, will need to include OCUM as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For WFA credential test, tried the following with POSH ( try/catch/finally, so it does not fail in a way that can stop the workflow row iteration &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function check_credential ( $array, $file )&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;$cred = ""&lt;BR /&gt;$cred = Get-WfaCredentials -HostName $array -errorAction SilentlyContinue&lt;/P&gt;&lt;P&gt;If ( $cred )&lt;BR /&gt;{ #1&lt;BR /&gt;$could_not_connect = 0&lt;BR /&gt;&lt;BR /&gt;$resu = ""&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;if ($array -match "nas" )&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Info -message $("Trying connection to 7mode controller $array !! " )&lt;BR /&gt;$resu = Connect-WfaController -Array $array&lt;BR /&gt;Get-WFALogger -Info -message $("Connected to array $array !! " )&lt;BR /&gt;}&lt;BR /&gt;elseif ($array -match "ncs" ) #cdot!&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Info -message $("Trying connection to cdot cluster $array !! " )&lt;BR /&gt;$resu = Connect-WfaCluster $array&lt;BR /&gt;Get-WFALogger -Info -message $("Connected to cluster $array !! " )&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;catch&lt;BR /&gt;{&lt;BR /&gt;$could_not_connect = 1&lt;BR /&gt;Get-WFALogger -Info -message $("Could not connect to array $array . " )&lt;BR /&gt;}&lt;BR /&gt;finally&lt;BR /&gt;{&lt;BR /&gt;if ( $could_not_connect )&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Info -message $("Valid cred.Confirmed.Could not connect to array $array ." )&lt;BR /&gt;$liner = "WFA found credentials for $array but could not connect. l |Expected Value:Please connect to WFA&amp;nbsp;as admin and update credentials for $array ( in case root/admin credentials changed please also update them in OCUM/OCPM ) |" + "`n"&lt;BR /&gt;Add-Content ".\$file" "$liner"&lt;BR /&gt;Exit&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Info -message $("Valid cred.Confirmed.Could connect to array $array ." )&lt;BR /&gt;}&lt;BR /&gt;} # end finally&lt;/P&gt;&lt;P&gt;} #end if cred&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;Get-WFALogger -Info -message $("WFA could not find valid credentials for $array. " )&lt;BR /&gt;$liner = "WFA could not find credentials for $array |Expected Value:Please connect to WFA&amp;nbsp;as admin and add root/admin credentials for $array|" + "`n"&lt;BR /&gt;Add-Content ".\$file" "$liner"&lt;BR /&gt;Exit&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;} # end check credential function&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 19:01:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-autotest-controller-cluster-credentials/m-p/124412#M22323</guid>
      <dc:creator>trentino123</dc:creator>
      <dc:date>2016-10-19T19:01:31Z</dc:date>
    </item>
  </channel>
</rss>

