Sysadmin Netspp 7-Mode PDF
Sysadmin Netspp 7-Mode PDF
0 7-Mode
System Administration Guide
NetApp, Inc.
495 East Java Drive
Sunnyvale, CA 94089 USA
Telephone: +1 (408) 822-6000
Fax: +1 (408) 822-4501
Support telephone: +1 (888) 4-NETAPP
Documentation comments: [email protected]
Information Web: http://www.netapp.com
Part number: 210-05000_A0
Updated for Data ONTAP 8.0.1 on 04 November 2010
Table of Contents | 3
Contents
Copyright information ............................................................................... 13
Trademark information ............................................................................. 15
About this guide .......................................................................................... 17
Audience .................................................................................................................... 17
Accessing Data ONTAP man pages .......................................................................... 18
Terminology .............................................................................................................. 18
Where to enter commands ......................................................................................... 19
Keyboard and formatting conventions ...................................................................... 19
Special messages ....................................................................................................... 20
How to send your comments ..................................................................................... 21
Introduction to NetApp storage ................................................................ 23
Components of a storage system ............................................................................... 23
Internal components ...................................................................................... 24
Slots and ports ............................................................................................... 25
Disk shelves and disks ................................................................................... 26
Third-party storage ........................................................................................ 26
Data ONTAP features ............................................................................................... 27
Network file service ...................................................................................... 27
Multiprotocol file and block sharing ............................................................. 28
Data storage management ............................................................................. 28
Data organization management ..................................................................... 28
Data access management ............................................................................... 29
Data migration management ......................................................................... 29
Data protection .............................................................................................. 29
System management ...................................................................................... 32
AutoSupport .................................................................................................. 33
How to interface with Data ONTAP ......................................................... 35
Methods for administering a storage system ............................................................. 35
Data ONTAP command-line interface ...................................................................... 37
Using the history feature ............................................................................... 37
Using the command-line editor ..................................................................... 37
How to use online command-line help .......................................................... 38
4 | Data ONTAP 8.0 7-Mode System Administration Guide
Copyright information
Copyright © 1994–2010 NetApp, Inc. All rights reserved. Printed in the U.S.A.
No part of this document covered by copyright may be reproduced in any form or by any means—
graphic, electronic, or mechanical, including photocopying, recording, taping, or storage in an
electronic retrieval system—without prior written permission of the copyright owner.
Software derived from copyrighted NetApp material is subject to the following license and
disclaimer:
THIS SOFTWARE IS PROVIDED BY NETAPP "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE,
WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL NETAPP BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NetApp reserves the right to change any products described herein at any time, and without notice.
NetApp assumes no responsibility or liability arising from the use of products described herein,
except as expressly agreed to in writing by NetApp. The use or purchase of this product does not
convey a license under any patent rights, trademark rights, or any other intellectual property rights of
NetApp.
The product described in this manual may be protected by one or more U.S.A. patents, foreign
patents, or pending applications.
RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the government is subject to
restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer
Software clause at DFARS 252.277-7103 (October 1988) and FAR 52-227-19 (June 1987).
Trademark information | 15
Trademark information
NetApp; the NetApp logo; the Network Appliance logo; Bycast; Cryptainer; Cryptoshred;
DataFabric; Data ONTAP; Decru; Decru DataFort; FAServer; FilerView; FlexCache; FlexClone;
FlexShare; FlexVol; FPolicy; gFiler; Go further, faster; Manage ONTAP; MultiStore; NearStore;
NetCache; NOW (NetApp on the Web); ONTAPI; RAID-DP; SANscreen; SecureShare; Simulate
ONTAP; SnapCopy; SnapDrive; SnapLock; SnapManager; SnapMirror; SnapMover; SnapRestore;
SnapValidator; SnapVault; Spinnaker Networks; Spinnaker Networks logo; SpinAccess;
SpinCluster; SpinFlex; SpinFS; SpinHA; SpinMove; SpinServer; SpinStor; StorageGRID;
StoreVault; SyncMirror; Topio; vFiler; VFM; and WAFL are registered trademarks of NetApp, Inc.
in the U.S.A. and/or other countries. Network Appliance, Snapshot, and The evolution of storage are
trademarks of NetApp, Inc. in the U.S.A. and/or other countries and registered trademarks in some
other countries. The StoreVault logo, ApplianceWatch, ApplianceWatch PRO, ASUP, AutoSupport,
ComplianceClock, DataFort, Data Motion, FlexScale, FlexSuite, Lifetime Key Management,
LockVault, NOW, MetroCluster, OpenKey, ReplicatorX, SecureAdmin, Shadow Tape,
SnapDirector, SnapFilter, SnapMigrator, SnapSuite, Tech OnTap, Virtual File Manager, VPolicy,
and Web Filer are trademarks of NetApp, Inc. in the U.S.A. and other countries. Get Successful and
Select are service marks of NetApp, Inc. in the U.S.A.
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business
Machines Corporation in the United States, other countries, or both. A complete and current list of
other IBM trademarks is available on the Web at www.ibm.com/legal/copytrade.shtml.
Apple is a registered trademark and QuickTime is a trademark of Apple, Inc. in the U.S.A. and/or
other countries. Microsoft is a registered trademark and Windows Media is a trademark of Microsoft
Corporation in the U.S.A. and/or other countries. RealAudio, RealNetworks, RealPlayer,
RealSystem, RealText, and RealVideo are registered trademarks and RealMedia, RealProxy, and
SureStream are trademarks of RealNetworks, Inc. in the U.S.A. and/or other countries.
All other brands or products are trademarks or registered trademarks of their respective holders and
should be treated as such.
NetApp, Inc. is a licensee of the CompactFlash and CF Logo trademarks.
NetApp, Inc. NetCache is certified RealSystem compatible.
About this guide | 17
Next topics
Audience on page 17
Accessing Data ONTAP man pages on page 18
Terminology on page 18
Where to enter commands on page 19
Keyboard and formatting conventions on page 19
Special messages on page 20
How to send your comments on page 21
Audience
This document is written with certain assumptions about your technical knowledge and experience.
This document is for system administrators who are familiar with operating systems such as UNIX®
and Windows® that run on the storage system's clients.
This document assumes that you are familiar with how to configure the storage system and how
Network File System (NFS), Common Internet File System (CIFS), Hypertext Transport Protocol
(HTTP), File Transport Protocol (FTP), and Web-based Distributed Authoring and Versioning
(WebDAV) are used for file sharing or transfers. This guide doesn’t cover basic system or network
administration topics, such as IP addressing, routing, and network topology; it emphasizes the
characteristics of the storage system.
18 | Data ONTAP 8.0 7-Mode System Administration Guide
Commands 1
Special files 4
Step
Terminology
To understand the concepts in this document, you might need to know how certain terms are used.
array LUN The storage that third-party storage arrays provide to storage systems running
Data ONTAP software. One array LUN is the equivalent of one disk on a
native disk shelf.
LUN (logical unit A logical unit of storage identified by a number.
number)
About this guide | 19
native disk A disk that is sold as local storage for storage systems that run Data ONTAP
software.
native disk shelf A disk shelf that is sold as local storage for storage systems that run Data
ONTAP software.
storage controller The component of a storage system that runs the Data ONTAP operating
system and controls its disk subsystem. Storage controllers are also sometimes
called controllers, storage appliances, appliances, storage engines, heads, CPU
modules, or controller modules.
storage system The hardware device running Data ONTAP that receives data from and sends
data to native disk shelves, third-party storage, or both. Storage systems that
run Data ONTAP are sometimes referred to as filers, appliances, storage
appliances, V-Series systems, or systems.
third-party The back-end storage arrays, such as IBM, Hitachi Data Systems, and HP, that
storage provide storage for storage systems running Data ONTAP.
Keyboard conventions
Enter, enter • Used to refer to the key that generates a carriage return; the key is named
Return on some keyboards.
• Used to mean pressing one or more keys on the keyboard and then pressing the
Enter key, or clicking in a field in a graphical interface and then typing
information into the field.
hyphen (-) Used to separate individual keys. For example, Ctrl-D means holding down the
Ctrl key while pressing the D key.
Formatting conventions
Monospaced font • Command names, option names, keywords, and daemon names.
• Information displayed on the system console or other computer monitors.
• Contents of files.
• File, path, and directory names.
Bold monospaced Words or characters you type. What you type is always shown in lowercase
font letters, unless your program is case-sensitive and uppercase letters are
necessary for it to work properly.
Special messages
This document might contain the following types of messages to alert you to conditions that you
need to be aware of.
Note: A note contains important information that helps you install or operate the system
efficiently.
About this guide | 21
Attention: An attention notice contains instructions that you must follow to avoid a system crash,
loss of data, or damage to the equipment.
Next topics
Components of a storage system on page 23
Data ONTAP features on page 27
Related information
The NetApp Products and Technologies page - www.netapp.com/products/
Note: For V-Series systems, back-end storage arrays such as IBM, Hitachi Data Systems, and
HP provide storage for data. V-Series systems fulfill client requests from either disk shelves or
logical unit numbers (LUNs) on the back-end storage arrays.
More specifically, the storage system includes internal components, slots and ports, and disk shelves
that contain the disks.
Next topics
Internal components on page 24
Slots and ports on page 25
Disk shelves and disks on page 26
Third-party storage on page 26
Related concepts
Storage system environment information on page 285
Related information
The NOW site - http://now.netapp.com/
Internal components
The internal components of a storage system enable the system to function.
The following table shows the internal components of a storage system.
Component Description
system board The system board is also referred to as the main board of the storage
system. It has upgradable firmware. All components are connected to
the system board.
system memory System memory stores information temporarily.
NVRAM (Nonvolatile Data ONTAP uses NVRAM to log network transactions as a data
RAM) integrity measure. In case of a system or power failure, Data ONTAP
uses the contents of NVRAM to restore network data to disk.
boot device The storage system automatically boots from a Data ONTAP release
stored on the boot device, such as a PC CompactFlash card. The boot
device also stores a backup version of Data ONTAP from which to boot
the storage system in an emergency.
LCD and LEDs The storage system displays status information on the LCD and LEDs.
Introduction to NetApp storage | 25
Component Description
environmental adapter The environmental adapter performs the following functions:
• Monitors the storage system’s temperature and fans
• Sends critical information to the storage system’s LCD
• Logs information
• Shuts down the storage system if its temperature is beyond a critical
range or the fans cease operating
Remote Management The RMC provides enhanced AutoSupport, such as “down filer”
Controller (RMC) (not notification.
available with all storage
systems)
The remote management The remote management device provides remote platform management
device such as the capabilities for the storage system, allowing you to remotely access the
Service Processor (SP), storage system console over a network, and turn the storage system
the Remote LAN Module power on or off regardless of the operating state of the storage system.
(RLM), or the Baseboard The remote management device monitors and maintains hardware event
Management Controller logs for the storage system and generates alerts based on system status.
(BMC)
Related concepts
Using the Remote LAN Module for remote system management on page 216
Using the Baseboard Management Controller for remote system management on page 245
Component Description
slots The storage system contains expansion slots for the following host adapters:
• Network interface cards (NICs)
• Adapters for the disk shelf or tape drive
• Performance Acceleration Modules
• NVRAM adapters
26 | Data ONTAP 8.0 7-Mode System Administration Guide
Component Description
serial ports The serial ports include:
• The console port, which connects the storage system to a serial terminal that you
can use as a console.
• The port for remote management or diagnostics, which can be used for Data
ONTAP management activities or connects diagnostic equipment, such as the
environmental monitor unit (EMU) of a storage shelf
Third-party storage
On a V-Series system, Data ONTAP provides unified NAS and SAN access to data stored in
heterogeneous Fibre Channel (FC) SAN storage arrays, including storage arrays from IBM, Hitachi
Data Systems, HP, and EMC. Data ONTAP supports multiple storage arrays of the same model or
different models behind one V-Series system.
The Data ONTAP software provides a unified storage software platform that simplifies managing
LUNs on storage arrays and storage on disk shelves. You can add storage when and where you need
it, without disruption.
For information about supported storage array models, see the V-Series Support Matrix.
For information about setting up a specific storage array to work with Data ONTAP, see the V-
Series Implementation Guides.
Introduction to NetApp storage | 27
Next topics
Network file service on page 27
Multiprotocol file and block sharing on page 28
Data storage management on page 28
Data organization management on page 28
Data access management on page 29
Data migration management on page 29
Data protection on page 29
System management on page 32
AutoSupport on page 33
Related information
NetApp Interoperability Matrix - http://now.netapp.com/NOW/products/interoperability/
28 | Data ONTAP 8.0 7-Mode System Administration Guide
Related concepts
How to manage the root volume on page 89
Data protection
Storage systems provide a wide range of data protection features such as aggr copy, MetroCluster,
NDMP, NVFAIL, SnapMirror, SnapRestore, Snapshot, SnapVault, SyncMirror, Tape backup and
restore, Virus scan support, and vol copy.
These features are described in the following table.
30 | Data ONTAP 8.0 7-Mode System Administration Guide
Feature Description
aggr copy This is fast block copy of data stored in aggregates; it enables you to
copy blocks of stored system data from one aggregate to another.
For information about aggregates and aggr copy, see the Data
ONTAP 7-Mode Storage Management Guide.
MetroCluster MetroCluster enhances SyncMirror functionality for disaster recovery
by providing continuous volume mirroring over 500-meter to 30-
kilometer distances.
For information about disaster protection using MetroCluster, see the
Data ONTAP 7-Mode High-Availability Configuration Guide.
NDMP (Network Data NDMP support enables third-party applications that use NDMP to
Management Protocol) manage tape backup operations of system data. The ndmpcopy
command carries out NDMP-compliant backups and restores. Security
login restricts access to NDMP operations.
For information about NDMP, see the Data ONTAP 7-Mode Data
Protection Tape Backup and Recovery Guide.
NVFAIL The nvfail option provides protection against data corruption by
nonvolatile RAM (NVRAM) failures.
For information about NVFAIL, see the Data ONTAP 7-Mode Data
Protection Online Backup and Recovery Guide.
SnapMirror software System-to-system Snapshot mirroring enables you to mirror Snapshot
(license required) copies on one storage system to a partner system. Should the original
storage system be disabled, this ensures quick restoration of data from
the point of the last Snapshot copy.
For information about SnapMirror, see the Data ONTAP 7-Mode Data
Protection Online Backup and Recovery Guide.
SnapRestore software The SnapRestore feature performs fast restoration of backed-up data on
(license required) request from Snapshot copies on an entire volume.
For information about SnapRestore, see the Data ONTAP 7-Mode Data
Protection Online Backup and Recovery Guide.
Introduction to NetApp storage | 31
Feature Description
Snapshot software Manual or automatically scheduled multiple backups (or Snapshot
copies) of data using a minimal amount of additional disk space at no
performance cost.
For information about how Data ONTAP organizes and manages data,
see the Data ONTAP 7-Mode Storage Management Guide.
For information about Snapshot copies, see the Data ONTAP 7-Mode
Data Protection Online Backup and Recovery Guide.
SnapVault software SnapVault combines Snapshot schedules and Qtree SnapMirror to
(license required) provide disk-based data protection for NetApp storage systems. You
can also install the Open Systems SnapVault agent on non-NetApp
systems. This allows SnapVault to back up and restore data to those
systems also.
Using SnapVault, you can periodically replicate selected Snapshot
copies from multiple client NetApp storage systems to a common
Snapshot copy on the SnapVault server. The Snapshot copies on the
server become the backups. You decide when to dump data from the
SnapVault server to tape. As a result, you avoid the bandwidth
limitations of tape drives, you restore data faster, and you do not need
to perform full dumps from primary storage, so you do not need to
schedule a backup window.
For information about SnapVault, see the Data ONTAP 7-Mode Data
Protection Online Backup and Recovery Guide.
SyncMirror The SyncMirror software performs real-time RAID-level—that is,
RAID4 or RAID-DP (RAID double-parity)—mirroring of data to two
(high-availability
separate plexes that are physically connected to the same storage
configuration required)
system head. If there is an unrecoverable disk error on one plex, the
storage system automatically switches access to the mirrored plex. Data
ONTAP supports RAID4 and RAID-DP only for disk shelves.
Similarly, SyncMirror can be used for mirroring of third-party storage.
In the case of an unrecoverable error, Data ONTAP automatically
switches access to the mirrored plex on the other storage array. Data
ONTAP uses RAID0 for managing storage on array LUNs, but the
storage arrays provide RAID protection for third-party storage.
For information about supported RAID levels and plexes, see the Data
ONTAP 7-Mode Storage Management Guide. For information about
SyncMirror, see the Data ONTAP 7-Mode Data Protection Online
Backup and Recovery Guide.
32 | Data ONTAP 8.0 7-Mode System Administration Guide
Feature Description
Tape backup and restore Tape backup dump and restore commands enable you to back up
system or SnapVault Snapshot copies to tape. Because the Snapshot
copy, rather than the active file system, is backed up to tape, the
storage system can continue its normal functions while the tape backup
is occurring.
For information about tape backup, see the Data ONTAP 7-Mode Data
Protection Tape Backup and Recovery Guide.
Virus scan support Data ONTAP provides support for third-party-scanning software for
files accessed by CIFS clients.
For information about virus protection for CIFS, see the Data ONTAP
7-Mode Data Protection Online Backup and Recovery Guide.
vol copy This is fast block copy of data stored in volumes; it enables you to copy
blocks of stored system data from one volume to another.
For information about volumes and vol copy, see the Data ONTAP
7-Mode Data Protection Online Backup and Recovery Guide.
System management
Data ONTAP provides a full suite of system management commands that allows you to monitor
storage system activities and performance.
You can use Data ONTAP to perform the following system management tasks:
• Manage network connections
• Manage adapters
• Manage protocols
• Configure a pair of storage systems into high-availability configuration for failover
• Configure SharedStorage storage systems into a community
• Manage storage and quotas
• Dump data to tape and restore it to the storage system
• Mirror volumes (synchronously and asynchronously)
• Create vFiler units. For information about vFiler units, see the Data ONTAP 7-Mode MultiStore
Management Guide
For information about all Data ONTAP commands, see the Data ONTAP 7-Mode Commands:
Manual Page Reference, Volume 1 and the Data ONTAP 7-Mode Commands: Manual Page
Reference, Volume 2.
Introduction to NetApp storage | 33
AutoSupport
AutoSupport automatically sends AutoSupport Mail notifications about storage system problems to
technical support and designated recipients.
Related concepts
The AutoSupport feature on page 175
How to interface with Data ONTAP | 35
Next topics
Methods for administering a storage system on page 35
Data ONTAP command-line interface on page 37
Data ONTAP commands at different privilege levels on page 39
You can access configuration files by mounting the root directory of the storage system on a
UNIX client or by mapping the administrative share (C$) to a drive on a Windows client, then
editing the file from the client.
Note: For information on how to set up CIFS so that you can use a Windows client to access
files on the storage system, see the Data ONTAP 7-Mode Software Setup Guide.
• Command execution through FilerView
You use FilerView to perform most administrative tasks from a Web-based interface. You can
use FilerView whether or not you purchased a license for the HTTP protocol.
• System Manager
System Manager provides setup and management capabilities for SAN and NAS environments
from a Microsoft Windows system. You can use System Manager to quickly and efficiently set
up storage systems that are single or in a high-availability configuration. You can also use System
Manager to configure all protocols, such as NFS, CIFS, FCP and iSCSI, supply provisions for file
sharing and applications, and monitor and manage your storage system. For more information
about System Manager, see the NOW site.
• DataFabric Manager software
DataFabric Manager is a simple, centralized administration tool that enables comprehensive
management of enterprise storage and content delivery infrastructure. This suite of tools, which
runs on a management server, consolidates tasks that would otherwise require separate steps and
allows for a set of optional modules that provides specific additional functionality.
You must purchase the DataFabric Manager license to use this product. For more information
about DataFabric Manager, see the DataFabric Manager Information Library on the NOW site.
• Manage ONTAP SDK software
Manage ONTAP SDK contains resources necessary to develop third-party applications which
monitor and manage storage systems. The Manage ONTAP SDK kit is available to all NOW
users for free download. It contains libraries, code samples, and bindings in Java, C, and Perl for
the new ONTAPI programming interface set. A NetApp storage system simulator which runs on
Linux or Solaris, which simulates the NetApp storage system to a very low level, is also available
as a separate distribution. For more information, see the Manage ONTAP SDK page.
Related concepts
Managing storage systems remotely on page 189
Default directories in the root volume on page 92
Related information
The NOW site - http://now.netapp.com/
Manage ONTAP SDK - http://communities.netapp.com/docs/DOC-1110
How to interface with Data ONTAP | 37
Next topics
Using the history feature on page 37
Using the command-line editor on page 37
How to use online command-line help on page 38
Step
Step
You can also type the question mark at the command line for a list of all the commands that are
available at the current level of administration (administrative or advanced).
The following example shows the result of entering the environment help command at the
storage system command line. The command output displays the syntax help for the environment
commands.
[status] [shelf_log] |
[status] [shelf_stats] |
[status] [shelf_power_status] |
[status] [chassis [all | list-sensors | Fan | Power | Temp | Power Supply
| RTC Battery | NVRAM4-temperature-7 | NVRAM4-battery-7]]
Related concepts
Data ONTAP commands at different privilege levels on page 39
Next topics
How different privilege settings apply to different sessions on page 39
Initial privilege level on page 39
Setting the privilege level on page 40
Step
-q enables quiet mode. It suppresses the warning that normally appears when you set the
privilege level to advanced.
Note: If no argument is given, the default, admin, is applied.
Example
Assuming the name of the storage system is sys1, the storage system prompt is sys1>, as shown
in the following example.
sys1> priv set advanced
The following message is displayed, followed by the advanced mode storage system prompt.
Warning: These advanced commands are potentially dangerous; use them
only when directed to do so by technical personnel.
sys1*>
How to access the storage system | 41
Next topics
Methods for accessing a storage system on page 41
How to access a storage system from the console on page 47
Secure protocols and storage system access on page 49
How to access a storage system by using Telnet on page 66
How to access a storage system by using a Remote Shell connection on page 70
How to access a storage system by using FilerView on page 75
How to manage access from administration hosts on page 79
Methods for controlling storage system access on page 82
Next topics
Methods for administering the system (no licenses are required) on page 41
Methods for storing and retrieving data (licenses are required) on page 42
Controlling the sharing of a console session on page 42
Rules that apply to console, Telnet, and SSH-interactive sessions on page 43
The e0M interface on page 45
• From any client by using a Web browser and the FilerView interface
• From any client by using a secure shell client application, such as SSH, OpenSSH for UNIX
hosts or PuTTY for Windows hosts
If you use the wrfile command to redirect input into non-interactive SSH, the command
will fail if:
• SSH is configured to automatically send EOF's.
• SSH is used with the option -n, which sends EOF at the beginning of the message.
• From an NFS client or CIFS client by using a Web browser and the DataFabric Manager
interface (a DataFabric Manager license is also required)
• From a CIFS client to provide support for the SnapDrive feature in a Windows environment
• From an NFS client or CIFS client to manage Fibre Channel switches (in a SAN environment)
• From an NFS client or CIFS client to access a LUN in a SAN environment by using the
Internet SCSI (iSCSI) protocol or the Fibre Channel (FC) protocol.
ensure that the option is set to on to keep the console session separate from a Telnet or an SSH-
interactive session.
The console session is always shared with the remote management device, regardless of the
telnet.distinct.enable option setting.
Step
Setting the option to on enhances security by keeping the console session separate from a Telnet
or an SSH-interactive session. On storage systems shipped with Data ONTAP 8.0 or later, the
default for this option is on.
Setting the option to off causes the console session to share with a Telnet or an SSH-interactive
session. You cannot set the option to off if a user is currently assigned to the Compliance
Administrators group.
If the telnet.distinct.enable option setting is changed during a Telnet or an SSH-
interactive session, the change does not go into effect until the next Telnet or SSH login.
If you change the option setting after upgrading to Data ONTAP 8.0 or later, the changes are
preserved even if the system reverts back to the previous Data ONTAP version.
Note: You can initiate an SSH-interactive session by opening the session without entering a
command. For example, you would enter the following command:
ssh storage_system -l root:""
If you enter the following command instead, you would initiate a non-interactive session:
ssh storage_system -l root:"" command
Related concepts
Options that help maintain security on page 85
Predefined groups on page 124
Predefined roles on page 128
Supported capability types on page 129
Related tasks
Creating users and assigning them to groups on page 120
Management Data
LAN LAN
remote Data
management e0M ONTAP
device
Storage controller
When you set up a system that includes the e0M interface, the Data ONTAP setup script
recommends that you use the e0M as the preferred management interface for environments that use
dedicated LANs to isolate management traffic from data traffic. The setup script then prompts you to
configure e0M. The e0M configuration is separate from the configuration of the remote management
device. Both configurations require unique IP addresses to allow the Ethernet switch to direct traffic
to either the e0M interface or the remote management device. For information about how to set up
the e0M interface, see the Data ONTAP 7-Mode Software Setup Guide.
After you have set up the e0M interface, you can use it to access the storage system with the
following protocols, if they have been enabled:
• Telnet
• RSH
• HTTP or HTTPS
• SSH
• SNMP
46 | Data ONTAP 8.0 7-Mode System Administration Guide
Next topics
Using the e0M interface to perform a Data ONTAP management task on page 46
How the e0M interface and the remote management device differ on page 46
Related concepts
Using the Remote LAN Module for remote system management on page 216
Steps
Related concepts
How to access a storage system by using Telnet on page 66
How to access a storage system by using a Remote Shell connection on page 70
How to manage SSH on page 53
The default security settings on page 50
How the e0M interface and the remote management device differ
The e0M interface and the remote management device (which can be the SP, the RLM, or the BMC,
depending on the storage system model) serve different functionality. Whereas the e0M interface
serves as the dedicated interface for management traffic, the remote management device provides
remote management capabilities.
The e0M interface serves as the dedicated interface for environments that have dedicated LANs for
management traffic. You use the e0M interface for Data ONTAP administrative tasks.
The remote management device, on the other hand, not only can be used for managing Data ONTAP
but also provides remote management capabilities for the storage system, including remote access to
the console, monitoring, troubleshooting, logging, and alerting features. Also, the remote
management device stays operational regardless of the operating state of the storage system and
regardless of whether Data ONTAP is running or not.
How to access the storage system | 47
Both the e0M interface and the remote management device connect to the internal Ethernet switch
that connects to the Ethernet port. (The Ethernet port is indicated by a wrench icon on the rear of the
chassis.)
For more information about these options, see the na_options(1) man page.
Next topics
Using the serial port to access the storage system on page 47
Using the remote management device to access the system console on page 48
Related concepts
Rules that apply to console, Telnet, and SSH-interactive sessions on page 43
Steps
• To access the storage system with an alternative administrative user account, enter the
following:
username
username is the administrative user account.
48 | Data ONTAP 8.0 7-Mode System Administration Guide
Press Enter.
toaster>
Note: You can abort commands entered at the console by pressing Ctrl-C.
Steps
1. From the administration host, log in to the remote management device by entering the following
command:
ssh username@IP_for_remote_management_device
The storage system responds by displaying the CLI prompt for the remote management device.
2. Enter the following command at the CLI prompt for the remote management device:
system console
3. If the storage system displays the login prompt, enter an appropriate account name:
If you are using... Enter the following account name...
The system root account root
How to access the storage system | 49
4. Enter the password for the account, or, if no password is defined, press Enter.
The storage system prompt appears.
5. To exit the console, do one of the following.
• To exit the console redirection session and return to the SP prompt or the RLM prompt, press
Ctrl-D.
• To exit the console redirection session and return to the BMC prompt, press Ctrl-G.
Related concepts
Managing storage systems remotely on page 189
Prerequisites for logging in to the SP on page 0
How to log in to the RLM on page 221
How to log in to the BMC on page 253
Next topics
The default security settings on page 50
The SSH protocol on page 51
The SSL protocol on page 61
Determining whether secure protocols are enabled on page 66
50 | Data ONTAP 8.0 7-Mode System Administration Guide
Also on storage systems shipped with Data ONTAP 8.0 or later, the following are the default option
settings for the nonsecure protocols:
• options ftpd.enable off
• options httpd.admin.enable off
• options httpd.enable off
• options rsh.enable off
• options telnet.distinct.enable on
• options telnet.enable off
Note: These default settings apply only to storage systems shipped with Data ONTAP 8.0 or later.
For storage systems upgraded from an earlier version to Data ONTAP 8.0 or later, the above
default settings do not apply. Instead, for those upgraded systems, the settings remain unchanged
after the upgrade. Also, if you make security setting modifications after upgrading to Data ONTAP
8.0 or later, the modifications are preserved even if the system reverts back to the previous Data
ONTAP version.
Related tasks
Allowing only secure access to the storage system on page 87
How to access the storage system | 51
decrypted using the host and server keys. After the session key is decrypted, the client and storage
system can exchange encrypted data.
The following table shows how Data ONTAP creates a secure session between the storage system
and client.
Stage What the client does What the storage system does
1 The client sends an SSH request to the storage The storage system receives the SSH request
system. from the client.
2 The storage system sends the public portion of
the host key, and the server key if SSH 1.x is
used, to the client.
3 The client stores the public portion of the host
key for future host authentication.
4 The client generates a random session key.
5 The client encrypts the session key by using the
public portion of the host key, and the server key
if SSH 1.x is used, and sends it to the storage
system.
6 The storage system decrypts the session key
using the private portions of the host key, and the
server key if SSH 1.x is used.
7 The storage system and the client exchange information that they encrypt and decrypt using the
session key.
If you are logged into a non-root user account on a client, and you request a list of supported SSH
commands on a storage system using the ssh <ip address> ? command, some SSH clients do not
pass the ? (question mark) to the storage system. To make sure the client passes the question mark,
wrap the ? in quotes, for example, ssh <ip address> ’?’.
Note: Some characters, for example ?, ., *, and ^, can have special meaning for the command
interpreter running on the client. The client command interpreter might replace the character with
an environment-specific value prior to passing it to the SSH program. To prevent a replacement,
use an escape sequence before the character (for example, ssh <ip address> \?) or enclose the
character in quotes.
Next topics
How to manage SSH on page 53
Setting up and starting SSH on page 53
Reinitializing SSH on page 55
Enabling or disabling SSH on page 56
Public-key-based authentication on page 56
How to access the storage system | 53
Related concepts
How to manage administrator and diagnostic access on page 115
The default security settings on page 50
Related tasks
Restricting protocol access on page 83
• The size of the host key must differ from the size of the server key by at least 128 bits. It does not
matter which key is larger.
If you are using the SSH 1.x protocol, the host key is stored in the /etc/sshd/ssh_host_key file.
If you are using the SSH 2.0 protocol, the RSA host key is stored in the /etc/sshd/
ssh_host_rsa_key file, and the DSA host key is stored in the /etc/sshd/ssh_host_dsa_key
file.
Note: The setup procedure requires you to enter key sizes for the SSH 1.x and SSH 2.0 protocols,
regardless of the protocol you use. For example, if you plan to use the SSH 2.0 protocol, you still
must enter values for the SSH 1.x host key and server key sizes. You can accept the default value
for keys that you do not use.
Steps
The -f option forces setup to run even if the SSH server has already been configured.
The -q option is the non-interactive mode for setting up SSH. See the na_secureadmin(1) man
page for more information.
2. When prompted, enter a size for the host key if you are using the SSH 1.x protocol.
The default size for the host key is 768 bits.
3. When prompted, enter a size for the server key if you are using the SSH 1.x protocol.
The default size for the server key is 512 bits.
4. When prompted, enter a size for the host keys if you are using the SSH 2.0 protocol.
The default size for the host key is 768 bits.
5. When prompted, confirm the parameters that you specified.
SecureAdmin generates the host key in the background, and, after a minute or two, the setup
program sends a syslog message announcing that SSH is set up.
6. After the syslog message is generated, activate the host and server keys by entering the following
command:
secureadmin enable {ssh1|ssh2}
Use ssh1 to enable SSH service for SSH 1.x clients or ssh2 to enable SSH service for SSH 2.0
clients.
How to access the storage system | 55
Reinitializing SSH
Reinitializing SSH enables you to change the sizes of existing host and server keys.
Steps
1. Cancel the existing host and server keys by stopping the SSH daemon with the following
command:
secureadmin disable {ssh1|ssh2}
Use ssh1 to disable SSH service for SSH 1.x clients or use ssh2 to disable SSH service for SSH
2.0 clients.
2. Enter the following command:
secureadmin setup -f [-q] ssh
The -f option forces setup to run even if the SSH server has already been configured.
The -q option is the non-interactive mode for setting up SSH. See the na_secureadmin(1) man
page for more information.
3. When prompted, enter a size for the host key if you are using the SSH 1.x protocol.
4. When prompted, enter a size for the server key if you are using the SSH 1.x protocol.
5. When prompted, enter a size for the host key if you are using the SSH 2.0 protocol.
6. Activate the new host and server key sizes by entering the following command:
secureadmin enable {ssh1|ssh2}
Use ssh1 to enable SSH service for SSH 1.x clients or use ssh2 to enable SSH service for SSH
2.0 clients.
Clients that have a copy of the old host key give the following warning after they receive a new key
from the storage system:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle
attack)!
It is also possible that the host key has just been changed.
Please contact your system administrator.
Add correct host key in /u/sisa/.ssh/known_hosts to get rid of
this message.
Agent forwarding is disabled to avoid attacks by corrupted servers.
Are you sure you want to continue connecting (yes/no)?
56 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
Related tasks
Setting up and starting SSH on page 53
Public-key-based authentication
Setting up key-based authentication requires an RSA key pair (a private and public key) in addition
to the host and server keys. Public-key-based authentication differs between the two versions of SSH;
SSH 1.x uses an RSA key pair and SSH 2.0 uses a DSA key pair in addition to an RSA key pair. For
both versions of SSH, you must generate the key pairs and copy the public key to the storage system.
Next topics
Generating an RSA key pair for SSH 1.x on page 56
Generating key pairs for SSH 2.0 on page 57
Editing public keys generated by SecureCRT and ssh.com clients on page 58
Steps
2. Copy the generated public key to the storage system root volume and append it to the /etc/
sshd/user_name/.ssh/authorized_keys file.
Steps
Related tasks
Editing public keys generated by SecureCRT and ssh.com clients on page 58
Steps
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDJhJ6nk
+2hm5iZnx737ZqxFgksPl
3+OY1cP80s1amXuUrwBp3/MUODEP5E51lzqjO0w5kyJlvPjCiLg9UqS7JeY5yd/
6xy
Garsde26De1ErbVJ1uqnxyAOlV9A1hjBE8TbI+lyYBH
+WezT0nySix6VBQTAWhv43r
9lSudswYV80Q==
Step
1. From a UNIX client, enter the ssh command in one of the following formats:
ssh [-1|-2] username@{IP_addr|hostname} [command]
or
ssh [-1|-2] -l username {IP_addr|hostname} [command]
Related concepts
How to manage SSH on page 53
Rules that apply to console, Telnet, and SSH-interactive sessions on page 43
Step
1. To display the current SSH settings, enter the following command at the storage system prompt:
options ssh
For more information about the SSH options and their default values, see the na_options(1) man
page.
The current SSH settings on your storage system are displayed.
ssh2.enable on
mysystem>
Next topics
How to manage SSL on page 61
Setting up and starting SSL on page 62
Installing a certificate-authority-signed certificate on page 63
Testing certificates on page 63
Reinitializing SSL on page 64
Enabling or disabling SSL on page 64
Enabling or disabling SSLv2 or SSLv3 on page 65
Related concepts
The default security settings on page 50
Steps
2. If SSL has been previously set up for the storage system, Data ONTAP asks you whether you
want to continue.
• Enter Y if you want to change the SSL setup.
• Enter N to exit the SSL setup.
3. Enter information when Data ONTAP prompts you.
The information you are prompted to enter includes the following:
• Country, state, or province name
• Company or organization name
• Domain name
• Administrator email
• Days until expires
• Key length in bits
To use the default settings, press Enter at each of the prompts.
When the SSL setup is complete, Data ONTAP generates secureadmin.pem files and saves
them in the appropriate subdirectories (cert, key, and csr) in the /etc/keymgr directory.
Related tasks
Installing a certificate-authority-signed certificate on page 63
Testing certificates on page 63
How to access the storage system | 63
Steps
1. Send the certificate signing request, secureadmin.pem, to the certificate authority. This file is
found in the /etc/keymgr/cert directory on the storage system.
Note: This process might take a few days.
Related tasks
Testing certificates on page 63
Testing certificates
After installing either a self-signed certificate or a certificate-authority-signed certificate, you should
test the certification to verify that it is installed correctly.
Steps
3. Click FilerView.
Secure FilerView starts up in a new browser window.
4. Check your browser to verify that you have made a secure connection.
Note: Most browsers show a small padlock icon in their status bar when they have successfully
made a secure connection to the server. If the padlock icon is not displayed, you might not
have a secure connection.
Reinitializing SSL
You should reinitialize SSL if you change the domain name of the storage system. When you change
the domain name of your system, the domain name recorded in the certificate becomes obsolete. As a
result, the storage system is not authenticated after the domain name change, although the connection
is still encrypted. The next time you connect to the system, the browser issues a warning that the
domain name of the system does not match the record on the certificate.
Changing the domain name for a storage system that is using SSL can cost time and money because
you must have the new certificate signed by a certificate authority.
Steps
Related tasks
Setting up and starting SSL on page 62
Step
Related tasks
Setting up and starting SSL on page 62
Installing a certificate-authority-signed certificate on page 63
Testing certificates on page 63
Step
Setting the option to on (the default) enables the SSL version on HTTPS and LDAP connections,
if the following options are also set to on:
• httpd.admin.ssl.enable (for HTTPS)
• ldap.ssl.enable (for LDAP)
Setting the option to off disables the SSL version on HTTPS and LDAP connections.
For more information about these options, see the na_options(1) man page.
For more information about LDAP, see the Data ONTAP 7-Mode File Access and Protocols
Management Guide.
Related tasks
Setting up and starting SSL on page 62
66 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
ssh2 - active
ssh1 - inactive
ssl - active
Related concepts
The default security settings on page 50
Step
Use enable all to start SSH and SSL or use disable all to stop SSH and SSL.
For more information about these options, see the na_options(1) man page.
How to access the storage system | 67
Next topics
Starting a Telnet session on page 67
Terminating a Telnet session on page 68
Configuration for Telnet sessions on page 68
Related concepts
The default security settings on page 50
Rules that apply to console, Telnet, and SSH-interactive sessions on page 43
Steps
5. When you see the storage system prompt followed by a system message, press Return to get to
the storage system prompt.
Example
toaster> Thu Aug 5 15:19:39 PDI [toaster: telnet_0:info]: root logged in
from host: unix_host12.xxx.yyy.com
Press Enter.
toaster>
Note: You can abort commands entered through a Telnet session by pressing Ctrl-C.
Related concepts
Rules that apply to console, Telnet, and SSH-interactive sessions on page 43
Related tasks
Restricting protocol access on page 83
Step
1. To log out of the storage system at the system prompt or at the console, do one of the following:
• Press Ctrl-] .
• Enter the following command:
logout telnet
Next topics
Banner message configuration on page 69
Enabling or disabling the timeout period for Telnet or SSH-interactive sessions on page 69
How to access the storage system | 69
Step
1. To enable or disable the timeout period for Telnet or SSH-interactive sessions, enter the
following command:
options autologout.telnet.enable [on|off]
Step
1. To change the timeout period for Telnet or SSH-interactive sessions, enter the following
command:
options autologout.telnet.timeout minutes
The range of minutes is 1 to 35,791. The maximum number is equal to approximately 596 hours,
or slightly less than 25 days. The default is 60 minutes.
You can have up to 24 concurrent RSH sessions running on a storage system, and you can have up to
4 concurrent RSH sessions running on each vFiler unit.
Next topics
When to use RSH commands with user names and passwords on page 71
Accessing a storage system from a UNIX client by using RSH on page 72
How to access the storage system | 71
Related concepts
The default security settings on page 50
How to specify administration hosts on page 80
Public-key-based authentication on page 56
Related tasks
Restricting protocol access on page 83
Adding administration hosts on page 81
Removing administration hosts on page 81
Restricting protocol access on page 83
Step
• If the UNIX host name and the user name you use are specified in the /etc/hosts.equiv
file on the root volume of the storage system, enter the rsh command in the following format:
rsh hostname_or_ip [-l username] command
Note: You can also specify the IP address by using the rsh.access option.
command is the Data ONTAP command you want to run over the RSH connection.
The following rsh command uses a user name, carl, and a password, mypass, to access the
storage system whose IP address is 192.0.2.66 to run the Data ONTAP version command:
The following rsh command runs the Data ONTAP version command from a UNIX host
that is specified in the /etc/hosts.equiv file of the storage system, myfiler:
Related tasks
Restricting protocol access on page 83
How to access the storage system | 73
Steps
Note: You can also specify the IP address by using the rsh.access option.
command is the Data ONTAP command you want to run over the RSH connection.
The following rsh command uses a user name, carl, and a password, mypass, to access the
storage system whose IP address is 192.0.2.66 to run the Data ONTAP version command:
Related tasks
Restricting protocol access on page 83
• orouted
• ping
• routed
• savecore
• setup
• traceroute
However, from an RSH session, you must enter the following command:
c:\> rsh toaster options cifs.home_dir \"\"
Step
The -t option displays the amount of time the command is running in milliseconds, in addition to
the information displayed by the -a option. The time information includes:
• The total time used for running the command
• The protocol connection time
• The host lookup (gethost) information time
Example
toaster> rshstat
Session Invocations: 9
Current Active Sessions: 2
Active High Sessions: 3
Maximum Available Sessions: 24
toaster> rshstat -a
Session Invocations: 9
Current Active Sessions: 2
Active High Sessions: 3
Maximum Available Sessions: 24
toaster> rshstat -t
Session Invocations: 9
Current Active Sessions: 2
Active High Sessions: 3
Maximum Available Sessions: 24
LUNs. You can also view statistics about network traffic. FilerView Help explains Data ONTAP
features and how to use them.
FilerView supports the following browsers:
• Microsoft Internet Explorer® 6 and 7
• Mozilla® Firefox® 2.0
• Mozilla Suite 1.7 or later
The following options control access to FilerView:
• httpd.admin.access
Restricts HTTP access to FilerView. If this value is set, trusted.hosts is ignored for
FilerView access.
• httpd.admin.enable
Enables HTTP access to FilerView.
• httpd.admin.ssl.enable
Enables HTTPS access to FilerView.
• httpd.admin.top-page.authentication
Specifies whether the top-level FilerView administration Web page prompts for user
authentication.
Note: On storage systems shipped with Data ONTAP 8.0 or later, secure protocols (including
SSH, SSL, and HTTPS) are enabled by default, and nonsecure protocols (including RSH, Telnet,
FTP, and HTTP) are disabled by default.
For information about how to use these options, see the na_options(1) man pages.
For information about using the secureadmin command to set up Secure Sockets Layer (SSL), see
the na_secureadmin(1) man page.
Next topics
Accessing a storage system from a client by using FilerView on page 76
The FilerView interface on page 78
Read-only access to FilerView on page 79
Related concepts
The default security settings on page 50
If your version of Microsoft Windows does not include Java support, you must download the Java
Runtime Environment (JRE) separately to ensure that FilerView functions properly.
To use FilerView over HTTP, ensure that the httpd.admin.enable option is set to on.
To use FilerView over HTTPS, ensure that the httpd.admin.ssl.enable option is set to on.
Steps
HTTPS https://filer_name_or_IP/na_admin
4. Click FilerView.
• If the storage system is password protected, you are prompted for a user name and password.
• If the storage system is not password protected, FilerView is launched, and a window appears
with a list of categories in the left pane and the System Status information in the right pane.
The following FilerView URL uses the fully qualified name of the storage system
(mysystem.mycompany.com) and HTTPS to access the storage system:
https://mysystem.mycompany.com/na_admin
The following FilerView URL uses the IPv4 address of the storage system (192.0.2.66) and
HTTP to access the storage system:
http://192.0.2.66/na_admin
Related concepts
How to manage SSL on page 61
The default security settings on page 50
Related concepts
Supported capability types on page 129
Next topics
Reasons to designate a workstation as an administrative host on page 79
Administration host privileges on page 80
Requirements for using a client on page 80
How to specify administration hosts on page 80
Adding administration hosts on page 81
Removing administration hosts on page 81
• As a share named C$, if the storage system is licensed for the CIFS protocol
• By NFS mounting, if the storage system is licensed for the NFS protocol
If you do not designate a workstation as an administration host, the storage system’s root file systems
are available to all workstations on the network. As a result, any user can gain access to the storage
system’s root file system and change or remove storage system configuration files in the /etc
directory.
You can designate additional administration hosts after setup by modifying the storage system’s NFS
exports and CIFS shares.
80 | Data ONTAP 8.0 7-Mode System Administration Guide
also specify a group of hosts using +@netgroup [username] to allow a particular user to access
the storage system from a group of hosts.
• If hostname_or_ip specifies an NFS client, or if +@netgroup specifies a group of NFS hosts,
the user name is optional. If you do not specify a user name, you must be the root user on that
NFS client or the root user on the host in the host group to execute a Data ONTAP command
through a Remote Shell connection.
• If hostname_or_ip specifies a CIFS client, you must enter the user name for that CIFS client.
The following example shows the contents of an /etc/hosts.equiv file:
nfsclient1
client1 carl
client1 peter
client2 lena
client2 root
client3 fred
client3 root
+@sysadmins joe smith
Steps
Steps
Next topics
Controlling Telnet access using host names on page 82
Restricting protocol access on page 83
Controlling mount privilege on page 84
Controlling file ownership change privileges on page 84
Controlling anonymous CIFS share lookups on page 85
Options that help maintain security on page 85
Allowing only secure access to the storage system on page 87
Related concepts
The default security settings on page 50
Steps
1. Access the storage system command line through the console or through a Telnet session.
2. Do one of the following:
If... Then...
You want to disable Telnet access for all hosts Enter the following command:
options trusted.hosts -
You want to restrict Telnet access to up to five Enter the following command:
hosts
options trusted.hosts host1[, ...,
host5]
You want to allow Telnet access for all hosts Enter the following command:
options trusted.hosts *
How to access the storage system | 83
Step
• protocol is the name of the protocol you want to allow access to the storage system. It can
be rsh, telnet, ssh, httpd, httpd.admin, snmp, ndmpd, snapmirror, or snapvault.
• hostname is the name of the host to which you want to allow access by using protocol.
• IP_address is the IP address of the host to which you want to allow access by using
protocol.
• interface_name is the network interface name of the host to which you want to allow
access by using protocol.
Note: If the telnet.access option is not set to legacy, the trusted.hosts option is
ignored for Telnet. If the httpd.admin.access option is not set to legacy, the
trusted.hosts option is ignored for httpd.admin. If the snapmirror.access option is
not set to legacy, the /etc/snapmirror.allow file is ignored for SnapMirror destination
checking.
For more information about controlling protocol access to a storage system by using multiple host
names, IP addresses, and network interfaces, see the na_protocolaccess(8) man page.
For information about SNMP, see the Data ONTAP 7-Mode Network Management Guide.
For information about NDMP, see the Data ONTAP 7-Mode Data Protection Tape Backup and
Recovery Guide.
For information about SnapMirror or SnapVault, see the Data ONTAP 7-Mode Data Protection
Online Backup and Recovery Guide.
Related tasks
Allowing only secure access to the storage system on page 87
84 | Data ONTAP 8.0 7-Mode System Administration Guide
Steps
1. Access the storage system command line through the console or through a Telnet session.
2. Do one of the following:
If you want to ... Enter the following command ...
Restrict the mount privilege to only the root user using options nfs.mount_rootonly on
privileged ports (ports 1 through 1,024)
Allow the mount privilege for all users on all ports options nfs.mount_rootonly off
Steps
1. Access the storage system command line through the console or through a Telnet session.
2. Do one of the following:
If... Then...
You want to restrict the privilege of changing directory Enter the following command:
and file ownership to the root user
options wafl.root_only_chown on
How to access the storage system | 85
If... Then...
You want to allow the privilege of changing directory Enter the following command:
and file ownership to all users
options wafl.root_only_chown off
Steps
1. Access the storage system command line through the console or through a Telnet session.
2. Do one of the following:
If ... Enter the following command ...
You do not want to set access restrictions for options cifs.restrict_anonymous 0
anonymous share lookups
You do not want to allow enumeration of users and options cifs.restrict_anonymous 1
shares
You want to fully restrict anonymous share lookups options cifs.restrict_anonymous 2
The default value for the cifs.restrict_anonymous option is 0. The restrictions do not apply
to mapped null users. For more information, see the na_options(1) man page.
Option Description
trusted.hosts Specifies up to five hosts that are allowed Telnet, RSH and
administrative HTTP (FilerView) access to the storage system for
administrative purposes. The default is set to an asterisk (*), which
allows access to all storage systems.
This value is ignored for Telnet access if the telnet.access
option is set. It is also ignored for administrative HTTP access if
the httpd.admin.access option is set.
86 | Data ONTAP 8.0 7-Mode System Administration Guide
Option Description
telnet.access Controls which hosts can access the storage system through a
Telnet session for administrative purposes.
You can restrict Telnet access to the storage system by specifying
host names, IP addresses, or network interface names. If this value
is set, the trusted.hosts option is ignored for Telnet.
telnet.distinct.enable Controls whether the Telnet and the SSH environments are shared
with or separate from the console environment.
When the option is set to off, a Telnet or an SSH session is shared
with a console session. A Telnet or an SSH user and a console user
can view each other's inputs or outputs, and they acquire the
privileges of the last Telnet, SSH, or console user who logged in.
You can keep the Telnet and the SSH environments separate from
the console environment by ensuring that the option is set to on.
If the setting for this option is changed during a Telnet or an SSH
session, the change does not go into effect until the next Telnet or
SSH login.
rsh.access Controls which hosts can access the storage system through a
Remote Shell session for administrative purposes.
You can restrict Remote Shell access to the storage system by
specifying host names, IP addresses, or network interface names.
ssh.access Controls which hosts can access the storage system through a
Secure Shell session for administrative purposes.
You can restrict Secure Shell access to the storage system by
specifying host names, IP addresses, or network interface names.
nfs.mount_rootonly Controls whether the storage system’s volumes can be mounted
from NFS clients only by the root user on privileged ports (ports 1
through 1,023) or by all users on all ports.
This option is applicable only if the NFS protocol is licensed.
wafl.root_only_chown Controls whether all users or only the root user can change
directory and file ownership.
This option is applicable only if the NFS protocol is licensed.
cifs.restrict_anonymous Controls whether anonymous CIFS users can look up CIFS shares,
users, or groups on a storage system.
This option is applicable only if the CIFS protocol is licensed.
How to access the storage system | 87
For more information about the options in this table, see the na_options(1) and the
na_protocolaccess(8) man pages.
Related tasks
Restricting protocol access on page 83
Steps
1. Use the secureadmin commands to set up and enable the secure protocols, SSH and SSL.
After you have set up SecureAdmin to enable SSH and SSL, the following options are set to on:
• options ssh.enable
• options ssh2.enable (if you enabled SSHv2 during SecureAdmin setup)
• options ssh.passwd_auth.enable
• options ssh.pubkey_auth.enable
• options httpd.admin.ssl.enable
Related concepts
Secure protocols and storage system access on page 49
The default security settings on page 50
How to access a storage system by using FilerView on page 75
Options that manage password rules on page 143
How to manage the root volume | 89
Unless the installer selected a unique volume name during setup, the default root volume name, /
vol/vol0, is used.
The root aggregate contains the root volume. Your storage system is shipped with the root volume in
a 32-bit aggregate. You can designate a different volume to be the new root volume. Starting in Data
ONTAP 8.0.1, you can use a 64-bit volume for the root volume.
By default, the storage system is set up to use a hard disk drive (HDD) aggregate for the root
aggregate. When no HDDs are available, the system is set up to use a solid-state drive (SSD)
aggregate for the root aggregate. If you want to change the root aggregate, you can choose either an
HDD aggregate or an SSD aggregate to be the root aggregate (by using aggr
options aggr_name root), provided that the corresponding type of disk drives are available on the
system.
For more information about traditional and FlexVol volumes, see the Data ONTAP 7-Mode Storage
Management Guide.
Next topics
Recommendations regarding the root volume on page 89
Size requirement for root FlexVol volumes on page 91
Default directories in the root volume on page 92
How to access the default directories on the storage system on page 97
Changing the root volume on page 100
Related concepts
Size requirement for root FlexVol volumes on page 91
Related tasks
Changing the root volume on page 100
Note: You cannot increase the root volume to more than 95 percent of the available aggregate size.
The output of df -A displays the space used by the aggregates in the system.
The minimum array LUN size shown in the V-Series Support Matrix does not apply to the root
volume.
Next topics
Permissions for the default directories on page 92
The /etc directory on page 93
Next topics
The configuration files on page 93
How you edit configuration files on page 94
Enabling an NFS client to edit configuration files on page 95
Editing configuration files from a CIFS client on page 96
The /etc/messages file on page 96
The /etc/usermap.cfg file and the /etc/quotas file on page 96
For more information about the quotas file, see the Data ONTAP 7-Mode Storage Management
Guide. For more information about other editable configuration files, see the man pages.
Related concepts
Startup configuration for the storage system on page 165
Attention: When you configure Data ONTAP, it creates some files that you should not edit. The
following configuration files should not be edited:
• cifsconfig.cfg
• cifssec.cfg
• cluster_config/*
• lclgroups.cfg
• filesid.cfg
• sysconfigtab
• registry.*
The following table provides the hard limits for some of the configuration files in the /etc directory.
Steps
Steps
Related concepts
Message logging on page 160
How to access the default directories on the storage system on page 97
Related tasks
Accessing log files using HTTP or HTTPS on page 100
workstation. Data ONTAP can detect whether a file was edited and saved by a Unicode-capable
editor, such as Notepad. If so, Data ONTAP considers all entries in the file to be in Unicode.
Otherwise, Data ONTAP considers the entries to be in the root volume UNIX encoding. Standard
Generalized Markup Language (SGML) entities are allowed only in the root volume UNIX
encoding.
Next topics
Accessing the /etc directory from an NFS client on page 97
Accessing the /etc directory from a CIFS client on page 97
Accessing the /etc directory with FTP on page 98
Accessing the /home directory from an NFS client on page 98
Accessing the /home directory from a CIFS client on page 99
Accessing the /home directory with FTP on page 99
Accessing log files using HTTP or HTTPS on page 100
Steps
mountpoint is the name of the storage system’s mountpoint on the NFS client.
Steps
\\filer\C$
Steps
1. Enable FTP access on the storage system by entering the following command:
options ftpd.enable on
2. Set the default home directory to /etc by entering the following command:
options ftpd.dir.override /vol/vol0/etc
For more information about FTP, see the Data ONTAP 7-Mode File Access and Protocols
Management Guide and the na_options(1) man page.
3. Connect to the storage system from a client by using FTP.
4. Use the FTP get command to copy files from the storage system to your client so you can edit
them.
5. Use the FTP put command to copy the edited files from your client to the storage system.
Related concepts
The default security settings on page 50
Step
Step
Note: You can also browse the Network Neighborhood to locate the storage system and the /
home directory.
Steps
1. Enable FTP access on the storage system by entering the following command:
options ftpd.enable on
For more information about FTP, see the Data ONTAP 7-Mode File Access and Protocols
Management Guide and the na_options(1) man page.
3. Connect to the storage system from a client by using FTP.
4. Use the FTP get command to copy files from the storage system to your client so you can edit
them.
5. Use the FTP put command to copy the edited files from your client to the storage system.
Related concepts
The default security settings on page 50
100 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
Related concepts
The default security settings on page 50
How to access a storage system by using FilerView on page 75
Related tasks
Allowing only secure access to the storage system on page 87
Steps
1. Identify an existing volume to use as the new root volume, or create the new root volume using
the vol create command.
For more information about creating volumes, see the Data ONTAP 7-Mode Storage
Management Guide.
2. Using ndmpcopy, copy the /etc directory and all of its subdirectories from the current root
volume to the new root volume. For more information about ndmpcopy, see the Data ONTAP 7-
Mode Data Protection Tape Backup and Recovery Guide.
3. Enter the following command:
vol options vol_name root
If the volume does not have at least 2 GB of free space, the command fails and an error message
appears.
After a volume is designated to become the root volume, it cannot be brought offline or restricted.
Note: Besides the volume root option that you use to determine which volume will be the root
volume after the next storage system reboot, there is also an aggregate root option. The
aggregate root option is used only when, for some reason, the storage system cannot
determine which volume to use as the root volume.
If you move the root volume outside the current root aggregate, you must also change the value
of the aggregate root option (using aggr options aggr_name root) so that the aggregate
containing the root volume becomes the root aggregate. Starting in Data ONTAP 8.0.1, you
can use a 64-bit aggregate for the root aggregate. If you change the root aggregate, a new root
volume is created during the subsequent boot only when the aggregate does not already contain
a FlexVol designated as the root volume and when the aggregate has at least 2 GB of free
space.
For more information about the aggregate root option, see the na_aggr(1) man page.
When the storage system finishes rebooting, the root volume is changed to the specified volume.
5. Update the httpd.rootdir option to point to the new root volume.
102 | Data ONTAP 8.0 7-Mode System Administration Guide
Related concepts
Recommendations regarding the root volume on page 89
Size requirement for root FlexVol volumes on page 91
How to start and stop the storage system | 103
Next topics
How to boot the storage system on page 103
About rebooting the storage system on page 110
Halting the storage system on page 112
Next topics
Ways to boot the storage system on page 103
Booting the storage system at the storage system prompt on page 104
Booting Data ONTAP at the boot environment prompt on page 107
Booting Data ONTAP remotely on page 108
Recovering from a corrupted image of the boot device on page 109
Checking available Data ONTAP versions on page 110
Boots the current Data ONTAP software release stored on the boot device (such as a PC
CompactFlash card). By default, the storage system automatically boots this release if you do not
select another option from the basic menu.
• boot_primary
Boots the Data ONTAP release stored on the boot device as the primary kernel. This option
overrides the firmware AUTOBOOT_FROM environment variable if it is set to a value other
than PRIMARY. By default, the boot_ontap and boot_primary commands load the same
kernel.
• boot_backup
Boots the backup Data ONTAP release from the boot device. The backup release is created
during the first software upgrade to preserve the kernel that shipped with the storage system. It
provides a “known good” release from which you can boot the storage system if it fails to
automatically boot the primary image.
• boot_diags
Boots a Data ONTAP diagnostic kernel. For more information, see the Diagnostics Guide.
Other boot options should be used only under the direction of technical staff.
Note: Starting in Data ONTAP 8.0, netboot is not a supported function, unless you are restoring
the Data ONTAP image on the boot device, such as a PC CompactFlash card. If you need to boot
the storage system from a Data ONTAP image stored on a remote server, contact technical
support. For information about how to replace a boot device or restore the Data ONTAP image on
the boot device, see the Replacing a boot device flyer that is applicable to the version of Data
ONTAP used by your platform.
Steps
reboot
3. If you want to select from a menu of alternative boot modes, press Ctrl-C to display the special
boot menu when prompted to do so.
The storage system displays the following boot menu:
1) Normal Boot.
2) Boot without /etc/rc.
3) Change password.
4) Clean configuration and initialize all disks.
5) Maintenance mode boot.
6) Update flash from backup config.
7) Install new software first.
8) Reboot node.
Selection (1-8)?
4. Select one of the boot types by entering the corresponding number.
To ... Select ...
Continue to boot the 1) Normal Boot
storage system normally
Troubleshoot and repair 2) Boot without /etc/rc.
configuration problems
Note: Booting without /etc/rc causes the storage system to use only
default options settings; disregard all options settings you put in /etc/rc;
and disable some services, such as syslog.
This menu option reboots the storage system before initializing the disks.
For a V-Series system that has a disk shelf, this menu option initializes only
the disks on the disk shelf, not the array LUNs. For a V-Series system that does
not have a disk shelf, this menu option initializes the root volume on the
storage array.
After the initialization procedure has finished, the setup script starts and
prompts you for configuration information. For information about setting up
the storage system, see the Data ONTAP 7-Mode Software Setup Guide.
Note: Data ONTAP 8.0 or later does not allow you to create a new
traditional root volume from the boot menu. However, preexisting
traditional root volumes are still supported.
For additional information about the boot menu, see the na_floppyboot(1) man page.
Steps
1. If you are at the storage system prompt, enter the following command:
halt
The Data ONTAP primary image from the boot device boot_primary
The Data ONTAP backup image from the boot device boot_backup
Note: For more information about commands available from the boot prompt, enter help at
the firmware prompt for a list of commands or help command for command details.
108 | Data ONTAP 8.0 7-Mode System Administration Guide
Steps
1. From the administration host, log in to the remote management device by entering the following
command:
ssh username@IP_for_remote_management_device
The CLI prompt for the remote management device, which can be one of the following depending
on the storage system model, appears.
SP toaster>
RLM toaster>
bmc shell>
2. To turn on the storage system, enter the following command at the CLI prompt for the remote
management device:
system power on
3. To access the system console, enter the following command at the CLI prompt for the remote
management device:
system console
To boot... Enter...
The Data ONTAP primary image from the boot device boot_primary
The Data ONTAP backup image from the boot device boot_backup
Related concepts
Ways to boot the storage system on page 103
Managing storage systems remotely on page 189
Prerequisites for logging in to the SP on page 0
How to log in to the RLM on page 221
How to log in to the BMC on page 253
How to start and stop the storage system | 109
Steps
1. Log in to the remote management device by entering the following command at the
administration host:
ssh username@IP_for_remote_management_device
The CLI prompt for the remote management device, which can be one of the following depending
on the storage system model, appears.
SP toaster>
RLM toaster>
bmc shell>
2. At the CLI prompt for the remote management device, perform one of the following steps:
• To reboot the storage system by using the primary image, enter the following command:
system reset primary
• To reboot the storage system by using the backup image, enter the following command:
system reset backup
Note: For the BMC, the system reset command is an advanced command. You should use
advanced commands only when technical support directs you to do so.
3. Enter y to continue.
The storage system shuts down abruptly. If the NVRAM contains data, the RED internal LED
(seen through the face plate of the system) blinks. When the system is rebooted, the NVRAM
automatically and transparently replays the data transactions.
Related concepts
Ways to boot the storage system on page 103
Managing storage systems remotely on page 189
Prerequisites for logging in to the SP on page 0
How to log in to the RLM on page 221
How to log in to the BMC on page 253
110 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
If you enter version, the console displays the version number of Data ONTAP that is currently
running.
If you enter version -b, the console displays information from the boot device, including name
and version information for the primary, secondary (if present), and diagnostic kernels, and the
firmware.
For more information, see the na_version(1) manual page.
Next topics
Rebooting the storage system from the system console on page 111
Rebooting the storage system remotely on page 111
How to start and stop the storage system | 111
Steps
1. Send an advance warning to CIFS users to alert them to save their files and close any
applications.
Attention: Never interrupt CIFS service by halting the storage system without giving advance
warning to CIFS users. Halting the CIFS service without giving CIFS users enough time to
save their changes can cause data loss.
-t minutes is the amount of time that elapses before the reboot occurs.
Steps
1. From the administration host, log in to the remote management device by entering the following
command:
ssh username@IP_for_remote_management_device
The CLI prompt for the remote management device, which can be one of the following depending
on the storage system model, appears.
SP toaster>
RLM toaster>
bmc shell>
2. At the CLI prompt for the remote management device, enter the following command to access the
system console:
system console
3. At the storage system prompt, enter the following command to reboot the storage system:
reboot
Related concepts
Ways to boot the storage system on page 103
Managing storage systems remotely on page 189
112 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
-d dump_string causes the storage system to perform a core dump before halting. You use
dump_string to describe the reason for the core dump. The message for the core dump will
include the reason specified by dump_string.
Attention: Using halt -d causes an improper shutdown of the storage system (also called a
dirty shutdown). Avoid using halt -d for normal maintenance shutdowns. For more details,
see the na_halt(1) man page.
-t interval causes the storage system to halt after the number of minutes you specify for the
interval.
-f prevents one partner in a high-availability configuration from taking over the other after the
storage system halts.
How to start and stop the storage system | 113
The storage system displays the boot prompt. When you see the boot prompt, you can turn the
power off.
How to manage administrator and diagnostic access | 115
Next topics
Reasons for creating administrator accounts on page 115
Root access to the storage system on page 118
How to manage users on page 120
How to manage groups on page 123
How to manage roles on page 127
Users, groups, and roles on page 133
Administrative user creation examples on page 138
How to manage passwords for security on page 140
The diagnostic account and the systemshell on page 146
For more information about authenticating users using Windows domains, see the section on user
accounts in the CIFS chapter of the Data ONTAP 7-Mode File Access and Protocols
Management Guide.
Next topics
What users, groups, roles, and capabilities are on page 116
How users are assigned capabilities on page 117
Requirements for naming users, groups, and roles on page 117
Windows special groups on page 117
About changing capabilities of other groups and roles on page 118
user: An account that is authenticated on the storage system. Users can be placed into storage
system groups to grant them capabilities on the storage system.
domainuser: A nonlocal user who belongs to a Windows domain and is authenticated by the
domain. This type of user can be put into storage system groups, thereby being
granted capabilities on the storage system. This only works if CIFS has been set up
on the storage system.
group: A collection of users and domainusers that can be granted one or more roles. Groups can
be predefined, created, or modified. When CIFS is enabled, groups act as Windows groups.
role: A set of capabilities that can be assigned to a group. Roles can be predefined, created, or
modified.
capability: The privilege granted to a role to execute commands or take other specified actions.
Types of capabilities include:
• Login rights
• Data ONTAP CLI (command-line interface) rights
• Data ONTAP API (application programming interface) rights
• Security rights
How to manage administrator and diagnostic access | 117
Note: If the name contains spaces or special characters, enclose the name in double quotes (" ")
when you use it in a command.
• Terminal User
Next topics
Disabling root access to the storage system on page 119
Displaying the status of root access on page 119
Related concepts
Supported capability types on page 129
How to manage administrator and diagnostic access | 119
Step
Step
Full Name:
Allowed Capabilities: *
Password min/max age in days: 0/never
Status: disabled
Next topics
Creating users and assigning them to groups on page 120
Granting access to Windows domainusers on page 122
How to grant permissions for MMC on page 123
About changing another user's capabilities on page 123
Steps
• Use useradmin user add to create a new user. Use useradmin user modify to modify
the attributes of an existing user.
• user_name is the user whose name you want to assign to a customized or predefined group.
The user name is case insensitive and can be up to 32 characters long.
If user_name contains a space, enclose user_name in double quotes (" ").
• comments specifies a maximum 128-character comment that can be viewed through the
useradmin user list command. Comments cannot contain a colon character (:).
How to manage administrator and diagnostic access | 121
The specified user is listed along with the groups, roles, and capabilities that the user has
inherited.
Related concepts
Predefined groups on page 124
Requirements for naming users, groups, and roles on page 117
Related tasks
Assigning roles to groups by creating or modifying a group on page 125
122 | Data ONTAP 8.0 7-Mode System Administration Guide
Steps
1. To assign a Windows domainuser to a custom or predefined group, enter the following command:
useradmin domainuser add win_user_name -g {custom_group|
Administrators|"Backup Operators"|Guests|"Power Users"|Users}[,...]
win_user_name is the Windows domainuser whose name or Security ID (SID) you want to
assign to a customized or predefined group. This value can be in one of the following formats:
• name
Note: If you do not specify the domain name, the domain is the storage system, and the
user is considered distinct from any user in the Windows domain with the same user name.
• domain\name
• textual_sid_S-x-y-z
For more information about these formats, see the na_cifs_lookup(1) man page.
custom_group is a customized group with roles assigned through the useradmin group
command.
Administrators | "Backup Operators" | Guests | "Power Users" | Users are
groups predefined by Data ONTAP with default roles and capabilities.
Example
The following command adds the user userjoe in the MyDomain domain to the Power Users
group and effectively grants MyDomain\userjoe all administrator capabilities that are granted to
the Power Users group through the roles that have been assigned to it.
useradmin domainuser add MyDomain\userjoe -g "Power Users"
The SID of the user in question is among those listed in the output of this command.
Related concepts
How to manage users on page 120
How to manage administrator and diagnostic access | 123
• Add nonlocal users (users that exist on the domain) by using the useradmin domainuser
add domain\username -g Administrators command.
• Use the MMC on the domain to add domain\username to the Domain Admins group.
Related tasks
Creating users and assigning them to groups on page 120
Granting access to Windows domainusers on page 122
If you want to change the password of another user, your account must also be assigned to a group
that has the security-password-change-others capability.
Next topics
Predefined groups on page 124
Assigning roles to groups by creating or modifying a group on page 125
Renaming a group on page 126
Loading groups from the lclgroups.cfg file on page 126
Setting the maximum number of auxiliary UNIX groups allowed for a user on page 127
Predefined groups
You can assign a user or domainuser to a predefined set of groups and roles provided by Data
ONTAP. The predefined groups include Administrators, Power Users, Compliance
Administrators, Backup Operators, Users, Guests, and Everyone.
Related concepts
Predefined roles on page 128
Supported capability types on page 129
Steps
1. Use the useradmin group add command to create a new group or the useradmin group
modify command modify a group, by entering the following command:
useradmin group {add|modify} group_name [-c comments] [-r {custom_role|
root|admin|power|backup|compliance|audit}[,...]]
group_name is the group that you want to create or to which you want to assign one or more
roles. Group names are case insensitive and can be up to 256 characters.
Note: Do not create groups with the same name as any of the Windows special groups or any
existing users.
custom_role is a customized role with capabilities assigned through the useradmin role
add command.
root, admin, power, backup, compliance, and audit are roles predefined with default
capabilities by Data ONTAP.
Example
The following command gives the group “admin users” capabilities associated with the admin
role, and removes any roles previously assigned to the admin_users group.
useradmin group modify "admin users" -r admin
The roles and capabilities assigned to the group in question are listed in the output of this
command.
Related concepts
Requirements for naming users, groups, and roles on page 117
Windows special groups on page 117
126 | Data ONTAP 8.0 7-Mode System Administration Guide
Renaming a group
You can change the name of an existing group.
Step
new_group_name is the name you want the group to have after the change.
Note: Do not attempt to rename a group with the same name as any of the Windows special
groups.
Related concepts
Windows special groups on page 117
Steps
1. Using a client, copy the new lclgroups.cfg file to the /etc directory, giving it a different
name.
2. Enter the following command:
useradmin domainuser load new_lclgroups.cfg_filename
The groups in the current lclgroups.cfg file are unloaded from memory and the groups in the
new lclgroups.cfg file are loaded into memory. In addition, the current lclgroups.cfg file
is moved to lclgroups.cfg.bak, and a new lclgroups.cfg file is created from the file you
specified.
Setting the maximum number of auxiliary UNIX groups allowed for a user
If you use Kerberos V5 authentication, the maximum number of auxiliary UNIX groups that a user
can be a member of is 32 by default. You can increase the maximum to 256 groups by setting the
nfs.max_num_aux_groups option to 256.
Step
1. To change the maximum number of auxiliary UNIX groups that a user can be a member of, enter
the following command:
options nfs.max_num_aux_groups [32 | 256]
For more information about the nfs.max_num_aux_groups option, see the na_options(1) man
page.
Next topics
Predefined roles on page 128
Supported capability types on page 129
Creating a new role and assigning capabilities to roles on page 131
Modifying an existing role or its capabilities on page 132
128 | Data ONTAP 8.0 7-Mode System Administration Guide
Predefined roles
The predefined roles Data ONTAP provides include root, admin, power, backup, compliance,
audit, and none.
The following table describes the roles that are predefined by Data ONTAP.
Role Default capability assignments Summary of default granted
capabilities
root * Grants all possible capabilities.
admin cli-*, api-*, login-*, Grants all CLI, API, login, and
security-* security capabilities.
power cli-cifs*, cli-exportfs*, Grants the ability to :
cli-nfs*, cli-useradmin*,
• Invoke all cifs, exportfs,
api-cifs-*, api-nfs-*,
nfs, and useradmin CLI
login-telnet, login-
commands
http-admin, login-rsh,
login-ssh,api-system- • Make all cifs and nfs API
api-* calls
• Log in using Telnet, HTTP,
RSH, and SSH sessions
Related concepts
Predefined groups on page 124
Supported capability types on page 129
How to manage administrator and diagnostic access | 129
Related tasks
Assigning roles to groups by creating or modifying a group on page 125
cli Grants the specified role the capability to execute one or more Data ONTAP
command line interface (CLI) commands.
cli-* grants the specified role the capability to execute all supported CLI
commands.
cli-cmd* grants the specified role the capability to execute all commands
associated with the CLI command cmd.
For example, the following command grants the specified role the capability to
execute all vol commands:
useradmin role modify status_gatherer -a cli-vol*
Note: Users with cli capability also require at least one login capability to
execute CLI commands.
130 | Data ONTAP 8.0 7-Mode System Administration Guide
api Grants the specified role the capability to execute Data ONTAP API calls.
api-* grants the specified role all API capabilities.
api-api_call_family-* grants the specified role the capability to call all API
routines in the family api_call_family.
api-api_call grants the specified role the capability to call the API routine
api_call.
Note:
You have more fine-grained control of the command set with the api capabilities
because you can give subcommand capabilities as well.
Users with api capability also require the login-http-admin capability to
execute API calls.
compliance Grants the specified role the capability to execute compliance-related operations.
compliance-* grants the specified role the capability to execute all compliance-
related operations.
compliance-privileged-delete grants the specified role the capability to
execute privileged deletion of compliance data.
Note: The compliance capabilities (compliance-*) are included in the default
capabilities of the compliance role. The compliance capabilities cannot be
removed from the compliance role or added to other roles.
How to manage administrator and diagnostic access | 131
Related concepts
About changing another user's capabilities on page 123
Predefined roles on page 128
Predefined groups on page 124
Related tasks
Loading groups from the lclgroups.cfg file on page 126
Creating a new role and assigning capabilities to roles on page 131
Assigning roles to groups by creating or modifying a group on page 125
Steps
role_name is the name of the role you want to create. Role names are case insensitive and can
be 1-32 characters.
comments is a short string you can use to document this role.
The capability parameters are the types of access you want to grant to this new role.
Example
You can also grant API capabilities for API command families. For example, to grant the myrole
role only the capability to run CIFS commands, you use the following command:
useradmin role add myrole -a api-cifs-*
Related concepts
About changing another user's capabilities on page 123
Requirements for naming users, groups, and roles on page 117
Steps
The capability parameters are the types of access you want to grant to this role.
The -f option forces the change without a warning.
Example
The following command line assigns the role “class2loginrights” telnet capabilities, console login
capabilities, and all CLI capabilities, while removing any other capabilities that the role was
granted previously.
useradmin role modify class2loginrights -c “This role is for telnet and
console logins” -a login-telnet,login-console,cli-*
Next topics
Commands that list users, domainusers, groups, or roles on page 133
Commands that delete users, domainusers, groups, or roles on page 137
Command Description
useradmin domainuser list -g Lists the SIDs of all Windows domain administrative
group_name users assigned to a specified group.
To list the user name, comment information, and the
groups that each user belongs to, follow up with
cifs lookup and useradmin user list
commands.
Note: The Rid value of 500 for the Administrator
user corresponds to the last number in the
Administrator user’s SID.
useradmin group list Lists all the administrative user groups configured for
this storage system. Each group entry includes the
group name, comment information, user ID number
generated by Data ONTAP, and every role associated
with that group.
useradmin group list group_name Lists the extended details for a specified single group.
An extended entry for a single group includes the
group name, comment information, roles assigned to
that group, and allowed capabilities.
useradmin role list Lists all the roles configured for this storage system.
Each role entry lists the role name, comment
information, and allowed capabilities.
useradmin role list role_name Lists the information for a single specified role name.
Name: administrator
Info: Built-in account for administering the filer
Rid: 500
Groups: Administrators
Name: fred
Info: This is a comment for fred.
Rid: 131343
How to manage administrator and diagnostic access | 135
Groups: Users
...
Name: fred
Info: This is a comment for fred
Rid: 131343
Groups: Users
Full Name:
Allowed Capabilities: login-http-admin,api-snmp-get,api-snmp-get-next
Password min/max age in days: 0/4294967295
Status: enabled
...
Name: marshall
Info:
Rid: 131454
Groups: Administrators
136 | Data ONTAP 8.0 7-Mode System Administration Guide
...
Roles: admin
Allowed Capabilities: login-*,cli-*,api-*,security-*
Name: audit
Info:
Allowed Capabilities: login-http-admin,api-snmp-get,api-snmp-get-next
Name: none
Info:
Allowed Capabilities:
...
Command Description
useradmin domainuser delete Removes the specified user from the specified group
win_user_name -g group1,[group2,...] or groups. User names are case insensitive.
This command does not delete the user from the
domain.
Note: If you want to completely delete a user from
the storage system, use the useradmin user delete
command instead.
useradmin group delete group_name Deletes the specified group from the storage system.
Group names are case insensitive.
Note: All users must be removed from a group
before the group itself can be deleted.
useradmin role delete role_name Deletes the specified role from the storage system.
Role names are case insensitive.
Note: A role that is still assigned to a group cannot
be deleted.
Next topics
Example of creating a user with custom capabilities on page 138
Example of creating a user with no administrative capabilities on page 139
• Create a user, “wilma” and assign that user to the ssh_qtree_admins group. As a member of the
ssh_qtree_admins group, user wilma now inherits the capabilities from the roles assigned to that
group.
• Display the details and capabilities inherited by the new user wilma.
Steps
You can change the password rules by using the security.passwd.rules options. For more
information about the password rule options, see the na_options(1) man page.
• Password history
The password history feature enables you to require users to create new passwords that are
different from a specified number of previously used passwords, rather than simply using the
same password every time. You use the security.passwd.rules.history option to specify
how many unique passwords users need to create before they can reuse a password.
For storage systems shipped with Data ONTAP 8.0 or later, the default value is 6. In this case, the
password a user creates cannot be the same as any of that user's last six passwords.
For storage systems upgraded to Data ONTAP 8.0 or later from an earlier release, the setting for
the security.passwd.rules.history option stays the same as before the upgrade.
For more information, see the na_options(1) man page.
• Password expiration (maximum age)
The password expiration feature enables you to require that users change their passwords before
they have had the password for the specified number of days. You use the -M option of the
useradmin user add or the useradmin user modify command to specify the maximum
password duration for individual users. The default value is 4,294,967,295. For more information,
see the na_useradmin(1) man page.
How to manage administrator and diagnostic access | 141
Note: Before using the password expiration feature, make sure your storage system time is set
correctly. If you use password expiration before the date is set correctly, accounts could expire
before or after the desired expiration date.
• Password lockout
The password lockout feature enables you to lock out users (except the root account) after a
specified number of unsuccessful login attempts. This is to prevent an unauthorized user from
attempting to guess a password. You use the security.passwd.lockout.numtries option to
specify the number of tries a user can make before being locked out of the system. The default
value is 4,294,967,295. For more information, see the na_options(1) man page.
• Password reset requirement
The password reset requirement enables you to require that all new users (except for root) reset
their passwords when they log in for the first time. Users must also reset their passwords the first
time they log in after an administrator has changed their password.
You set the security.passwd.firstlogin.enable option to on to enable this requirement.
The default value is off.
For more information, see the na_options(1) man page.
Next topics
Changing the storage system password on page 141
Changing a local user account password on page 142
Options that manage password rules on page 143
Step
Telnet session or the a. Enter the following command at the storage system prompt:
console
passwd
b. Enter the storage system account name:
root
c. Enter the existing storage system password (not required if you are root or
have the security-passwd-change-others capability).
d. Enter a new password, and then enter it a second time to confirm it.
Remote Shell connection Enter the following command from a UNIX host:
rsh system_name -l root:root_password passwd
old_password new_password root
Secure Shell connection Enter the following command from a UNIX host:
ssh -l root system_name passwd old_password
new_password root
Related concepts
The default security settings on page 50
Step
Related concepts
The default security settings on page 50
Password rule option (used with the options What the option does
command)
security.passwd.lockout.numtries num Specifies the number of allowable login attempts
before a nonroot user’s account is disabled.
The default value for this option is 4,294,967,295.
security.passwd.rules.enable {on| Specifies whether a check for password composition
off} is performed when new passwords are specified.
If this option is set to on, passwords are checked
against the rules specified in this table, and the
password is rejected if it does not pass the check.
If this option is set to off, the check is not
performed.
The default value for this option is on.
This option does not apply to the users root or
Administrator (the NT Administrator account) if
security.passwd.rules.everyone is set to
off.
security.passwd.rules.everyone {on| Specifies whether a check for password composition
off} is performed for all users, including the users root and
Administrator.
If this option is set to off, the checks do not apply to
root or Administrator. The checks still apply to all
other users unless the
security.passwd.rules.enable option is
also set to off.
For storage systems shipped with Data ONTAP 8.0 or
later, the default value for this option is on.
For storage systems upgraded from a release earlier
than Data ONTAP 8.0, the setting for this option stays
the same as before the upgrade.
security.passwd.rules.history num Specifies the number of previous passwords that are
checked against a new password to disallow repeats.
For storage systems shipped with Data ONTAP 8.0 or
later, the default value for this option is 6. In this case,
the password cannot be the same as any of the last six
passwords.
For storage systems upgraded from a release earlier
than Data ONTAP 8.0, the setting for this option stays
the same as before the upgrade.
If the security.passwd.rules.enable
option is set to off, this option is ignored.
How to manage administrator and diagnostic access | 145
Password rule option (used with the options What the option does
command)
security.passwd.rules.maximum Specifies the maximum number of characters a
max_num password can have.
The default value for this option is 256.
Note:
This option can be set to a value greater than 16,
but a maximum of 16 characters are used to match
the password.
Users with passwords longer than 14 characters
will not be able to log in via the Windows
interfaces, so if you are using Windows, do not set
this option higher than 14.
If the security.passwd.rules.enable
option is set to off, this option is ignored.
security.passwd.rules.minimum Specifies the minimum number of characters a
min_num password must have.
The default value for this option is 8.
If the security.passwd.rules.enable
option is set to off, this option is ignored.
security.passwd.rules.minimum.alphab Specifies the minimum number of alphabetic
etic min_num characters a password must have.
The default value for this option is 2.
If the security.passwd.rules.enable
option is set to off, this option is ignored.
security.passwd.rules.minimum.digit Specifies the minimum number of digit characters a
min_num password must have. These are numbers from 0 to 9.
The default value for this option is 1.
If the security.passwd.rules.enable
option is set to off, this option is ignored.
security.passwd.rules.minimum.symbol Specifies the minimum number of symbol characters
min_num (including white space and punctuation characters) a
password must have.
The default value for this option is 0.
If the security.passwd.rules.enable
option is set to off, this option is ignored.
146 | Data ONTAP 8.0 7-Mode System Administration Guide
Next topics
Enabling and disabling the diagnostic account on page 146
Setting the password for the diagnostic account on page 147
Accessing the systemshell on page 148
Steps
1. Set your privilege level to advanced by entering the following command at the storage system
prompt:
priv set advanced
Steps
1. Set your privilege level to advanced by entering the following command at the storage system
prompt:
priv set advanced
2. Enter the following command at the storage system prompt to set the password for the diagnostic
account:
useradmin diaguser password
Steps
1. If necessary, change the privilege level to advanced by entering the following command at the
storage system prompt:
priv set advanced
3. To exit the systemshell and return to the storage system prompt, enter the following command:
exit
nodename*>systemshell
login: diag
Password:
Last login: Thu Mar 26 19:35:55 from localhost
%whoami
diag
%exit
logout
nodename*>
The following example shows the screen output of the systemshell command when the
diagnostic account is disabled.
nodename*>systemshell
login: diag
Password:
Login incorrect
login: diag
Password:
Login incorrect
(CTRL-C)
nodename*>
Related tasks
Enabling and disabling the diagnostic account on page 146
Setting the password for the diagnostic account on page 147
General system maintenance | 151
Next topics
Special system files on page 151
Aggregate Snapshot copy management on page 151
Ways to manage licenses on page 154
Setting the system date and time on page 156
Synchronizing the system time on page 157
Displaying and setting the system time zone on page 158
Core files on page 159
Message logging on page 160
Audit logging on page 163
Startup configuration for the storage system on page 165
Storage system configuration backup and cloning on page 168
About writing and reading files on the storage system on page 170
UPS management on page 172
to be recorded. However, you do not restore data directly from an aggregate Snapshot copy. To
restore data, you use a volume Snapshot copy.
You use aggregate Snapshot copies in the following situations:
• If you are using MetroCluster or RAID SyncMirror and you need to break the mirror, an
aggregate Snapshot copy is created automatically before breaking the mirror to decrease the time
it takes to resync the mirror later.
• If you are making a global change to your storage system, and you want to be able to restore the
entire system state if the change produces unexpected results, you take an aggregate Snapshot
copy before making the change.
• If the aggregate file system becomes inconsistent, aggregate Snapshot copies can be used by
technical support to restore the file system to a consistent state.
For more information about Snapshot copies, see the Data ONTAP 7-Mode Data Protection Online
Backup and Recovery Guide.
Next topics
How to create aggregate Snapshot copies on page 152
Aggregate Snapshot reserve on page 152
Automatic aggregate Snapshot copy deletion on page 153
Disabling automatic aggregate Snapshot copy creation on page 154
Related tasks
Disabling automatic aggregate Snapshot copy creation on page 154
In most cases you should leave automatic aggregate Snapshot copy deletion enabled. If this option is
turned off for a particular aggregate, then every volume in that aggregate requires up to two times its
size in order to satisfy a space guarantee of volume.
However, in some specific situations, you may need to disable automatic aggregate Snapshot copy
deletion temporarily. For example, if one plex of a RAID SyncMirror aggregate has to be offline for
some time, you would want to make sure that the SyncMirror-based Snapshot copy is not
automatically deleted.
To disable automatic aggregate Snapshot copy deletion, you use the aggr options command. For
example, to turn off automatic aggregate Snapshot copy deletion for the aggregate myAggr, you
would use the following command:
aggr options myAggr snapshot_autodelete off
Note: If you do not have sufficient free space in your aggregate to satisfy the new space
requirements when you turn off automatic aggregate Snapshot copy deletion, then space
154 | Data ONTAP 8.0 7-Mode System Administration Guide
guarantees will be disabled for one or more of your volumes. For this reason, you should plan to
reenable automatic aggregate Snapshot copy deletion as quickly as possible.
Steps
1. Disable automatic aggregate Snapshot copy creation by entering the following command:
aggr options aggr_name nosnap on
aggr_name is the name of the aggregate for which you want to disable automatic Snapshot copy
creation.
2. Delete all Snapshot copies in the aggregate by entering the following command:
snap delete -A -a aggr_name
3. Set the aggregate Snapshot reserve to 0 percent by entering the following command:
snap reserve -A aggr_name 0
Next topics
Adding a license on page 155
Displaying current license codes on page 155
Disabling a license on page 155
Adding a license
If a service requires license, you must add the license code to the storage system before you can use
the service.
Step
code is the license code provided to you by your sales person or technical support.
Step
Data ONTAP displays a list of the licenses that are enabled and their codes.
Disabling a license
You can disable a licensed service, making it unavailable for the storage system.
Step
Steps
1. Access the storage system command line through the console or through a Telnet session.
2. Enter the following command, substituting the current date and time for the number string:
date [-u] [[[CC]yy]mmddhhmm[.ss]]
-u sets the date and time to Greenwich Mean Time instead of the local time.
mm is the current month. If the month is omitted, the default is the current month.
dd is the current day. If the day is omitted, the default is the current day.
Note: If the first two digits of the year are omitted, they default to 20; if all four digits are
omitted, they default to the current year. Time changes for daylight saving and standard time,
and for leap seconds and years, are handled automatically.
General system maintenance | 157
Steps
1. If the current time for the storage system is not fairly close to the actual time, use the date
command to set the system time to the correct time.
2. Set the appropriate timed options by using the options command at the storage system prompt.
At a minimum, you must ensure that the timed.proto option is set to ntp, and set the
timed.servers option to at least one valid time server.
You must also ensure that the timed.enable option is set to on.
For more information about the timed options, see the na_options(1) man page.
Related tasks
Setting the system date and time on page 156
For more detailed information on the timed options, see the na_options(1) man page.
toast> date
Thu Dec 9 13:49:10 PST 2004
toast> options timed.proto ntp
toast> options timed.servers pool.ntp.org,10.15.46.92
toast> options timed.enable on
Steps
1. Access the storage system command line through the console or through a Telnet session.
2. Enter the following command:
timezone [name]
The name argument specifies the time zone to use. Each time zone is described by a file in the
storage system’s /etc/zoneinfo directory. The name argument is the file name under /etc/
zoneinfo that describes the time zone to use. If no argument is specified, the current time zone
name is displayed.
For more information, see the na_timezone(1) man page.
Example
The following commands set the time zone to the time zone file /etc/zoneinfo/America/
Los_Angeles and display the set time zone.
Core files
When a hardware or software failure causes the storage system to panic, the system creates a core file
that technical support can use to troubleshoot the problem. The storage system stores the core file in
the /etc/crash directory on the root volume.
The savecore command, which is included in the default /etc/rc file on the root volume,
performs the following tasks:
• Produces a core.n.nz file. The n in the file name is a number. The string nz indicates that the
file is compressed.
• Displays a message on the system console.
• Logs a message in /etc/messages on the root volume.
Next topics
Core dump writing on page 159
Automatic technical support notification upon system reboots on page 160
Core dump files are not compatible between Data ONTAP releases because where the core starts on
disks depends on the release. Because of this incompatibility, Data ONTAP might fail to find a core
dump file dumped by another release.
The coredump.dump.attempts option controls how many attempts are made to create a core
dump file. The default value is 2.
For more information about these options, see the na_options(1) man page.
160 | Data ONTAP 8.0 7-Mode System Administration Guide
Message logging
The storage system maintains messages in the /etc/messages file on its root volume. The level of
information that the storage system records in the /etc/messages file is configurable in the /etc/
syslog.conf file.
You can access the /etc/messages files using your NFS or CIFS client, or using HTTP(S).
Note: You should check the /etc/messages file once a day for important messages. You can
automate the checking of this file by creating a script on the administration host that periodically
searches /etc/messages and then alerts you of important events.
Every Sunday at midnight, the /etc/messages file is copied to /etc/messages.0, the /etc/
messages.0 file is copied to /etc/messages.1, and so on. The system saves messages for up to
six weeks; therefore, you can have up to seven message files (/etc/messages.0 through /etc/
messages.5 and the current /etc/messages file).
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. Depending on their
severity and origin, messages can be sent to:
• The console
• A file
• A remote system
By default, all system messages (except those with debug-level severity) are sent to the console and
logged in the /etc/messages file.
Next topics
The /etc/syslog.conf file on page 161
Sample /etc/syslog.conf file on page 162
Configuring message logging on page 162
Related concepts
How to access the default directories on the storage system on page 97
The /etc/messages file on page 96
General system maintenance | 161
Related tasks
Accessing log files using HTTP or HTTPS on page 100
The level parameter describes the severity of the message. The following table describes the level
parameter keywords arranged in order from most to least severe.
Level Description
emerg Panic condition that causes a disruption of normal
service
alert Condition that you should correct immediately, such
as a failed disk
crit Critical conditions, such as disk errors
err Errors, such as those caused by a bad configuration
file
warning Conditions that might become errors if not corrected
notice Conditions that are not errors, but might require
special handling
info Information, such as the hourly uptime message
162 | Data ONTAP 8.0 7-Mode System Administration Guide
Level Description
debug Used for diagnostic purposes
* All levels of errors
The action parameter specifies where to send messages. Messages for the specified level or higher
are sent to the message destination. The following table describes the possible actions and gives
examples of each action.
Action Example
Send messages to a file specified by a path. /etc/messages
For more information about the syslog.conf file, see the na_syslog.conf(5) man page.
Steps
Related concepts
The /etc/syslog.conf file on page 161
Audit logging
An audit log is a record of commands executed at the console, through a Telnet shell or an SSH shell,
or by using the rsh command. All the commands executed in a source file script are also recorded in
the audit log. Administrative HTTP operations, such as those resulting from the use of FilerView, are
logged. All login attempts to access the storage system, with success or failure, are also audit-logged.
In addition, changes made to configuration and registry files are audited. Read-only APIs by default
are not audited but you can enable auditing with the auditlog.readonly_api.enable option.
By default, Data ONTAP is configured to save an audit log. The audit log data is stored in the /etc/
log directory in a file called auditlog.
For configuration changes, the audit log shows the following information:
• What configuration files were accessed
• When the configuration files were accessed
• What has been changed in the configuration files
For commands executed through the console, a Telnet shell, an SSH shell, or by using the rsh
command, the audit log shows the following information:
• What commands were executed
• Who executed the commands
• When the commands were executed
The maximum size of the audit-log file is specified by the auditlog.max_file_size option. The
maximum size of an audit entry in the audit-log file is 200 characters. An audit entry is truncated to
200 characters if it exceeds the size limit.
You can access the audit-log files using your NFS or CIFS client, or using HTTP.
Note: You can also configure auditing specific to your file access protocol. For more information,
see the Data ONTAP 7-Mode File Access and Protocols Management Guide.
For information about forwarding audit logs to a remote syslog log host, see the na_auditlog(5) man
page.
Next topics
Configuring audit logging on page 164
Enabling or disabling read-only API auditing on page 164
Related concepts
How to access the default directories on the storage system on page 97
Steps
1. If audit logging is turned off, enter the following command to turn audit logging on:
options auditlog.enable on
2. To change the maximum size of the audit log file, enter the following command:
options auditlog.max_file_size value
value is the maximum size in bytes. The default value is 10,000,000 (about 10 MB).
Step
Next topics
About the /etc/rc file on page 165
Editing the /etc/rc file on page 166
Recovering from /etc/rc errors on page 167
routed on
savecore
The following table explains the sample /etc/rc file:
Description Explanation
Sets the storage system host name to “toaster.”
hostname toaster
For more information about the ifconfig command and routing, see the Data ONTAP 7-Mode
Network Management Guide.
Related concepts
Core files on page 159
Steps
Steps
1. Enter one of the following commands on the console to configure the interface with the correct
address.
2. Edit the storage system /etc/rc file from the administration host.
3. Reboot the storage system.
4. If the changes do not correct the problem, repeat Step 1 through Step 3.
168 | Data ONTAP 8.0 7-Mode System Administration Guide
Next topics
Backing up a storage system configuration on page 168
Cloning a storage system configuration on page 169
Restoring a storage system configuration on page 169
Comparing storage system configurations and backup configuration files on page 170
Step
config_file is the name or the path and name of the backup file you are creating.
The following is an example of the config dump command with a directory that you specify.
config dump /home/users/08_02_2004
General system maintenance | 169
Step
filer is the name of the remote storage system from which you want to clone the configuration.
username is the login name of an administrative user on the remote storage system.
Steps
Step
output_file is the name of the file to contain the differences. If you omit this parameter, the
output of the command is printed to the console.
config_file1 is the name of the first configuration file you want to compare.
config_file2 is the name of the second configuration file you want to compare.
The following example compares the configuration information in two backup files.
config diff -o diff.txt 11_05_2004 11_15_2004
Next topics
Writing a WAFL file on page 171
Reading a WAFL file on page 172
General system maintenance | 171
Step
filename is the name of the file you want to write or append to. It must be a fully qualified path
name. If filename does not already exist, the wrfile command will create it.
The -a option appends the rest of the command line after filename to the file. If the -a option
is not used, the wrfile command closes the file when it reads an EOF from the input stream or,
if run on the console, when interrupted by the interrupt character.
Note: There are restrictions for using the -a option with special characters, # (hash), `
(backtick), and " (double quotation marks). In general, if you use the -a option, surround the
line to be written with quotation marks.
The interrupt character is Ctrl-C. If wrfile is run from the console, interrupting wrfile causes
all characters typed on the same line as the interrupt character to be lost. The storage system will
also issue an "interrupted system call" error message.
Related tasks
Reading a WAFL file on page 172
172 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
filename is the name of the file whose content you want to read. It must be a fully qualified
path name.
Note: Files that contain non-ASCII characters may have indeterminate output.
Related tasks
Writing a WAFL file on page 171
UPS management
Data ONTAP enables you to register and monitor the status of Uninterruptible Power Supply (UPS)
devices you are using with your storage system. In addition, you can configure the timing of certain
Data ONTAP events when a power loss occurs.
For more information about the ups command, see the na_ups(1) man page.
Next topics
The UPS shutdown options on page 173
The UPS shutdown process on page 173
General system maintenance | 173
Factors that might influence UPS shutdown event timing on page 174
For many environments, you can simply use the default values of five minutes for warningtime and
one minute for criticaltime. However, you are advised to make sure that these values are set
appropriately for your environment to avoid any data loss in case of a power outage. The
warningtime value should give you enough time to do whatever manual processes you need to do
prior to system shutdown, and criticaltime should provide enough time for the system to shut
down cleanly.
If you decide that you need to change these values, you can do so using the registry command.
Attention: You are strongly advised to contact technical support before changing the shutdown
event timing values.
2. When the UPS has warningtime seconds of battery life remaining, Data ONTAP generates
another SNMP trap, AutoSupport message, and log message.
174 | Data ONTAP 8.0 7-Mode System Administration Guide
3. When the UPS has criticaltime seconds of battery life remaining, Data ONTAP generates
another SNMP trap, AutoSupport message, and log message and starts shutting down the storage
system.
Note: The criticaltime notifications may not be sent, depending on system load.
Next topics
Overview of the AutoSupport feature on page 175
Configuring AutoSupport on page 177
AutoSupport options on page 177
Testing AutoSupport on page 182
AutoSupport troubleshooting tasks on page 183
AutoSupport messages on page 185
Related information
http://now.netapp.com/
The storage system uses the mail host’s mail server to send periodic e-mail messages automatically
to technical support about the system’s status. You can configure AutoSupport to use one or more
mail hosts.
Note: Make sure that mail hosts in the AutoSupport e-mail delivery pathway are configured to
send and receive the 8-bit Multipurpose Internet Mail Extensions (MIME) encoding.
Configuring AutoSupport
To configure AutoSupport, you specify AutoSupport options.
Step
Related concepts
AutoSupport options on page 177
AutoSupport options
You use the AutoSupport options to configure the AutoSupport feature.
The main AutoSupport options are shown in the following table. For more information, see the
na_options(1) and the na_autosupport(8) man pages.
AutoSupport option Description
autosupport.cifs.verbose [on|off] Enables and disables inclusion of CIFS session and
share information in AutoSupport messages. The
default is off.
178 | Data ONTAP 8.0 7-Mode System Administration Guide
autosupport.mailhost host1[, ..., host5] Defines up to five mail host names. The host names
should be entered as a comma-separated list with no
spaces in between. The default is "mailhost."
The specified mail hosts will be used to send
AutoSupport messages.
autosupport.minimal.subject.id Defines how the system is identified in the
[hostname|systemid] AutoSupport message title if
autosupport.content is minimal. The default is
hostname.
autosupport.nht_data.enable Sends a copy of NetApp Health Trigger (NHT) disk
drive data to technical support. The default is on.
autosupport.noteto address1[, ..., Defines the list of recipients for the AutoSupport short
address5] note e-mail. The short note e-mail consists only of the
subject line of the AutoSupport message, which is
easily viewed on a cell phone or other text device.
Up to five e-mail addresses are allowed. Enter the
addresses as a comma-separated list with no spaces in
between. The default is an empty list to disable short
note e-mails.
You can have AutoSupport messages sent to your
internal support organization by setting this option (or
the autosupport.to option) and having a valid
mail host.
autosupport.partner.to Defines the list of recipients who will receive all
address1[,..., address5] AutoSupport e-mail notifications regardless of the
severity level.
Up to five e-mail addresses are allowed. Enter the
addresses as a comma-separated list with no spaces in
between. By default, no list is defined.
This option is not affected by the setting of the
autosupport.support.enable option.
Related concepts
AutoSupport troubleshooting tasks on page 183
Testing AutoSupport
Testing AutoSupport helps you ensure that AutoSupport is properly configured.
Step
If you use the keyword TEST in the message, you receive a return message indicating that the
AutoSupport process is working correctly.
Related concepts
AutoSupport options on page 177
The AutoSupport feature | 183
Next topics
Troubleshooting AutoSupport over HTTP or HTTPS on page 183
Troubleshooting AutoSupport over SMTP on page 183
Controlling the size of AutoSupport messages on page 184
Steps
1. Ensure that DNS is enabled and configured correctly on your system by entering the following
command on the storage system:
dns info
2. Ensure that the system is routing out to the Internet successfully by entering the following
command:
traceroute -p port support.netapp.com
Generally, port is 80 if you are using HTTP, or 443 if you are using HTTPS.
Steps
1. Set debug level in the syslog.conf file by creating the following line in the /etc/
syslog.conf file:
*.debug /etc/messages
3. Check that the mail host specified in the options is a host that the storage system can talk to by
entering the following command on the storage system:
ping mailhost_name
mailhost_name is the name of the mail host specified in the AutoSupport options.
4. Log on to the host designated as the mail host and make sure that it can serve SMTP requests by
entering the following command (25 is the listener SMTP port number):
netstat -aAn|grep 25
Steps
1. To control the size of AutoSupport messages, take one or more of the following actions:
• Make sure the /etc/messages file is being rotated on a weekly basis as expected. If
necessary, rotate the file manually.
• Make sure you have your /etc/syslog.conf file capture only system messages of level
WARNING or above in the /etc/messages file. For more information about editing the /
etc/syslog.conf file, see the na_syslog.conf(5) man page.
• Consider using HTTP or HTTPS for your AutoSupport transport protocol.
The AutoSupport feature | 185
2. If these steps do not resolve the problem, you can set the autosupport.content option to
minimal.
Using the minimal setting is not advised, because it can affect impact the quality of your
technical support.
AutoSupport messages
AutoSupport messages help you understand the status and operations of your storage system. The
AutoSupport message includes a log level that indicates the priority assignment from technical
support.
The log level that indicates the priority assignment can be one of the following:
• CRITICAL—Priority 1
• ERROR—Priority 2
• WARNING—Priority 3
• NOTICE—Informational, no response expected
• INFO—Informational, no response expected
• DEBUG—Informational, no response expected
If you are using AutoSupport locally, you will see the log levels in the subject lines of the
AutoSupport e-mail that you receive.
Next topics
Getting AutoSupport message descriptions on page 185
Contents of AutoSupport event messages on page 186
Steps
Related information
http://now.netapp.com/
186 | Data ONTAP 8.0 7-Mode System Administration Guide
required for normal technical support. Minimal AutoSupport messages omit sections and values that
might be considered sensitive information and reduce the amount of information sent. Choosing
minimal greatly affects the level of support you can receive.
Managing storage systems remotely | 189
Next topics
Using the Service Processor for remote system management on page 189
Using the Remote LAN Module for remote system management on page 216
Using the Baseboard Management Controller for remote system management on page 245
The Remote Support Agent as a firmware upgrade on page 273
• The SP monitors environmental sensors and logs system events to help you take timely and
effective service actions in the event that a system problem occurs.
The SP monitors the system temperatures, voltages, currents, and fan speeds. When the SP
detects that an environmental sensor has reached an abnormal condition, it logs the abnormal
readings, notifies Data ONTAP of the issue, and takes proactive actions as necessary to send
alerts and “down system” notifications through an AutoSupport message.
If SNMP is enabled for the SP, the SP generates SNMP traps to configured trap hosts for all
“down system” events.
The SP also logs system events such as boot progress, Field Replaceable Unit (FRU) changes,
Data ONTAP-generated events, and SP command history.
• Hardware-assisted takeover is available on systems that support the SP and have the SP
configured.
For more information about hardware-assisted takeover, see the Data ONTAP 7-Mode High-
Availability Configuration Guide.
The following diagram illustrates access to the storage system and the SP.
storage system
serial
COM1 console Data
ONTAP
Data ONTAP CLI SP
local admin
SP CLI (SSH)
Network interfaces Ethernet
supported by the
storage system Ethernet
(Ethernet) Network
remote admin
Next topics
Ways to configure the SP on page 191
Prerequisites for configuring the SP on page 191
Configuring the SP on page 192
Accounts that can access the SP on page 194
Logging in to the SP from an administration host on page 195
Accessing the SP from the system console on page 196
SP CLI and system console sessions on page 197
How to use the SP CLI on page 197
How to use Data ONTAP to manage the SP on page 203
How the SP sensors help you monitor system components on page 206
SP commands for troubleshooting the storage system on page 211
System event log and the SP on page 212
Console log and the SP on page 213
Managing storage systems remotely | 191
Related concepts
The e0M interface on page 45
The SP sends event notifications based on the settings of the following AutoSupport options:
• autosupport.to
• autosupport.mailhost
At the minimum, consider setting the autosupport.to option before configuring the SP. Data
ONTAP automatically sends AutoSupport configuration to the SP, allowing the SP to send alerts
and notifications through an AutoSupport message. You are prompted to enter the name or the IP
address of the AutoSupport mail host when you configure the SP.
Note: The SP does not rely on the storage system’s autosupport.support.transport
option to send notifications. The SP uses the Simple Mail Transport Protocol (SMTP).
Related tasks
Configuring AutoSupport on page 177
Configuring the SP
You can use the setup command or the sp setup command to configure the SP, depending on
whether you want to change the system setup besides configuring the SP. You can configure the SP
to use either a static or a DHCP address.
Steps
4. If you do not enable DHCP for the SP, provide the following static IP information when the SP
setup prompts you to:
• The IP address for the SP
• The netmask for the SP
• The IP address for the SP gateway
• The name or IP address of the mail host to use for AutoSupport (if you use the setup
command.)
5. At the storage system prompt, enter the following command to verify that the SP network
configuration is correct:
sp status
6. At the storage system prompt, enter the following command to verify that the SP AutoSupport
function is working properly:
sp test autosupport
Note: The SP uses the same mail host information that Data ONTAP uses for AutoSupport.
The sp test autosupport command requires that you set up the autosupport.to option
properly.
toaster> sp setup
The Service Processor (SP) provides remote management capabilities
including console redirection, logging and power control.
It also extends autosupport by sending
additional system event alerts. Your autosupport settings are use
for sending these alerts via email over the SP LAN interface.
Would you like to configure the SP? y
Would you like to enable DHCP on the SP LAN interface? n
Please enter the IP address of the SP []: 192.168.123.98
Please enter the netmask of the SP []: 255.255.255.0
Please enter the IP address for the SP gateway []: 192.168.123.1
Verifying mailhost settings for SP use...
toaster> sp setup
The Service Processor (SP) provides remote management capabilities
including console redirection, logging and power control.
It also extends autosupport by sending
additional system event alerts. Your autosupport settings are use
for sending these alerts via email over the SP LAN interface.
Would you like to configure the SP? y
194 | Data ONTAP 8.0 7-Mode System Administration Guide
toaster> sp status
Service Processor Status: Online
Firmware Version: 1.0
Mgmt MAC Address: 00:A0:98:01:7D:5B
Ethernet Link: up
Using DHCP: no
IPv4 configuration:
IP Address: 192.168.123.98
Netmask: 255.255.255.0
Gateway: 192.168.123.1
Related concepts
The AutoSupport feature on page 175
Related references
Prerequisites for configuring the SP on page 191
For enhanced security, the SP does not allow you to log in with the Data ONTAP account name root.
Instead, it maps the Data ONTAP root account to the SP naroot account. You use the SP naroot
account and the Data ONTAP root password to log into the SP.
Note: If you disable the root account's access to the storage system, the SP naroot account's access
to the storage system is automatically disabled.
You cannot create user accounts directly from the SP. However, users created in Data ONTAP with
the credentials of the admin role or a role with the login-sp capability can log in to the SP.
Changes to user account credentials on the storage system are automatically updated to the SP.
You cannot use the following generic names as account names to access the SP. Therefore, it is best
not to use them as Data ONTAP account names or assign them to Data ONTAP groups that have the
admin role or a role that includes the login-sp capability.
• adm
• bin
• cli
• daemon
• ftp
Managing storage systems remotely | 195
• games
• halt
• lp
• mail
• man
• netapp
• news
• nobody
• operator
• shutdown
• sshd
• sync
• sys
• uucp
• www
Related concepts
How to manage administrator and diagnostic access on page 115
Predefined roles on page 128
Supported capability types on page 129
Related tasks
Creating a new role and assigning capabilities to roles on page 131
Modifying an existing role or its capabilities on page 132
Disabling root access to the storage system on page 119
suspends the communication with the IP address of the administration host for 15 minutes. The
communication resumes after 15 minutes, and you can try to log in to the SP again.
The SP ignores the autologout.telnet.timeout and autologout.console.timeout
options. The settings for these options do not have any effect on the SP.
Steps
1. Enter the following command from the administration host to log in to the SP:
ssh username@SP_IP_address
The following example shows how to log in to the SP with a user account, joe, which has been
set up on the storage system to have the login-sp capability.
Step
1. To access the SP CLI from the system console, press Ctrl-G at the storage system prompt.
The SP prompt appears, indicating that you have access to the SP CLI.
Note: To return to the system console, press Ctrl-D and then press Enter.
toaster>
SP toaster>
SP toaster> help system power
system power cycle - power the system off, then on
system power off - power the system off
system power on - power the system on
system power status - print system power status
SP toaster>
toaster>
If you enter y, the session owned by username is disconnected and your session is initiated. This
action is recorded in the SP’s system event log.
Next topics
Using online help at the SP CLI on page 198
What you can do in SP admin mode on page 199
What you can do in SP advanced mode on page 202
Connecting to the system console from the SP on page 202
Related concepts
Data ONTAP command-line interface on page 37
Data ONTAP commands at different privilege levels on page 39
Steps
1. To display help information for the SP commands, enter one of the following at the SP prompt:
• help
• ?
Example
The following example shows the SP CLI online help:
SP toaster> help
date - print date and time
exit - exit from the SP command line interface
events - print system events and event information
help - print command help
priv - show and set user mode
sp - commands to control the SP
rsa - commands for Remote Support Agent
Managing storage systems remotely | 199
For more information about the RSA command, see the Remote Support Agent Concepts and
Customer Usage Guide.
2. To display help information for the option of an SP command, enter the following command at
the SP prompt:
help SP_command
Example
The following example shows the SP CLI online help for the SP events command:
Related concepts
The Remote Support Agent as a firmware upgrade on page 273
priv show Displays the current privilege level for the SP CLI.
200 | Data ONTAP 8.0 7-Mode System Administration Guide
system core Creates a system core dump and resets the storage
system. This command has the same effect as pressing
the Non-maskable Interrupt (NMI) button on a storage
system.
Note: The SP stays operational as long as the input
power to the storage system is not interrupted.
system fru list Lists all system FRUs and their IDs .
system fru show fru_id Displays product information for the specified FRU.
Managing storage systems remotely | 201
system power status Displays the status for the system power supply.
system reset {primary|backup| Resets the storage system by using the specified
current} firmware image.
Note: The SP stays operational as long as the input
power to the storage system is not interrupted.
Related concepts
The Remote Support Agent as a firmware upgrade on page 273
202 | Data ONTAP 8.0 7-Mode System Administration Guide
Related tasks
Setting the privilege level on page 40
Steps
toaster>
toaster> vol status
SP toaster>
Next topics
Data ONTAP commands for the SP on page 203
SP and AutoSupport options on page 204
SP and SNMP traps on page 205
Enabling or disabling SNMP traps for Data ONTAP and the SP on page 205
Disabling SNMP traps for only the SP on page 206
sp help Displays the Data ONTAP sp commands that you can enter at the
storage system prompt.
sp reboot Reboots the SP and causes the SP to perform a self-test. Any console
connection through the SP is lost.
sp setup Initiates the interactive SP setup script.
Note: This command is also available at the boot environment
prompt.
sp status Displays the current status and the network configuration of the SP.
Note: This command is also available at the boot environment
prompt.
sp test autosupport Sends a test e-mail to all recipients specified with the autosupport.to
option.
Note: For this command to work, the autosupport.enable and the
autosupport.mailhost options must be configured properly.
sp test snmp Performs SNMP test on the SP, forcing the SP to send a test SNMP trap
to all trap hosts specified in the snmp traphost command.
For information about initializing SNMP traps, see the Data ONTAP 7-
Mode Network Management Guide.
sp update Updates the SP firmware.
Before using this command, you must use the software install
command to install the new SP firmware image.
For instructions on how to download and update the SP firmware, see
the Data ONTAP 7-Mode Upgrade Guide.
Related concepts
Ways to configure the SP on page 191
that is down and attaching additional diagnostic information to AutoSupport messages, the SP has no
effect on the storage system’s AutoSupport functionality. The AutoSupport configuration settings
and message content behavior are inherited from Data ONTAP.
The SP uses the settings of the following Data ONTAP options to send event messages and alerts:
• autosupport.to
• autosupport.mailhost
You use the autosupport.content option to change the amount of information displayed by
AutoSupport.
Related concepts
Contents of AutoSupport event messages on page 186
AutoSupport options on page 177
Step
1. To enable or disable SNMP traps for both Data ONTAP and the SP, enter the following
command at the storage system prompt:
options snmp.enable [on|off]
Related tasks
Disabling SNMP traps for only the SP on page 206
206 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
1. To disable SNMP traps for only the SP, enter the following command at the storage system
prompt:
options sp.snmp.traps off
Related tasks
Enabling or disabling SNMP traps for Data ONTAP and the SP on page 205
Next topics
How to determine the status of a threshold-based SP sensor on page 206
How to determine the status of a discrete SP sensor on page 208
acceptable operating conditions. Based on the sensor reading, the SP displays the sensor state to help
you monitor the condition of the component.
Examples of threshold-based sensors include sensors for the system temperatures, voltages, currents,
and fan speeds. The specific list of threshold-based sensors depends on the platform.
Threshold-based sensors have the following thresholds, displayed in the output of the SP command
system sensors:
You can find the reading of a threshold-based sensor under the Current column in the system
sensors command output. As the reading of a threshold-based sensor crosses the noncritical and
critical threshold ranges, the sensor reports a problem of increasing severity. When the reading
exceeds a threshold limit, the sensor's status in the system sensors command output changes from
ok to either nc (noncritical) or cr (critical), and an event message is logged in the SEL event log.
Some threshold-based sensors do not have all four threshold levels. For those sensors, the missing
thresholds show na as their limits in the system sensors command output. na means that the
particular sensor has no limit or severity concern for the given threshold, and the SP does not monitor
the sensor for that threshold.
Discrete sensors do not have thresholds. Their readings (displayed under the Current column in the
system sensors command output) do not carry actual meanings and thus are ignored by the SP.
Examples of discrete sensors include sensors for the fan present, power supply unit (PSU) fault, and
system fault. The specific list of discrete sensors depends on the platform.
While the system sensors get sensor_name command displays the status information for most
discrete sensors, it does not provide status information for the System_FW_Status,
System_Watchdog, PSU1_Input_Type, and PSU2_Input_Type discrete sensors. However, you can
use the following information to interpret these sensors' status values.
Managing storage systems remotely | 209
System_FW_Status
The System_FW_Status sensor's condition appears in the form of 0xAABB. You can combine the
information of AA and BB to determine the condition of the sensor.
AA can have one of the following values:
For instance, the System_FW_Status sensor status 0x042F means "system firmware progress (04),
Data ONTAP is running (2F)."
System_Watchdog
The System_Watchdog sensor can have one of the following conditions:
210 | Data ONTAP 8.0 7-Mode System Administration Guide
For instance, the System_Watchdog sensor status 0x0880 means a watchdog timeout occurs and
causes a system power cycle.
For instance, the PSU1_Input_Type sensor status 0x0280 means that the sensor reports that the PSU
type is 110V.
Examples of the system sensors get sensor_name command output for discrete
sensors
The following examples show the results of entering system sensors get sensor_name
for the discrete sensors CPU0_Error and IO_Slot1_Present:
SP> system sensors get CPU0_Error
Locating sensor record...
Sensor ID : CPU0_Error (0x67)
Entity ID : 7.97
Sensor Type (Discrete): Temperature
States Asserted : Digital State
[State Deasserted]
An environmental sensor has Display the status for all system sensors show
reached an abnormal condition environmental sensors, their
states, and the current values
The storage system is not Access the storage system system console
responding properly console from the SP
The storage system firmware Boot the storage system by system reset backup
is corrupted using the backup image of the
storage system firmware
A FRU is malfunctioning Display the FRU's product system fru list to list all FRU IDs
information
system fru show fru_id to display
product information for a specific FRU
Related references
What you can do in SP admin mode on page 199
What you can do in SP advanced mode on page 202
212 | Data ONTAP 8.0 7-Mode System Administration Guide
The primary purpose of the SEL is to help you diagnose system issues. The event list from the SEL is
automatically sent by the SP to specified recipients through an AutoSupport message.
The SEL contains the following data:
• Hardware events detected by the SP—for example, system sensor status about power supplies,
voltage, or other components
• Errors detected by the SP—for example, a communication error, a fan failure, or a memory or
CPU error
• Critical software events sent to the SP by the storage system—for example, a system panic, a
communication failure, a boot failure, or a user-triggered “down system” as a result of issuing the
SP system reset or system power cycle command
Note: The SEL uses the SP’s clock to time-stamp events. The SP begins synchronizing its clock
with the system clock as soon as the storage system boots up. However, synchronizing takes a few
seconds. If events occur during these few seconds, they are time-stamped 'pre-init time'.
The following examples show the results of entering the SP events search keyword command:
...
Typical storage system-generated AutoSupport messages about the SP occur under the following
conditions:
• The SP stops communicating with the storage system.
• The SP software fails.
• The SP hardware fails.
Related concepts
Contents of AutoSupport event messages on page 186
AutoSupport messages on page 185
Steps
1. Verify that the administration host that you are using to connect to the SP has a secure shell client
that supports SSHv2.
2. From the storage system, verify that the SP is online and that the IP configuration is correct by
entering the following command at the storage system prompt:
sp status
3. From the administration host, test the network connection for the SP by entering the following
command:
ping SP_IP_address
6. If the SP does not reboot, repeat Steps 2 through 5. If the SP still does not reboot, contact
technical support for assistance.
Related concepts
Prerequisites for logging in to the SP on page 0
216 | Data ONTAP 8.0 7-Mode System Administration Guide
• Without the RLM, you can locally access the storage system through the serial console or from an
Ethernet connection using any supported network interface. You use the Data ONTAP CLI to
administer the storage system.
• With the RLM, you can remotely access the storage system through the serial console. The RLM
is directly connected to the storage system through the serial console. You use the Data ONTAP
CLI to administer the storage system and the RLM.
• With the RLM, you can also access the storage system through an Ethernet connection using a
secure shell client application. You use the RLM CLI to monitor and troubleshoot the storage
system.
Managing storage systems remotely | 217
If you have a data center configuration where management traffic and data traffic are on separate
networks, you can configure the RLM on the management network.
The RLM is supported by the Operations Manager. See the Operations Manager Online Help for
details.
Next topics
What the RLM does on page 217
Ways to configure the RLM on page 218
How to log in to the RLM on page 221
How to manage the storage system with the RLM on page 225
How to manage the RLM with Data ONTAP on page 231
How to display information about the storage system and the RLM on page 234
Comparison of Data ONTAP and RLM commands on page 239
How to troubleshoot the storage system with the RLM on page 241
How to update the RLM firmware on page 241
How to troubleshoot RLM problems on page 242
Related concepts
The e0M interface on page 45
Related information
The NOW site - http://now.netapp.com/
whether the storage system can send AutoSupport messages. Other than generating these messages
on behalf of a system that is down, and attaching additional diagnostic information to AutoSupport
messages, the RLM has no effect on the storage system’s AutoSupport functionality. The
AutoSupport configuration settings and message content behavior of the RLM are inherited from
Data ONTAP.
In addition to AutoSupport messages, the RLM generates SNMP traps to configured trap hosts for all
“down system” or “down filer” events, if SNMP is enabled for the RLM.
Hardware-assisted takeover is available on systems that support the RLM and have the RLM
modules set up. For more information about hardware-assisted takeover, see the Data ONTAP 7-
Mode High-Availability Configuration Guide.
The RLM supports the SSH protocol for CLI access from UNIX clients and PuTTY for CLI access
from PC clients. Telnet and RSH are not supported by the RLM, and system options to enable or
disable them have no effect on the RLM.
Note: The RLM ignores the autologout.telnet.timeout and the
autologout.console.timeout options. The settings for these options do not have any effect
on the RLM.
Related concepts
How to troubleshoot the storage system with the RLM on page 241
The AutoSupport feature on page 175
Next topics
Prerequisites for configuring the RLM on page 219
Managing storage systems remotely | 219
It is best that you set at least the autosupport.to option before configuring the RLM. You are
prompted to enter the name or the IP address of the AutoSupport mail host when you configure
the RLM.
Note: The RLM does not rely on the storage system’s autosupport.support.transport
option to send notifications. The RLM uses the Simple Mail Transport Protocol (SMTP).
Related tasks
Configuring AutoSupport on page 177
Steps
If you enter setup, the rlm setup script starts automatically after the setup command runs.
2. When the RLM setup asks you whether to configure the RLM, enter y.
3. Do one of the following when the RLM setup asks you whether to enable DHCP on the RLM.
• To use DHCP addressing, enter y.
• To use static addressing, enter n.
4. If you do not enable DHCP for the RLM, the RLM setup prompts you for static IP information.
Provide the following information when prompted:
• The IP address for the RLM
• The netmask for the RLM
• The IP address for the RLM gateway
• The name or IP address of the mail host to use for AutoSupport (if you use the setup
command.)
5. At the storage system prompt, enter the following command to verify that the RLM network
configuration is correct:
rlm status
6. At the storage system prompt, enter the following command to verify that the RLM AutoSupport
function is working properly:
rlm test autosupport
Note: The RLM uses the same mail host information that Data ONTAP uses for AutoSupport.
The rlm test autosupport command requires that you set up the autosupport.to
option properly.
Examples for configuring the RLM and displaying the configuration information
The following example shows that the RLM is configured to use a static IP address:
Please enter the IP address for the RLM gateway []: 192.168.123.1
Verifying mailhost settings for RLM use...
The following example shows that the RLM is configured to use DHCP:
The following example displays the RLM status and configuration information:
Related concepts
Prerequisites for configuring the RLM on page 219
The AutoSupport feature on page 175
Next topics
Accounts that can access the RLM on page 222
Logging in to the RLM from a UNIX host on page 223
Logging in to the RLM from a Windows host on page 224
RLM CLI and system console sessions on page 225
Related concepts
How to manage administrator and diagnostic access on page 115
Secure protocols and storage system access on page 49
For enhanced security, the RLM does not allow you to log in with the Data ONTAP account name
root. Instead, it maps the Data ONTAP root account to the RLM naroot account. You use the RLM's
naroot account and the Data ONTAP root password to log into the RLM.
Note: If you disable the root account's access to the storage system, the RLM's naroot access to the
storage system is automatically disabled.
You cannot create user accounts directly from the RLM. However, users created in Data ONTAP
with the credentials of the admin role or a role with the login-sp capability can log in to the RLM.
Changes to user account credentials on the storage system are automatically updated to the RLM.
You cannot use the following generic names as account names to access the RLM. Therefore, it is
best not to use them as Data ONTAP account names or assign them to Data ONTAP groups that have
the admin role or a role that includes the login-sp capability.
• adm
• bin
• cli
• daemon
• ftp
• games
• halt
• lp
• mail
• man
• netapp
• news
• nobody
• operator
Managing storage systems remotely | 223
• shutdown
• sshd
• sync
• sys
• uucp
• www
Related concepts
How to manage administrator and diagnostic access on page 115
Predefined roles on page 128
Supported capability types on page 129
Related tasks
Creating a new role and assigning capabilities to roles on page 131
Modifying an existing role or its capabilities on page 132
Disabling root access to the storage system on page 119
Step
The following example shows how to log in to the RLM with a user account, joe, which has
been set up on the storage system.
ssh [email protected]
224 | Data ONTAP 8.0 7-Mode System Administration Guide
Steps
If you enter y, the session owned by username is disconnected and your session is initiated. This
action is recorded in the RLM’s system event log.
Next topics
Using online help at the RLM CLI on page 226
What you can do in RLM admin mode on page 227
RLM admin mode command syntax summary on page 227
What you can display in RLM advanced mode on page 229
Connecting to the storage system console from the RLM on page 229
226 | Data ONTAP 8.0 7-Mode System Administration Guide
Related concepts
Data ONTAP command-line interface on page 37
Data ONTAP commands at different privilege levels on page 39
Steps
1. To display help information for RLM commands, enter one of the following at the RLM prompt:
• help
• ?
Example
The following example shows the RLM CLI online help:
For more information about the RSA command, see the Remote Support Agent Concepts and
Customer Usage Guide.
2. To display help information for the option of an RLM command, enter the following command at
the RLM prompt:
help RLM_command
Example
The following example shows the RLM CLI online help for the RLM events command:
Related concepts
The Remote Support Agent as a firmware upgrade on page 273
Related concepts
The Remote Support Agent as a firmware upgrade on page 273
events {all | info | Displays storage system events logged by the RLM.
newest | oldest |
search string}
rlm update http:// Updates the RLM firmware. The -f option issues a full image update.
path [-f]
system console Logs in to the Data ONTAP CLI. Use Ctrl-D to exit.
system core Dumps the storage system core and resets the storage system. This
command has the same effect as pressing the Non-maskable Interrupt
(NMI) button on a storage system.
Note: The RLM stays operational as long as input power to the
storage system is not interrupted.
system power {on | off | Turns the storage system on or off, or performs a power cycle.
cycle} Standby power stays on. Using the system power command might
cause an improper shutdown of the storage system. During power-
cycling, a brief pause occurs before power is turned back on.
Managing storage systems remotely | 229
system power status Displays status for each power supply, such as presence, input power,
and output power.
system reset {primary Resets the storage system using the specified firmware image.
| backup | current}
Note: The RLM stays operational as long as input power to the
storage system is not interrupted.
Related concepts
The Remote Support Agent as a firmware upgrade on page 273
system sensors Displays a list of environmental sensors, their states, and their current
values.
rlm status -v Displays RLM statistics.
Related tasks
Setting the privilege level on page 40
Steps
The storage system prompt appears, and you can enter Data ONTAP commands.
toaster>
toaster> vol status
RLM toaster>
Steps
A warning message indicates that issuing the system power command is not a substitute for a
graceful shutdown using the Data ONTAP halt command.
2. To turn off the storage system, enter y.
A few seconds later, the storage system is turned back on, and the boot environment prompt
appears. In the meantime, the RLM prompt awaits your next command.
Managing storage systems remotely | 231
Next topics
Data ONTAP commands for the RLM on page 231
RLM and AutoSupport options on page 232
RLM and SNMP options on page 232
Enabling or disabling SNMP traps for Data ONTAP and the RLM on page 232
Disabling SNMP traps for only the RLM on page 233
Related concepts
Ways to configure the RLM on page 218
You use the autosupport.content option to change the amount of information displayed by Data
ONTAP and RLM AutoSupport commands.
Related concepts
Contents of AutoSupport event messages on page 186
AutoSupport options on page 177
Enabling or disabling SNMP traps for Data ONTAP and the RLM
You can enable or disable SNMP traps for both Data ONTAP and the RLM by using
the snmp.enable option.
The snmp.enable option is the master control for enabling or disabling SNMP traps for both Data
ONTAP and the RLM. Consider leaving the snmp.enable option set to on to enable SNMP traps
for both Data ONTAP and the RLM.
Managing storage systems remotely | 233
Step
1. Enter the following command to enable or disable SNMP traps for both Data ONTAP and the
RLM:
options snmp.enable [on|off]
Related tasks
Disabling SNMP traps for only the RLM on page 233
Step
1. To disable SNMP traps for only the RLM, enter the following command:
options rlm.snmp.traps off
Related tasks
Enabling or disabling SNMP traps for Data ONTAP and the RLM on page 232
234 | Data ONTAP 8.0 7-Mode System Administration Guide
How to display information about the storage system and the RLM
The RLM provides several ways to display information about the storage system and the RLM itself.
You can display real-time information using the commands in admin or advanced mode, or you can
display information stored in the RLM's system event log (SEL) or console log.
You can also view the information displayed in the AutoSupport messages generated by the RLM.
Most of the information is stored in the SEL or in captured console messages.
All log entries are recorded with Coordinated Universal Time (UTC) for the time format.
Note: The RLM does not use the time zone setting from the storage system.
Next topics
RLM CLI commands that display real-time information on page 234
How to use the RLM to monitor the storage system during a power cycle on page 236
System event log and the RLM on page 236
Console log and the RLM on page 237
AutoSupport messages for systems with the RLM on page 238
Present: yes
Turned on by Agent: yes
Output power: yes
Input power: yes
Fault: no
Backup-
RLM_version=x.y (date)
ECC memory
----------------------------------
total corrections 0
totat uncorrectable errors 0
...
Watcher daemon
----------------------------------
watcher restarts 0
agentd restarts 0
...
How to use the RLM to monitor the storage system during a power cycle
When you power-cycle the storage system, no real-time messages regarding the boot progress appear
in the RLM console. To monitor the storage system during a power cycle, use SSH to log in to the
RLM CLI and start a system console session with Data ONTAP. Leave this system console session
active and start a second SSH session with the RLM CLI. You can then simultaneously interact with
the RLM CLI and access the storage system with the system console.
When you power-cycle the storage system using the RLM, the active session to the system console
provides real-time output from the system, including the progress of the system boot.
quick search for audit logs from the SEL. However, the debug logs and message logs are stored
separately on the RLM in its RAM and provide debug data for RLM firmware.
The SEL stores platform-specific events. This log is self-contained and does not support the Syslog
Translator.
The primary purpose of the SEL is to help you diagnose system issues. The event list from the SEL is
automatically sent by the RLM to specified recipients in an AutoSupport message.
The records contain the following data:
• Hardware events detected by the RLM—for example, system sensor status about power supplies,
voltage, or other components
• Errors (generated by the storage system or the RLM) detected by the RLM—for example, a
communication error, a fan failure, a memory or CPU error, or a “boot image not found” message
• Critical software events sent to the RLM by the storage system—for example, a system panic, a
communication failure, an unexpected boot environment prompt, a boot failure, or a user-
triggered “down system” as a result of issuing the system reset or system power cycle
command.
Note: The SEL uses the RLM’s clock to time-stamp events. RLM begins synchronizing its clock
with the system clock as soon as the storage system boots up. However, synchronizing takes a few
seconds. If events occur during these few seconds, they are time-stamped January 1, 1970.
The following example shows the result of entering the RLM events command:
Typical storage system-generated AutoSupport messages about the RLM occur under the following
conditions:
• The RLM stops communicating with the storage system.
• The RLM software fails.
• The RLM hardware fails.
Managing storage systems remotely | 239
Related concepts
Contents of AutoSupport event messages on page 186
AutoSupport messages on page 185
Note: The -f option of the rlm Note: The -f option issues a full image
update command requires advanced update.
mode. For information about when to use
-f, see the Data ONTAP 7-Mode
Upgrade Guide.
Managing storage systems remotely | 241
If this condition occurs... And you want to... Enter this command at the RLM
CLI prompt...
The storage system is not Access the storage system console system console
responding properly
You receive an AutoSupport Display what has occurred at the system log
message indicating an event such storage system console
as a hardware component failure or
storage system panic. Display all events events all
The storage system firmware is Boot the storage system by using a system reset backup
corrupted backup copy of the storage system
firmware
Next topics
Troubleshooting RLM communication problems on page 242
Troubleshooting RLM configuration problems on page 242
Troubleshooting RLM connection problems on page 242
Troubleshooting RLM hardware failures on page 243
Step
1. If there is a communication failure between the storage system and the RLM, search for EMS
events titled:
[rlm.orftp.failed:warning]: RLM communication error, (reason)
Steps
1. Verify the RLM is online and the IP configuration is correct by entering the following command
at the storage system prompt:
rlm status
2. If the RLM is configured using DHCP, reconfigure the RLM using a static IP address by entering
the following command at the storage system prompt:
rlm setup
Steps
1. Verify that you are using a secure shell client to connect to the RLM.
Managing storage systems remotely | 243
2. From the storage system, verify the RLM is online and the IP configuration is correct by entering
the following command at the storage system prompt:
rlm status
3. From the administration host, test the network connection for the RLM by entering the following
command:
ping rlm_IP_address
6. If the RLM does not reboot, repeat Steps 2 through 5. If the RLM still does not reboot, contact
technical support for assistance.
Related concepts
How to log in to the RLM on page 221
Steps
1. Run diagnostics by entering the following command from the boot environment prompt:
boot_diags
The diagnostics main menu appears.
Commands:
Config (print a list of configured PCI devices)
Default (restore all options to default settings)
Exit (exit diagnostics and return to firmware
prompt)
2. From the main menu, enter the following option:
agent
Example
Agent Diagnostic
--------------------------
1: Comprehensive test
2: Appl-Agent interface test
3: Appl PS On-Off test 70: Show Agent ring
buffer info
4: RLM Memory test 71: Show RLM info
5: RLM Sensor test 72: Show Restart reason
6: RLM-Agent interface test
7: RLM IRQ test
8: RLM NMI test 91: Enable/disable looping
92: Stop/continue on
error
11: RLM PS On-Off test 93: Extended/Normal test
99: Exit
This step initiates a comprehensive test that includes running tests 2 through 8 and 11. The results
of each test are displayed.
4. Based on the results of Step 3, diagnose the problem. If the problem persists, reset the RLM and
repeat Steps 1 to 4.
If the problem still persists, replace the RLM.
Managing storage systems remotely | 245
The following diagram illustrates how you can access the storage system and the BMC.
With the BMC, you can access the storage system in these ways:
• Through an Ethernet connection using a secure shell client application
You use the BMC CLI to monitor and troubleshoot the storage system.
• Through the serial console
Managing storage systems remotely | 247
You use the Data ONTAP CLI to administer the storage system and the BMC.
If you have a data center configuration where management traffic and data traffic are on separate
networks, you can configure the BMC on the management network.
Next topics
What the BMC does on page 247
Ways to configure the BMC on page 248
How to manage the BMC with Data ONTAP on page 251
How to log in to the BMC on page 253
How to manage the storage system with the BMC on page 255
How to display information about the storage system and the BMC on page 261
Comparison of Data ONTAP and BMC commands on page 266
How to troubleshoot the storage system with the BMC on page 268
How to update the BMC firmware on page 268
How to troubleshoot BMC problems on page 269
AutoSupport behavior is the same as it would be without BMC installed. The AutoSupport
configuration settings and message content behavior of the BMC are inherited from Data ONTAP.
The BMC supports the SSH protocol for CLI access from UNIX clients and PuTTY for CLI access
from PC clients. Telnet and RSH are not supported. These protocols are not available on the BMC,
and system options to enable or disable them have no effect on the BMC.
Note: The BMC ignores the autologout.telnet.timeout and
autologout.console.timeout options. The settings for these options do not have any effect
on the BMC.
Related concepts
How to troubleshoot the storage system with the BMC on page 268
The AutoSupport feature on page 175
Next topics
Prerequisites for configuring the BMC on page 248
Configuring the BMC on page 249
• If you are using DHCP addressing, you need the BMC’s MAC address. You can obtain it by
using the bmc status command or from the MAC address label on the BMC.
Note: If you do not provide a valid BMC MAC address, an EMS message shows up to
remind you during system bootup or when you use the bmc status or the setup
command.
• If you are using a static IP address, you need the following information:
• An available static IP address
• The netmask of your network
• The gateway of your network
• AutoSupport settings
The BMC uses the same mailhost information that Data ONTAP uses for AutoSupport. The BMC
does not have its own mailhost setting. The BMC sends event notifications based on the
following Data ONTAP AutoSupport settings:
• autosupport.to
• autosupport.mailhost
It is best that you set at least the autosupport.to option before configuring the BMC.
Note: The BMC does not rely on the storage system’s autosupport.support.transport
option to send notifications. The BMC uses the Simple Mail Transport Protocol (SMTP).
Related tasks
Configuring AutoSupport on page 177
Steps
If you enter setup, the bmc setup script starts automatically after the setup command runs.
2. When the BMC setup asks you whether to configure the BMC, enter y.
3. Do one of the following when the BMC setup asks you whether to enable DHCP on the BMC.
250 | Data ONTAP 8.0 7-Mode System Administration Guide
4. If you do not enable DHCP for the BMC, the BMC setup prompts you for static IP information.
Provide the following information when prompted:
• The IP address for the BMC
• The netmask for the BMC
• The IP address for the BMC gateway
• The name or IP address of the mail host to use for AutoSupport
Note: Currently, you can use only IPv4 addresses to connect to the BMC.
5. Enter the Address Resolution Protocol (ARP) interval for the BMC when you are prompted.
6. If the BMC setup prompts you to reboot the system, enter the following command at the storage
system prompt:
reboot
7. At the storage system prompt, enter the following command to verify that the BMC’s network
configuration is correct:
bmc status
8. At the storage system prompt, enter the following command to verify that the BMC AutoSupport
function is working properly:
bmc test autosupport
Note: The BMC uses the same mail host information that Data ONTAP uses for AutoSupport.
The bmc test autosupport command requires that you set up the autosupport.to
option properly.
You have successfully set up the BMC AutoSupport function when the system displays the
following output:
Please check ASUP message on your recipient mailbox.
The following example shows how the BMC is configured to use DHCP:
The Baseboard Management Controller (BMC) provides remote management
capabilities including console redirection, logging and power control.
It also extends autosupport by sending down filer event alerts.
The following example displays the BMC status and configuration information:
Baseboard Management Controller:
Firmware Version: 1.0
IPMI version: 2.0
DHCP: off
BMC MAC address: ff:ff:ff:ff:ff:ff
IP address: 10.98.148.61
IP mask: 255.255.255.0
Gateway IP address: 10.98.148.1
BMC ARP interval: 10 seconds
BMC has (1) user: naroot
ASUP enabled: on
ASUP mailhost: [email protected]
ASUP from: [email protected]
ASUP recipients: [email protected]
Uptime: 0 Days, 04:47:45
Related concepts
Prerequisites for configuring the BMC on page 248
Next topics
Data ONTAP commands for the BMC on page 252
BMC and AutoSupport options on page 253
252 | Data ONTAP 8.0 7-Mode System Administration Guide
bmc test autosupport Sends a test e-mail to all recipients specified with
these options:
• autosupport.enable
• autosupport.support.enable
• autosupport.mailhost
• autosupport.from
• autosupport.to
• autosupport.noteto
• autosupport.support.to
bmc reboot Reboots the BMC and causes the BMC to perform a
self-test. Any console connection through the BMC is
lost.
Note: Upon a BMC reboot, the console connection
through the BMC is briefly interrupted. The
console window may freeze for a few seconds.
Related concepts
Ways to configure the BMC on page 248
Managing storage systems remotely | 253
You use the autosupport.content option to change the amount of information displayed by Data
ONTAP and BMC AutoSupport commands:
Related concepts
AutoSupport options on page 177
Contents of AutoSupport event messages on page 186
Next topics
Accessing the BMC from a console on page 254
Logging in to the BMC from a UNIX host on page 254
Logging in to the BMC from a Windows host on page 254
BMC CLI and system console sessions on page 255
Related concepts
How to manage administrator and diagnostic access on page 115
254 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
Step
Steps
• History
• Command-line editor
• Online command-line help
Like the Data ONTAP CLI, the BMC CLI provides two privilege levels, admin and advanced, with
different command sets.
Note: The BMC CLI commands are not documented in online command-line manual (man) pages.
Next topics
Online help at the BMC CLI on page 256
What you can do in BMC admin mode on page 257
BMC admin mode command syntax summary on page 257
What you can do in BMC advanced mode on page 259
Connecting to the storage system console from the BMC on page 260
Managing the controller module power of the storage system from the BMC on page 260
Related concepts
Data ONTAP command-line interface on page 37
Data ONTAP commands at different privilege levels on page 39
If a command has subcommands, you can see them by entering the command name after the help
command, as shown in the following example:
by attribute/value pair
events show [N] Print event N
system core Dumps the storage system core and resets the storage
system. This command has the same effect as pressing
the Non-maskable Interrupt (NMI) button on a storage
system.
Note: The BMC stays operational as long as input
power to the storage system is not interrupted.
Attention: Advanced commands are potentially dangerous. Use them only when directed to do so
by your technical support personnel.
Steps
toaster>
toaster> vol status
Related tasks
Using the remote management device to access the system console on page 48
Managing the controller module power of the storage system from the BMC
The BMC's system power command enables you to turn the power on or off or to power-cycle the
storage system remotely.
The system power cycle command automatically turns system power off and then back on. The
power supplies provide a standby voltage that is always present, even when the storage system is off.
Managing storage systems remotely | 261
This keeps the BMC running without interruption. However, turning the power off or power-cycling
the storage system may cause an improper shutdown of the storage system (also called a dirty
shutdown).
Steps
A warning message indicates that issuing the system power command is not a substitute for a
graceful shutdown using the Data ONTAP halt command.
2. To turn off the storage system, enter y.
A few seconds later, the storage system is turned back on, and the boot environment prompt
appears. In the meantime, the BMC prompt awaits your next command.
How to display information about the storage system and the BMC
The BMC provides several ways to display information about the storage system and the BMC itself.
You can display real-time information using the commands in admin or advanced mode, or you can
display information stored in the BMC's system event log (SEL) or console log.
You can also view the information displayed in the AutoSupport messages generated by the BMC.
Most of the information is stored in the SEL or in captured console messages.
All log entries are recorded with Coordinated Universal Time (UTC) for the time format.
Note: The BMC does not use the time zone setting from the storage system.
Next topics
BMC CLI commands that display real-time information on page 261
System event log and the BMC on page 264
System console log and the BMC on page 265
AutoSupport messages for systems with the BMC on page 265
speed :100
duplex :full
The SEL stores platform-specific events. This log is self-contained and does not support the Syslog
Translator.
The primary purpose of the SEL is to help you diagnose system issues. The event list from the SEL is
automatically sent by the BMC to specified recipients through an AutoSupport message.
The records contain the following data:
• Hardware events detected by the BMC—for example, system sensor status about power supplies,
voltage, or other components
• Errors (generated by the storage system or the BMC) detected by the BMC—for example, a
communication error, a fan failure, a memory or CPU error, or a “boot image not found” message
• Critical software events sent to the BMC by the storage system—for example, a system panic, a
communication failure, an unexpected boot environment prompt, a boot failure, or a user-
triggered “down system” as a result of issuing the system reset or system power cycle
command.
Note: The SEL uses the BMC’s clock to time-stamp events. BMC begins synchronizing its clock
with the system clock as soon as the storage system boots up. However, synchronizing takes a few
seconds. If events occur during these few seconds, they are time-stamped 'pre-init time'.
The following example shows the result of entering BMC events command:
-----------------------------------------------------------------
42 03/30/2007 16:29:53 GMT #d1 Power Status Power Off
43 03/30/2007 16:30:04 GMT #d1 Power Status Power On
Total Entries=2
You display the contents of the system console log with the BMC CLI system log command.
Note: Entering the BMC CLI command system log is only recommended from the SSH
interface, because the 9600 baud serial console interface is very slow to display the entire log.
the system can automatically reboot and begin functioning. This feature is sometimes called
automatic server restart.
When the BMC detects a watchdog-generated event occurs on the storage system, it logs this
event and, if needed, sends an AutoSupport alert for this event.
• The storage system is power-cycled.
• Firmware power-on self-test (POST) errors occur.
• A user-initiated AutoSupport message occurs.
Storage system-generated AutoSupport messages include the following information:
• In the subject line—A system notification from the name of the storage system with the BMC, a
description of the BMC condition or event that caused the AutoSupport message, and the log
level.
• In the message body—A time stamp, the system software version and storage system ID, host
name, and output from the sysconfig -a command
• In the attachments—messages from EMS, rc, exports, hosts, resolv_conf,
nsswitch_conf, and cm_stats
Typical storage system AutoSupport messages about the BMC occur under the following conditions:
• The BMC stops communication with the storage system.
• The BMC software fails.
• The BMC hardware fails.
Related concepts
AutoSupport messages on page 185
Attention: Advanced commands are potentially dangerous. Use them only when directed to do so
by your technical support personnel.
The storage system firmware is Boot using a backup copy of the system reset backup
corrupted storage system firmware
Note: Requires advanced mode.
environment prompt, updates the BMC firmware from the Data ONTAP image on the boot device.
The BMC firmware is also available for download.
For instructions on how to download and update the BMC firmware, see the Data ONTAP 7-Mode
Upgrade Guide.
Next topics
Troubleshooting BMC communication problems on page 269
Troubleshooting BMC configuration problems on page 269
Troubleshooting BMC connection problems on page 270
Troubleshooting BMC hardware failures on page 270
Troubleshooting BMC firmware update problems on page 272
Step
1. If there is a communication failure between the storage system and the BMC, search for EMS
events titled:
[bmc.orftp.failed:warning]: BMC communication error, (reason)
Steps
1. Verify the BMC is online and the IP configuration is correct by entering the following command
at the storage system prompt:
bmc status
2. If the BMC is configured using DHCP, reconfigure the BMC using a static IP address by entering
the following command at the storage system prompt:
bmc setup
270 | Data ONTAP 8.0 7-Mode System Administration Guide
Steps
1. Verify that you are using a secure shell client to connect to the BMC.
2. From the storage system, verify the BMC is online and the IP configuration is correct by entering
the following command at the storage system prompt:
bmc status
3. From the administration host, test the network connection for the BMC by entering the following
command:
ping bmc_IP_address
6. If the BMC does not reboot, repeat Steps 2 through 5. If the BMC still does not reboot, contact
technical support for assistance.
Related concepts
How to log in to the BMC on page 253
Steps
1. Run diagnostics by entering the following command from the boot environment prompt:
Managing storage systems remotely | 271
boot_diags
Steps
Note: If a previous power failure caused the system to boot from the backup firmware and halt
at the boot environment prompt, repeat the update_bmc command at the boot environment
prompt.
The update_bmc macro automatically updates the BMC firmware from the image on the boot
device.
3. After the BMC firmware is updated, enter following command from the boot environment prompt
to restart the system:
bye
4. Reboot the BMC by entering the following command at the storage system prompt:
bmc reboot
Managing storage systems remotely | 273
5. If the BMC still does not reboot, run diagnostics on the BMC.
6. If the BMC is not operational, contact technical support for assistance.
Note: If a BMC firmware update fails when Data ONTAP is running, Data ONTAP will try to
recover the BMC by rebooting it. If the reboot fails, a message
[asup.msg.bmc.heartbeat.stops:critical] is sent and the storage system is shut down. Contact
technical support for assistance.
Related tasks
Troubleshooting BMC hardware failures on page 270
Related information
NetApp Remote Support Diagnostics Tool page - http://now.netapp.com/NOW/download/tools/
rsa/
System information | 275
System information
Data ONTAP enables you to display information about your storage system, including the system's
configuration, storage components, aggregate and volume information, file statistics, environmental
status, Fibre Channel information, and SAS adapter and expander information.
Note: Some options for different commands can gather the same system information. For example,
the aggr status -r command and sysconfig -r command gather the same RAID
information and present it in the same format.
Next topics
Getting storage system configuration information on page 275
Commands to display storage subsystem information on page 277
Getting aggregate information on page 279
Getting volume information on page 280
Getting a file statistics summary on page 281
Storage system environment information on page 285
Getting Fibre Channel information on page 288
Getting SAS adapter and expander information on page 288
Storage system information and the stats command on page 289
How to get system information using perfmon on page 298
How to get system information using perfstat on page 298
Step
version Displays the version of Data ONTAP currently running on a storage system.
sysconfig Displays information about the storage system’s hardware configuration. The exact
types of information displayed depend on the command options.
276 | Data ONTAP 8.0 7-Mode System Administration Guide
Command Description
sysconfig -c Checks that expansion cards are in the appropriate slots and reports any configuration
errors.
If there are no configuration errors, the sysconfig -c command reports the
following:
sysconfig: There are no configuration errors.
sysconfig -d Displays product information about each disk in the storage system.
sysconfig -r Displays the status of plexes and aggregates, the RAID configuration, and checksum
information about the parity disks, data disks, and hot spare disks, if any. This
information is useful for the following purposes:
• Locating a disk referenced in a console message
• Determining how much space on each disk is available to the storage system
• Determining the status of disk operations, such as RAID scrubbing, reconstruction,
parity verification, adding a hot spare, and disk failure
• Determining the number of spare disks
• Determining a checksum type for an aggregate
Note: You can also obtain the information displayed by sysconfig -r from
SNMP, using the custom Management Information Base (MIB). For information
about SNMP, see the Data ONTAP 7-Mode Network Management Guide.
sysconfig -t Displays device and configuration information for each tape drive on the system. You
can use this command to determine the capacity of the tape drive and the device name
before you use the dump and restore commands.
sysconfig -V Displays RAID group and disk information about each traditional volume and
aggregate.
sysconfig -m Displays tape library information. Before you use this option, ensure that the storage
system was booted with the autoload setting of the tape library off.
sysconfig -v Displays the system’s RAM size, NVRAM size, and information about devices in all
expansion slots. This information varies according to the devices on the storage system.
You can specify a slot number to display information about a particular slot. Slot
numbers start at 0, where slot 0 is the system board.
Note: If you enter sysconfig without any options, information similar to what
you get with sysconfig -v is displayed, but the information is abbreviated.
When you report a problem to technical support, provide the information displayed
by sysconfig -v. This information is useful for diagnosing system problems.
sysconfig -a Displays the same information as the -v option, but the information is more detailed.
System information | 277
Command Description
sysconfig -A Displays storage system information gathered by the following commands, one after
the other:
• sysconfig
• sysconfig -c
• sysconfig -d
• sysconfig -V
• sysconfig -r
• sysconfig -m
Therefore, when you use the sysconfig -A command, Data ONTAP lists
information about configuration errors, disk drives, medium changers, RAID details,
tape devices, and aggregates.
Note: You can also get system information, either interactively or with a script, using the
stats command.
For more information about the sysconfig command, see the na_sysconfig(1) man page.
Related concepts
Storage system information and the stats command on page 289
sasadmin expander_phy_state Expander PHY state, dongle state and event counters,
PHY statistics.
sasadmin shelf [short] The disks on each shelf (or a specific disk shelf),
including a pictorial representation of disk placement
(long or short view).
storage show acp Connectivity and status information for the Alternate
Control Path (ACP) module (DS4243 only).
storage show disk -p How many paths are available to each disk.
storage show hub Hub attributes: hub name, channel, loop, shelf ID,
shelf user ID (UID), term switch, shelf state, ESH
state, and hub activity for each disk ID: loop up count,
invalid cyclic redundancy check (CRC) count, invalid
word count, clock delta, insert count, stall count, util.
storage show mc All media changer devices that are installed in the
system.
storage show tape All tape drive devices attached to the system.
System information | 279
storage show tape supported [-v] All tape drives supported. With -v, information about
density and compressions settings is also displayed.
storage stats tape Statistics for all tape drives attached to the system.
Step
• With no options, the aggr status command displays a concise synopsis of aggregate states,
including:
• The aggregate name
• Whether it is an aggregate (32-bit or a 64-bit) or traditional volume
• Whether it is online, offline, or restricted
• Its RAID type
• Other states such as partial or degraded
• Options that are enabled, either by default or through the aggr options or vol
options command
280 | Data ONTAP 8.0 7-Mode System Administration Guide
Note: If you specify an aggregate, such as aggr status aggr0, the information for that
aggregate is displayed. If you do not specify an aggregate, the status of all aggregates and
traditional volumes in the storage system is displayed.
• The -d option displays information about disks.
The disk information is the same as the information from the sysconfig -d command.
• The -r option displays RAID, plex, and checksum information for an aggregate.
The display is the same as the sysconfig -r display.
• The -v option displays information about each RAID group within an aggregate or traditional
volume, and the settings of the aggregate options.
Note: You can also get aggregate information, either interactively or with a script, using the
stats command.
For more information about aggregates, see the Data ONTAP 7-Mode Storage Management
Guide. For more information about the aggr command, see the na_aggr(1) man page.
Related concepts
Storage system information and the stats command on page 289
Step
• With no options, the vol status command displays a concise synopsis of volume states,
including:
• Volume name
• Whether it is a FlexVol or traditional volume
• Whether it is online, offline, or restricted
• Other status such as partial and degraded
• Options that are enabled for the volume or its containing aggregate (through the aggr
options or vol options command).
The vol command also displays RAID information for the volume’s containing aggregate.
Note: If you specify a volume, such as vol status vol0, the information for that
volume is displayed. If you do not specify a volume, the status of all volumes in the storage
system is displayed.
• The -d option displays information about the volume’s containing aggregate’s disks.
System information | 281
For more information about volumes, see the Data ONTAP 7-Mode Storage Management Guide.
For more information about the vol command, see the na_vol(1) man page.
Related concepts
Storage system information and the stats command on page 289
Step
• The snapshot argument is required. If the volume name is not specified, vol0 is assumed.
• snapshot_name is the name of the Snapshot copy.
• volume_name is the name of the volume.
• The -g option enables you to generate separate file usage summaries for each group ID. For
each group ID, a separate table containing information about file sizes and ages is listed.
• The -u option enables you to generate separate file usage summaries for each user ID. For
each user ID, a separate table containing information about file sizes and ages is listed.
• The ages option enables you to see when files have been accessed. You can specify file ages
in seconds, hours, and days, using a comma to separate each value. By default, file ages are
broken down by days, in 30-day increments.
282 | Data ONTAP 8.0 7-Mode System Administration Guide
• The timetype option enables you to specify the time types that you want to list in the age
comparison. The following table describes the valid values you can use with the timetype
option.
Value Definition
a Access time
m Modification time
c File change time (last size/status change)
cr File creation time
• The sizes option enables you to specify the breakdown of sizes, using a comma to separate
each value. Default values are in bytes, but you can also use the following suffixes at the end
of a number you specify:
• K (kilobytes).
• M (megabytes).
• G (gigabytes).
• * (a special value for listing all unique file sizes, one line per unique size). Using the *
suffix can result in output of several thousands of lines.
• The style option controls the output style. The valid arguments are as follows:
• readable—The default. This is what you see when you use the filestats command
with no style option.
• table—Use this argument when the filestats output will be used by processing
programs.
• html—Use this argument for output that will be read by a Web browser.
• The file option prints the results of the filestats command to the specified output file,
rather than the console. The output file is created in the /etc/log directory.
• The async option causes the filestats command to run independently of the console. This
option is designed for use with the file option.
Note: Running more than one asynchronous filestats command simultaneously can
adversely affect system performance.
Result
The output from the filestats command gives you a list containing the following information
about files from a Snapshot copy in a volume:
• Size
• Creation time
• Modification time
• Owner
System information | 283
Next topics
Example of the filestats command with no options specified on page 283
Examples of the filestats command with ages option specified on page 284
Example of the filestats command with sizes option specified on page 285
Example of using the filestats command to determine volume capacity on page 285
Note: The # character preceding user IDs or group IDs in the UID and GID sections of the
filestats command output indicates that the IDs cannot be found in the /etc/passwd and /
etc/hosts files on the storage system.
284 | Data ONTAP 8.0 7-Mode System Administration Guide
• You use the daily age breakdown displayed in the Cumulative Total KB column of the Age
output to determine the average change in data per day.
• You divide the amount of disk space you want to reserve for Snapshot copies by the daily change
average. For example, if you find that the average daily change rate is 3 GB and you have a 200-
GB volume, 40 GB (or 20 percent) of which you want to reserve for Snapshot copies, divide 40
by 3 to determine the number of daily Snapshot copies you can have before exceeding your space
limit. In this example, 13 daily Snapshot copies is your limit.
To display files with ages under 900 seconds (15 minutes), under 4 hours, and under 7 days, you use
the following command:
filestats ages 900,4H,7D volume vol0 snapshot hourly.1
If hourly.0 was taken at 8 a.m. and most file changes took place between 7H and 9H, which
corresponds to 3 p.m. and 5 p.m. in this example, you can schedule creation of more Snapshot copies
during these hours and fewer throughout the rest of the day. Scheduling creation of more Snapshot
copies before or during increased file activity decreases the time between file changes and Snapshot
copy creation.
For information about managing Snapshot copies, see the Data ONTAP 7-Mode Data Protection
Online Backup and Recovery Guide.
Next topics
Getting environmental status information on page 286
Specifying a UPS device to be monitored on page 287
Enabling or disabling monitoring of UPS devices on page 287
Step
environment status Displays the shelf environmental status for all shelves if adapter is not
shelf [adapter] specified.
You use adapter to display shelf information for shelves attached to the
specified adapter.
System information | 287
Command Description
Step
• You use -c community to specify the community for the UPS device.
• IP_address is the IP address of the UPS device.
Step
IP_address is the IP address of a specific UPS device you want to disable or enable.
Example
The following command disables monitoring of all UPS devices:
ups disable all
Note: The ups enable all command does not enable previously disabled UPS devices.
288 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
fcstat Displays link statistics for disks on a loop. This display includes the link failure
link_stats count, the loss of sync count, the loss of signal count, the invalid cyclic
redundancy check (CRC) count, the frame in count, and the frame out count.
fcstat Displays internal statistics kept by the Fibre Channel driver. The Fibre Channel
fcal_stats driver maintains statistics about various error conditions, exception conditions,
and handler code paths executed.
fcstat Displays the relative physical positions of drives on a loop and the mapping of
device_map devices to disk shelves.
Note: You can also get Fiber Channel information, either interactively or with a script, using
the fcp object for the stats command.
For more information about the fcstat command, see the na_fcstat(1) man page.
Related concepts
Storage system information and the stats command on page 289
Step
1. To display information about SAS adapters and expanders, enter one of the following commands:
System information | 289
Command Description
sasstat expander_map Displays product information for the SAS expanders attached to
the SAS channels in the storage system.
sasstat dev_stats Displays statistics for the disk drives connected to the SAS
channels in the controller.
sasstat shelf_short Displays the short form of the sasstat shelf command
output.
You can control where the information is returned (to the console or to a file) and how it is
formatted.
• How do you want to invoke the stats command?
You can invoke the stats command using the following methods:
• A single invocation
This method retrieves information from the specified counters once and stops.
• A periodic invocation
For this method, information is retrieved from the specified counters repeatedly, at a time
interval of your choice. You can specify a number of iterations to be performed, or the stats
command can run until you stop it explicitly.
• As a background process
This method enables you to initiate a stats command process that runs in the background
until you terminate it explicitly, when the average values for the specified counters are
returned.
Next topics
Viewing the list of available counters on page 290
Getting detailed information about a counter on page 291
Using the stats command interactively in singleton mode on page 292
Using the stats command interactively in repeat mode on page 293
Collecting system information by using the stats command in background mode on page 294
Changing the output of a stats command on page 295
About the stats preset files on page 297
Step
disk_data_read
disk_data_written
cpu_busy
avg_processor_busy
total_processor_busy
num_processors
Step
system
Properties: percent
Unit: percent
Step
• An asterisk (*)
This returns statistics for all instances of all objects.
The -e option allows extended regular expressions (regex) for instance and counter names. With
the -e option, the instance and counter names are independently interpreted as regular
expressions. The asterisk (*) character is still a wildcard representing all instances or counter
names. The regular expression is not anchored. You can use ^ to indicate the start of an instance
or counter name, and $ to indicate the end of an instance or counter name.
volume:myvol:avg_latency:13ms
volume:myvol:read_ops:5/s
volume:myvol:read_data:1923b/s
volume:myvol:read_latency:23ms
volume:myvol:write_ops:186/s
volume:myvol:write_data:1876b/s
volume:myvol:write_latency:6ms
volume:myvol:other_ops:0/s
volume:myvol:other_latency:0ms
The following command returns any counters in the system object ending in "latency".
Step
num specifies the number of times you want the command to be run. If this parameter is omitted,
the command is repeated until you issue a break.
interval specifies the interval between the iterations of the stats command. The default value is
one second.
object_def is one of the following values:
To specify an instance name that contains a colon (:), repeat the colon (disk:
20::00::00::20::37::de::4a::8e).
• An asterisk (*)
This returns statistics for all instances of all objects.
Related tasks
Using the stats command interactively in singleton mode on page 292
Steps
If you are running only one background stats command, you can omit the -I parameter.
identifier names this instance of the stats command so you can refer to it later to show
results. If you are running only one background stats command, you can omit this parameter.
object_def is the name of the object.
2. If you want to display interim results without stopping the background stats command, enter
the following command:
stats show [-I identifier]
identifier names the instance of the stats command you want to display interim results for.
If you are running only one background stats command, you can omit this parameter.
3. Enter the following command to stop data collection and display the final results:
stats stop [-I identifier]
identifier names the instance of the stats command you want to stop and display results for.
If you are running only one background stats command, you can omit this parameter.
To filter the output of a background stats command initiated with a stats start command,
add -O name=value to the stats stop command, where name is the name of the option you
want to omit from the output and the value is on or off.
Example
The following command filters out all the statistics with zero counter values:
stats stop [-I identifier] -O print_zero_values=off
Step
Filter the output of the stats Add -O name=value to the stats show command.
show command
name is the name of the option you want to filter and value is on or
off.
The -c option formats the output in columns and is the default only if the -I option is
specified.
The following example displays output in columns:
Note: The /s line shows the unit for the applicable column. In this example, there is one
column, and it is number of operations per second.
If you are displaying multiple objects that have different counters, the column format may
be difficult to read. In this case, use the row format.
System information | 297
In the following example, the same counter is listed as for the column output example, except
that it is comma-delimited.
The command in the following example filters output of the stats show command with zero
counter values:
stats show -O print_zero_values=off
Step
For a description of the preset file format, see the na_stats_preset(5) man page.
The list of available presets is displayed.
Related information
The NOW site - http://now.netapp.com/
System performance and resources | 299
Next topics
How to manage storage system resources by using FlexShare on page 299
How to increase WAFL cache memory on page 307
Ways to improve storage system performance on page 312
How to optimize LUN, file, volume, and aggregate layout on page 316
How to improve read performance on page 330
Next topics
When to use FlexShare on page 299
How to use FlexShare on page 302
performance to some of its users, you can use FlexShare to increase your control over storage system
resources to ensure that those resources are being used most effectively for your environment.
The following sample scenarios describe how FlexShare could be used to set priorities for the use of
system resources:
• You have different applications on the same storage system. For example, you have a mission-
critical database on the same storage system as user home directories. You can use FlexShare to
ensure that database accesses are assigned a higher priority than accesses to home directories.
• You want to reduce the impact of system operations (for example, SnapMirror operations) on
client data accesses. You can use FlexShare to ensure that client accesses are assigned a higher
priority than system operations.
• You have volumes with different caching requirements. For example, if you have a database log
volume that does not need to be cached after writing, or a heavily accessed volume that should
remain cached as much as possible, you can use the cache buffer policy hint to help Data ONTAP
determine how to manage the cache buffers for those volumes.
FlexShare enables you to construct a priority policy that helps Data ONTAP manage system
resources optimally for your application environment. FlexShare does not provide any performance
guarantees.
Next topics
FlexShare and priority levels on page 300
About using FlexShare in storage systems with a high-availability configuration on page 301
How the default queue works on page 301
FlexShare and the global io_concurrency option on page 302
Related concepts
FlexShare and the buffer cache policy values on page 304
Related tasks
Assigning priority to a volume relative to other volumes on page 302
Assigning priority to system operations relative to user operations on page 303
are given a higher priority than for any other volume. However, accesses to the lowvol volume may
still get a higher priority than accesses to the volumes that remain in the default queue (which has a
Medium priority). This is because all of the 28 volumes remaining in the default queue are sharing
the resources allocated to the default queue.
Next topics
Assigning priority to a volume relative to other volumes on page 302
Assigning priority to system operations relative to user operations on page 303
FlexShare and the buffer cache policy values on page 304
Setting the volume buffer cache policy on page 305
Removing FlexShare priority from a volume on page 306
Modifying the default priority on page 306
Steps
1. If you have not already done so, ensure that FlexShare is enabled for your storage system by
entering the following command:
priority on
System performance and resources | 303
2. Specify the priority for the volume by entering the following command:
priority set volume vol_name level=priority_level
vol_name is the name of the volume for which you want to set the priority.
• VeryHigh
• High
• Medium (default)
• Low
• VeryLow
• A number from 8 (VeryLow) to 92 (VeryHigh)
For more information about the priority command, see the na_priority(1) man page.
Example
The following command sets the priority level for the dbvol volume as high as possible. This
causes accesses to the dbvol volume to receive a higher priority than accesses to volumes with a
lower priority.
priority set volume dbvol level=VeryHigh system=30
Note: Setting the priority of system operations to 30 does not mean that 30 percent of storage
system resources are devoted to system operations. Rather, when both user and system
operations are requested, the system operations are selected over the user operations 30 percent
of the time, and the other 70 percent of the time the user operation is selected.
3. You can optionally verify the priority level of the volume by entering the following command:
priority show volume [-v] vol_name
Related concepts
How the default queue works on page 301
Steps
1. If you have not already done so, ensure that FlexShare is enabled for your storage system by
entering the following command:
priority on
2. Specify the priority for system operations for the volume by entering the following command:
priority set volume vol_name system=priority_level
vol_name is the name of the volume for which you want to set the priority of system operations.
• VeryHigh
• High
• Medium (default)
• Low
• VeryLow
• A number from 4 (VeryLow) to 96 (VeryHigh)
For more information about the priority command, see the na_priority(1) man page.
Example
The following command sets the priority level for the dbvol volume as high as possible while
setting system operations for that volume to 30.
priority set volume dbvol level=VeryHigh system=30
Note: Setting the priority of system operations to 30 does not mean that 30 percent of storage
system resources are devoted to system operations. Rather, when both user and system
operations are requested, the system operations will be selected over the user operations 30
percent of the time, and the other 70 percent of the time the user operation is selected.
3. You can optionally verify the priority levels of the volume by entering the following command:
priority show volume -v vol_name
This value tells Data ONTAP to wait as long as possible before reusing the cache buffers. This
value can improve performance for a volume that is accessed frequently, with a high incidence of
multiple accesses to the same cache buffers.
• reuse
This value tells Data ONTAP to make buffers from this volume available for reuse quickly. You
can use this value for volumes that are written but rarely read, such as database log volumes, or
volumes for which the data set is so large that keeping the cache buffers will probably not
increase the hit rate.
• default
This value tells Data ONTAP to use the default system cache buffer policy for this volume.
Steps
1. If you have not already done so, ensure that FlexShare is enabled for your storage system by
entering the following command:
priority on
2. Specify the cache buffer policy for the volume by entering the following command:
priority set volume vol_name cache=policy
• keep
• reuse
• default
Example
The following command sets the cache buffer policy for the testvol1 volume to keep, which
instructs Data ONTAP not to reuse the buffers for this volume when possible.
priority set volume testvol1 cache=keep
3. You can optionally verify the priority levels of the volume by entering the following command:
priority show volume -v vol_name
Related concepts
FlexShare and the buffer cache policy values on page 304
306 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
Example
The following command temporarily disables FlexShare priority for the testvol1 volume:
priority set volume testvol1 service=off
Example
The following command completely removes the FlexShare priority settings for the testvol1
volume:
priority delete volume testvol1
Step
option is either level or system, and the possible values for these options are the same as for
assigning priorities for a specific volume.
Example
The following command sets the default priority level for volumes to Medium, while setting the
default system operations priority to Low.
System performance and resources | 307
WAFL extended cache does not cache data that is stored on an SSD aggregate.
If you use WAFL extended cache on storage systems with a high-availability configuration, you must
ensure that the WAFL extended cache options are the same on both nodes. Otherwise, a takeover can
result in lower performance due to the lack of WAFL extended cache on the remaining node.
Besides the Data ONTAP options that you can use to manage WAFL extended cache, a diagnostic
command is available for sanitizing the Performance Acceleration Module. For more information,
see the Diagnostics Guide.
Next topics
Enabling and disabling WAFL extended cache on page 308
Caching normal user data blocks on page 308
Caching low-priority user data blocks on page 308
Caching only system metadata on page 309
Integrating FlexShare buffer cache policies with WAFL extended cache options on page 310
Displaying the WAFL extended cache configuration on page 311
Displaying usage and access information for WAFL extended cache on page 311
Related concepts
Ways to manage licenses on page 154
308 | Data ONTAP 8.0 7-Mode System Administration Guide
Step
Step
1. To enable or disable caching for normal user data blocks, enter the following command:
options flexscale.normal_data_blocks {on|off}
Related concepts
FlexShare and the buffer cache policy values on page 304
have workloads that fit within WAFL extended cache memory and if the workloads consist of either
write followed by read or large sequential reads.
Step
1. To control whether low-priority user data blocks are cached, enter the following command:
options flexscale.lopri_blocks {on|off}
Related tasks
Caching normal user data blocks on page 308
Steps
1. Enter the following command to turn off normal user data block caching:
options flexscale.normal_data_blocks off
2. Enter the following command to turn off low-priority user data block caching:
options flexscale.lopri_blocks off
Related concepts
FlexShare and the buffer cache policy values on page 304
Related tasks
Setting the volume buffer cache policy on page 305
310 | Data ONTAP 8.0 7-Mode System Administration Guide
Steps
1. If you have not already done so, ensure that FlexShare is enabled for your storage system by
entering the following command:
priority on
2. To enable only the FlexShare buffer cache policies and not other FlexShare options, enter the
following command:
priority set enabled_components=cache
3. To specify the caching policy for a specific volume, enter the following command:
priority set volume myvol cache=policy
When you cache metadata for the system, setting cache to keep for myvol enables you to cache
normal user data for only myvol.
Note: If you cache normal or low-priority user data for the system, setting cache to keep for
myvol has no effect on the specified volume.
When you cache normal or low-priority user data for the system, setting cache to reuse for
myvol enables you to cache metadata for only myvol.
After the FlexShare buffer cache policies are enabled, the following commands enable you to
cache normal user data for the system as a whole but cache only metadata for myvol:
options flexscale.normal_data_blocks on
System performance and resources | 311
Related tasks
Setting the volume buffer cache policy on page 305
Step
Step
Next topics
About balancing NFS traffic on network interfaces on page 312
How to ensure reliable NFS traffic by using TCP on page 312
Avoiding access time update for inodes on page 313
Adding disks to a disk-bound aggregate on page 313
About sizing aggregates appropriately on page 314
About putting cards into the correct slots on page 314
Maintaining adequate free blocks and free inodes on page 314
About optimizing LUN, file, and volume layout on page 315
Using oplocks for CIFS storage systems on page 315
Increasing the TCP window size for CIFS or NFS on page 315
About backing up by using qtrees on page 316
Step
Steps
1. Enter the following command to determine the fraction of time that the busiest disk is active:
sysstat -u
2. If the fraction is greater than 80 percent, add disks to the traditional volume or aggregate by
entering the following command:
aggr add aggrname disk-list
For more information about the aggr add command, see the na_aggr(1) man page.
314 | Data ONTAP 8.0 7-Mode System Administration Guide
Steps
Free inodes df -i
For more information about deleting Snapshot copies, see the na_snap(1) man page and the Data
ONTAP 7-Mode Block Access Management Guide for iSCSI and FC.
For more information about the maxfiles command, see the na_maxfiles(1) man page.
System performance and resources | 315
Related concepts
How to optimize LUN, file, volume, and aggregate layout on page 316
What a reallocation scan is on page 317
Step
1. If your system is running CIFS and is not in a database environment, enter the following
command to set oplocks:
options cifs.oplocks.enable on
Attention: If your system is in a database environment, ensure that the oplocks are not set.
For more information about the cifs.oplocks.enable option, see the na_options(1) man
page.
Steps
• For the CIFS protocol, the default is 17,520 bytes. The number of bytes must be between
1,600 and 8,388,608.
• For the NFS protocol, the default is 65,940 bytes. The number of bytes must be between 8,760
and 8,388,608.
Note: The cifs.tcp_window_size and nfs.tcp.recvwindowsize options are invisible
until you set them. After you set these invisible options, you can view them by entering the
options cifs or the options nfs command.
2. Change the window size in the Windows registry on a Windows NT client by adding the
DWORD value
\\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
\TcpWindowSize
and set it to 64,240 (0xFAF0 in hexadecimal).
Next topics
What a reallocation scan is on page 317
Reasons to use LUN, file, or volume reallocation scans on page 318
Reasons to use aggregate reallocation scans on page 318
Reasons to use physical reallocation scans on page 318
How a reallocation scan works on page 319
How you manage reallocation scans on page 320
How to use reallocation scans most efficiently on page 329
The following general recommendations apply to a file, volume, or aggregate reallocation scan:
• The best time to run a reallocation scan is when the storage system is relatively idle or when
minimal write requests are going to the target volume.
• Reallocation scans will not run if there is less than 10 percent free space (excluding the Snapshot
reserve) in the active file system on the target volume or aggregate. The more free space the
target has, the more effective the reallocation scan is.
• Check to make sure that the target volume's space guarantee is enabled so that the reallocation
scan does not cause an overcommitment of the volume's storage space. For information about
space guarantees, see the Data ONTAP 7-Mode Storage Management Guide.
• Before a reallocation scan, minimize the number of Snapshot copies in the target volume or
aggregate by deleting unwanted Snapshot copies.
When you use reallocate start without the -p option, a reallocation scan duplicates blocks
that are held in a Snapshot copy, so a file might use more space after the scan. When you use
reallocate start with the -p option, blocks are moved, and the file takes up less additional
space after the scan.
318 | Data ONTAP 8.0 7-Mode System Administration Guide
• If a volume you want to reallocate involves SnapMirror, reallocate the source volume instead of
the destination volume.
Related concepts
Reasons to use physical reallocation scans on page 318
How you manage reallocation scans on page 320
FlexVol volume. You can perform physical reallocation with FlexVol volumes or files and LUNs
within FlexVol volumes.
Physical reallocation might reduce the extra storage requirements in a FlexVol volume when
reallocation is run on a volume with Snapshot copies. It might also reduce the amount of data that
needs to be transmitted by SnapMirror on its next update after reallocation is performed on a
SnapMirror source volume.
Physical reallocation is not supported on FlexVol volumes or on files and LUNs within FlexVol
volumes that are in an aggregate created by a version of Data ONTAP earlier than version 7.2.
Physical reallocation is also not supported on RAID0.
Note: Using the -p option might cause a performance degradation when reading older Snapshot
copies, if the volume has significantly changed after reallocation. Performance might be impacted
when reading files in the .snapshot directory, accessing a LUN backed up by a Snapshot copy,
or reading a qtree SnapMirror (QSM) destination. This performance degradation does not occur
with whole-volume reallocation.
Next topics
Enabling reallocation scans on page 321
Defining a LUN, file, or volume reallocation scan on page 321
Defining an aggregate reallocation scan on page 322
Creating a reallocation scan schedule on page 323
Deleting a reallocation scan schedule on page 324
Starting a one-time reallocation scan on page 324
Performing a full reallocation scan of a LUN, file, or volume on page 325
Performing a measure-only reallocation scan of a LUN or volume on page 326
Quiescing a reallocation scan on page 327
Restarting a reallocation scan on page 327
Displaying the status of a scan on page 328
Deleting a reallocation scan on page 328
Disabling reallocation scans on page 329
System performance and resources | 321
Step
Step
• pathname is the path to the LUN, file, or volume on which you want to perform a
reallocation scan.
Example
The following commands create a new LUN and a normal reallocation scan that runs every 24
hours.
lun create -s 100g /vol/vol2/lun0
reallocate start /vol/vol2/lun0
Related concepts
How you manage reallocation scans on page 320
Related tasks
Creating a reallocation scan schedule on page 323
Enabling reallocation scans on page 321
Step
• -i interval is the interval, in hours, minutes, or days, at which the scan is performed. The
default interval is 24 hours. You specify the interval as follows:
[m | h | d]
For example, 30m is a 30-minute interval.
System performance and resources | 323
The countdown to the next scan begins only after the first scan is complete. For example, if
the interval is 24 hours and a scan starts at midnight and lasts for an hour, the next scan begins
at 1:00 a.m. the next day—24 hours after the first scan is completed.
• aggr_name is the name of the aggregate on which you want to perform a reallocation scan.
Example
The following example initiates an aggregate reallocation scan that runs every 24 hours.
reallocate start -A my_aggr
Related concepts
Reasons to use aggregate reallocation scans on page 318
Related tasks
Performing a full reallocation scan of a LUN, file, or volume on page 325
Creating a reallocation scan schedule on page 323
If the reallocation scan job does not already exist, use reallocate start first to define the
reallocation scan.
Step
A wildcard character (*) indicates every value for that field. For example, a * in the
day_of_month field means every day of the month. You cannot use the wildcard character in the
minute field.
You can enter a number, a range, or a comma-separated list of values for a field. For example,
entering “0,1” in the day_of_week field means Sundays and Mondays. You can also define a
range of values. For example, “0-3” in the day_of_week field means Sunday through
Wednesday.
324 | Data ONTAP 8.0 7-Mode System Administration Guide
pathname is the path to the LUN, file, or volume for which you want to create a reallocation
scan schedule.
aggr_name is the name of the aggregate for which you want to create a reallocation scan
schedule.
Example
The following example schedules a LUN reallocation scan for every Saturday at 11:00 PM.
reallocate schedule -s “0 23 * 6” /vol/myvol/lun1
A file or LUN reallocation scan is not automatically deleted when you delete its corresponding file or
a LUN. A volume or aggregate reallocation scan is automatically deleted when you delete its
corresponding volume or aggregate.
Step
pathname is the path to the LUN, file, or volume on which you want to delete a reallocation scan
schedule.
aggr_name is the name of the aggregate on which you want to delete a reallocation scan
schedule.
Example
reallocate schedule -d /vol/myvol/lun1
reallocate schedule -d my_aggr
Step
Example
The following example initiates a one-time reallocation scan on the my_aggr aggregate.
reallocate start -A -o my_aggr
Using the -f option of the reallocate start command implies the -o and -n options. This
means that the full reallocation scan is performed only once, without checking the layout first.
You might want to perform this type of scan if you add a new RAID group to a volume and you want
to ensure that blocks are laid out sequentially throughout the volume or LUN.
Attention: You cannot perform a full reallocation (using the -f option) on an entire volume that
has existing Snapshot copies, unless you also perform a physical reallocation (using the -p
option). Otherwise, an error message is displayed. If you do a full reallocation on a file or LUN
without the -p option, you might end up using significantly more space in the volume, because the
old, unoptimized blocks are still present in the Snapshot copy after the scan. For individual LUNs
or files, avoid transferring large amounts of data from the Snapshot copy to the active file system
unless absolutely necessary. The greater the differences between the LUN or file and the Snapshot
copy, the more likely the full reallocation will be successful.
If a full reallocation scan fails because of space issues, consider performing reallocation scans on a
per-file basis, by using reallocate start file_pathname without any options. However, if the
space issue is caused by a full reallocation on a file or LUN that was performed without the -p
option, a long-term solution is to wait until the Snapshot rotation has freed space on the volume and
then to rerun the full reallocation scan with the -p option.
Step
-p reallocates user data on the physical blocks in the aggregate while preserving the logical block
locations within a FlexVol volume. You can use this option only with FlexVol volumes or with
files and LUNs within FlexVol volumes.
Step
• -l logfile is the file where information about the layout is recorded. If logfile is
specified, information about the layout is recorded in the file.
• -t threshold is a number between 3 (layout is moderately optimal) and 10 (layout is not
optimal). The default is 4. When the layout becomes less optimal than the threshold level, the
layout of the LUN, file, or volume is considered unoptimized, and the log message advises
you to consider performing a LUN, file, or volume reallocation.
Note: Because Data ONTAP also includes “hot spots” in its calculation of whether to start
a reallocation, the log message might advise you to consider performing a reallocation
when the average optimization is better than the threshold but a small percentage of the
total data is very poorly optimized.
• -i interval is the interval, in minutes, hours, or days, at which the scan is performed. A
measure-only reallocation scan runs periodically at a system-defined interval, but depending
on the system configuration and write/read workload, you can change the job interval with the
-i option. You specify the interval as follows:
[m | h | d]
For example, 30m is a 30-minute interval.
System performance and resources | 327
The countdown to the next scan begins only after the first scan is complete. For example, if
the interval is 24 hours and a scan starts at midnight and lasts for an hour, the next scan begins
at 1:00 a.m. the next day—24 hours after the first scan is completed.
• -o performs the scan only once, after which the scan is automatically removed from the
system.
Example
The following example measures the optimization of the dblun LUN once and records detailed
information about the measurement in the measure_log_dblun log.
reallocate measure -o -l /vol/logs/measure_log_dblun/vol/dbvol/dblun
After a measure-only reallocation scan, the optimization information is logged via EMS in the system
log files.
Step
pathname is the path to the LUN, file, or volume, and aggr_name is the name of the aggregate
for which you want to quiesce the reallocation scan.
Step
• The -i option ignores the checkpoint and starts the job at the beginning.
328 | Data ONTAP 8.0 7-Mode System Administration Guide
• pathname is the path to the LUN, file, or volume on which you want to restart the
reallocation scan.
• aggr_name is the name of the aggregate on which you want to restart the reallocation scan.
The command restarts a quiesced scan. If there is a scheduled scan that is idle, the reallocate
restart command runs the scan.
Step
• pathname is the path to the LUN, file, or volume for which you want to see reallocation scan
status.
• aggr_name is the name of the aggregate for which you want to see reallocation scan status.
• If you do not specify a value for pathname or aggr_name, then the status for all scans is
displayed.
The reallocate status command displays the following information:
• State—whether the scan is in progress or idle.
• Schedule—schedule information about the scan. If there is no schedule, then the reallocate
status command displays n/a.
• Interval—intervals at which the scan runs, if there is no schedule defined.
• Optimization—information about the LUN layout.
• Logfile—the name of the logfile for a measure-only scan, if a detail logfile was specified.
• Hot spot optimization—displayed only for scheduled reallocation jobs.
Step
pathname is the path to the LUN, file, or volume and aggr_name is the name of the aggregate
on which you want to delete a scan.
System performance and resources | 329
The reallocate stop command stops and deletes any scan on the LUN, file, volume, or the
aggregate, including a scan in progress, a scheduled scan that is not running, or a scan that is
quiesced.
Step
Note: If you want to reenable reallocation scans at a later date, use the reallocate on
command.
Next topics
About read reallocation on page 330
About improving Microsoft Exchange read performance on page 331
Step
• on enables read reallocation for the volume to improve its subsequent read performance.
Enabling read reallocation might help workloads that perform a mixture of random writes and
large and multiple sequential reads. However, enabling read reallocation might increase the
number of disk operations performed on the storage system.
• space_optimized also enables read reallocation but can be used only on FlexVol volumes.
Using space_optimized might be useful if the FlexVol volume has Snapshot copies or is a
SnapMirror source. When you use space_optimized, the extent update does not result in
duplicated Snapshot blocks in the active file system, thus conserving space in the volume.
Also, space_optimized might reduce the amount of data that SnapMirror needs to move on
the next update. However, space_optimized might result in degraded Snapshot read
performance.
space_optimized is not supported if vol-name is in an aggregate that was either created
prior to Data ONTAP 7.2 or once reverted to a version earlier than Data ONTAP 7.2.
• off disables read reallocation for the volume. By default, read reallocation is disabled.
For more information about the vol options read_realloc command, see the na_vol(1) man
page.
Next topics
When to enable extents on page 331
Enabling and disabling extents on page 332
• On volumes that contain only Microsoft Exchange data, enabling extents might improve the
performance of Exchange database validation.
• On workloads that perform many small random writes followed by sequential reads, enabling
extents might improve sequential read performance.
The costs of enabling extents include the following:
• Enabling extents results in a higher load on the storage system, thereby increasing the latency of
other work, especially write latency under a heavy load.
• Unless vol options vol-name extent is set to space_optimized, enabling extents causes
some data in Snapshot copies to be duplicated in the active file system, and it also causes
SnapMirror updates to transfer more information, thereby using more space to store the same
amount of data.
If you want to enable extents but storage space is a concern, you can enable extents on FlexVol
volumes by setting vol options vol-name extent to space_optimized (instead of on).
Setting the option to space_optimized conserves space but results in degraded read performance
through the Snapshot copies. Therefore, if fast read performance through Snapshot copies is a higher
priority to you than storage space, do not use space_optimized.
Extents might conflict with deduplication by adding new blocks that were previously consolidated
during the deduplication process. A deduplication scan might also consolidate blocks that were
previously rearranged by extents, thus separating chains of blocks that were sequentially laid out on
disk. Therefore, because enabling extents does not predictably optimize sequential data block layout
when used on deduplicated volumes, it is best not to enable extents on deduplicated volumes. If you
want Microsoft Exchange data to benefit from extents, store it on volumes that are not enabled for
deduplication.
The extents options are not supported on FlexCache volumes. If file fragmentation is a concern,
enable extents on the original server volume.
Step
Also, space_optimized might reduce the amount of data that SnapMirror needs to move on
the next update. However, space_optimized might result in degraded Snapshot read
performance.
space_optimized is not supported if vol-name is in an aggregate that was either created
prior to Data ONTAP 7.2 or once reverted to a version earlier than Data ONTAP 7.2.
• off disables extents for the volume. By default, extents are disabled.
For more information about the vol options extent command, see the na_vol(1) man page.
Troubleshooting tools | 335
Troubleshooting tools
If you experience problems with your storage system, some tools are available to help you
understand and avoid problems.
Next topics
Storage system panics on page 335
Error messages on page 336
How to use the NOW site for help with errors on page 337
How to use the remote management device to troubleshoot the system on page 338
Steps
1. Access the panic message on the console messages or in the /etc/messages file.
2. From the NOW site, navigate to the Panic Message Analyzer tool.
3. Copy the panic message and Data ONTAP version number into the Panic Message Analyzer tool
to determine whether your panic was caused by a known software issue.
336 | Data ONTAP 8.0 7-Mode System Administration Guide
4. If the panic is due to a known issue that was fixed in a later release, and upgrading to that release
is feasible, you can download the new release from the web site and upgrade to resolve the issue.
Otherwise, call technical support.
Related information
The NOW site - http://now.netapp.com/
Error messages
If a hardware, software, or configuration problem exists on your system that is not severe enough to
cause a panic, the storage system logs a message to alert you to the problem.
The error message can be logged to the console, a file, or to a remote system, depending on how you
have configured message logging.
Note: You should check the /etc/messages file once a day for important messages. You can
automate the checking of this file by creating a script on the administration host that periodically
searches /etc/messages and then alerts you of important events.
Next topics
Using the Syslog Translator to get more information about error messages on page 336
Accessing the Syslog Translator using FilerView on page 337
Related tasks
Configuring message logging on page 162
Using the Syslog Translator to get more information about error messages
Error messages are relatively brief to avoid clogging the error logging system. Some messages have
more information available through the Syslog Translator.
Steps
1. Go to the NOW site and select Technical Assistance & Documentation and then Syslog
Translator.
2. In the Software field, select Data ONTAP.
3. Cut and paste the error message into the Search String field and click Translate.
If more information is available about the message you have received, it is displayed, including
the following information:
• Severity
• Description
• Corrective action
Troubleshooting tools | 337
• Related information
• Data ONTAP versions this message applies to
• Details about the syslog message
• Details about the SNMP trap initiated by this message
Related information
The NOW site - http://now.netapp.com/
Steps
Related information
The NOW site - http://now.netapp.com/
338 | Data ONTAP 8.0 7-Mode System Administration Guide
Related concepts
How to troubleshoot the storage system with the RLM on page 241
How to troubleshoot the storage system with the BMC on page 268
Related references
SP commands for troubleshooting the storage system on page 211
Glossary | 339
Glossary
ACL Access control list. A list that contains the users' or groups' access
rights to each share.
adapter card A SCSI card, network card, hot swap adapter card, serial adapter
card, or VGA adapter that plugs into an expansion slot. See
expansion card.
address resolution The procedure for determining a media access control (MAC)
address corresponding to the address of a LAN or WAN
destination.
administration host The client you specify during system setup for managing the
system. The setup program automatically configures the system
to accept telnet and rsh connections from this client, to give
permission to this client for mounting the / and /home
directories, and to use this client as the mail host for sending
AutoSupport e-mail messages. At any time after you run the
setup program, you can configure the system to work with other
clients in the same way it does with the administration host.
aggregate A manageable unit of RAID-protected storage, consisting of one
or two plexes, that can contain one traditional volume or multiple
FlexVol volumes. For more information about aggregates, see the
Data ONTAP 7-Mode Storage Management Guide.
API Application Programming Interface. A software toolkit designed
to provide system access to external programs. Data ONTAP
provides an API called Manage ONTAP.
ATM Asynchronous Transfer Mode. A network technology that
combines the features of cell-switching and multiplexing to offer
reliable and efficient network services. ATM provides an
interface between devices such as workstations and routers, and
the network.
authentication A security step performed by a domain controller for the system’s
domain, or by the system itself, using its /etc/passwd file.
AutoSupport A system daemon that triggers messages from the customer site
to NetApp or another specified e-mail recipient when there is a
potential system problem.
big-endian A binary data format for storage and transmission in which the
most significant bit or byte comes first.
340 | Data ONTAP 8.0 7-Mode System Administration Guide
local storage system The storage system you are logged in to.
magic directory A directory that can be accessed by name but does not show up in
a directory listing. The .snapshot directories, except for the one at
the mount point or at the root of the share, are magic directories.
mailbox disk One of a set of disks owned by each storage system that is used to
store the high-availability configuration state information of a
storage system. If that system stops operating, the takeover
system uses the information in the mailbox disks in constructing
a virtual storage system. Mailbox disks are also used as file
system disks.
maintenance mode An option when booting a storage system from a system boot
disk. Maintenance mode provides special commands for
troubleshooting hardware and configuration.
MultiStore An optional software product that enables you to partition the
storage and network resources of a single storage system so that it
appears as multiple storage systems on the network.
NDMP Network Data Management Protocol. A protocol that allows
storage systems to communicate with backup applications and
provides capabilities for controlling the robotics of multiple tape
backup devices.
network adapter An Ethernet, FDDI, or ATM adapter card.
normal mode The state of a storage system when there is no takeover in the
high-availability configuration.
NVRAM cache Nonvolatile RAM in a storage system, used for logging incoming
write data and NFS requests. Improves system performance and
prevents loss of data in case of a storage system or power failure.
NVRAM card An adapter card that contains the storage system’s NVRAM
cache.
NVRAM mirror A synchronously updated copy of the contents of the storage
system NVRAM (nonvolatile random access memory) contents
kept on the partner storage system.
panic A serious error condition causing the storage system to halt.
Similar to a software crash in the Windows system environment.
parity disk The disk on which parity information is stored for a RAID4 disk
drive array. In RAID groups using RAID-DP protection, two
parity disks store the parity and double-parity information. Used
to reconstruct data in failed disk blocks or on a failed disk.
Glossary | 343
partner From the point of view of a local storage system, the other
storage system in a high-availability configuration.
partner mode The method you use to communicate through the command-line
interface with a virtual storage system during a takeover.
POST Power-on self-tests. The tests run by a storage system after the
power is turned on.
qtree A special subdirectory of the root of a volume that acts as a
virtual subvolume with special attributes. For more information
about qtrees, see the Data ONTAP 7-Mode Storage Management
Guide.
RAID Redundant array of independent disks. A technique that protects
against disk failure by computing parity information based on the
contents of all the disks in an array. storage systems use either
RAID Level 4, which stores all parity information on a single
disk, or RAID-DP, which stores all parity information on two
disks.
RAID disk scrubbing The process in which a system reads each disk in the RAID group
and tries to fix media errors by rewriting the data to another disk
area.
SCSI adapter An expansion card that supports SCSI disk drives and tape drives.
SCSI address The full address of a disk, consisting of the disk’s SCSI adapter
number and the disk’s SCSI ID, such as 9a.1.
SCSI ID The number of a disk drive on a SCSI chain (0 to 6).
serial adapter An expansion card for attaching a terminal as the console on
some storage system models.
serial console An ASCII or ANSI terminal attached to a storage system’s serial
port. Used to monitor and manage storage system operations.
share A directory or directory structure on the storage system that has
been made available to network users and can be mapped to a
drive letter on a CIFS client.
SID Security identifier used by the Windows operating system.
Snapshot copy An online, read-only copy of an entire file system that protects
against accidental deletions or modifications of files without
duplicating file contents. Snapshot copies enable users to restore
files and to back up the storage system to tape while the storage
system is in use.
system board A printed circuit board that contains a storage system’s CPU,
expansion bus slots, and system memory.
344 | Data ONTAP 8.0 7-Mode System Administration Guide
takeover The emulation of the failed node identity by the takeover node in
a high-availability configuration; the opposite of giveback.
takeover mode The method you use to interact with a storage system when it has
taken over its partner. The console prompt indicates when the
storage system is in takeover mode.
takeover storage system A storage system that remains in operation after the other storage
system stops working and that hosts a virtual storage system that
manages access to the failed node disk shelves and network
connections. The takeover node maintains its own identity and
the virtual node maintains the failed node identity.
trap An asynchronous, unsolicited message sent by an SNMP agent to
an SNMP manager indicating that an event has occurred on the
storage system.
UID User identification number.
Unicode A 16-bit character set standard. It was designed and is maintained
by the nonprofit consortium Unicode Inc.
vFiler A virtual storage system you create using MultiStore, which
enables you to partition the storage and network resources of a
single storage system so that it appears as multiple storage
systems on the network.
volume A file system. For more information about volumes, see the Data
ONTAP 7-Mode Storage Management Guide.
WAFL Write Anywhere File Layout. The WAFL file system was
designed for the storage system to optimize write performance.
WINS Windows Internet Name Service.
workgroup A collection of computers running Windows NT or Windows for
Workgroups that is grouped for browsing and sharing.
Index | 345
Index
with SSL 61
/etc directory 28, 93 AutoSupport
/etc/hosts.equiv file 80 about 175
/etc/log/auditlog file 163, 164 configuring 177
/etc/messages file 96, 160 contents of email 186
/etc/rc file 165, 167 defined 175
/etc/syslog.conf file events that trigger e-mail 185
configuring message logging in 162 mail host support for 176
file format and parameters of 161 options 177
/etc/usermap.cfg file, character coding of 96 options AutoSupport.option (configures
/home file, contents of 92 AutoSupport) 177
/vol/vol0, root volume 89 reboots and 160
requirements for 176
technical support and 175
3DES, for SecureAdmin 51 testing 182
testing (options autosupport.doit) 182
A troubleshooting 183
when system reboots 160
administration host, logging in to the SP from 195 transport protocol 176
administration hosts
adding 79, 81
defined 79 B
removing 81 banner message for Telnet sessions 69
use of 79 BMC
where they are specified 80 admin mode command syntax 257
administrative level commands 39 admin mode commands 257
administrator access, managing 115 advanced command syntax 259
administrator accounts advanced mode commands 259
changing the password of (passwd) 142 AutoSupport messages 265
reasons for creating 115 command line interface (CLI) 255
aggregate Snapshot copy management 152 description of 245
aggregates displaying information in admin mode 261
aggr copy command 29 displaying information in advanced mode 259
aggr status command, description of 279 features 247
aggregate state, displaying (aggr status) 279 firmware update problems, troubleshooting 272
disk statistics, displaying (aggr status) 279 how to configure 248
performance improvements for disk-bound logging in to 253
aggregates 313 managing with Data ONTAP commands 248, 252
root option 100 system console redirection feature 260
alternative boot modes troubleshooting communication problems 269
booting 104 troubleshooting configuration problems 269
assigning priorities using FlexShare 302 troubleshooting connection problems 270
audit-log file 115, 163 troubleshooting firmware update problems 272
authentication troubleshooting hardware problems 270
public key-based 56 using AutoSupport options 253
with SSH 51 booting systems from 108, 111
346 | Data ONTAP 8.0 7-Mode System Administration Guide
system event log 264 halt (halts the storage system) 112
boot device license 155
booting the storage systems 103 options autosupport.doit (tests AutoSupport) 182
recovering from corrupted image 109 passwd (changes administrative user password) 142
boot options 103 passwd (changes storage system system password)
booting 141
from alternative boot modes 104 privilege levels 39
from firmware prompt 107 savecore, what it does 159
from maintenance mode 107 stats 289
booting the system timezone (displays and sets system time zone) 158
remotely 108, 111 useradmin 115
browsers, improving security through 61 administrative level 39
Bugs Online 337 advanced level 39
options wafl.root_only_chown (sets file ownerships
changes) 84
C privilege level 39
capabilities reboot (reboots the storage system) 111
assignment to users 117 RSH command list 73
definition of 116 CompactFlash cards
list of supported types 129 checking the Data ONTAP version of 110
modifying others’ 123 description of 24
types of 129 configuration
cards, expansion, displaying information about 275 display, using sysconfig 275
certificate-authority-signed certificates 61 message logging 160
certificates of AutoSupport (options AutoSupport.option) 177
domain names and 64 configuration files
generating 62 /etc 92
installing 63 accessing 35
testing 63 backing up 168
types of 61 backing up and cloning 168
used by SSL protocol 61 cloning 169
change privileges, file ownership 84 comparing backups 170
character coding for configuration files 96 editing from CIFS client 96
checksums, displaying information 279 editing from NFS client-setup 95
CIFS hard limits 94
accessing /etc directory 97 restoring 169
accessing /home directory 99 within /etc directory 93
administrator accounts in 115 configuration prerequisites, SP 191
editing configuration files using 96 configuration, SP 192
client, requirements to manage storage system 80 core files 159
client decryption 51 criticaltime (UPS option) 173
clients
editing configuration file from 96 D
platforms supported by FilerView 75
data access management 29, 32
SecureAdmin supported 51
data migration management 29
CIFS, requirements 80
Data ONTAP, check version of 110
NFS, requirements 80
data organization management 28
commands
data protection 29
AutoSupport.option (sets AutoSupport options) 177
data storage management 28
date (sets system date and time) 156
DataFabric Manager 23
Index | 347
date, setting storage system time and 156 priorities, removing 306
decryption, between client and storage system 51 volume operations and 300
default directories 92 when to use 300
default root aggregate 89 FTP
default root volume 89 accessing /etc directory 98
device carrier 23 accessing /home directory 99
diagnostic account 146
directories, default permissions 92
disks, displaying statistical information for 275 G
displaying volume information (sysconfig -v) 275 generating certificates 62
domain names, changing storage system 64 groups
domainusers assigning roles to 125
definition of 116 assigning users to 120
deleting 137 definition of 116
granting access to 122 deleting 137
listing 133 listing 133
DSA key pair, for SSH 56 naming requirements 117
predefined 124
E reloading from lclgroups.cfg file 126
renaming 126
e0M 45, 46 Windows special 117
encryption setting maximum auxiliary 127
with SSH 51
with SSL 61
encryption algorithms supported by SecureAdmin 51 H
error message logging, about 336 hard limits, configuration files 94
Exchange, performance 331 HMAC, for SecureAdmin 51
extents 331 host keys
changing the size of 55
F determining sizes 53
setting 53
F-Secure, for SecureAdmin 51 uses of 51
file ownership change privileges 84 using with SSH 53
FilerView where stored 53
accessing storage system through 35, 75 hosts
description 75 definition of 79
supported by client platforms 75 HTTP access to log files 100
Help system defined 78 HTTPS 49
interface 78
files, configuration 92
filestats command I
about 281 increasing cache memory 307
options for 281 installing certificates 63
FlexShare interface, use of FilerView 78
about 299
buffer cache policy 304, 305
default priority, modifying 306 K
default queue 301
io_concurrency options 302 keys
priorities, assigning 302 private and public 56
348 | Data ONTAP 8.0 7-Mode System Administration Guide
O R
obsolete domain names, and SSL 64 RAID
online command-line help 38 displaying statistics (aggr status) 279
OpenSSH displaying statistics (sysconfig -r) 275
for SecureAdmin 51 displaying statistics (vol status) 280
generating key pairs in 56 reading files 170
Index | 349
sasstat shelf_short (displays the short form of the editing boot configuration file in 166
sasstat shelf command output) 288 enabling licenses for (license) 155
sysconfig -c (checks expansion cards) 275 halting (halt) 112
sysconfig -d (displays disk information) 275 improving performance in 312
sysconfig -m (displays tape library statistics) 275 limiting Telnet access 82
sysconfig -r (displays RAID information) 275 managing CIFS using FilerView 35
sysconfig -v (displays overall filr statistics) 275 savecore (saves the core file) 159
sysconfig -V (displays volume statistics) 275 setting date and time (date) 156–158
ups (displays UPS environment information) 286 booting 103
vol status -d (displays disk statistics) 280 booting the system 108, 111
vol status -l (displays volume language) 280 controlling file ownership changes (options
vol status -r (displays RAID statistics) 280 wafl.root_only_chown) 84
vol status (displays volume state) 280 rebooting the system (reboot) 111
status, displaying SecureAdmin 66 RSH (Remote Shell) access to 70
storage subsystems security 85
viewing information about 277 support for AutoSupport, mail host 176
storage system SyncMirror 29
components 23 sysconfig -m (displays tape drive information) 275
memory (storage system main unit) 24 Syslog Translator
storage system access using 336
/etc directory, accessing by using CIFS 97 system
/etc directory, accessing by using FTP 98 date and time, setting 156
/etc directory, accessing by using NFS 97 panics 335
/home directory, accessing by using CIFS 99 password, changing 141
/home directory, accessing by using FTP 99 time zone, setting 158
/home directory, accessing by using NFS 98 booting, remotely 108, 111
using FilerView 75 management 32
from the console 47, 48 rebooting, from the console 111
inaccessibility, reasons for 167 Remote Shell access (RSH) 70
using RSH command from a PC client 73 system console, accessing the SP from 196
using RSH from a UNIX client 72 system management, remote 189
with Telnet 67, 68 systemshell 146
storage system hardware
expansion slots 25
serial ports 25 T
system board 24 tape backup and restore 29
environmental adapter 24 tape drives, displaying statistics 275
environmental adapter (storage system main unit) tapes, displaying tape library statistics 275
24 TCP, increasing window size
LCD 24 client, increasing performance for 315
memory 24 Telnet
storage system, defined 23 limiting access to 82
storage systems access to storage system 67
booting the system 108, 111 configuring a timeout period 70
changing domain name of 64 controlling the timeout period 69
decryption 51 termination of session with the storage system 68
disabling licenses for 155 time
displaying current licenses for (license) 155 setting storage system date and 156
displaying overall statistics for 275 time servers, about 157
displaying version of 275 troubleshooting commands, SP 211
Index | 353
U W
Uninterruptible Power Supply (UPS) 172
UPS WAFL (Write Anywhere File Layout) 23, 307
adding a device to be monitored 287 WAFL extended cache
enabling or disabling monitoring of 287 about 307
management 172 buffer cache policies 310
shutdown process 173 displaying configuration 311
user account, changing password for 142 displaying usage and access information 311
useradmin low-priority user data blocks 308
examples 138 normal user data blocks 308
naming requirements 117 system metadata cache 309
users warnings
assigning to groups 120 man-in-the-middle 55
changing passwords 142 obsolete domain names 64
creation examples 138 warningtime (UPS option) 173
definition of 116 Web browser requirements 76
deleting 137 Windows
examples of creating 138 administrator accounts in 115
listing 133 domainusers, granting access to 122
managing root access 118 network commands 35
modifying capabilities of 123 special groups 117
naming requirement 117 Write Anywhere File Layout (WAFL) 23, 307
writing files 170
V
Vandyke SecureCRT, for SecureAdmin 51
version checking, Data ONTAP 110
volumes
disk statistics, displaying (vol status) 280
vol status command, description of 280
volume language, displaying (vol status) 280
volume state, displaying (vol status) 280
volume statistics, displaying 275
vol copy 29