Module Objectives
By the end of this module, you should be able to: Connect remotely to a FAS system by using the console and a remote host Access NetApp System Manager to administer a storage system Execute commands by using the console, a remote host, and NetApp System Manager Use commands to analyze a FAS system Configure and manage the NetApp AutoSupport support tool for a FAS system
2011 NetApp, Inc. All rights reserved. 2
Administrative Interfaces
Command-Line Interface
Command-Line Interface
CLI is accessed through the console or through Ethernet:
system> Wed Apr system> 7 20:53:01 ... logged in from console
Maximum of 2 sessions:
1 from console 1 from Ethernet (SSH or telnet)
Connection closed.
You connect the DB9 end to a serial port on a host computer. Properties:
4 5 6
e0a
0a
0b
LINK LINK
0c
0d
LINK
13
14
15
10
16
Speed: 9600 bits per second Data bits: 8 Stop bits: 1 Parity: none Flow control: hardware or none
7
e0a
0a
0b
LINK LINK
0c
0d
LINK
13
14
15
10
16
Continuous power and secure access An rlm command or sp command used for configuration The naroot account used to log in as root
8
FAS2050
0a
LNK
0b
LNK
e0a
e0b
A B
FAS2050
0a
LNK
0b
LNK
e0a
e0b
Remote access to your storage system regardless of the system state Continuous power and secure access A bmc command used for configuration
9
RLM or SP
e0M
e0P
e0a
e0b
Secure protocols like SSH and SSL are recommended The following insecure protocols are not
recommended:
RSH Telnet
2011 NetApp, Inc. All rights reserved. 11
Secure Shell
Secure shell (SSH):
Allows for secure administrative access to the storage system Requires no license; set on by default in Data ONTAP 8.0.x Is supported by the Data ONTAP 7.3.x and Data ONTAP 8.0.x operating systems
12
Ctrl-K
Ctrl-H
Ctrl-U
Delete a word
Ctrl-W
Ctrl-R
13
Command-Line Privileges
The CLI has two modes: Administrative
priv set or priv set admin Represented by system>
Advanced
priv set advanced Represented by system*>
17
18
21
22
23
24
25
26
27
29
30
31
Operations Manager
Discovers, monitors, and manages NetApp storage Provides maximum availability and ensures business policy compliance
32
Alternative GUIs
MMC and its snap-ins Computer Management Server Manager (in Windows Server 2008 and later)
33
34
35
CLI Commands
System options:
system> options [feature.option_name] [value]
Example:
Aggregate options:
system> aggr options aggrname [option_name] [value]
Volume options:
system> vol options volname [option_name] [value]
36
Registry Files
Registry files contain many persistent configurations.
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
37
System Files
System files contain filer configuration information
/etc/rc --- file is for network interface configuration /etc/hosts --- file is for Name resolution /etc/hosts.equiv --- file is to provide RSH access /etc/nsswitch.conf --- file for search order /etc/messages -- file is for sys logs NOTE: The system files should never be edited directly.
2011 NetApp, Inc. All rights reserved. 38
3. Use one of two command to write to the file: To write to the file and delete the original file: wrfile To append 1 line to the file without deleting the original file: wrfile a NOTE: Better yet, use NetApp System Manager.
39
Example:
system> date 201004020728
sets the date for April 2, 2010, at 7:28 a.m.
The name argument specifies the time zone. Each time zone is described by a file in the storage systems /etc/zoneinfo directory. Example:
system> timezone America/Chicago
sets the time zone to CST.
2011 NetApp, Inc. All rights reserved. 40
42
CLI: Syslog
A syslogd daemon performs message logging. 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
By default, all system messages are sent to the console and logged in the /etc/messages file. You can access the /etc/messages file by using: An NFS or CIFS client
NetApp System Manager
2011 NetApp, Inc. All rights reserved. 43
The facility parameter specifies the subsystem from which the message originated. The level parameter describes the severity level of the message. The action parameter specifies where messages are sent.
44
45
AutoSupport
46
AutoSupport Tool
The AutoSupport tool:
Monitors a storage system's operations Sends automatic messages to technical support
HTTP/HTTPS SMTP
E-Mail Server
WEEKLY_LOG
CLUSTER TAKEOVER COMPLETE CLUSTER TAKEOVER FAILED REBOOT (CLUSTER TAKEOVER) CLUSTER GIVEBACK COMPLETE
48
Read-only
49
50
9. Enable AutoSupport:
system> options autosupport.enable [on|off]
51
The message can be a word or a string that is enclosed in single quotation marks ( ). For testing your AutoSupport configuration, NetApp recommends that you use the message TEST or TESTING.
52
To configure AutoSupport
53
AutoSupport Configuration
54
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 by using the console, a remote host, and NetApp System Manager Use commands to analyze a FAS system Configure and manage the NetApp AutoSupport support tool for a FAS system
2011 NetApp, Inc. All rights reserved. 55
Exercise
Module 2: Basic Administration Estimated Time: 60 minutes
59