Active IQ Unified Manager Discussions

Storage Controller - login

rfambrini
4,341 Views

I'm setting up DFM to access storage controllers (filers) using a specific account. Through the GUI I go to Edit Settings then add the login name and password. I have more than 90 filers I need to setup and going through the GUI will take forever. Can this be done via CLI on the DFM server. If so, how?

Thank you

~ Rich

3 REPLIES 3

rle
NetApp Alumni
4,341 Views

Try the DFM CLI command: dfm host add.

If you want to use the same user name and password, then in the DFM GUI, try: Management -> Storage Systems -> Passwords.  Check the 'Storage Systems with empty credentials on the DataFabric Manager server' section.  You can highlight multiple storage systems and set the login and password.

   - Rick -

rfambrini
4,341 Views

awesome!

That took care of those that were unassigned. And pointed me to the right place to change those that already had a login assigned.

Already assigned - CLI

dfm host set <filer_name> hostlogin= <login>

dfm host set <filer_name> hostPassword= <password>

thanks for the quick response

~ Rich

adaikkap
4,341 Views

Hi Rich,

You can also use the cli which does the same thing as the UI which Ehrhart mentioned.

  1. dfm host password set help

NAME

set -- modifies the password of local user on storage system/vFiler.

SYNOPSIS

dfm host password set [ -u ... ]

DESCRIPTION

-n: if specified, password will be modified only on direct members

of the group.

-t: type of appliances whose password needed to be changed.

The valid values for -t type option are :'filer' and 'vFiler'.

-R: Maximum number of retries.

-u: local user name on the host. Applicable only for storage system and vFiler.

-o: old password of the local user on the host. Applicable only for storage systems

and vFilers. This option is mandatory in the following cases:

1) For storage systems running Data ONTAP version less than 7.0.

2) For all vFilers.

3) For storage systems without login set.

4) For users not having DFM.Console.Execute capability.

When specified, old password is always considered.

-p: specifies the new password.

  1. dfm host password save help

NAME

save -- update user-name and password for one or more applainces in the DataFabric Manager server.

SYNOPSIS

dfm host password save -u ...

DESCRIPTION

-n: if specified, password will be modified only on direct members

of the group.

-t: type of appliances whose password needed to be changed.

The valid values for -t type option are :'filer' and 'vFiler'.

-u: specifies the user name.

-p: specifies the new password.

#

Regards

adai

Public