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

No comments:

Post a Comment