Showing posts with label netapp. Show all posts
Showing posts with label netapp. Show all posts

Thursday, March 3, 2011

NetApp Data ONTAP general commands

Below are some examples of some general commands for the command-line interface of a NetApp Data ONTAP operating system.  The screens below are from version 8.

The options command has several different parameters for configuring different parameters.  For example, the command options ssh.port will display the current listening port that the SSH service is using.

ontap_general_1

If a value is entered after the command, the value is changed.

ontap_general_2

The command options trusted.hosts displays the hosts that are allowed administrative access.  The default is *, which is all hosts.

ontap_general_4

The secureadmin command can change parameters such as disabling SSH, as well as displaying current configurations.

ontap_general_3

The version command will display the current version; the –b displays the version on the boot device.

ontap_general_5

The license command will display current license codes.

ontap_general_6

The config dump command saves the system configuration into a single file with the file name specified at the default path of /etc/configs.  If the file already exists, the –f flag must be used.

ontap_general_7

The sysconfig command displays information about the system’s hardware configuration.  The –A flag will display all reports.

ontap_general_9

The aggr status command displays a summary of aggregate states.

ontap_general_10

The vol status command is similar but for volumes.

ontap_general_11

The netstat and netdiag commands offer assistance with the current network status of the system.

ontap_general_12

The halt command shuts the system down.

ontap_general_13

Wednesday, March 2, 2011

NetApp ONTAP Simulator

The NetApp ONTAP Simulator is a pre-built VMWare image that can be used for testing.  In this example, the .ZIP file has been downloaded from NetApp’s web site and extracted.  The VM has been launched within VMWare Workstation 7.1.3.  A second VM with Windows XP is present and the NetApp System Manager application has been installed.

After the ONTAP VM is powered on, use option 4 within the initial main menu screen.

ontap_sim_1

Enter “y” for the next two prompts.  The system will then reboot.

ontap_sim_2

After the reboot has completed, the first prompt should be for the hostname.

ontap_sim_3

Most of the defaults can be used for the next several prompts.  The administration host and the IP address (second VM running XP) were manually entered.

ontap_sim_4

A new root password must be entered twice.

ontap_sim_5

After a period of time, a password prompt should appear.  At this point, the System Manager application can be used if desired.  Upon launching the program, click on the Discover button.

ontap_sim_6

Click on the Discover button within the dialog box and the ONTAP service should be found.  Click on the Add Selected Systems button with the entry of the individual IP address highlighted.

ontap_sim_7

A dialog box should appear asking for the root password that was entered during the initial configuration of the ONTAP appliance.

ontap_sim_8

All of the various management options should be available within the System Manger application.

ontap_sim_9

The web interface of the ONTAP appliance should be available as well.

ontap_sim_10