Netapp Admin guide : Basics Print E-mail
Written by geekyB   
Tuesday, 13 January 2009 08:14

This GeekyFacts Netapp beginner guide has details about basic Netapp commands and an example to explain each command.

How to find Data Ontap version on a filer :

geekyFiler> version
NetApp Release 7.3P3: Wed Sep 17 22:29:32 PDT 2008

How to find "uptime" of a filer?

The uptime command gives system uptime, similar to Unix. Also it gives number of NFS, CIFS, FCP, iSCSI operations on a Netapp filer.
geekyFiler*> uptime
  8:58pm up 23 days, 43 mins, 1354234 NFS ops, 940 CIFS ops, 0 HTTP ops, 0 FCP ops, 0 iSCSI ops
geekyFiler*>

How to get the System Configuration information of a Netapp filer:

The command "sysconfig -a" gives the complete details of hardware, firmware of a filer. It gives serial number, system id, Filer Model , HBA details, RLAN module info, Motherboard info, Network card info, Disks attached, Shelf firmware and NVRAM details.

Thoroughly look at the "sysconfig -a" output below. This is a trimmed output.

geekyFiler> sysconfig -a
        NetApp Release 7.3P3: Wed Sep 17 22:29:32 PDT 2008
        System ID: 5081100788 (geekyFiler); partner ID: 5081101080 (geekyFiler2)
        System Serial Number: 7034803 (geekyFiler)
        System Rev: A0
        slot 0: System Board 1.8 GHz (NetApp System Board XII A1)
                Model Name:         FAS3070
                Revision:           A1
                BIOS version:       2.1.0
                Loader version:     1.2.3
                Agent FW version:   20
                LCD FW version:     1.7
                Processors:         4
                Processor ID:       0x20d12
                Microcode Version:  0x4d
                Memory Size:        8192 MB
                Memory Attributes:  Node Interleaving
                                    Bank Interleaving
                                    Hoisting
                                    Chipkill ECC
                CMOS RAM Status:    OK
        Remote LAN Module           Status: Online
                Revision:           D0
                Firmware Version:   1.3
                Mgmt MAC Address:   00:DB:98:17:F3:56
                Ethernet Link:      down
                Using DHCP:         no
                IP Address:         192.170.1.101
                Netmask:            255.255.255.0
                Gateway:            192.170.1.254
        slot 0: BGE 10/100/1000 Ethernet Controller
                e0a MAC Address:    00:a0:66:07:FA:23 (auto-unknown-cfg_down)
                e0b MAC Address:    00:a0:66:07:FA:24 (auto-unknown-cfg_down)
                Device Type:        BCM5780C
                        memory mapped I/O base 0x00000000c0020000, size 0x10000
                        memory mapped I/O base 0x00000000c0030000, size 0x10000
        slot 0: FC Host Adapter 0a (QLogic 2432 rev. 2, L-port, )
                Firmware rev:      4.0.29
                Host Loop Id:      7
                FC Node Name:      5:00a:200808:200808
                SFP Vendor:        FINISAR CORP.
                SFP Capabilities:  1, 2 or 4 Gbit
                Link Data Rate:    2 Gbit
                 16  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 17  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 18  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 19  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 20  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 21  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                ...
                Shelf 1: AT-FCX  Firmware rev. AT-FCX A: 35  AT-FCX B: 35
                Shelf 2: AT-FCX  Firmware rev. AT-FCX A: 35  AT-FCX B: 35
                Shelf 3: AT-FCX  Firmware rev. AT-FCX A: 35  AT-FCX B: 35
                        I/O base 0x0000000000000000, size 0x0
                        memory mapped I/O base 0x00000000c0400000, size 0x4000
        slot 0: FC Host Adapter 0b (QLogic 2432 rev. 2, L-port, )
                Firmware rev:      4.0.29
                Host Loop Id:      7
                FC Node Name:      5:00a:200808:200809
                SFP Vendor:        FINISAR CORP.
                SFP Capabilities:  1, 2 or 4 Gbit
                Link Data Rate:    2 Gbit
                 16  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 17  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 18  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 19  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 20  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                 21  : NETAPP   X267_HKURO500SSX AB0A 423.1GB 512B/sect
                ...
                Shelf 1: AT-FCX  Firmware rev. AT-FCX A: 35  AT-FCX B: 35
                Shelf 2: AT-FCX  Firmware rev. AT-FCX A: 35  AT-FCX B: 35
                Shelf 3: AT-FCX  Firmware rev. AT-FCX A: 35  AT-FCX B: 35
                        I/O base 0x0000000000000000, size 0x0
                        memory mapped I/O base 0x00000000c0404000, size 0x4000
        slot 1: Dual Gigabit Ethernet Controller G20
                e1a MAC Address:    00:a0:66:07:FA:25 (auto-1000sx-fd-up)
                e1b MAC Address:    00:a0:66:07:FA:26 (auto-unknown-cfg_down)
                        memory mapped I/O base 0x00000000c0600000, size 0x20000
                        memory mapped I/O base 0x00000000c0620000, size 0x20000
                        I/O base 0x0000000000003000, size 0x20
                        memory mapped I/O base 0x00000000c0640000, size 0x20000
                        memory mapped I/O base 0x00000000c0660000, size 0x20000
                        I/O base 0x0000000000003020, size 0x20
        slot 3: NVRAM (NetApp NVRAM VI)
                Revision:           G0
                Memory Size:        512 MB
                Battery 1 Status:   OK (3978 mV)
                Charger 1 Status:   OFF
                Running Firmware:   8 (4.7.600)
                Cluster Interconnect Port 1: 4x copper
                Cluster Interconnect Port 2: 4x copper
                        memory mapped I/O base 0xc1800000, size 0x100000
                        prefetchable memory base 0xc1000000, size 0x800000
                        prefetchable memory base 0x3100000000, size 0x20000000
geekyFiler>


How to check for hardware configuration errors on Netapp:

The command "sysconfig -c" does a configuration check and reports errors if any.

geekyFiler> sysconfig -c
sysconfig: There are no configuration errors.
geekyFiler>

How to get overall status of the Netapp Chassis (head) :

The command "environment status chassis all" displays the power supply, fans , temperature sensor, nvram status etc.

geekyFiler*> environment status chassis all
Temperature ok
PSU 1 ok
PSU 2 ok
Voltage ok
SYS FAN ok
NVRAM6-temperature-3 ok
NVRAM6-battery-3 ok.
geekyFiler*>


How to view Netapp's software licenses :

Using the license command, you can view the license details on a netapp filer. "license add " will add a license.

geekyFiler*> license
                 a_sis XXXXXXX
                  cifs XXXXXXX
               cluster XXXXXXX
                   fcp not licensed
            flex_clone XXXXXXX
            flex_scale not licensed
         flexcache_nfs XXXXXXX
       gateway_hitachi not licensed
                  http XXXXXXX
                 iscsi not licensed
            multistore not licensed
      nearstore_option XXXXXXX
                   nfs XXXXXXX
            snapmirror XXXXXXX
geekyFiler*>

 


How to setup autosupport on a Netapp filer :

Check out this Geekyfacts document : http://geekyfacts.com/index.php?option=com_content&view=article&id=53

 

Last Updated on Tuesday, 13 January 2009 08:25