Anda di halaman 1dari 39

Basic Administration

Module 3 Data ONTAP 7.3 Fundamentals

Module Objectives
By the end of this module, you should be able to: Connect remotely to the CLI of a FAS system using the console and a remote host Access FilerView to manage a storage system Execute commands using the console, a remote host, and FilerView Demonstrate how to use commands to analyze a FAS system Configure and manage the AutoSupport service for a FAS system
2008 NetApp. All rights reserved. 2

Graphical Interfaces

2008 NetApp. All rights reserved.

Administration Options
A storage system may be managed from a: GUI CLI

2008 NetApp. All rights reserved.

Graphical Interfaces
A storage system can be managed through multiple graphical interfaces: FilerView administration tool Operations Manager (formerly DataFabric Manager) Microsoft Windows interfaces such as Computer Management for certain CIFS functionality

2008 NetApp. All rights reserved.

FilerView Administration Tool

http://<system name or ipaddress>/na_admin


2008 NetApp. All rights reserved. 6

Operations Manager
Operations Manager is a Web application that discovers, monitors, and manages NetApp storage from a management console for maximum availability, reduced TCO, and business policy compliance.

2008 NetApp. All rights reserved.

Alternative GUIs
Some operating systems have other interfaces, such as Windows Computer Management, that interact with the functionality of the storage system.

2008 NetApp. All rights reserved.

Command Line Interface

2008 NetApp. All rights reserved.

Command Line Interface


The CLI is a powerful tool to administer storage systems and can be accessed through: Console Telnet Remote LAN Module (RLM) FilerView CLI Remote Shell (RSH) Secure Shell (SSH)
system> Wed Apr 7 20:53:01 ... logged in from console system>

2008 NetApp. All rights reserved.

10

Telnet to the Console


Login> Password>

2008 NetApp. All rights reserved.

11

Remote LAN Module


The RLM, which is available in some hardware configurations, provides: Remote access to your storage system regardless of the system state Continuous power and secure access

RLM Port

2008 NetApp. All rights reserved.

12

FilerView CLI

2008 NetApp. All rights reserved.

13

CLI Session Limitations


A storage system allows only one session and one user at a time. Attempts to create additional sessions will generate an error.
Too many users logged in! closed. Please try again later. Connection

To create two separate sessions to use at the same time: telnet.distinct.enable


NOTE: If separate sessions are not created, administrators must share the same session.
2008 NetApp. All rights reserved. 14

Remote Shell
RSH allows you to issue console commands without a console session.
To use RSH, enable it with the following: options rsh.enable on If there is a console password, you must modify /etc/hosts.equiv to allow access Multiple RSH commands can be issued using the following syntax:
UNIX
rsh <storage_system> <command>[; <command>]

Windows
rsh <storage_system> l <user> <command>
2008 NetApp. All rights reserved. 15

Secure Shell
SSH is a network protocol that allows data exchange over a secure channel. SSH also: Allows for secure administrative access to the storage system Requires no license Can be implemented using the secureadmin command or by using FilerView
For a complete description of the SSH feature, see the System Administration Guide.
2008 NetApp. All rights reserved. 16

Common Commands

2008 NetApp. All rights reserved.

17

Basic Administration Commands


system> ? ? aggr backup cf cifs config dafs date df disk disk_fw_update dns download dump echo ems environment exportfs fcp fcstat file filestats fpolicy ftp system>
2008 NetApp. All rights reserved.

halt help hostname httpstat ifconfig ifstat igroup ipsec ipspace iscsi iswt license lock logger logout lun man maxfiles mt nbtstat ndmpcopy ndmpd netdiag netstat

nfs nfsstat nis options orouted partner passwd ping priv qtree quota rdate reboot restore rmc route routed rsm savecore secureadmin setup shelfchk snap snapmirror

snapvault snmp software source storage sysconfig sysstat timezone traceroute ups uptime useradmin version vfiler vif vlan vol vscan wcc ypcat ypgroup ypmatch ypwhich

18

Advanced Privilege Commands


system> priv set advanced Warning: These advanced commands are potentially dangerous; use them only when directed to do so by Network Appliance personnel. led_on df quota sysstat disk led_on_all rdate test_lcd disk led_on_off rdfile timezone disk_fw_update led_test reboot toe disk_list led_test_one registry traceroute disk_stat license remote ups dns lmem_stat restore uptime download lock result useradmin dump log revert_to version echo logger rm vfiler ems logout rmc vif environ ls rmt vlan environment lun rod vol exit man route vscan exportfs maxfiles routed wafl fcadmin mbstat rsm wafl_susp fcp mem_scrub_stats rtag wcc fcstat mt savecore wrfile file mv scsi ypcat filestats nbtstat secureadmin ypgroup fpolicy ndmpcopy setup ypmatch priv set admin ftp ndmpd sh ypwhich getXXbyYY
2008 NetApp. All rights reserved. 19

Basic System Configuration


The following are basic system configuration commands: System configuration
sysconfig sysconfig -v

RAID configuration
sysconfig r vol status -r

Disk configuration
sysconfig -d

Check your configuration


sysconfig -c

2008 NetApp. All rights reserved.

20

Configuring Your System

2008 NetApp. All rights reserved.

21

Configuring Your System


To change the configuration of a storage system, use one of the following methods: CLI
options vol options

Configuration files
/etc/hosts /etc/rc /etc/hosts.equiv /etc/dgateways

FilerView AutoSupport to report configurations (discussed later)


2008 NetApp. All rights reserved. 22

CLI Commands
System options:
options [option name] [value]

Example: options rsh.enable on


NOTE: If no value is entered, the current value is displayed.

Volume options:
vol options volname [option name] [value]

Aggregate options:
aggr options aggrname [option name] [value]

2008 NetApp. All rights reserved.

23

Registry Files
Registry files contain many persistent configurations.
IMPORTANT: The registry should not be edited directly.

File
/etc/registry /etc/registry.lastgood /etc/registry.bck /etc/registry.default

Usage
Current registry Copy of registry after last successful boot First-level backup Default registry

2008 NetApp. All rights reserved.

24

Editing Configuration Files


The following are important configuration files: /etc/rc /etc/hosts /etc/hosts.equiv
There are three ways to edit a configuration file: Access the /etc directory and use local editing tools Use commands on the console Use FilerView to edit configuration files

2008 NetApp. All rights reserved.

25

Editing Configurations from Host

#Auto-generated by setup Sun Mar 29 15:05:20 GMT 1970 127.0.0.1 localhost 10.254.134.43 DEV-FAS250 DEV-FAS250-e0a # 0.0.0.0 DEV-FAS250-e0b

2008 NetApp. All rights reserved.

26

Console Editing
To edit files on the console: 1. Make a backup copy of the file. 2. Read the file using rdfile. 3. Write the file using wrfile.
IMPORTANT: When the wrfile command is issued, the original file is deleted. Therefore, it is important to first use the rdfile command. To append to a file without deleting it, use wrfile a.

2008 NetApp. All rights reserved.

27

System Configuration Using FilerView

Configuration settings are accessed through the left navigation pane.

2008 NetApp. All rights reserved.

28

AutoSupport

2008 NetApp. All rights reserved.

29

AutoSupport Mail Host

Email Server

2008 NetApp. All rights reserved.

30

AutoSupport
The autosupport daemon monitors the storage system's operations and sends automatic messages to technical support. Technical support contacts you with any reported issues. AutoSupport messages are generated: When events occur on the storage system that require corrective action When you initiate a test message When the system reboots Once a week (usually after 12 a.m. on Sundays)
2008 NetApp. All rights reserved. 31

AutoSupport E-Mail Events


Events
Low NVRAM battery Disk failure Disk scrub detected checksum errors Shutdown occurred because of overheating Partial RPS failure occurred Disk shelf error occurred Spare disk failure occurred Weekly backup of /etc/messages occurred Successful cluster takeover of partner Unsuccessful cluster takeover Cluster takeover of virtual filer Cluster giveback occurred

E-Mail Subject Line


BATTERY_LOW DISK_FAIL!!! DISK_SCRUB CHECKSUM ERROR OVER_TEMPERATURE_SHUTDOWN!!! REBOOT SHELF_FAULT SPARE DISK FAILED WEEKLY_LOG CLUSTER TAKEOVER COMPLETE CLUSTER TAKEOVER FAILED REBOOT (CLUSTER TAKEOVER) CLUSTER GIVEBACK COMPLETE

2008 NetApp. All rights reserved.

32

AutoSupport E-mail Contents


The options autosupport.content
command specifies how much to send
options autosupport.content [Minimal|Complete]

The default is Complete Complete AutoSupports are stored in:


/etc/log/autosupport

2008 NetApp. All rights reserved.

33

AutoSupport Configuration Options


AutoSupport commands: options autosupport.support.enable [on|off] options autosupport.mailhost [host1,,host5] options autosupport.to [address1,,address5] options autosupport.from options autosupport.content options autosupport.noteto options autosupport.doit [message] options autosupport.enable [on|off]
2008 NetApp. All rights reserved. 34

Testing AutoSupport
To send an AutoSupport test message, complete the following steps: 1. Configure AutoSupport using the options command. 2. Run the following command on the storage system console: options autosupport.doit testing The message System Notification Sent appears on the console.

2008 NetApp. All rights reserved.

35

Module Summary
In this module, you should have learned: Connect remotely to the CLI of a FAS system using the console and a remote host Access FilerView to manage a storage system Execute commands using the console, a remote host, and FilerView Demonstrate how to use commands to analyze a FAS system Configure and manage the AutoSupport service for a FAS system
2008 NetApp. All rights reserved. 36

Exercise
Module 3: Basic Administration Estimated Time: 60 minutes

Answers
Module 3: Basic Administration

Check Your Understanding


Name three ways to access a storage systems CLI.
Console, Telnet, RLM, RSH, SecureShare, and the FilerView CLI

What is the URL to access FilerView?


http://[system name or IP]/na_admin

How can you view the system configuration for a FAS storage system?
sysconfig [-v] FilerView

How can you configure a FAS storage system from a remote adminhost?
For UNIX, set up NFS and a mount an export of the root directory For Windows, set up CIFS and access the \\filer\C$ share

When are AutoSupport messages generated?


Messages are generated when: Events occur on the storage system that require corrective action The storage system reboots You initiate a test message Once a week, usually after 12 a.m. on Sundays
2008 NetApp. All rights reserved. 39

Anda mungkin juga menyukai