2015-07-30 08:05 PM
I'm assuming you mean you want to automate adding storage credentials for multiple systems in "Execution\Credentials" within WFA? It's possible to do this via the REST API, I have done some programing on a workflow which updates storage credentials using the REST API when a cluster admin password is reset using a workflow (which then also updates the WFA credentials to the new password). In theory it would be possible to also add new credentials to WFA. Let me know if this is what you are trying to achieve and i'll have a look.
2015-07-30 08:46 PM - edited 2015-07-30 10:04 PM
Do you have a comman username/password for a large number of Storage-Systems? Do those Storage systems have some common ip pattern, for example they all start with 10.
If that's the case you can use WFA's feature of match=pattern for saving the credentials. You can also use regular expression to match these bulk storage systems with common credentials.
2015-08-02 04:14 AM
For Type ONTAP:
This will match credentials with ip having 10.226.252. as the common part. So clusters like 10.226.252.1 to 10.226.252.255 all will have the same credentials saved.
for ONATP, Test-Connectivity is available so you can provide the IP for which you want to test. It will tell which pattern was used to obtain credentials
For Type Other:
This pattern can match server with host-names like ab-testsrv2 or dk-testsrv8 etc.
Test-Connectivity is not available for type Other. So you can do is self verify that if you are getting the right credentials or not for a given IP using the below command code. Just run "Test comand" and provide the IP. It will return the username/password from which you can know if the right credentials can be obtained for this host or not.
[parameter(Mandatory=$true, HelpMessage="Host Name or IP")]
$creds = Get-WfaCredentials -Host $Host
Get-WfaLogger -Info -Message "UserName: $creds.UserName"
Get-WfaLogger -Info -Message $("Pasword: "+ $(ConvertFromSecureToPlain -SecurePassword $creds.Password))
throw("No credentials were found")
2016-04-06 03:04 AM
I tried to test in my test environment, however it seem it doesnt work for me. Error "Connection Failure: Failed to connect to controller".
If i update the password manual on the filer and run the test connectivity, it's ok.
Is there any specific options on the filer in 7-mode which need to enable?
2016-04-06 03:59 AM
Step as mentioned above:
I have 300+ filers in the system,and now looking way to change the password for the username login. However, it doesn't works.