ONTAP Discussions

Creating customer user for managing the plug-in

SUMATHYPAN
4,865 Views

Getting this error while trying to create the custom user.

 

MIL-NA1-C1*> useradmin role add oempluginrole -a login-*,api-system-get*,api-volume-list*,api-aggr-list*,api-snapmirrorget-status*,api-snapshot-reserve-list*,api-disk-list*,api-qtree-list*,api-license-list*,api-perf-object*,api-snapshot-list-info*,api-nfsstatus*,api-cifs-status*

Invalid capabilities: api-snapmirrorget-status*,api-nfsstatus*

Could not add role <oempluginrole>. Error: Invalid capability

MIL-NA1-C1*>

1 ACCEPTED SOLUTION

sachin1
4,865 Views

Hi,

api-snapmirrorget-status*,api-nfsstatus* - these capabilities names are not correct { - is not used correctly}. Please find details below and also refer the document.

api-snapmirrorget-status*  ===> api-snapmirror-get-status*    

api-nfsstatus*   =====> api-nfs-status*

This should resolve the issue.

Regards,

Sachin Maheshwari

View solution in original post

5 REPLIES 5

sachin1
4,866 Views

Hi,

api-snapmirrorget-status*,api-nfsstatus* - these capabilities names are not correct { - is not used correctly}. Please find details below and also refer the document.

api-snapmirrorget-status*  ===> api-snapmirror-get-status*    

api-nfsstatus*   =====> api-nfs-status*

This should resolve the issue.

Regards,

Sachin Maheshwari

SUTANUDAS
4,865 Views

Hi - So this plugin requires a netapp custom user which only my netapp-storage admin can create ?

sachin1
4,865 Views

Hi Sutanu,

Yes, this plug-in requires a custom user which only storage admin can create. This is one time activity and you need to put request to him. Please share the command to storage admin that we have documented in IAG guide of Plug-in.

This custom user creation will only give monitoring / read access to the storage controller.

Regards,

Sachin Maheshwari

SUMATHYPAN
4,865 Views

Thanks it worked - the error happened due to copy and paste from the pdf file.

sachin1
4,865 Views

Hi Sumathy,

Thank you for the update.

Regards,

Sachin Maheshwari

Public