#create and allow readonly to the role via the cluster management lif
security login role create -role peterr -cmddirname DEFAULT -access readonly
#allow access to svm_blue (all access)
security login role create -role peterr -cmddirname "volume qtree" -query "-vserver svm_blue" -access all
security login role create -role peterr -cmddirname "vserver export-policy" -query "-vserver svm_blue" -access all
#create webaccess for the role
vserver services web access create -vserver cluster1 -name sysmgr -role peterr
#create the user
security login create -user-or-group-name peter -application http -authentication-method password -role peterr
security login create -user-or-group-name peter -application ontap -authentication-method password -role peterr
security login create -user-or-group-name peter -application ssh -authentication-method password -role peterr
Login as peter to the cluster management interface. You will only be able to manage the svm_blue svm, but can
see everything! 🙂