Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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
2009 NetApp. 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 system> 7 20:53:01 ... logged in from console
By default, a storage system allows: One session One user at a time Creating additional sessions generates an error:
Too many users logged in! Connection closed. Please try again later.
Use the options command (discussed later) to allow two separate sessions
system> options telnet.distinct.enable true
2009 NetApp. All rights reserved.
Console Connections
The console allows a physical connection through the:
Serial port
Storage systems have an RJ45 port marked IOIOI on the rear panel Connect the DB9 end to a serial port on a host computer Properties: Speed: 9600 bits per second Data bits: 8 Stop bits: 1 Parity: None Flow Control: Hardware or none
Serial Port
PROPERLY SHUT DOWN SYSTEM BEFORE OPENING CHASSIS.
AC IN
PWR
AC IN
PWR
1
e0e
HI-POT 2200VDC
HI-POT 2200VDC
e0f
RLM
e0a
e0b
e0c
e0d
LNK
LNK
LNK
LNK
LNK
LNK
LNK
LNK
0a
0b
0c
0d
0e
0f
0g
0h
RLM Port
PROPERLY SHUT DOWN SYSTEM BEFORE OPENING CHASSIS.
AC IN
PWR
AC IN
PWR
1
e0e
HI-POT 2200VDC
HI-POT 2200VDC
e0f
RLM
e0a
e0b
e0c
e0d
Remote access to your storage system regardless of the system state Continuous power and secure access Use rlm commands to configure
LNK
LNK
LNK
LNK
LNK
LNK
LNK
LNK
0a
0b
0c
0d
0e
0f
0g
0h
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 Use bmc commands to configure
Shell Access
Besides direct console access, administrators may access a storage system through the:
e0M (if available)
Management LAN
Data LAN
RLM
e0M
e0a
e0b
By default, using secured protocol: SSH Other insecure protocols (not recommended): RSH Telnet
2009 NetApp. All rights reserved.
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 8.0 supports SSH 1.x or 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 Host keys are found here: RSA key: /etc/sshd/ssh_host_rsa_key DSA key: /etc/sshd/ssh_host_dsa_key
2009 NetApp. All rights reserved.
To enable SSL:
system> secureadmin enable ssl
Ctrl-K
Ctrl-H
Ctrl-U
Delete a word
Ctrl-W
Ctrl-R
Command-Line Privileges
CLI has two modes:
Administration
priv set or priv set admin Represented by system>
Advanced
priv set advanced Represented by system*>
Graphical Interfaces
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
Operations Manager
Operations Manager
Discovers, monitors, and manages NetApp storage Provides maximum availability, reduced TCO, and ensures business policy compliance
Alternative GUIs
Alternative GUIs, include:
Microsoft Management Console (MMC) and its snap-ins Computer Management Server Manager (in Windows Server 2008 and later)
Verify configuration
AutoSupport to report configurations
2009 NetApp. All rights reserved.
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]
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
a to append to a file without deleting. When the wrfile command is issued, the original file is always deleted (unless the a option is applied) Better yet... use System Manager
For example:
system> date 200904020728
Sets the date for April 2, 2010 at 7:28 a.m.
The name argument specifies the time zone to use Each time zone is described by a file in the storage systems /etc/zoneinfo directory For example: system> timezone America/Chicago
Sets the time zone to CST
2009 NetApp. All rights reserved.
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
2009 NetApp. All rights reserved.
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
By default, all system messages are sent to the console and logged in the /etc/messages file You can access the /etc/messages files via
An NFS or CIFS client (discussed later in this course) System Manager
2009 NetApp. All rights reserved.
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 to send messages
AutoSupport
AutoSupport
AutoSupport:
Monitors a storage system's operations Sends automatic messages to Technical Support
HTTP/HTTPS
E-Mail Server
WEEKLY_LOG
CLUSTER TAKEOVER COMPLETE CLUSTER TAKEOVER FAILED REBOOT (CLUSTER TAKEOVER) CLUSTER GIVEBACK COMPLETE
Read-only
9. Enable AutoSupport:
system> options autosupport.enable [on|off]
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
To configure AutoSupport
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
2009 NetApp. All rights reserved.
Exercise
Module 2: Basic Administration Estimated Time: 60 minutes