Beruflich Dokumente
Kultur Dokumente
Administration
Module 2
Data ONTAP 7-Mode Administration
Module Objectives
By the end of this module, you should be able to:
Connect remotely to a FAS system using the
console and a remote host
Access NetApp System Manager to
administer a storage system
Execute commands using the console, a
remote host, and System Manager
Demonstrate how to use commands to analyze
a FAS system
Configure and manage the AutoSupport
service for a FAS system
2011 NetApp, Inc. All rights reserved.
Administrative
Interfaces
Administration Options
A storage system may be managed from:
The command-line interface (CLI)
Access directly (serial connection to the console)
Access remotely (SSH, Telnet)
Command-Line
Interface
Command-Line Interface
CLI is accessed through the console or through a shell
system> Wed Apr
7 20:53:01 ...
Connection closed.
Console Connections
The console allows a physical connection
through the:
Serial port
Serial Port
RLM Port
Shell Access
Besides direct console access, administrators
may access a storage system through the:
e0M (if available)
Management
LAN
RLM
e0M
Data
LAN
e0a
e0b
10
11
Secure Shell
Secure shell (SSH):
Allows for secure administrative access to the storage
system
Requires no license; set on by default in new installs
Data ONTAP 7.3.x and 8.0.x supports SSH 2.0
To configure SSH 2.0:
system> secureadmin setup ssh
Enter a host key of 768 bits
Wait for syslog message that SSH is set up
system> secureadmin enable ssh2
12
13
To enable SSL:
system> secureadmin enable ssl
14
Ctrl-A
Ctrl-K
Ctrl-H
Ctrl-U
Delete a word
Ctrl-W
Ctrl-R
15
Command-Line Privileges
CLI has two modes:
Administration
priv set or priv set admin
Represented by system>
Advanced
priv set advanced
Represented by system*>
16
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
17
led_on
led_on_all
led_on_off
led_test
led_test_one
license
lmem_stat
lock
log
logger
logout
ls
lun
man
maxfiles
mbstat
mem_scrub_stats
mt
mv
nbtstat
ndmpcopy
ndmpd
quota
rdate
rdfile
reboot
registry
remote
restore
result
revert_to
rm
rmc
rmt
rod
route
routed
rsm
rtag
savecore
scsi
secureadmin
setup
sh
sysstat
test_lcd
timezone
toe
traceroute
ups
uptime
useradmin
version
vfiler
vif
vlan
vol
vscan
wafl
wafl_susp
wcc
wrfile
ypcat
ypgroup
ypmatch
ypwhich
18
Graphical Interfaces
19
Graphical Interfaces
A storage system can be managed through
multiple graphical interfaces:
System Manager
Operations Manager (formerly DataFabric
Manager)
Microsoft Windows interfaces such as
Computer Management for certain CIFS
functionality
20
21
22
23
24
25
26
27
28
29
Select a storage
system to
view details
2011 NetApp, Inc. All rights reserved.
30
Configure SSH
and SSL
31
32
33
Operations Manager
Discovers, monitors, and manages NetApp storage
Provides maximum availability, reduced TCO, and
ensures business policy compliance
34
Alternative GUIs
Alternative GUIs, include:
Microsoft Management Console (MMC) and its snap-ins
Computer Management
Server Manager (in Windows Server 2008 and later)
35
Configuring Your
System
36
Verify configuration
AutoSupport to report configurations
37
CLI Commands
System options:
options [feature.option_name] [value]
Volume options:
vol options volname [option_name] [value]
Aggregate options:
aggr options aggrname [option_name] [value]
38
Registry Files
Registry files contain many persistent configurations
File
Usage
/etc/registry
Current registry
/etc/registry.lastgood
/etc/registry.bck
First-level backup
/etc/registry.default
Default registry
39
40
For example:
system> date 201004020728
Sets the date for April 2, 2010 at 7:28 a.m.
41
To enable it on:
system> options timed.enable on
In an Active Directory
environment, set this to
sync with the servers Active
Directory syncs with
2011 NetApp, Inc. All rights reserved.
42
To configure
date, time, and
timezone
43
CLI: Syslog
Message logging is done by a syslogd daemon
The /etc/syslog.conf configuration file on the
storage system's root volume determines how system
messages are logged
Messages can be sent to:
The console
A file
A remote system
44
45
To view the
Syslog
46
AutoSupport
47
AutoSupport
AutoSupport:
Monitors a storage system's operations
Sends automatic messages to Technical Support
HTTP/HTTPS
E-Mail Server
48
BATTERY_LOW
Disk failure
DISK_FAIL!!!
OVER_TEMPERATURE_SHUTDOWN!!!
REBOOT
SHELF_FAULT
WEEKLY_LOG
49
50
51
9. Enable AutoSupport:
system> options autosupport.enable [on|off]
52
Testing AutoSupport
To send an AutoSupport manual message,
complete the following steps:
Run the following command on the storage
system console:
options autosupport.doit [message]
The message can be a single word or a string
enclosed in single quotes
NetApp recommends that if you are testing your
AutoSupport configuration, use the message:
TEST or TESTING
53
To configure
AutoSupport
54
55
Module Summary
In this module, you should have learned to:
Connect remotely to a FAS system using the
console and a remote host
Access NetApp System Manager to administer
a storage system
Execute commands using the console, a
remote host, and System Manager
Demonstrate how to use commands to analyze
a FAS system
Configure and manage the AutoSupport
service for a FAS system
2011 NetApp, Inc. All rights reserved.
56
Exercise
Module 2: Basic Administration
Estimated Time: 60 minutes
60