Professional Documents
Culture Documents
Basic Administration
Objectives
Objectives
Console Access
RJ-45
Connection to DB9-DB9
console port
Console Access
A terminal, or terminal server, can be connected to the storage appliance console port via a
standard RS232 connection. For example, a DB9 to DB9 serial cable (null modem) with the
following setting for the serial communication port:
x Data bits 8
x Parity None
x Stop bits 1
Note: For illustration purposes, the graphic above shows an adminhost and terminal server
connected to the console of the storage appliance. There is only one console connection so you
would have either the adminhost or the terminal server connected, not both.
Telnet Access
Telnet Access
Once you have a connection, these are the steps to login:
3. To access the storage appliance with an alternative user account, enter username.
4. Enter the password at the prompt or press Enter if no password is defined for the account.
Note: The console and telnet share a single session. Commands typed at either location are
displayed at the other location. Commands entered at either location can be aborted by pressing
Ctrl-C.
(where host name is the name or IP address of the storage appliance) then follow the same login
instructions as though you were entering them directly on the console.
Options
Example Result
options telnet.enable. on Enables telnet access.
CLI Editing
Key Combinations
Ctrl-F or Right Arrow key Moves the cursor right one position.
Ctrl-B or Left Arrow key Moves the cursor left one position.
Ctrl-K Deletes all characters from the cursor to the end of the line
Ctrl-H Deletes the character to the left of the cursor and moves the cursor
one position to the left (equivalent to a backspace).
FilerView
FilerView
FilerView is an administration tool available to every NetApp storage appliance. This tool
enables IT administrators to use a web browser to access a consistent, easy-to-use graphical
interface for everyday administration tasks.
Administrators can set up and control any NetApp storage appliance remotely without disruption
to business-critical operations. While file systems remain accessible to users, they can:
x Monitor status
FilerView runs in local-client web browsers and communicates to the storage appliance mostly
with HTML and SNMP protocols. It also will establish a real telnet console session to the
storage appliance upon requesting the “Use Command Line” function.
Using FilerView
Accessing FilerView remotely requires either:
Accessing FilerView
http:/hostname_or_IP/na_admin
When you leave the Use Command Line window in FilerView, the telnet session is closed.
Transition Slide
Basic
Appliance
Configuration
Console Commands
Console Commands
Many console commands provide storage appliance system configuration information. These
commands can be used to:
Example Result
sysconfig -v Displays detailed information about each I/O device.
vol status -r Displays volume and RAID group information. (Note: Same as
for sysconfig –r.)
Options commands:
x Can be entered on the console and some are available with FilerView
x Are automatically added to the storage appliance’s registry in the /etc/registry file
The configuration file is named rc and is located in the /etc directory of the storage appliance’s
root volume. The default root volume is /vol/vol0. The /etc/rc file is created automatically when
the storage appliance is configured.
x the network interface configuration commands in the /etc/rc file specify an incorrect address
or there are other mis-configured items
Since you cannot access the storage appliance’s configuration file to edit it with a text editor, you
will have to use other methods to correct errors in the /etc/rc file.
x You can correct the errors by using the ifconfig and exportfs commands via the
console.
x Alternately, if CIFS is enabled you can access the /etc/rc file from a CIFS client and correct
the NFS export error once the network interface is configured correctly.
Registry Database
Registry Database
Persistent configuration information and other data are stored in a registry database.
Several backups of the registry database exist and are automatically used if the original registry
becomes unusable. In particular, /etc/registry.lastgood is a copy of the registry as it existed after
the last successful boot.
The /etc/registry, is edited by Data ONTAP and should not be manually edited.
Configuration commands such as the network interface configuration (ifconfig) must remain
in the /etc/rc file.
Several methods can be used to manage which individuals have administrative access to a
system:
User Access
User Access
An administrative user is a named account that exists on a storage appliance. Each administrative
user will have a unique login name and password, which increases security.
Administrative console users have the same privileges as root console users. Syslog
(/etc/messages) records console logins by username, time of access, and node name/address.
Note: The password must be at least 6 characters and contain at least two letters and at least one
number or special character.
Example Result
useradmin useradd devadmin1 Creates a new administrative user named
devadmin1 and prompts you for a password.
Trusted Hosts
Trusted Hosts
The trusted.hosts option can be used to limit telnet and FilerView access to administrative
pages to only those hosts that have been approved in advance. This prevents individuals who
have obtained administrative access IDs and passwords from accessing the system from
unknown and unapproved machines, thus increasing security.
Admin Hosts
Admin Hosts
The term adminhost is used to describe an NFS or a CIFS client machine that has the ability to
view and modify configuration files stored in the /etc directory of the storage appliance’s root
volume.
The storage appliance grants root permissions to the administration host after the setup procedure
is complete.
CIFS User must be a member of the Edit configuration files by accessing the
“Domain Administrators” or \\filer\C$ share
“Administrators” W2Kgroups.
Transition Slide
Autosupport
Autosupport
Autosupport is a service provided for NetApp storage appliances that monitors the function of a
storage appliance. The Autosupport daemon triggers automatic email messages to members of
Network Appliance Technical Support, alerting them to potential storage appliance problems.
If necessary, technical support contacts the administrator via email and provides troubleshooting
information for resolution. Specific storage appliance conditional events can be configured as
traps that will trigger an Autosupport sequence.
Network Appliance encourages all customers to enable Autosupport. This allows our
Autosupport mechanisms to be proactive and makes us better able to assist you when you call.
If the mail host is using SMTP then it should be configured to listen on SMTP port (25).
By default, the administration host defined during setup is used as a mail host.
Autosupport Enhancements
EMERGENCY
ALERT
CRITICAL,
ERROR
WARNING
NOTICE, INFO,
DEBUG
Autosupport Enhancements
Autosupport messages contain priority tags that identify the severity of the event that was
trapped for triggering the messaging process.
x System reboots
x Shelf faults
x System overheating
x Cluster events
To read descriptions of Autosupport messages you might receive, complete the following steps.
1. Go to the Network Appliance NOW site, and search for “ Autosupport Message Matrices.”
2. View the matrices in the online version or the Data ONTAP manual listed.
x Contents of /etc/messages
In addition to the output of this list of auto-generated status reporting commands, the
Autosupport messages contain additional storage appliance-specific information. This
information helps to identify crucial parameters that are needed in follow-up handling of the
triggering event.
options autosupport.enable
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]
Autosupport Options
The table shows a shortened version of the Autosupport options available. See the command
reference for a full list of options and descriptions.
Example Result
options autosupport.enable off Disables the Autosupport daemon. Default
is on.
options autosupport.mailhost Specifies two mail host names: maildev1
maildev1, mailengr1 and mailengr1. (You can enter up to five
mail host names).
Transition Slide
Documentation
& Support
www.netapp.com/Library
www.netapp.com/Library
You can access many documents from the NetApp website at http://www.netapp.com by
selecting the Library link on the menu toolbar at the top of the web page.
There is a Table of Contents where you can select a document listed alphabetically and a search
function where you can search either the Tech Library or the www.netapp.com site for a
document.
now.netapp.com
NOW
The NOW site has a tremendous amount of support and documentation information available to
Network Appliance customers.
x You can access the NOW site by clicking on the following website: http://now.netapp.com
x If you do not have a user name and password, they can be easily obtained by clicking on the
New User Sign Up link.
x You can find documents by clicking on the Technical Assistance & Documentation link or
by performing a PowerSearch for Product Documents.
Documentation
Documentation
The system administration documents are available in the Data ONTAP Information Library at
http://now.netapp.com.
Since these materials are updated regularly, you should check the website for the most recent
version.
Document Description
Software Setup Guide Describes how to set up different protocols on the filer.
System Administration File Describes how to configure and manage different file
Access Management Guide access protocols supported by Data ONTAP 6.5
software and are Serving Data By Design.
Document Description
System Administration Block Describes how to configure, operate, and manage
Access Management Guide Network Appliance filers that run Data ONTAP 6.5 and
are Serving Data By Design.
Commands: Manual Page Provides a listing of the man pages for filer commands.
Reference
Hardware and Service Guide Describes how to install a storage system, connect it to
the network, and start it up.
Hardware Documentation
The NOW site contains a Hardware Information Library at http://now.netapp.com
The Hardware Information Library has documentation for NetApp filers, NearStore systems,
NetCache appliances, disk shelves, disk drives, power supplies, and related information.
Topic Review
Autosupport Exercises
Basic Administration
Exercise Overview
Student has the opportunity to use commands, FilerView and to configure Autosupport
Time Estimate
x Filer
Software
Step Action
1. Use either HyperTerminal, Tera Term Pro or telnet to access the filer.
Step Action
1. Enter sysconfig. What happens?
Step Action
1. Enter vol status. What happens?
Disk Space
Enter the following commands and observe the results.
Step Action
1. Enter df . What happens?
Step Action
1. Enter sysstat and wait 15 seconds. What happens?
_________________________________________
_________________________________________
_________________________________________
_________________________________________
_________________________________________
FilerView
The purpose of this activity is for you to practice using the FilerView tool. You will access
FilerView, use FilerView to access Manual Pages and use the FilerView administration tool.
Accessing FilerView
Step Action
1. Open the web browser. (Use Internet Explorer 5.x or later.)
http://filername/na_admin
Note: If response is slow, check the host file of the host you are working from (or
other resolution services such as the DNS server), if you are using one. You may
also use the filer’s IP address instead of the filer name:
http://x.x.x.x/na_admin
Installing Documentation
Step Action
1. Click the link to the NOW site log in and select the appropriate version of ONTAP
documentation. There are designated download links for WinZip format and TAR
files for Unix systems.
3. On the FilerView page, select Click Here next to the Documentation subheading,
respond to the prompts to install the documentation software.
4. Once the installation has finished, return to the main FilerView page and observe that
the documentation link (and icon) is now active. You may need to refresh the display.
Step Action
1. On the FilerView page, click the documentation icon and observe that you are
provided with a list of available documents.
___________________________________________________________.
________________________________________________________
________________________________________________________
________________________________________________________
___________________________________________________
Step Action
1. On the main FilerView page, click the Manual Pages icon.
____________________
____________________
____________________
5. What three Table of Contents topics are always included in the manual pages?
____________________
____________________
____________________
Step Action
1. Return to the FilerView main page.
3. Explore these options. Use the ? and Help buttons, locate information.
__________________________________________________
Step Action
6. What is the FilerView path to manage snapshots?
____________________________________________
d. Check df, system configuration, and network interface configuration on the same
report.
Configuring AutoSupport
The purpose of this activity is for you to practice configuring the filer’s Autosupport feature.
You will execute Autosupport console commands, enter SNMP contact and location information,
verify the filer’s serial number and test your Autosupport configuration.
Step Action
1. Use either telnet or HyperTerminal Tera Term Pro to access the filer.
options autosupport.enable on
Step Action
1. Enter the following list of commands at the console prompt:
snmp init 1
Step Action
1. Execute this command at the console prompt:
5. Type: mail
Step Action
1. Enter the message number of the ‘testing’ message. For instance, if ‘testing’ is
message 1 - type 1.
3. Press the space bar to scroll forward in the message until you view the System
Serial Number line. For instance, if your serial number was 3003908 you will see
the following:
Netapp-asup-serial-num: 3003908
4. Continue to scroll through the Autosupport message to view the other information
Autosupport sends to Autosupport recipients.
5. Press ‘q’ to exit.
End of Exercises