Tuesday, June 20, 2017

Creating ReadOnly Access to Netapp GUI Roles Access List

As We know Netapp 7 Mode and Cluster Mode User access management will work as RBAC (Role Based Access Control). 

Create Role --> Assign Capabilities to Role --> Create Group --> Assign Role to Group --> Create User and Add him to Group.

User will get the access based on Role Capabilities what ever we add Below are the capabilities to provide read-only access to GUI (Netapp system Manager)


> useradmin role add ReadOnly -a api-system-get-version,login-http-admin,api-system-get-info,api-volume-get-root-name,api-clock-get-timezone,api-system-cli,api-license-list-info,api-volume-list-info-iter-start,api-aggr-list-info,api-snapmirror-list-connections,cli-options,api-disk-list-info,api-aggr-check-spare-low,api-cf-status,api-disk-sanown-list-info,api-options-get,api-volume-list-info-iter-next,api-volume-list-info-iter-end,api-volume-options-list-info,api-cifs-share-list-iter-start,api-snapshot-autodelete-list-info,api-volume-autosize-get,api-storage-disk-get-iter,api-qtree-list-iter-start,api-quota-list-entries-iter-start,api-lun-list-info,api-nfs-exportfs-list-rules-2,api-volume-get-language,api-igroup-list-info,api-lun-get-comment,api-lun-map-list-info,api-qtree-list-iter-next


> useradmin group add ReadOnly -r ReadOnly

You can Also Refer Below Link for Create and Modifying Users, Groups and Roles

Netapp User Administration

For More Articles You can Visit 

Netapp Cluster Mode Tutorials / Guides

Thanks provide your feedback.

Wednesday, December 14, 2016

Netapp Disk firmware Update Step by Step Guide in Cluster Mode - Cmode

Netapp disk firmware update is an very easy and straight forward. As many of the people think that disk firmware update need an downtime.?? :) No disk firmware update Netapp cluster mode does required any downtime, it's an non-disruptive update. Disk firmware update will go in background.

Disk firmware update Netapp Cluster Mode Advantages

  • Reduce disk failures
  • Increase I/O performance
  • Resolve if any bugs in existing firmware version

1 Step: Verify disk firmware version in controller and Netapp site

To Verify disk firmware version and disk owner ship use below command in Netapp Cluster mode. 
 
 
ARK-NA::*> storage disk show
                     Usable           Disk    Container   Container
Disk                   Size Shelf Bay Type    Type        Name      Owner
---------------- ---------- ----- --- ------- ----------- --------- --------
1.10.0               1.62TB    10   0 BSAS    aggregate   root_ARK_NA02
                                                                    ARK-NETAPP
1.10.1               1.62TB    10   1 BSAS    aggregate   root_ARK_NA02 
 
                                                                    ARK-NETAPP
ARK-NA::*> storage disk show -physical
Disk             Type    Vendor   Model                Revision     RPM     BPS
---------------- ------- -------- -------------------- -------- ------- -------
1.10.0           BSAS    NETAPP   X306_HMRKP02TSSM     NA00        7200     512
                 SerialNumber: P5G9XX7YX
1.10.1           BSAS    NETAPP   X306_HMRKP02TSSM     NA00        7200     512

Take the model number from above command output and search in Netapp disk firmware list, URL is given below.

http://mysupport.netapp.com/NOW/download/tools/diskfw/ Click Here
 
disk firmware version check up in Netapp support site

Download required version of disk firmware from Netapp site and copy into your local web server path (which should accessible to Netapp controller). In this case i have used an Linux machine with httpd enabled.

2 Step: Enable Background update option in Netapp

Enabling background firmware update option will save you lot of time and effort, if you want to do manually then need to do one by one disk. Background firmware update will automatically do it for you.

ARK-NA::*> storage disk option show -fields bkg-firmware-update
node     bkg-firmware-update
-------- -------------------
ARK-NA01 on
ARK-NA02 on
ARK-NA03 on
ARK-NA04 on
4 entries were displayed.

3 Step: Download firmware to Netapp controllers

First download Netapp firmware from netapp website and upload it to http / web enabled server, ready with web URL.

Login to Cluster mode controller then type below command to download the firmware, in place of existing URL change URL to your own. In command instead of node name use * will download firmware zip file to all of the nodes.
 
ARK-NA::*> storage firmware download -node * -package-url http://192.168.26.118/X425_HCBEP1T2A10.NA01.LOD.zip
Firmware download started.
Unpacking package contents.
Firmware downloaded.

Firmware download started.
Unpacking package contents.
Firmware downloaded.

Firmware download started.
Unpacking package contents.
Firmware downloaded.

Firmware download started.
Unpacking package contents.
Firmware downloaded.

4 entries were acted on.

That's it, Netapp background disk firmware update will start automatically after 2 minutes. you can see disk firmware update status using below command.
 
ARK-NA::>storage disk show -fields firmware-revision,model

Conclusion: Disk firmware update in Netapp cluster mode not required any down time. It's completely non-disruptive.

How to replace failed disk
 
SEO Keywords: disk shelf firmware upgrade netapp, netapp disk firmware update status, netapp disk firmware update command, netapp disk firmware update background, netapp disk firmware update problem, netapp disk firmware update non disruptive, netapp check disk firmware update status, netapp automatic disk firmware update, netapp cluster disk firmware update, netapp disk shelf firmware update, disk firmware update netapp, netapp disk firmware auto update, netapp disk drive firmware update, netapp force disk firmware update, how to update disk firmware netapp, disk firmware update in netapp, netapp manual disk firmware update, update firmware on netapp disk, netapp disk firmware update state, disk firmware update netapp cluster mode

Tuesday, August 23, 2016

Netapp Basic Commands Getting Started with Cluster Mode

Netapp Basic commands getting started with cluster mode, If we look into the previous Netapp 7-mode there is no Option to Clear all the commands typed on screen and change directory path from one to another without changing the privilege from admin to Advanced. 

Change Directory cd Command
Cluster::> cd dashboard
Cluster::> cd volume
Cluster::> cd "storage aggregate"

 History of Previously executed commands
Cluster::> history
1 cd dashboard
2 cd volume
3 cd "storage aggregate"  
Cluster::> redo 2 

history is the command to see the history of previously executed commands and redo is the command to execute the previously executed command number 2

 Clear Screen
To clear the screen of cluttered with commands and commands output just press CTRL+L

Instantly getting help from Netapp Command Line

Suddenly struck up in middle of the task because did not remember the command need help use inbuilt man pages to get help from command line. 

Cluster::> man storage aggregate

Rows to Display in CLI session

Show/Set the rows for CLI session using rows command

Cluster::> rows 45

Above command will set the CLI session display as 45 rows. 

Run commands interactively Or non-interactively 

Cluster::>  run -node node1 -command "aggr status; vol status"

Using above command we can run commands on nodeshell interactively Or non-interactively. Above command will show aggregate status and Volume status yet the same time on node1 system.

Change Privileges as per the requirement

Using set command we can change the privilege level 

1. Privilege as Advanced
2. Privilege to admin
3. Privilege as Diag

Cluster::> set -privilege advanced 

Note: Until unless you have a compulsary requirement in advanced mode then only using above command, Strictly not required for normal usage.

Cluster::> set diag

Diagnostic log collection or performance deep digging we can use above command

Cluster::> set admin

Setting as Admin we can come from diag and advanced mode to admin mode

TOP command

top command is used to change from any level directory path to direct top which means out of directory path.

Cluster::> cd network interface
Cluster:: interface> top

UP Command

Using up command one step directory path will go to up.

Cluster::> cd  storage aggregate

Cluster:: aggregate> up

Cluster:: storage>

Exit from CLI Session

We can also use exit command to exit from CLI session also we can press CTRL + D


That's it about Basic Commands Getting Started with Cluster Mode Netapp.

Related Articles You can Read

Aggr command Netapp Cluster Mode

Move Volume from One SVM to Another SVM