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
Administration Options
A storage system may be managed from a: GUI CLI
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
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.
Alternative GUIs
Some operating systems have other interfaces, such as Windows Computer Management, that interact with the functionality of the storage system.
10
11
RLM Port
12
FilerView CLI
13
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
17
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
RAID configuration
sysconfig r vol status -r
Disk configuration
sysconfig -d
20
21
Configuration files
/etc/hosts /etc/rc /etc/hosts.equiv /etc/dgateways
CLI Commands
System options:
options [option name] [value]
Volume options:
vol options volname [option name] [value]
Aggregate options:
aggr options aggrname [option name] [value]
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
24
25
#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
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.
27
28
AutoSupport
29
Email Server
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
32
33
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.
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
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