Which are the different shells in ONTAP and what are their uses?
Applies to
- Data ONTAP 8
- ONTAP 9
Answer
There are three different shells available in ONTAP:
Clustershell
- This is the default shell that is started when a user logs into the system.
- Prompt in Admin privilege mode appears as
::>
- Prompt in Advanced and Diag privilege mode appears as
::*>
- Tab completion is supported
- To see a list of available clustershell commands, type '?'
Nodeshell
- Nodeshell commands are similar to 7-mode
- Tab completion is not supported
- The nodeshell can be started by running the command,
::> system node run -node <node_name>
- To exit nodeshell back to clustershell, type 'exit' or 'Ctrl-D'
- Nodeshell commands can be run directly from clustershell by using the following syntax:
::> node run -node <nodename> -command <nodeshell command>
- To see a list of available nodeshell commands, type '?' at an interactive nodeshell prompt
- Nodeshell for any node in the cluster can be accessed from any other node
Systemshell
- Low level shell used for advanced, diagnostic and troubleshooting purposes
- Under normal circumstances systemshell should not be used without directions from NetApp Support
- Prompt appears as
node_name%
- Systemshell is specific to a node
- Systemshell for any node in the cluster can be accessed from Clustershell on any node
- To use, the diag user must be unlocked and password protected
- For information on unlocking the diag user, see How to unlock the diag user account