Data ONTAP Cook Book V3.1
Total Page:16
File Type:pdf, Size:1020Kb
Data ONTAP 7G Cook Book Data ONTAP Cook Book v3.1 Revision: 3.1 Aug 2010 A compilation of step-by-step instructions for performing common tasks in Data ONTAP 7G and ONTAP 8 in 7-mode. Most of the content is based on Data Ontap 7.2 and 7.3 releases so not all commands or features listed will be relevant to 7.0 and 7.1 versions. Features introduced in Data Ontap 7.3 and 8.0 are preceded by [7.3] or [8.0] Table of Contents 1 Aggregates and FlexVols ............................................................................................................ 6 1.1 Creating Aggregates ...................................................................................................................... 6 1.1.1. Software Disk Ownership ......................................................................................................... 6 1.1.1.1 Modifying disk ownership ........................................................................................... 6 1.1.1.2 Associated Key OPTIONS .......................................................................................... 7 1.1.2 Aggregates ................................................................................................................................. 7 1.1.2.1 Add disks to Aggregates ............................................................................................. 7 1.1.2.2 Disk right-size and max disk per aggregate matrix .................................................... 8 1.1.2.3 Key aggregate OPTIONS ........................................................................................... 8 1.1.3 Modifying RAID groups............................................................................................................... 9 1.1.4 Create Flexible Volumes (FlexVols) ........................................................................................... 9 1.1.4.1 Root volume minimum size recommendations ........................................................... 9 1.1.4.2 Resize a FlexVol ....................................................................................................... 10 1.1.4.3 Prioritize volume I/O with FlexShare ........................................................................ 10 1.1.4.4 Key Volume Options ................................................................................................. 11 1.1.5 SnapLock volumes ................................................................................................................... 11 1.1.5.1 Associated Key OPTIONS ........................................................................................ 12 1.1.6 Create Qtrees ........................................................................................................................... 12 2 NAS Implementation .................................................................................................................. 13 2.1 NFS exports ................................................................................................................................. 13 2.1.1 Support NFSv4 clients .............................................................................................................. 14 2.1.2 Associated Key NFS OPTIONS ............................................................................................... 14 2.2 CIFS shares ................................................................................................................................. 14 2.2.1 Associated Key CIFS Shares OPTIONS .................................................................................. 16 2.3 Using Quotas ............................................................................................................................... 16 3 SAN Implementation .................................................................................................................. 17 3.1 Fiber Channel SAN ...................................................................................................................... 17 3.1.1 Enable the Fibre Channel Protocol .......................................................................................... 17 3.1.2 Configure FCP ports ................................................................................................................. 18 3.1.3 Create WWPN aliases [7.3] ...................................................................................................... 18 3.1.4 Change cfmode of an active-active cluster .............................................................................. 18 3.1.5 Create a LUN ............................................................................................................................ 19 Data ONTAP 7G Cook Book v3_1.doc Page 1 17 August 2010 © NetApp Data ONTAP 7G Cook Book Data ONTAP Cook Book v3.1 3.1.6 Access LUNs on a Solaris Host ............................................................................................... 19 3.1.7 Multipathing Software for Solaris .............................................................................................. 20 3.1.8 Access LUNs on a Windows Host ............................................................................................ 21 3.1.9 Obtain HBA information ............................................................................................................ 21 3.2 iSCSI SAN ................................................................................................................................... 22 3.2.1 Enable the iSCSI Protocol ........................................................................................................ 22 3.2.2 Install iSCSI Initiator and SnapDrive for Windows ................................................................... 22 3.2.3 Connect Windows to a LUN with iSCSI.................................................................................... 22 3.2.4 Create an iSCSI LUN using SnapDrive for Windows ............................................................... 23 3.3 Resize a LUN ............................................................................................................................... 23 3.4 Clone a LUN ................................................................................................................................ 24 3.5 [7.3] FlexClone a LUN.................................................................................................................. 24 3.6 Delete a LUN ............................................................................................................................... 24 3.7 Access a LUN with NFS/CIFS protocols...................................................................................... 25 4 Networking and Appliance Access .......................................................................................... 26 4.1 Configure Network Interfaces ...................................................................................................... 26 4.2 Setting Time and Date ................................................................................................................. 26 4.2.1 Synchronize with a time server ................................................................................................ 26 4.3 Creating VLANS ........................................................................................................................... 26 4.4 Managing Virtual Interfaces (VIF)/Interface Groups .................................................................... 27 4.4.1 Create a VIF/ifgrp ..................................................................................................................... 27 4.4.2 Delete a VIF interface or VIF .................................................................................................... 28 4.5 [7.3.1] IP version 6 ....................................................................................................................... 28 4.5.1 Associated Key OPTIONS ....................................................................................................... 28 4.6 Baseboard Management Controller (BMC) ................................................................................. 28 4.6.1 Configure the BMC ................................................................................................................... 28 4.6.2 Using the BMC ......................................................................................................................... 28 4.6.3 Upgrade the BMC ..................................................................................................................... 29 4.7 Remote LAN Module (RLM) ........................................................................................................ 29 4.7.1 Configure the RLM ................................................................................................................... 30 4.7.2 Configure the Remote Support Agent (RSA) ........................................................................... 30 4.7.3 Use the RLM ............................................................................................................................. 30 4.7.4 Upgrade RLM firmware ............................................................................................................ 31 4.8 Create Local User Accounts ........................................................................................................ 31 4.9 Key Network and FAS Security