Beruflich Dokumente
Kultur Dokumente
NETAPP UNIVERSITY
ATTENTION
The information contained in this guide is intended for training use only. This guide contains information
and activities that, while beneficial for the purposes of training in a closed, non-production environment,
can result in downtime or other severe consequences and therefore are not intended as a reference guide. This guide is not a technical
reference and should not, under any circumstances, be used in production environments. To obtain reference materials, please refer to the
NetApp product documentation located at http://now.netapp.com/ for product information.
COPYRIGHT
2010 NetApp, Inc. All rights reserved. Printed in the U.S.A. Specifications subject to change without notice.
No part of this book covered by copyright may be reproduced in any form or by any meansgraphic, electronic, or mechanical, including
photocopying, recording, taping, or storage in an electronic retrieval systemwithout prior written permission of the copyright owner.
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 or materials described
herein, except as expressly agreed to in writing by NetApp. The use or purchase of this product or
materials 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. patents, foreign patents,
or pending applications.
TRADEMARK INFORMATION
NetApp, the NetApp logo, Go Further, Faster, Data ONTAP, Appliance Watch, ASUP, AutoSupport, Bolt Design, Center-to-Edge,
ComplianceClock, ComplianceJournal, ContentDirector, Cryptainer, Data Motion, DataFabric, DataFort, Decru, Decru DataFort, Evolution of
Storage, Exec-Vault, FAServer, FilerView, FlexCache, FlexClone, FlexShare, FlexVol, FPolicy, Get Successful, gFiler, LockVault, Manage
ONTAP, MultiStore, NearStore, NetApp Availability Assurance, NetApp IT As A Service, NetApp ProTech Expert, NetCache, NOW, NOW
(NetApp on the Web), ONTAPI, Raid-DP, Replicator-X, SANscreen, SecureAdmin, SecureShare, Shadow Tape, Simulate ONTAP,
SmartClone, SnapCache, SnapCopy, SnapDrive, SnapLock, SnapManager, SnapMirror, SnapMover, SnapRestore, Snapshot, SnapStore,
SnapSuite, SnapValidator, SnapVault, Spinnaker Networks, Spinnaker Networks logo, SpinCluster, SpinFlex, SpinFS, SpinHA, SpinMove,
SpinServer, SpinStor, StoreVault, SyncMirror, Tech OnTap, Topio, vFiler, VFM, VFM (Virtual File Manager), WAFL, and Web Filer are either
trademarks, registered trademarks, or service marks of NetApp, Inc. in the United States and/or other countries.
Not all common law marks used by NetApp are listed on this page. Failure of a common law mark to appear on this page does not mean that
NetApp does not use the mark nor does it mean that the product is not actively marketed or is not significant within its relevant market.
Apple and QuickTime are either trademarks or registered trademarks of Apple Computer, Inc. in the United States and/or other countries.
Microsoft and Windows Media are either trademarks or registered trademarks of Microsoft Corporation in the United States and/or other
countries.
RealAudio, RealNetworks, RealPlayer, RealSystem, RealText, RealVideo, RealMedia, RealProxy, and SureStream are either trademarks or
registered trademarks of RealNetworks, Inc. in the United States and/or other countries.
All other brands or products are either trademarks or registered trademarks of their respective holders and should be treated as such.
NetApp is a licensee of the CompactFlash and CF Logo trademarks.
E-2
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
TABLE OF CONTENTS
MODULE 1: NCDA OVERVIEW ....................................................................................................................... E1-1
MODULE 2: NFS OVERVIEW .......................................................................................................................... E2-1
MODULE 3: NFS SETUP .................................................................................................................................. E3-1
MODULE 4: EXPORTS AND MOUNTS ........................................................................................................... E4-1
MODULE 5: CIFS OVERVIEW ......................................................................................................................... E5-1
MODULE 6: CIFS WORKGROUPS .................................................................................................................. E6-1
MODULE 7: CIFS SHARES AND SESSIONS ................................................................................................. E7-1
MODULE 8: CIFS ACCESS CONTROL ........................................................................................................... E8-1
MODULE 9: CIFS DOMAINS ............................................................................................................................. E9-1
MODULE 10: NAS MULTIPROTOCOL .......................................................................................................... E10-1
MODULE 11: NAS TROUBLESHOOTING ..................................................................................................... E11-1
MODULE 12: SAN OVERVIEW ...................................................................................................................... E12-1
MODULE 13: FC CONNECTIVITY ................................................................................................................. E13-1
MODULE 14: ISCSI CONNECTIVITY ............................................................................................................. E14-1
MODULE 15: LUN ACCESS .......................................................................................................................... E15-1
MODULE 16: AVAILABILITY OVERVIEW ..................................................................................................... E16-1
MODULE 17: SNAPSHOT COPIES ............................................................................................................... E17-1
MODULE 18: SNAPRESTORE ...................................................................................................................... E18-1
MODULE 19: SNAPVAULT ............................................................................................................................ E19-1
MODULE 20: OPEN SYSTEMS SNAPVAULT .............................................................................................. E20-1
MODULE 21: HIGH AVAILABILITY ............................................................................................................... E21-1
MODULE 22: METROCLUSTER .................................................................................................................... E22-1
MODULE 23: SNAPMIRROR ......................................................................................................................... E23-1
MODULE 24: PERFORMANCE ...................................................................................................................... E24-1
APPENDIX A: ANSWERS ................................................................................................................................ EA-1
APPENDIX B: MASTER CONFIGURATION WORKSHEET .......................................................................... EB-1
E-3
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this exercise, you will identify your primary client machine for the course and install NetApp System Manager
on that machine.
OBJECTIVES
TIME ESTIMATE
15 minutes
E1-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NCDA Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned exercise environment. You will perform all other actions starting from
this assigned machine.
STEP ACTION
1.
Your instructor will assist you in identifying your main Windows Server. NOTE: This machine
might be a virtual machine.
With the assistance of your instructor, identify the following essential equipment:
DESKTOP CONNECTION
Name: _____________________________
Windows Server
IP address: __________________________
Local Administrator
Password: ___________________________
Domain Administrator
Password: ___________________________
2.
E1-2
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NCDA Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned exercise environment. You will perform all other actions starting from
this assigned machine.
STEP ACTION
1.
In this task, you will log in to your assigned exercise environment by way of Remote Desktop
Connection. From this remote Windows environment, you will then have access to your exercise
environment.
On your local Windows machine, log in to the remote Windows machine through the Remote
Desktop Connection tool.
Click the Remote Desktop Connection link on your desktop. If this link is not available, then ask
your instructor where to find the tool.
Type your IP address in to the Computer combo box and click the Connect button.
You might be asked to authenticate. If so, provide the user name and password given to you by your
instructor.
You should see the desktop of the remote machine. All other tasks will be initiated from this remote
machine.
2.
E1-3
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NCDA Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will install NetApp System Manager on your Windows Server machine.
STEP ACTION
1.
On your assigned Windows Server machine, open Windows Explorer and navigate to
C:\_files\ANCDA. You might have a shortcut on your desktop to facilitate this step.
Double-click system-manager-setup-1-1.exe. If prompted with a security warning, confirm by
clicking Run.
The installation wizard should begin.
Click Next to start the wizard.
2.
On the license agreement, select the I Agree radio button, and then click Next.
3.
Select the default installation location and click Everyone to ensure that any user on this machine
can run this program and click Next.
4.
E1-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NCDA Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
After the installation has completed, you should see a dialog window indicating that the install was
successful.
Task complete.
END OF EXERCISE
E1-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NCDA Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The goal of this exercise is to give you an opportunity to identify the current NFS exercise environment.
OBJECTIVES
TIME ESTIMATE
15 minutes
E2-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
This task familiarizes you with the exercise environment you will use for all exercises in this course. NOTE: Your
Windows client was identified in the previous module.
STEP ACTION
1.
With the assistance of your instructor, identify the following essential equipment:
STORAGE SYSTEM CONNECTION
Name: ______________________________
Storage System
2.
With the assistance of your instructor, identify the following essential equipment:
UNIX/LINUX CONNECTION
UNIX/LUNIX
Workstation
Name: _____________________________
IP address: __________________________
Root
Password: ___________________________
3.
E2-2
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned storage system and enable SNMP control so NetApp System Manager
can manage it.
STEP ACTION
1.
2.
3.
E2-3
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
TASK 3: LOG IN TO NETAPP SYSTEM MANAGER AND ADD YOUR STORAGE SYSTEM
In this task, you will set up NetApp System Manager to administer your assigned storage system.
STEP ACTION
1.
On your remote Windows Server desktop, double click the NetApp System Manager desktop icon
found on your desktop.
2.
Click the Add button to associate your storage system to NetApp System Manager.
Type in the IP address of e0a on storage system and click Add System.
E2-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Your storage system should be added to NetApp System Manager. NOTE: you should
refer to the Data ONTAP 8.0 7-Mode Administration course for more details about
configuring your storage system with NetApp System Manager.
In the left pane of NetApp System Manager, expand the node that represents your storage
system by clicking the plus (+) icon next to the name.
Select the Storage node.
Your storage system is probably not configured yet for storage access. Click the Storage
Configuration Wizard link.
The Storage Configuration Wizard should start.
4.
We will manually configure storage in this class. Again, see the Data ONTAP 8.0 7-Mode
Administration course for more details.
Click Next to continue on with the wizard.
5.
On the Configure Aggregates page of the wizard, select Manually create aggregates.
Click Next.
6.
7.
The Storage node should now have additional items. Click the plus (+) icon next to the
Storage node to expand and view the items available.
If you have never used NetApp System Manager, you might want to explore the items on
your own.
8.
Task complete.
END OF EXERCISE
E2-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Setting up NFS services on a NetApp storage system is easy. You will configure the NFS services in this
exercise as well as allow your assigned UNIX or LINUX machine to be an admin host for your assigned storage
system. This will allow your client host to have default access to your root volumes configuration file.
OBJECTIVES
TIME ESTIMATE
20 minutes
E3-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Setup
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will license and verify the current configuration of the NFS service.
STEP ACTION
1.
2.
Check whether NFS is licensed on your system with the license command.
system> license
If NFS is not licensed, license the NFS protocol on your storage system.
system> license add XXXXXXX (obtain license code from your instructor)
3.
Open up NetApp System Manager; notice that under the Configuration node and Licenses node that
the NFS license was added.
Other changes caused by adding the NFS license include:
Storage > Shared Folders > Exports
Configuration > Protocols > NFS
4.
E3-2
From the Configuration > Protocols > NFS page within NetApp System Manager, select the Edit
button.
The Edit NFS Configuration should appear.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Setup
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
NOTE: The NFS versions are available from the Versions tab.
6.
NOTE: View the Transport Protocols that are currently configured by selecting the
Transport Protocols tab.
7.
8.
From the PuTTY sessions, verify the NFS protocol setting using the command-line interface:
system> options nfs
In the following steps, we will verify individual settings.
E3-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Setup
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
9.
10.
11.
Task complete.
In this task, you will configure your storage systems admin host setting with your assigned UNIX or LINUX host.
This will allow your UNIX or LINUX host to mount the root volume of your storage system so that you can
configure the storage system.
STEP ACTION
1.
Establish a console connection to the storage system by way of the terminal server and execute the
setup command.
Enter the following highlighted information when prompted:
NOTE: Your output may differ depending on the hardware you are utilizing.
system> setup
The setup command will rewrite the /etc/rc, /etc/exports,
/etc/hosts, /etc/hosts.equiv, /etc/dgateways, /etc/nsswitch.conf,
and /etc/resolv.conf files, saving the original contents of these
files in .bak files (e.g. /etc/exports.bak).
Are you sure you want to continue? [yes]
Enter Yes or Return to start the wizard.
E3-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Setup
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
Press Enter to accept the default value for the following questions:
Please enter the new hostname [system]:
Do you want to configure interface groups? [n]:
Please enter the IP address for Network Interface e0a
[10.254.134.35]:
Please enter the netmask for Network Interface e0a [255.255.252.0]:
Should interface e0a take over a partner IP address during
failover? [n]:
Please enter media type for e0a {100tx-fd, tp-fd, 100tx, tp, auto
(10/100/1000)} [auto]:
Please enter flow control for e0a {none, receive, send, full}
[full]:
Do you want e0a to support jumbo frames? [n]:
Please enter the IP address for Network Interface e0b []:
Should interface e0b take over a partner IP address during
failover? [n]:
Please enter the IP address for Network Interface e0c []:
Should interface e0c take over a partner IP address during
failover? [n]:
Please enter the IP address for Network Interface e0d []:
Should interface e0d take over a partner IP address during
failover? [n]:
Would you like to continue setup through the web interface? [n]:
Please enter the name or IP address of the default gateway
[10.254.132.1]:
3.
The admin host questions are next. Enter the name of your UNIX or LINUX machine and then enter
its primary IP address:
The administration host is given root access to the filer's /etc
files for system administration. To allow /etc root access to all
NFS clients enter RETURN below.
Please enter the name or IP address of the administration host:
LINUX_VM
Please enter the IP address for LINUX_VM: XXX.XXX.XXX.XXX
E3-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Setup
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
Continue through the wizard by pressing Enter for the remainder of the questions:
Please enter timezone [GMT]:
Where is the filer located? [Classroom]:
Do you want to run DNS resolver? [y]:
Please enter DNS domain name [development.netappu.com]:
You may enter up to 3 nameservers
Please enter the IP address for first nameserver [216.240.23.25]:
Do you want another nameserver? [y]:
Please enter the IP address for alternate nameserver
[10.254.132.10]:
Do you want another nameserver? [n]:
Do you want to run NIS client? [n]:
The Shelf Alternate Control Path Management process provides the ability
to recover from certain SAS shelf module failures and provides a level of
availability that is higher than systems not using the Alternate Control
Path Management process.
Now, lets reboot the storage system to make our changes take effect.
NOTE: Because we only added the admin host setting, we dont really need to reboot. If this was a
production storage system, you might make the change take effect without rebooting by using the
source command.
system> reboot
The setup command automatically updates the following files:
/etc/exports allowing the admin host to mount the root volume.
/etc/hosts.equiv allowing the admin host to be trusted on the storage
system (allows rsh commands).
/etc/hosts allowing IP resolution of the admin host.
options admin.host which displays the name of the admin host that was provided during
the setup command. If volumes are automatically exported (a feature described later in
the course), this setting determines who should receive access to the server-generated
export.
We will now explore these changes.
6.
After the reboot, log in to your storage system. What volumes exist on your storage system?
______________________
Which command did you use to discover the volumes?_______________
E3-6
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Setup
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
8.
Record the IP address and hostname for each entry in the /etc/hosts file as follows:
Host1:
IP Address:
9.
10.
Task complete.
END OF EXERCISE
E3-7
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NFS Setup
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
This lab allows you to practice what you learned in class regarding file sharing. You will create volumes, qtrees,
and files. The volumes, qtrees, and files will be exported on the storage system and mounted to a mountpoint on
the NFS client. It is assumed that you are familiar with the exportfs, mount, mkdir, and cd commands. If
not, refer to the lecture notes during this lab exercise.
OBJECTIVES
TIME ESTIMATE
60 minutes
E4-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
TASK 1: MOUNT THE ROOT VOLUME OF THE STORAGE SYSTEM ON AN ADMIN HOST
In the previous exercise, you configured a UNIX or LINUX host as an admin host. Now, mount the root volume so
you can modify configuration files from the admin host.
STEP ACTION
1.
2.
Notice that the root volume is exported by default just like you observed from the command-line
interface in the previous exercise.
3.
4.
E4-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
6.
7.
8.
Task complete.
In this task, you will create a new aggregate and volume and verify the volume was exported automatically.
STEP ACTION
1.
Examine the contents of the /etc/exports file with the rdfile command.
system> rdfile /etc/exports
Compare the output from above with the output from using the exportfs command.
system> exportfs
What is the difference between the outputs?
2.
E4-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Verify the volume is created and exported using the rdfile and exportfs commands:
system> rdfile /etc/exports
Using the exportfs command, verify the volume is exported:
system> exportfs
What option allows a newly created volume to be exported automatically?
HINT: Look at system> options nfs
4.
Note the access permission for the exported volume and record it here:
5.
Task complete.
In this task, you will rename a volume that was automatically exported and verify the export after the renaming
operation. Then you will mount the newly renamed volume from a host.
STEP ACTION
1.
At the storage system command-line interface, rename the volume from NFStest to NFSvol:
system> vol rename NFStest NFSvol
2.
At the storage system command-line interface, view the exported file systems:
system> exportfs
Notice that the /etc/exports file has been modified and that the exports have been automatically
updated.
3.
4.
E4-4
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will create a qtree. You will then export it by editing the /etc/exports file and then reload the
persisted exports. You will then mount the qtree export.
STEP ACTION
1.
At the storage system command-line interface, use the qtree create command to create a
qtree named unix_tree on NFSvol:
system> qtree create /vol/NFSvol/unix_tree
2.
E4-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Let us now export this new qtree. Connect to your UNIX host and edit the /etc/exports file on the
storage system.
Grant access to /vol/NFSvol/unix_tree by adding the following line:
/vol/NFSvol/unix_tree -rw=<UNIX/LINUX HOST>,root=<UNIX/LINUX HOST>
To edit the file, you can use vi. If you are not familiar with this technique, refer to the following:
Verify your current location
# pwd
/mnt/system/vol0
If you are not here, within the vol0 mount point, change your directory to this location.
Change directory into your assigned storage systems etc directory.
# cd etc
Run vi on the exports file.
# vi exports
Your exports file will now be available in the vi editor and the editor will be in command mode.
Scroll down to the last line.
Type Shift-A, capital A, to append to the end of the line you are currently on.
Enter Return to move to the next line.
Type in the following line: /vol/NFSvol/unix_tree -rw=<UNIX/LINUX
HOST>,root=<UNIX/LINUX HOST> replacing the <UNIX/LINUX HOST> with your
assigned UNIX/LINUX hostname or IP address.
Click the ESC button to move out of append mode and back to command mode.
Enter :wq to write the file and quit vi.
Verify your changes using the cat command.
# cat exports
...
/vol/NFSvol/unix_tree -rw=host1,root=host1
4.
At the storage system command-line interface, run the following command to export the new entry
to memory:
system> exportfs a
system> exportfs
E4-6
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
6.
7.
8.
Task complete.
1.
E4-7
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
Export this qtree to the subnet. Use the subnet address of the current training environment in one of
the following ways:
/vol/NFSvol/subnet -rw=<current_subnet>/24,root=<current_subnet>/24
or
/vol/NFSvol/subnet -rw=<current_subnet>
<subnet_mask>,root=<current_subnet> <subnet_mask>
NOTE: Use your assigned UNIX hosts IP address and the correct subnet mask.
For example:
/vol/NFSvol/subnet -rw=10.10.10.0/24,root=10.10.10.0/24
or
/vol/NFSvol/subnet -rw=10.10.10.0 255.255.255.0, root=10.10.10.0
255.255.255.0
Export the file system after editing the /etc/exports file.
3.
4.
E4-8
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will identify targets and resources, create the /etc/netgroup file, create the /etc/nsswitch.conf file,
and verify content of the /etc/rmtab and /etc/hosts files.
STEP ACTION
1.
Verify the existence of the netgroup file from the host with the ls command or from the storage
system with the rdfile command.
From the admin host:
# cd /mnt/<system>/vol0/etc
# ls l net*
# more netgroup
From the storage system:
system> rdfile /etc/netgroup
Does the file exist? ________________________________________
If no, what error message did you receive? ______________________
NOTE: If it doesnt exist, we will have to create it.
E4-9
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
Use a UNIX or LINUX host or the wrfile command to create three groups.
The groups are: trustedhosts, untrustedhosts, and allhosts. Add your assigned UNIX admin host to
the trustedhost group and create other dummy hosts for the untrustedhosts. Place the trustedhosts
and untrustedhosts in the allhosts folder. See the WRFILE METHOD below for an example.
VI METHOD:
From the UNIX host:
# cd /mnt/<system>/vol0/etc
# vi netgroup
Use the WRFILE METHOD for the correct data.
WRFILE METHOD
From the storage system command-line interface, use the wrfile command to create the netgroup
file.
system> wrfile /etc/netgroup
Enter the following netgroups:
trustedhosts (adminhost,,) (name_of_your_station,,)
untrustedhosts (host1,,) (host2,,)
allhosts trustedhosts untrustedhosts
(Make sure to press Enter after the last line.)
Press Ctrl-C to save entries
NOTE: Disregard the error message generated; this message will always appear.
CAUTION: Use the wrfile command sparingly. If available, use vi editor or other equivalent
commands instead.
Verify your entries with the rdfile command again:
system> rdfile /etc/netgroup
NOTE: It may take up to 60 seconds for modifications of the netgroup file to take effect.
3.
The rmtab file records a list of all the hosts mounted the storage system since boot up.
Check to see if the rmtab file exists and identify the contents of the file.
# ls l /mnt/<storage_system>/vol0/etc/rmtab
# more /mnt/<storage_system>/vol0/etc/rmtab
# more !$
Or, from the storage system:
system> rdfile /etc/rmtab
E4-10
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
The nsswitch.conf file contains information on the order of the mechanism to resolve
hostname-to-IP, passwords, netgroups, as well as other configurations.
Verify the existence of the nsswitch.conf file on the storage system:
# ls l /mnt/<system>/vol0/etc/nsswitch.conf
# more !$
Or, from the storage system, use the rdfile command to verify the existence of the nsswitch.conf
file:
system> rdfile /etc/nsswitch.conf
5.
Using the rdfile command, view the contents of the /etc/hosts file:
system> rdfile /etc/hosts
What is the output of this command?
____________________________________________________
____________________________________________________
Make sure your assigned UNIX host is on the list.
6.
7.
Export netgroupA to the trusted targets (the netgroup trustedhosts) with rw permissions.
8.
9.
Change the directory to the mountpoint and create a file named netgroup_file.
You have successfully exported a resource to a netgroup.
10.
Task complete.
In this task, you will export a qtree using NetApp System Manager and change the logical name of the export.
STEP ACTION
1.
E4-11
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
3.
4.
Click Next.
5.
Within the Shared Folder Location, click Browse and the Browse For Folder dialog should appear.
Expand aggr1 and the select NFSvol. Select the readTree folder.
Verify that the folder path to export is /vol/NFSvol/readTree and click OK.
6.
E4-12
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
In the NFS Permissions dialog, change the default permissions by selecting the current default and
clicking Edit.
Within Edit Host Permissions, change the permissions for All hosts to Allow Read-Only.
Click OK.
8.
Click Next.
9.
10.
11.
Observe you new export under Storage > Shared Folders > Exports.
12.
Task complete.
In this task, you will mount the export created earlier in this exercise.
STEP ACTION
1.
Establish a PuTTY session to the admin host and create a directory for your storage system.
2.
E4-13
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Mount the storage systems root volume to the directory you just created and view the contents.
When mounting the root volume, use the storage system name or IP address.
# mount <IP_address>:/readTree /mnt/<system_name>/readTree
# cd /mnt/<system_name>/readTree
4.
You should now be able to view the directory structure of your storage systems root volume.
# ls al /mnt/<system_name>/readTree
5.
6.
Task complete.
END OF EXERCISE
E4-14
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Exports and Mounts
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The goal of this exercise is to give you an opportunity to identify the current CIFS exercise environment.
OBJECTIVES
TIME ESTIMATE
15 minutes
E5-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
This task familiarizes you with the exercise environment you will use for all exercises in this course.
STEP ACTION
1.
With the assistance of your instructor, identify the following essential equipment:
Windows Server
NOTE: This machine might be a virtual machine.
ALSO NOTE: When login into the Windows Server, authenticate with the domain.
Name: ______________________________
IP address: _________________________
Domain
Administrator
Password: __________________________
Local
Administrator
Password: __________________________
Domain Controller
Domain Name: _______________________
Controller
IP address: _________________________
DNS: ____________________________
IP address: _________________________
E5-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
Storage System
Name: ___________________________________
Type: ___________________________________
Internal
IP address: _______________________________
Terminal
IP address: _______________________________
Root
Password: _______________________________
2.
Task complete.
END OF EXERCISE
E5-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The goal of this lab is to give you an opportunity to configure a storage system for a Windows workgroup
environment. In a future exercise, you will repurpose the storage system for an Active Directory domain
environment.
OBJECTIVES
TIME ESTIMATE
30 minutes
E6-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned storage system and configure the CIFS services within Data
ONTAP.
STEP ACTION
1.
2.
Type license at the storage systems command prompt to view the current list of licenses
registered.
License CIFS by entering the following command and using the CIFS license code provided by
your instructor:
system> license add xxxxxx
Confirm the license was successfully added by reissuing the license command at the prompt.
3.
Before configuring the CIFS services, at the storage system prompt (in your Telnet session), enter
the following command and view the default storage system security style and NT administrator
privileges:
system> options wafl
Look at the wafl.default_security_style option.
What is the volume (and all qtrees on the volume) default security style? ______________
Look at the wafl.nt_admin_priv_map_to_root option. Does the NT (Windows)
administrator have privileges to map to the UNIX root user? ___________________
4.
Enter the following command and view the security style of the root volume:
system> qtree status
What is the security style of your root volume? _________
E6-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
6.
7.
8.
9.
Press Enter to keep default CIFS server (storage system) name. (Obtain the storage system name
from your instructor.)
10.
Choose 3 for Windows workgroup authentication using the storage systems local user accounts.
11.
Press Enter to keep the default name for the workgroup [WORKGROUP].
12.
13.
E6-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
14.
CIFS should now be configured. Verify CIFS configuration using NetApp System Manager by
navigating to:
Configuration > Protocols > CIFS
15.
After configuring the CIFS services, enter the following command and view the default storage
system security style and NT administrator privileges:
system> options wafl
16.
What is the volume (and all qtrees on the volume) default security style?
___________________
Does the NT (Windows) administrator have automatic privileges to map to the UNIX root user?
_______________
Enter the following command and view the security style of the root volume:
system> qtree status
After configuring the CIFS services, what is the security style of your root volume?
__________________
After configuring the CIFS services, what is the security style of your NFSvol volume?
__________________
E6-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
17.
Change NFSvol back to a unix security style using the following command:
system> qtree security /vol/NFSvol unix
Verify:
system> qtree status
18.
Task complete.
In this task, you will review the files modified during the process of configuring the storage systems CIFS server
for a Windows Workgroup environment. All commands in the lab are entered at the storage system prompt.
STEP ACTION
1.
At the storage system prompt, review the CIFS configuration file with the rdfile command by
typing:
system> rdfile /etc/cifsconfig_setup.cfg
Notice how this file holds all the configurations entered during the wizard questions of the cifs
setup command.
2.
E6-5
At the storage system prompt, review the following files with the rdfile command:
/etc/usermap.cfg
/etc/passwd
/etc/nsswitch.conf
/etc/cifsconfig_share.cfg
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
As you recall, cifs setup created a local administrator. We will now verify this new user was
created.
system> useradmin user list administrator
Now, we will verify that this user was added to the lclgroups.cfg file under the
BUILTIN\Administrators group.
system> rdfile /etc/lclgroups.cfg
Notice there is a SID under the BUILTIN\Administrators group. Because the lclgroups.cfg file is a
newly created file, there should only be one SID. Now, lets verify that this SID is the same as the
administrator that we saw with the useradmin command:
system> cifs lookup {copy the SID here}
This SID should resolve to the storage systems local administrator that was created with cifs
setup.
4.
Task complete.
END OF EXERCISE
E6-6
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Workgroups
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The purpose of this activity is to perform routine CIFS administration procedures on your storage system in a
Windows Workgroup environment. You will view the current list of shares, add a new share, verify access to the
share, and display session information.
OBJECTIVES
TIME ESTIMATE
15 minutes
E7-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to the storage system and work with the default shares.
STEP ACTION
1.
If you are not already logged in, use the Remote Desktop connection to log in to your Windows
workstation as Administrator.
NOTE: Use the IP address and password provided by the instructor.
2.
On your Windows workstation, go to StartRun. In the Run window, enter the following to
browse the shares on your storage system, and click OK:
\\IP_Address_of _Your_Storage_System
What share(s) display? _________________________
3.
In the address bar of the Web browser, change the address to the following:
\\IP_Address_of _Your_Storage_System\C$
What folder(s) display? __________________________
4.
At your storage system prompt, view the CIFS sessions by entering the following command:
system> cifs sessions
What user currently has a session with the storage system?
__________________________________________________
What account is the user mapped to? _______________________
E7-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
At the storage system prompt, verify the user mapping by entering the following command:
system> options wafl.nt_admin_priv_map_to_root
Is this option set to on? _________________
If wafl.nt_admin_priv_map_to_root is on, then the local administrators user mapping is
root.
Verify the default UNIX user name by entering the following command:
system> options wafl.default_unix_user
Is there a default UNIX user? If yes, what is the user name?
________________________________
If the wafl.default_unix_user is set to a user name (for example, pcuser), then this is the
default user mapping for any Windows user that is not explicitly mapped.
Verify that the default UNIX user name is in the /etc/passwd file by entering the following
command:
system> rdfile /etc/passwd
Is the default UNIX user name in the /etc/passwd file? _____________
6.
Task complete.
In this task, you will create a new share using the command-line interface.
STEP ACTION
1.
2.
Create a new share called winshare (for the qtree wintree) on the storage system by entering the
following command at the storage system prompt:
system> cifs shares add winshare /vol/NFSvol/wintree
Answer yes if you are asked whether you want to use this share name.
E7-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
View the newly created winshare share by entering the following command at the storage system
prompt:
system> cifs shares winshare
Which group has access to this share? _______________________
What are the share permissions? _______________________
4.
Task complete.
In this task, you access the new share that you created previously and check the session information.
STEP ACTION
1.
On the Windows Server, open Windows Explorer and, as the administrator, map a network drive
to the new share winshare.
NOTE: Depending on the environment, you might want to create a share using the storage systems
IP address instead of the hostname.
2.
3.
On the Windows workstation, create a text file with WordPad and save the file to the new share
winshare.
a) Go to Start > Programs > Accessories > WordPad.
b) Open WordPad and type something to create a text document.
c) Save the file to the winshare share.
4.
On the Windows workstation using Windows Explorer, go to the mapped network drive for the
winshare share to view the newly created text file:
a) Right-click the text file and choose Properties.
b) Click the Security tab and view the NTFS file permissions for the text file.
c) What group has access to this file? ____________________________
List the file access permissions for the text file:__________________
d) Close all the open windows.
E7-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
At the storage system prompt, view the CIFS sessions by entering the following command:
system> cifs sessions
From your Windows workstation, who has a session with the storage system?
__________________________________________________
6.
Task complete.
END OF EXERCISE
E7-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Shares and Sessions
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The purpose of this activity is to perform routine CIFS administration procedures on your storage system in a
Windows workgroup environment. You will create a local user account and administer user access, add a new
share, map a network drive to the new share and verify access to the share, and create a local group.
OBJECTIVES
TIME ESTIMATE
30 minutes
E8-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
TASK 1: ADD A NEW LOCAL USER ACCOUNT AND CONFIGURE USER ACCESS
In this task, you will create a local user account on your storage system. All commands in the lab are entered at the
storage system prompt.
STEP ACTION
1.
Verify that you have a PuTTY session with your assigned storage system.
2.
Recall that the storage system currently is in a Windows workgroup. To verify that the storage
system is a server in a Windows workgroup, enter the following command:
system> cifs sessions
Is the storage system in a Windows workgroup? ________________
3.
Before adding a local user to the storage system, check the current security options to determine
password rules by entering the following command:
system> options security
What is the value for the security.passwd.rules.enable? _________
If the security.passwd.rules.enable option is on, then in order to create a local user,
you will need to come up with a password using the following rules:
It must be at least eight characters long
It must contain at least two alphabetic characters
It must contain at least one digit
If security.passwd.rules.enable.option is off, then the restrictions will not be
enforced when you create a password.
4.
Add a local user (your name) in the predefined Guests group to the storage system by entering the
following command:
User names are case insensitive.
system> useradmin user add your_name g Guests
Remember your password._________________________
5.
Verify that the local user (you) was added to the storage system by entering the following
command:
system> useradmin user list your_name
What are the capabilities of your new local user?
_______________________________________________
E8-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
6.
Check the allowed capabilities for the local administrator account by entering the following
command:
system> useradmin user list administrator
What are the capabilities of the local administrator?
_______________________________________________
7.
View the list of all local storage system users by entering the following command:
system> useradmin user list
What local users are listed? _____________________________________
8.
Task complete.
In this task, you will map a network drive to a share. Recall that in a Windows workgroup, user authentication is
performed locally on the storage system.
STEP ACTION
1.
On your assigned Windows server, map a drive to a storage system share \\IP_Address_of
_Your_Storage_System\C$.
2.
At the storage system prompt in your Telnet session, view the CIFS sessions by entering the
following command:
system> cifs sessions
Who has a session with the storage system?
__________________________________________________
You logged in to the Windows as Administrator with a password. This Administrator was
authenticated locally on the storage system with the local Administrator account (note that the user
names match). The local Administrator account has the same password as the Windows
Administrator.
This is called pass-through user authentication, and it works only if the names and passwords
match on both the storage system and Windows workstation.
The Administrator account has permission to view the hidden C$ share.
3.
E8-3
On the Windows workstation, open Windows Explorer and disconnect all network drives attached
to your storage system.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
On the Windows workstation, log off as the Administrator and then log back in as the Administrator
to clear the share cache.
a) Go to Start > Log Off administrator and click the Log off button when you are asked
if you are sure that you want to log off.
b) Use the Remote Desktop connection to log back in to your Windows workstation as the
Administrator with the Administrator password.
5.
On your Windows workstation, map a drive to a storage system share for a different local user (your
name) by opening Windows Explorer and click Map network drive. The Map Network Drive
window appears.
a) In the Drive list box, select any unused letter.
b) In the Folder list box, enter the following:
\\IP_Address_of _Your_Storage_System\C$
c) Click Connect using a different credentials.
d) Click Finish.
e) The Windows Security window appears.
Enter your User name.
(Name_of _Your_Storage_System \your_name).
f) Enter your Password. (password for your_name).
g) Click the OK button.
h) Click the Finish button.
i)
j)
E8-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
6.
At the storage system prompt, view the CIFS sessions by entering the following command:
system> cifs sessions
From your Windows workstation, who has a session with the storage system?
__________________________________________________
7.
Task complete.
In this task, you will create a new local group on your storage system.
STEP ACTION
1.
Before creating a new local group on your storage system, view the current groups on the storage
system by entering the following command at the storage system prompt:
system> useradmin group list
2.
At the storage system prompt, create a local group on the storage system called friends with the
Data ONTAP predefined role power by entering the following command:
system> useradmin group add friends r power
3.
At the storage system prompt, verify the newly created group by entering the following command:
system> useradmin group list friends
How many capabilities are assigned to the power role for the friends group?
__________________________
E8-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
On the Windows workstation, change the security properties of the text file on the winshare share.
a) Open Windows Explorer and go to the mapped winshare drive to view the text file.
b) Right-click the text file and choose Properties.
c) Select the Security tab and under Group or user names, click Edit and then click the Add
button.
d) In the Enter the object names to select text box, enter friends.
e) Click the OK button.
f) Click the friends group. What permissions are displayed for the friends group?
_____________________________
g) Click the Everyone group. How do the friends permissions differ from the permissions in
the Everyone group? ___________________________________________________
h) Now, click the Apply button on the Security tab, and then click the OK button. Click the
OK button.
5.
At the storage system prompt, modify the local user (your name) and add the friends group to the
user by entering the following command:
system> useradmin user modify your_name g Guests,friends
6.
At the storage system prompt, verify the groups and capabilities of the newly changed local user
(your name) by entering the following command:
system> useradmin user list your_name
To which groups does the local user (your name) now belong?________________
Have the local user (your name) capabilities changed? If yes, how?
________________________________________________
7.
Task complete.
END OF EXERCISE
E8-6
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Access Control
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The purpose of this activity is to reconfigure the storage systems CIFS server for an Active Directory
environment. You will then create a domain user, create shares, and administrate those shares.
OBJECTIVES
TIME ESTIMATE
60 minutes
E9-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will terminate CIFS services using NetApp System Manager.
STEP ACTION
1.
2.
On the Configuration tab of the CIFS configuration window, click the Stop button to terminate all
CIFS sessions and shut down the CIFS services.
4.
Task complete.
E9-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will configure your assigned storage systems DNS service using NetApp System Manager.
STEP ACTION
1.
From the left pane, click the appropriate storage system to display a subtree of management
features.
2.
3.
Verify that DNS is enabled with the appropriate nameserver(s) for your environment. If not, check
the Enable DNS.
Add the DNS domain name that is appropriate in your environment.
Type in the server IP address of your first DNS and click Add. Repeat for the number of DNS
servers that you have in your environment.
4.
Task complete.
In this task, you will configure your assigned storage systems time services using NetApp System Manager.
STEP ACTION
1.
From the left pane, click the appropriate storage system to display a subtree of management
features.
2.
E9-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Task complete.
In this task, you will reconfigure the CIFS services using NetApp System Manager to join your storage system to a
Windows Active Directory domain.
STEP ACTION
1.
E9-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
Because you have previously configured the CIFS services, you are presented with a warning
message:
Click the OK to stop CIFS service during setup check box and click Next.
3.
We are using both NFS and CIFS on this storage system so within the Security Style dialog, check
the security style as Multiprotocol.
Click Next.
4.
5.
Enter the domain name and domain administrators credentials as provided by your instructor.
Click Next.
6.
Keep the default Name of the system and do not enter any WINS server addresses.
Click Next.
7.
8.
Verify that CIFS Setup Wizard was successful and Click Finish.
9.
10.
11.
Task complete.
E9-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will create a 32-bit aggregate using NetApp System Manager.
STEP ACTION
1.
Using NetApp System Manager, from the console tree, click the appropriate storage system to
display a subtree of management features.
2.
3.
4.
5.
Click Next.
6.
Verify the settings are correct in the Aggregate Summary page and click Next.
7.
8.
Verify that the aggregate you created is included in the list of aggregates in the Aggregate window.
9.
This aggregate has three disks. Is the available space two-thirds of the total disk space? Explain
why or why not.
_____________________________
10.
E9-6
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will create a new flexible volume in the aggr1 aggregate using NetApp System Manager.
STEP ACTION
1.
From the console tree, click the appropriate storage system to display a subtree of management
features.
2.
3.
4.
5.
6.
Task complete.
In this task, you will display all the current shares, sessions, local groups, and users on your storage system using
NetApp System Manager.
STEP ACTION
1.
View the shares on the storage system by entering the following command:
system> cifs shares
or within NetApp System Manager at Storage > Shared Folders > Shares/Exports.
E9-7
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
Create a qtree named cifs_tree1 in NASvol and change security to ntfs using NetApp System
Manager:
a.
b. Click Create
c. Within the Create Qtree dialog, enter the following:
Name: cifs_tree1
Volume: NASvol
Enable oplocks: [checked]
Security style: NTFS
Within NetApp System Manager, navigate to Storage > Shared Folders > Shares/Exports.
4.
Notice the default shares created. Explore the C$ share by clicking Edit when the C$ share is
highlighted.
Observe the default Share permissions for this share by looking at the Share permission tab.
E9-8
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
6.
Click Browse and navigate until you see the cifs_tree1 folder.
Select it and click OK. Back in the Shared Folder Location, click Next.
7.
This qtree will be used only for CIFS access so we will uncheck NFS but otherwise accept the
defaults.
Click Next.
8.
9.
10.
E9-9
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will configure Microsofts Server Manager to administer Active Directory credentials and create a
domain user.
STEP ACTION
1.
If you have not done so before now, log in to your assigned Windows Server using the domain
administrators account. If your assigned Windows Server is not on the Active Directory domain,
add it to your Windows domain.
To verify or add the Windows Server to the domain, click Start > Control Panel > System and
Security > System. The current status of the Windows Server is found in the Computer name,
domain, and workgroup settings section. To add your machine, click the Change Settings.
2.
Next, we need to install the Remote Server Administration Tools feature within Server Manager.
Open Server Manager by clicking the Server Manager icon next to the Start button.
E9-10
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Select Features from the list in the left pane. Currently, your system has 2 features installed. We
will now install the Remote Server Administration Tools feature.
Click Add Features to launch the Add Features Wizard.
4.
With the Select Features window, select Remote Server Administration Tools. When the Add
Features indicates that you cannot install the Remote Server Administration Tools unless you added
the required Web Server role services, click Add Required Role Services.
5.
The wizard indicates the changes to the Web Server (IIS) services. After reading it, confirm by
clicking Next.
6.
From the Select Role Services page, click Next to select the changes to IIS.
7.
8.
After the wizards completes, continue with the install by clicking Close and then Yes to reboot.
E9-11
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
9.
Wait a few minutes and log back into your assigned Windows Server using your Domain
Administrator credentials.
The Installation progress should indicate a successful install of the Remote Server Administration
Tools.
11.
E9-12
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
12.
Select Users with the right pane of the tool. The current Active Directory users and groups should
appear.
13.
Click Next.
E9-13
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
14.
16.
Task complete.
In this task, you will view and create shares using Microsofts Computer Management tool.
STEP ACTION
1.
Create another NTFS qtree called cifs_tree2 in NASvol by using either the command-line
interface or NetApp System Manager.
2.
3.
Click Action, and then select Connect to another computer. Highlight the name of your storage
system using the Browse feature or type the IP address.
4.
5.
6.
Right-click the Shares folder, and then select New Share. Click Next to start the wizard.
7.
E9-14
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
8.
9.
Select the option, Customize permissions, and then click the Custom button.
10.
11.
Click Finish. Notice that the selection is displayed in the Share Permissions window.
12.
13.
Notice that the new shared directory, cifs_tree2, is displayed in the shared directories for the
storage system.
14.
15.
Task complete.
In this task, you will map the shares you just created to drive letters.
STEP ACTION
1.
2.
3.
Copy some files from your Windows machine to cifs_tree1 and cifs_tree2.
Was it successful to cifs_tree1? ________
Was it successful to cifs_tree2? ________
Why or why not? ___________________
4.
E9-15
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, we will observe the CIFS sessions from NetApp System Manager, Computer Management, and the
command-line interface.
STEP ACTION
1.
Now, let us observe the sessions using Computer Management. Open Computer Management and
connect to your storage system.
3.
4.
Finally, let us observe the sessions using the command-line interface. Verify the open sessions from
the storage system.
system> cifs sessions
5.
Compare the output of the cifs sessions command with the output from NetApp System
Manager and Computer Management.
6.
Task complete.
END OF EXERCISE
E9-16
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: CIFS Domains
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this exercise, you will work with NTFS, UNIX and mixed-styled qtree, configuring a storage system to
authenticate users regardless of the client accessing the qtree.
OBJECTIVES
TIME ESTIMATE
30 minutes
E10-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotcol
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will configure the storage system for multiprotocol access, and then view file permissions for files
in an NTFS qtree, UNIX qtree, and mixed qtree.
STEP ACTION
1.
Using NetApp System Manager or the command-line interface, create a new qtree with the
following parameters:
Name: ntfstree
Volume: NASvol
Security Style: NTFS
Oplocks: None
2.
Using NetApp System Manager or the command-line interface, create a new qtree with the
following parameters:
Name: unixtree
Volume: NASvol
Security Style: unix
Oplocks: None
3.
Using NetApp System Manager or the command-line interface, create a new qtree with the
following parameters:
Name: mixedtree
Volume: NASvol
Security Style: mixed
Oplocks: None
E10-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotcol
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
Before configuring your storage system for multiprotocol access, perform the following from your
Windows Server:
a) Create a share on the storage system called ntfsshare (for your ntfstree qtree on NASvol)
and map a network drive to the share.
b) Create a share on the storage system called unixshare (for your unixtree qtree on NASvol)
and map a network drive to the share.
c) Create a share on the storage system called mixedshare (for your mixedtree qtree on
NASvol) and map a network drive to the share.
NOTE: You might need to disconnect all map drives, log out, and log back in to the Windows
machine to clear the security cache. Windows does not allow you to map two separate shares with
different security accounts.
5.
At the storage system prompt, view the current default security style by entering the following
command:
system> options wafl.default_security_style
What is the current default security style? ______________________
6.
E10-3
At the storage system prompt, enter the following command to view the security style for each qtree
on NASvol:
system> qtree status NASvol
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotcol
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
On the Windows Server, open Windows Explorer, go to the mapped network drive for ntfsshare,
and view the security of the ntfsshare by performing the following:
a) From Windows Explorer, click on Computers within the left pane. You should see a list of
your local and mapped drives.
b) Right-click the drive that is mapped to ntfsshare and choose Properties.
c) Click the Security tab.
Who has access to the qtree, and what are the NTFS permissions on the file system?
___________________________________________________________
d) Click the Cancel button.
e) Double-click the ntfsshare in the console tree to view the contents of the share.
f) Create a new text file in this share by right-clicking in the right windowpane and choosing
New > Text Document.
g) Right-click the previously created text file and choose Properties.
h) Click the Security tab.
Who has access to the file and what are the file permissions?
_______________________________________________
i)
Recall that the ntfstree qtree has a designated security style of NTFS. This means that files have
Windows NTFS ACLs (permissions).
E10-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotcol
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
8.
On the Windows workstation, open Windows Explorer, go to the mapped network drive for the
unixshare share, and view the security of the unixshare by performing the following:
a) From Windows Explorer, click on Computers within the left pane. You should see a list of
your local and mapped drives.
b) Right-click on the drive associated with unixshare and choose Properties.
Is there a Security tab? ________________________
c) Click the Cancel button.
d) Double-click the unixshare in the console tree to view the contents of the share.
e) Create a new text file in this share by right-clicking in the right windowpane and choosing
New > Text Document.
f) Right-click the New Text Document.txt file and choose Properties.
Is there a Security tab? ________________________
g) Click the Cancel button.
Recall that the unixtree qtree has a designated security style of UNIX, and that files and directories
have UNIX permissions.
You are a Windows user accessing a UNIX qtree and a UNIX file. The Properties window (in
Microsoft Windows) is not designed to interpret the UNIX permissions on the share and file and
hence the Security tabs are missing. However, starting with Data ONTAP 7.2, changes have been
made to the multiprotocol functionality. Now administrators can both display and change UNIX
permissions from the Windows Security tab. You will set this in step 10 of this lab.
E10-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotcol
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
9.
On the Windows workstation, open Windows Explorer, go to the mapped network drive for
mixedshare, and view the security of the mixedshare by performing the following:
a) From Windows Explorer, click on Computers within the left pane. You should see a list of
your local and mapped drives.
b) Right-click on the drive associated with mixedshare and choose Properties.
c) Click the Security tab.
Who has access to the qtree, and what are the NTFS permissions on the file system?
__________________________________________________
d) Click the Cancel button.
e) Double-click the mixedshare in the console tree to view the contents of the share.
f) Create a new text file in this share by right-clicking in the right windowpane and choosing
New > Text Document.
g) Right-click the New Text Document.txt file and choose Properties.
h) Click the Security tab.
Who has access to the file, and what are the file permissions?
_______________________________________________
i)
Recall that the mixedtree qtree has a designated security style of mixed. This means that the default
security style of a file is the style most recently used to set permission on that file. With mixed
security style, the volume or qtree can have UNIX or NTFS file security in play.
Because the mixedtree qtree was created when the storage system was multiprotocol mode, the
mixed qtree initially inherited the effective security style of the parent volume.
10.
To view the UNIX permissions on the files in this multiprotocol environment, enter the following
option at the storage system prompt:
system> options cifs.preserve_unix_security on
Enabling this option allows you to manipulate a files UNIX permissions using the Security tab on
a Windows client, or using any application that can query or set Windows ACLs. When enabled,
this option causes UNIX qtrees to appear as NTFS volumes. The default for this option is off.
11.
On the Windows workstation, open Windows Explorer, go to the mapped network drive for
ntfsshare, and view the security of the previously created text file by performing the following:
a) Right-click the previously created text file and choose Properties.
b) Click the Security tab and view the permissions for the Everyone.
E10-6
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotcol
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
12.
On the Windows workstation, open Windows Explorer, go to the mapped network drive for
unixshare, and view the security of the New Text Document.txt file by performing the following:
a) Right-click the New Text Document.txt file and choose Properties.
b) Click the Security tab and view the UNIX group, user names, and permissions for this file
whose file security is UNIX.
In the Group or user names list box, list the first four entries:
____________________________________________________
c) Click the Advanced button in the lower-right corner in the Security tab.
d) Click Change Permissions.
e) In the Advanced Security Settings window in the Permissions tab, select pcuser and click
the Edit button. (Do not actually edit the permissions.)
In the Permission Entry window, what permissions does pcuser have?
______________________________________________________
f) Click the Cancel button in the Permission Entry window.
g) In the Advanced Security Settings window, click the Owner tab.
Who are the owners for this text file?
___________________________________________________
On the Windows workstation, open Windows Explorer, go to the mapped network drive for
mixedshare, and view the security of the New Text Document.txt file by performing the following:
a) Right-click New Text Document.txt file and choose Properties.
b) Click the Security tab. What are the current permissions and why?
_____________________________________________________
c) Click the Cancel button.
The effective Windows NTFS ACLs (permissions) are shown in the Security tab. The effective
security style of the qtree, folders with the qtree, or files may be changed if a UNIX administrator
sets permissions on the qtree, subfolders, or files by issuing the chmod (to change file permissions)
or chown (to change the file or group ownership) command from a UNIX host.
14.
Task complete.
END OF EXERCISE
E10-7
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Multiprotcol
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
E11-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: NAS Troubleshooting
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The goal of this exercise is to give you an opportunity to identify the current SAN exercise environment.
OBJECTIVES
TIME ESTIMATE
15 minutes
E12-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will identify the hardware that you will use for your SAN exercise environment.
STEP ACTION
1.
Because we will be using iSCSI only within the exercise environment, you will be using the same
exercise equipment as used in the NFS and CIFS exercises.
2.
With the assistance of your instructor, identify the following essential equipment:
Storage System
Name: ______________________________
Internal IP address: __________________________
Terminal IP address: _________________________
Root Password: ____________________________
3.
Your instructor will assist you in identifying your main Windows Server.
NOTE: This machine might be a virtual machine.
Windows Server
DESKTOP CONNECTION
Name: _____________________________
IP address: __________________________
Local Administrator
Password: ___________________________
Domain Administrator
Password: ___________________________
4.
With the assistance of your instructor, identify the following essential equipment:
UNIX/LINUX CONNECTION
Name: _____________________________
UNIX/LINUX
UNIX/LUNIX
Server
Workstation
IP address: __________________________
Root
Password: ___________________________
5.
Task complete.
END OF EXERCISE
E12-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SAN Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
E13-1
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this exercise, you will verify iSCSI connectivity on your assigned Linux machine and Windows machine.
OBJECTIVES
TIME ESTIMATE
90 minutes
E14-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned storage system and configure the iSCSI services.
STEP ACTION
1.
Use PuTTY to log in to storage system that has been assigned to you by your instructor.
Double-click on the link to PuTTY on your Windows desktop.
Enter the IP address to the console of your assigned storage system and select the Telnet radio
button. Then enter the port number of the console of your assigned storage system.
You might want to save this configuration for future use. Type a name into the Saved Sessions text
box and click the Save button.
To open a session with your storage system, click the Open button.
2.
Within your assigned storage system PuTTY Telnet window, enter the following command to
investigate whether the iSCSI service is running:
system>
iscsi status
E14-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
In order to communicate with the iSCSI protocol, we will need to have a properly functioning
interface.
Enter the following command to investigate storage systems IP interfaces:
system> ifconfig -a
Verify whether iSCSI service has been enabled for the e0a and e0b interface:
system> iscsi interface show
If it is not enabled, enable e0a and e0b to work with the iSCSI service by entering the following
command:
system> iscsi interface enable e0a
system> iscsi interface enable e0b
Disable iSCSI access to e0c and e0d interfaces:
system> iscsi interface disable e0c
system> iscsi interface disable e0d
E14-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
6.
Verify the target portal groups on storage system by entering the following:
system> iscsi tpgroup show
Task complete.
In this task, you will log in to your assigned Windows Server 2008 machine and configure Multipath I/O.
STEP ACTION
1.
From your remote desktop Windows Server 2003 machine, establish a remote desktop connection to
your Windows Server 2008 machine.
Open the Remote Desktop Connection tool on the remote Windows Server 2003. Type in the IP
address of the Windows Server 2008.
You might want to change your display of the remote desktop size to something less than the
terminal server client to the remote Windows Server 2003 by clicking Options and the Desktop.
This will create a smaller window for the Windows Server 2008 machine within the remote
Windows Server 2003 machine.
Click Connect to open the terminal session to Windows Server 2008.
2.
Click the Switch User button. Then select the Other User item and enter the domain Administrator
account (such as DOMAIN\Administrator) and password provide by your instructor.
Log in to Windows Server 2008 by clicking the arrow button.
E14-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Open Server Manager (if it doesnt automatically appear) by clicking the Server Manager button
next to Start on the Windows Server 2008 desktop.
4.
Select Features from the list in the left pane. Currently, your system has two features installed. We
will now install the Multipath I/O feature.
Click Add Features to launch the Add Features Wizard.
E14-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
With the Select Features window, select Multipath I/O and then select Next.
E14-6
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will install NetApp Multipath I/O Device Specific Module (DSM) on your Windows Server 2008
system.
STEP ACTION
1.
On your Windows Server 2008 system, click the shortcut on your desktop called ANCDA class
files. This shortcut should take you to C:\_files\ANCDA.
Launch the DSM 3.3.1 installer by double-clicking: ntap_win_mpio_3.3.1_setup_x64.msi
If a security warning appears, click the Run button to continue.
2.
After a while the DSM Wizard will appear with the title page; click Next to continue.
Agree to the EULA and click Next.
3.
4.
In the Data ONTAP DSM Management Service Credentials wizard page, add the administrators
login and password as provided by your instructor and click Next to continue.
5.
6.
Accept the default destination folder by clicking Next. Finally, click the Install button to continue.
7.
After the install is completed, click the Finish button and answer No at the prompt to restart. We
will restart the system after the Windows Host Utilities Kit installation.
8.
Open Server Manager (if it doesnt automatically appear) by clicking the Server Manager button
next to Start.
Expand the Diagnostics node in the left pane. Click Device Manager. Expand the System devices
node and verify that Data ONTAP DSM was installed.
Right-click the Data ONTAP DSM node within the list and select Properties. Within the
Properties dialog box, select the Driver tab and observe the current driver version.
9.
Task complete.
In this task, you will install the NetApp Windows Host Utilities Kit (HUK).
STEP
ACTION
1.
On your Windows Server 2008 system, click the shortcut on your desktop called ANCDA class
files. This shortcut should take you to C:\_files\ANCDA.
Double-click netapp_windows_host_utilities_5.2_x64.msi. If prompted with a security warning,
confirm and continue.
2.
3.
E14-7
Under the Support for Multipathing step, choose Yes, install support for Multipath I/O, and click
Next.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP
ACTION
4.
5.
Click the Install button to execute the install. After the install is complete, click Yes to restart the
Windows Server 2008 system.
6.
Wait about two minutes and attempt to reconnect to your Windows Server 2008 system. Open a
command prompt window by clicking the shortcut on your desktop.
Navigate to the install folder for the Windows HUK:
C:\> cd
E14-8
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned Windows machine and configure iSCSI for the first iSCSI session.
STEP ACTION
1.
To begin configuration on the iSCSI service, open Server Manager (if it doesnt automatically
appear) by clicking the Start button, and then Server Manager
Expand the Configuration tab in the left pane and select Services. Locate the Microsoft iSCSI
Initiator Service.
Right-click it and select Properties. The Microsoft iSCSI Initiator Service Properties should
appear.
Ensure the Startup type says Automatic.
Next, click the Start button to start the service.
Click OK to close the dialog.
The iSCSI service should start up every time Windows is started.
E14-9
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
There are several methods to configure the iSCSI service but we will use the iSCSI Initiator method.
Click the Start button and in the Search programs and files textbox and enter iscsi initiator.
Under the programs category, click the iSCSI Initiator to launch the dialog.
E14-10
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
First, let us identify the WWNN for your assigned Windows machine.
Select the Configuration tab.
Record the Windows Server 2008 WWNN on the Master Configuration Worksheet.
E14-11
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
We will now configure the iSCSI service to see storage systems e0a target portal group.
Select the Discovery tab and click the Discover Portal button.
E14-12
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
Enter the IP address of e0a of storage system that you recorded on the Master Configuration
Worksheet. Leave the port as 3260.
Click the Advanced button and specify the Local Adapter as Microsoft iSCSI Initiator and the first
interface on your Windows Server 2008 machine under Source IP.
Click OK.
Click OK to add the target port.
E14-13
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
6.
Specify the Local Adapter as Microsoft iSCSI Initiator, the first interface on your Windows Server
2008 machine under Initiator IP, and the first target portal IP.
E14-14
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
Click OK.
Click OK. Back in the iSCSI Initiator Properties dialog box, the status should now show as
Connected.
E14-15
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
8.
Because we accepted the default and made this a favorite target, storage systems target appears in
the Favorite Targets tab.
You have now successfully established connectivity between the Windows initiator and the targets
on storage system.
9.
Task complete.
In this task, you will log in to your assigned storage system and confirm an iSCSI session.
STEP ACTION
1.
Within your assigned storage system PuTTY Telnet window, enter the following command to
investigate the current iSCSI sessions:
system> iscsi session show
Does the storage system have an iSCSI session? _____________________________
How can you tell it is connected to your Windows machine?
__________________________
2.
E14-16
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned Windows machine and configure iSCSI for the second iSCSI session.
STEP ACTION
1.
On your assigned remote Windows machine, make sure the iSCSI Initiator Properties dialog box is
open to the Targets tab.
2.
From the Targets tab, make sure that storage systems IQN is highlighted and click the Properties
button. Then click the Add session button.
The Connect to Target dialog box appears. Select Enable multi-path. Then click the Advanced
button.
Specify the Local Adapter as Microsoft iSCSI Initiator, the second interface on your Windows
Server 2008 machine under Initiator IP, and the second target portal IP.
Click OK.
Click OK again.
E14-17
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
4.
Finally, let us confirm the configurations within Windows Server 2008 R2s Storage Explorer tool.
Click the Start button and in the Search programs and files textbox, enter Storage Explorer.
Under the programs category, click the Storage Explorer icon to launch the tool.
Select Servers in the middle pane and then the name of your Windows server.
Finally select the IQN of your Windows Software Initiator.
E14-18
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
Investigate this interface. You will notice that you can perform similar tasks with Storage Explorer
that you could also perform with the iSCSI Initiator Properties dialog box.
5.
Task complete.
In this task, you will log in to your assigned storage system and confirm an iSCSI session.
STEP ACTION
1.
2.
3.
E14-19
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will install the NetApp Host Utility Kit for your Red Hat Linux system.
STEP ACTION
1.
2.
Your exercise environment has been configured with the all files you will need for these exercises
(/_files/ANCDA).
We will now copy these files from their source location to a different location to work with them.
Copy the files to the new working directory:
# cp /_files/ANCDA/* /tmp
3.
4.
5.
Change directory to the install directory of the HUK software, and install it:
# cd netapp_linux_host_utilities_5_0
# ./install
6.
7.
8.
E14-20
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will install the iSCSI software initiator package on your Red Hat Linux system.
STEP ACTION
1.
2.
3.
4.
Task complete.
In this task, you will determine the WWNN for your Red Hat Linux system, examine the iscsid.conf configuration
file, start the iSCSI daemon (service), configure Ethernet adapters to be used by the iSCSI initiator, assign Ethernet
interfaces for iSCSI usage, and configure and establish iSCSI target discovery and sessions.
STEP ACTION
1.
Record the WWNN for the RHEL machine on the Master Configuration Sheet:
# cat /etc/iscsi/initiatorname.iscsi
You can record it here as well:
__________________________________________________
2.
3.
E14-21
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
Next, examine the current configuration of the Ethernet adapters on your Red Hat Linux system.
Determine the current NIC configuration:
# ifconfig -a
Example output:
eth0
Link encap:Ethernet
inet addr:10.254.132.63
HWaddr 00:21:5E:6F:18:C4
Bcast:10.254.135.255
Mask:255.255.252.0
MTU:1500
Metric:1
Interrupt:106 Memory:c8000000-c8012100
5.
6.
7.
Assign the Ethernet interface eth0 to the iSCSI configured name iface0:
# iscsiadm -m iface -I iface0 --op=update -n iface.net_ifacename -v
eth0
E14-22
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
8.
9.
To configure and manage the iSCSI initiator/daemon, we will be using the iscsiadm tool. To
become familiar with the syntax and options of this tool, consider doing the following:
To view syntax and options:
# iscsiadm -h
To get a description of the options take a quick look at:
# man iscsiadm
E14-23
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
10.
In this step, we will configure the iSCSI initiator/daemon to do target discovery using iface0 from
your Red Hat Linux system, and the IP address of the target portal associated with the e0a Ethernet
interface on your storage system.
Now we can attempt to discover the NetApp storage system as an iSCSI target. Switch to your
assigned Red Hat command-line interface.
# iscsiadm -m discovery -t st -p 10.254.133.239 -I iface0
NOTE: The IP address in your command will be e0a of your assigned storage system.
Example output:
10.254.133.239:3260,1000 iqn.1992-08.com.netapp:sn.101201757
11.
With the Red Hat Linux iSCSI software, use the following command to list the nodes and portals
discovered and their TPG number:
# iscsiadm -m node
Example output:
10.254.133.239:3260,1000 iqn.1992-08.com.netapp:sn.101201757
12.
13.
14.
E14-24
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
15.
16.
Task complete.
In this task, you will confirm the existence of iSCSI session(s) established from your Red Hat Linux system.
STEP ACTION
1.
Determine if the iSCSI sessions observed on your Red Hat Linux system are also observable from
your storage system:
system> iscsi session show
Example output:
...
Session 38
Initiator Information
Initiator Name: iqn.1994-05.com.redhat:6d9443554d
ISID: 00:02:3d:01:00:00
Initiator Alias: dev05s2.development.netappu.com
How many session(s) do you have from your Red Hat Linux system? _______
Does this match the number observed on your Red Hat Linux system? ______
Look into the details of one of your sessions:
system> iscsi session show -v <session_number>
Do the IP addresses from the initiator and target correspond to IPs on your Linux and storage
system? ___
What Ethernet interface is being used on your storage system? ____
Is this an iSCSI enable interface? ______
2.
Task complete.
END OF EXERCISE
E14-25
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: iSCSI Connectivity
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this exercise, you will provision LUNs on a storage system and access them on your assigned Windows Server
and Red Hat machine.
OBJECTIVES
TIME ESTIMATE
45 minutes
E15-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned storage system and create a LUN for the Windows machine to connect
by way of iSCSI.
STEP ACTION
1.
Create a 10-GB flexible volume called lun1 to contain a new LUN by entering the following
command:
system> vol create lun1 aggr1 10g
Set the Snapshot reserve in the vol_SAN1 volume to zero:
system> snap reserve lun1 0
Turn off the default Snapshot copies schedule:
system> snap sched lun1 0 0 0
2.
Within your assigned storage system PuTTY window, enter the following command to create an
igroup:
system> igroup create -i -t windows iWIN_iscsi
<iqn_of_windows_machine>
Replace <iqn_of_windows_machine> with the IQN of your assigned Windows Server
machine.
Verify:
system> igroup show
Example output:
iWIN_iscsi (iSCSI) (ostype: windows):
iqn.1991-05.com.microsoft:win (logged in on: e0a)
E15-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
2.0g (2155023360)
Verify:
system> lun show
Example output:
/vol/lun1/lun1
4.
2.0g (2155023360)
(r/w, online)
5.
Mapped to
LUN ID
Protocol
-------------------------------------------------------/vol/lun1/lun1
6.
E15-3
iWIN_iscsi
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
iSCSI
In this task, you will log in to your assigned Windows platform and initialize the new lun0.
STEP ACTION
1.
On your assigned remote Windows Server 2008 R2 machine, open the Disk Management tool:
Open Server Manager.
Expand the Storage node from the tree pane. Disk Management should be visible.
Select the Disk Management icon within the tree.
E15-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
If one or more LUNs are not visible, right-click the Disk Management icon within the tree and
select Rescan Disks from the menu.
After a while, one or more LUNs should appear.
3.
Select lun1 and make it online by right-clicking the Disk # and select Online.
4.
Next, we will initialize the LUN. Right-click the Disk # and select Initialize.
Choose the MBR partition style because that was type of LUN we created in the previous
application and click OK.
5.
E15-5
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned Windows platform and provision the new lun0 with Disk
Management.
STEP ACTION
1.
Now is the time to provision the LUN. You can use either the New Simple Volume method or the
Provisioning Storage Wizard from the Share and Storage Management tool. This task will analyze
the New Simple Volume method.
Right-click the new unallocated disk and select New Simple Volume from the menu. The New
Simple Volume Wizard should begin.
2.
E15-6
Click Next from the title page of the wizard. Within the Specify Volume Size page, choose to make
the LUN as large as it can be and click Next.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Assign an available drive letter such as E, and then click Next. If drive letter E is not available,
choose another available drive letter.
4.
5.
On the Completing the New Simple Volume Wizard page, review the values and click Finish if all
entries are correct.
6.
After a moment, the LUN should be available. Navigate to the drive letter of the LUN and write a
test file to the LUN to verify that it is working correctly.
7.
Task complete.
E15-7
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned Windows Server 2008 R2 platform and persist the mapping of lun1.
STEP ACTION
1.
We can bind the volume (or device before we initialize and format the LUN) so that on Windows
Server 2008 R2 restart it is more readily available for use by programs and services. NOTE: The
associated target must be on the Favorite Targets list.
2.
Open the iSCSI Initiator Properties dialog box. If you dont remember how, check the Start menu
and look for the most recently run programs.
3.
On the Targets tab, click the Devices button. Lun1 should appear as a disk in the Devices dialog
box.
Click OK.
E15-8
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
Select the Volumes and Devices tab. Notice there are no current volumes in the Volume List.
Click Auto Configure. The drive letter associated with the iSCSI target should now appear in the
list of the Volume List.
Now, if the Windows system is rebooted, lun1 will be available on the associated mountpoint (in
this example C:\Data\CLI).
5.
E15-9
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will set up an iSCSI accessible LUN for your Red Hat Linux system using NetApp System
Manager.
STEP ACTION
1.
Select the Initiator Groups tab and click Add at the top to create a new iGroup.
Enter the following information:
Group Name: iRHEL_iscsi
Group Type: iSCSI
Operating System: Linux
E15-10
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Within the Initiator IDs section, click Add to add the Red Hat IQN to the new iGroup.
Group Type: iSCSI
Group Name: iRHEL_iscsi
IQN: [Obtained from Red Hat]
NOTE: This can be obtained using the following command:
# cat /etc/iscsi/initiatorname.iscsi
Create a LUN in your new volume named lun2 with the following attributes:
LUN size: 2G
LUN type: Linux
Space Reserved: Yes
LUN ID: 0
Click the Create button from the LUN Management tab.
E15-11
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
On the LUN Container page, verify that the wizard is going to create lun2 in a new lun2 volume
within aggr1.
E15-12
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
On the Initiator Mapping page, the new igroup (iRHEL_iscsi) should appear.
Select the igroup and click >.
On the summary page, review the settings and click Next when finished.
9.
Verify that the LUN Wizard completed successfully. Click Finish when done.
10.
Task complete.
In this task, you will scan and discover the two newly created LUNs that are accessible using the iSCSI protocol.
STEP ACTION
1.
# fdisk -l
Most likely you will not see your new LUN without scanning for new SCSI devices.
2.
To specifically scan for devices from a given iSCSI target over iSCSI, use the following command:
# iscsiadm -m node -T iqn.1992-08.com.netapp:sn.101201757 -R
Remember to substitute the WWN target IQN name for your assigned storage system.
3.
E15-13
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
Verify the LUNs as well using the sanlun utility from the Host Utilities Kit:
# cd /opt/netapp/santools
# sanlun lun show -p
Do you see your new iSCSI LUN? ________________
5.
Task complete.
In this task, you will prepare your FC-attached LUN for a file system, and mount it onto a Red Hat Linux systems
hierarchy.
STEP ACTION
1.
In this task, we will be using the LUN that you created on your storage system as /vol/lun2/lun2,
which was discovered using the iSCSI protocol. Using the NetApp sanlun utility, determine the
local path of this LUN.
# sanlun lun show p
How many paths do you have to lun2? __________
Local Path: ______________
The local path for this device would be: /dev/sdX (where X is the letter assigned to your LUN).
NOTE: That we would normally setup DM-Multipath. You can find out more about DMMultipath in the SAN Implementation Workshop course. In this class, we will not configure
multipathing.
2.
You will now label and format the LUN using fdisk utility on the Red Hat Linux system.
Example:
# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI
or OSF disk label.
Building a new DOS disk label. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected
by w(rite)
E15-14
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
You will be prompted for a command. If you are not familiar with fdisk, you can see a list of
commands by entering m:
Command (m for help): m
Command action
4.
delete a partition
The initial message stated that the device does not have a label or partition table. We can check this
again with the p command:
Command (m for help): p
Device Boot
E15-15
Start
End
Blocks
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Id
System
STEP ACTION
5.
extended
p
Partition number (1-4): 1 (Create partition 1)
First cylinder (1-1009, default 1): 1 (Start at cylinder 1)
Last cylinder or +size or +sizeM or +sizeK (1-1009, default 1009):
1009 (End at the last cylinder)
6.
2 XENIX root
(FAT-
39
Plan 9
82
Linux swap / So c4
XENIX usr
3c
PartitionMagic
83
Linux
FAT16 <32M
40
Venix 80286
84
OS/2 hidden C:
...
Hex code (type L to list codes): 83 (Use Linux type)
Command (m for help): w (Write)
The partition table has been altered!
E15-16
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
DRDOS/sec
STEP ACTION
7.
Device Boot
/dev/sdb1
Start
1
End
Blocks
Id
System
1009
2095662
83
Linux
E15-17
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
8.
You will now install a file system onto your newly prepared disk.
Example:
# mkfs -t ext3 /dev/sdb1
9.
Create a mountpoint to which you will mount the files system that you just created in the newly
prepared disk:
# mkdir /mnt/lun2fs
# mount /dev/sdb1 /mnt/lun2fs
Use the mount and df commands to see if your file system was mounted:
# mount
# df
E15-18
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
10.
Change the directory into your new file system, and create a file:
# cd /mnt/lun2fs
# touch foo
# ls -l
total 20
-rw-r--r-- 1 root root
Task complete.
END OF EXERCISE
E15-19
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: LUN Access
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The goal of this exercise is to give you an opportunity to identify the current availability exercise environment.
OBJECTIVES
TIME ESTIMATE
15 minutes
E16-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Availability Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
This task familiarizes you with the exercise environment that you will use for all exercises in the availability
exercises.
STEP ACTION
1.
With the assistance of your instructor, identify the following essential equipment:
Windows Server
NOTE: This machine might be a virtual machine.
Name: ______________________________
IP address: _________________________
Domain
Administrator
Password: __________________________
Local
Administrator
Password: __________________________
Domain Controller
Domain Name: _______________________
Controller
IP address: _________________________
DNS: ____________________________
IP address: _________________________
E16-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Availability Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
Storage System
Name: ___________________________________
Type: ___________________________________
Internal
IP address: _______________________________
Terminal
IP address: _______________________________
Root
Password: _______________________________
NOTE: During the High-Availability (Module 21) and SnapMirror (Module 23) exercises, your
assigned storage system will be paired with another storage system to complete the exercises.
2.
With the assistance of your instructor, identify the following essential equipment:
UNIX/LINUX CONNECTION
UNIX/LUNIX
Workstation
Name: _____________________________
IP address: __________________________
Root
Password: ___________________________
3.
Task complete.
END OF EXERCISE
E16-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Availability Overview
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The purpose of this exercise is to give you the opportunity to create and manage Snapshot copies, using
NetApp System Manager and the command-line interface.
OBJECTIVES
TIME ESTIMATE
30 minutes
E17-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Snapshot Copies
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will create a Snapshot copy using NetApp System Manager.
STEP ACTION
1.
2.
Select a volume for which you want to create a Snapshot copy. For this exercise, choose the NFSvol
volume.
3.
From the Snapshot menu, select Create. A pop-up window will appear.
4.
Type the name of your new Snapshot copy. Call this Snapshot copy snapA.
In the lower pane, click the Snapshot Copies tab if it is not visible.
The new Snapshot copy should appear in the list of Snapshot copies.
6.
E17-2
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Snapshot Copies
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will delete a file within the storage systems etc directory and recover it from a Snapshot copy.
STEP ACTION
1.
2.
From the Windows environment, map the c$ share from your storage system. Use the method of
your choice or follow these directions:
Click Start > Run.
In the textbox, enter: \\ip_address_of_storage_system\C$
Click OK.
Navigate to the /etc directory.
Locate the exports.bak file and delete it.
3.
If the ~snapshot directory is not displayed, at the storage system console prompt, enable the
option to make Snapshot copies visible.
system> options cifs.show_snapshot on
You may also need to go to Organize > Folder and Search Options > View. From the
View tab, choose Show hidden files and folders. If necessary, disconnect the map
drive and map it again.
The Snapshot directory will appear at the level the drive is mapped.
4.
Navigate to the ~snapshot directory and locate the file in the /etc directory under the snapA
Snapshot folder.
5.
6.
Task complete.
In this task, you will restore a file from a Snapshot copy on your assigned UNIX/LINUX machine.
STEP ACTION
1.
E17-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Snapshot Copies
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
3.
Task complete.
In this task, you will manage Snapshot copies using NetApp System Manager.
STEP ACTION
1.
E17-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Snapshot Copies
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
Configure hourly Snapshot copies for the NASvol volume to occur at 10:00 a.m., 12:00 p.m., 2:00
p.m., and 5:00 p.m.
Click OK.
3.
4.
How can you view the Snapshot copy schedule for the root volume?
__________________________________
5.
6.
E17-5
View the amount of space used by a Snapshot copy. Select a volume and click the Snapshot Copies
tab. Observe the results.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Snapshot Copies
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
8.
Task complete.
In this task, you will create a FlexClone of NFSvol called NFSclone using the command-line interface.
STEP ACTION
1.
2.
4.
5.
E17-6
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Snapshot Copies
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
9.
Task complete.
END OF EXERCISE
E17-7
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Snapshot Copies
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The purpose of this exercise is to give you practice using the SnapRestore feature to restore a volume and file.
OBJECTIVES
TIME ESTIMATE
20 minutes
E18-1
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will configure your assigned storage system for SnapRestore.
STEP ACTION
1.
2.
3.
4.
Create a Snapshot copy named mystuff that will include your new file. Use either the command
line or NetApp System Manager.
system> snap create NFSvol mystuff
5.
6.
Create a Snapshot copy named mystuff2 that will include your new file. Use either the command
line or NetApp System Manager.
system> snap create NFSvol mystuff2
E18-2
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
8.
Create a third Snapshot copy named mystuff3 that will include your new file. Use either the
command line or NetApp System Manager.
system> snap create NFSvol mystuff3
9.
10.
Task complete.
1.
Data ONTAP displays a warning message and prompts you to confirm your decision to revert the
volume. Press Y to confirm that you want to revert the volume.
2.
Data ONTAP lists the Snapshot copies available for volume vol2 and prompts you to indicate which
Snapshot copy you want to use for the reversion.
Enter mystuff2 and press Y to confirm that you want to proceed.
3.
After the reversion is complete, which files are still present in NFSvol?
____________________________________________________________
____________________________________________________________
4.
5.
E18-3
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: SnapRestore
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will perform a file SnapRestore of a file called mystuff.
STEP ACTION
1.
2.
3.
4.
5.
6.
Task complete.
END OF EXERCISE
E18-4
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this exercise, you will configure both the primary and secondary storage systems within a SnapVault
relationship.
OBJECTIVES
TIME ESTIMATE
30 minutes
E19-1
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will identify the SnapVault primary storage system and the SnapVault secondary storage system.
Students will work in pairs to complete the rest of the exercise.
STEP ACTION
1.
2.
3.
Task complete.
In this task, you will configure SnapVault on the primary system. NOTE: This task should only be completed by
the students managing the primary storage systems within the SnapVault relationship.
STEP ACTION
1.
2.
3.
4.
5.
E19-2
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
6.
7.
8.
Copy the Dataset1 directory from the C:/_files/ANCDA into the qtree q1.
9.
Schedule SnapVault Snapshot copy creation using the snapvault snap sched
command syntax:
pri> snapvault snap sched vol1 sv_hourly 5@mon-fri@9-19
Task complete.
In this task, you will configure SnapVault on the secondary system. NOTE: This task should only be completed by
the students managing the secondary storage systems within the SnapVault relationship.
STEP ACTION
1.
2.
3.
4.
5.
6.
7.
Task complete.
E19-3
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will perform the baseline transfer. NOTE: This task should only be completed by the students
managing the secondary storage systems within the SnapVault relationship.
STEP ACTION
1.
Perform the baseline initial transfer for q1 by using the snapvault start command
syntax:
sec> snapvault start S pri_hostname:/vol/vol1/q1
sec_hostname:/vol/vol1/q1
2.
Verify that the secondary qtree q1 was created in the secondary volume vol1:
sec> qtree status
3.
Issue the snapvault status c command and note the values obtained for the retries
and the kbs entries:
sec> snapvault status c
kbs:
tries:
4.
____________________________
__________________________________________
What did the -x parameter mean when you scheduled Snapshot copies creation?
5.
Task complete.
In this task, you will delete a directory from the primary storage system and then perform a restore of the directory
from the secondary system back to the primary. NOTE: This task should only be completed by the students
managing the primary storage systems within the SnapVault relationship.
STEP ACTION
1.
2.
Restore the qtree from the primary system using the command:
pri> snapvault restore S sec_hostname:/vol/vol1/q1
pri_hostname:/vol/vol1/q1
3.
Verify that the Dataset1 directory was restored to the primary qtree q1.
4.
Task complete.
E19-4
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will restart the backup relationship and trigger a manual update. NOTE: This task should only be
completed by the students managing the secondary storage systems within the SnapVault relationship.
STEP ACTION
1.
2.
3.
Verify that the Dataset2 directory is present in the secondary qtree q1.
4.
Task complete.
END OF EXERCISE
E19-5
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this exercise, you will install the Open Systems SnapVault agent software on a Windows Server client.
OBJECTIVES
TIME ESTIMATE
30 minutes
E20-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will log in to your assigned Windows Server and install Open Systems SnapVault.
STEP ACTION
1.
2.
Unzip the Open System Snapvault package found at C:\_files\ANCDA into a temporary
directory on the Windows platform.
3.
Navigate to the temporary directory where you unzipped the files for the system.
Locate and double-click the Setup.exe file.
4.
5.
6.
7.
8.
E20-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
9.
When the Select Installation Folder window prompts you for the installation directory,
accept the default location.
Click Disk Cost to view the available disk space, and click Next.
10.
The Install NetApp Host Agent window displays. The Host Agent allows communication
with NetApp Protection Manager. We will not use it in this exercise.
Click Next.
11.
Click Next to start the installation process and wait until the Installation Complete window
appears with the following message:
Open Systems SnapVault has been successfully installed.
Click Close to exit.
12.
13.
E20-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
14.
Stop the Open Systems SnapVault service using the Open Systems SnapVault
Configurators Service tab.
15.
Click the SnapVault tab and check the option Enable Restart/resync on restore.
16.
Start the Open Systems SnapVault service using the Open Systems SnapVault
Configurators Service tab.
E20-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
17.
Navigate to the bin directory within the install location of the OSSV client.
C:\ > cd C:\Program Files\netapp\snapvault\bin
18.
Run the install checker to verify the OSSV clients install status.
C:\Program Files\netapp\snapvault\bin> svinstallcheck
Review the results.
19.
Task complete.
1.
3.
4.
5.
Create a flexible volume named vol2 in aggregate aggr1. The volume size will be 100m.
sec> vol create vol2 aggr1 100m
6.
E20-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
8.
Task complete.
TASK 3: CONFIGURE WINDOWS SERVER 2008 R2S FIREWALL FOR OPEN SYSTEM SNAPVAULT
In this task, you will configure Windows 2008 R2s native firewall for SnapVault traffic.
STEP ACTION
1.
Open Server Manager by clicking the Server Manager icon next to the Start button.
E20-6
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
2.
Expand Configuration and then select Windows Firewall with Advanced Security from the left
pane. Expand this tool by clicking the + next to the Firewall node in the left pane.
The Windows Firewall with Advanced Security configuration interface should be visible.
3.
If you review the main pane, you will notice that the current profile is the domain profile.
Record how the profile is configured:
Windows Firewall: ___________
Inbound connections: ________________
Outbound connections: _______________
E20-7
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
There are inbound and outbound rules you can configure. We need to configure a new
inbound rule that allows port 10000 and 10566 traffic. We will do that now.
Click Inbound Rules from the left pane.
E20-8
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
Click the New Rules action from the right pane if visible or right-click on the Inbound Rules node
within the left pane and New Rule to start the new New Rule wizard.
E20-9
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
On the Protocol and Ports page, ensure that the rule is a TCP type.
Make certain that the Specific local ports is selected and within the textbox, enter the
SnapVault required ports with a comma between the two port.
Example: 10000, 10566
On the action page, ensure that the option Allow the connection is selected.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
9.
From the Profile page, verify that all profiles are selected and click Next.
10.
11.
Task complete.
In this task, you will create the folder to be replicated on your assigned Windows Server and start the initial
baseline transfer.
STEP ACTION
1.
2.
With WordPad or Notepad, create a couple of text files that you will save in C:\ossv.
3.
Perform the SnapVault initial baseline transfer. At this stage the destination qtree ossv does
not exist and will be created by the snapvault start command:
sec> snapvault start S prim_hostname_or_ip:c:\ossv /vol/vol2/ossv
4.
Verify that the secondary qtree ossv was created in the secondary volume of vol2.
sec> qtree status
5.
E20-11
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
6.
On the Open Systems SnapVault primary, drop down to the bin directory to run and verify
the outputs of the following commands:
C:\Program Files\netapp\snapvault\bin\snapvault destinations
C:\Program Files\netapp\snapvault\bin\snapvault status
7.
8.
Check that the changes were applied to the ossv qtree replica.
9.
Use the snap list command to display the SnapVault Snapshot copies present in the
destination volume vol2.
How many SnapVault Snapshot copies are listed? Why?
______________________________________________________________
______________________________________________________________
10.
Task complete.
In this task, because restoring to a directory that is a part of a SnapVault relationship is not allowed, you will
restore the contents of the ossv directory to a new location.
STEP ACTION
1.
On the Open Systems SnapVault primary, delete the source directory ossv.
2.
To restore the contents of the ossv directory to a new location named ossv1, use the
command syntax:
C:\Program Files\netapp\snapvault\bin\>snapvault restore S
sec_IP:/vol/vol2/ossv C:\ossv1
NOTE:If during the Open Systems SnapVault agent installation, you specified the IP
address of the authorized secondary system, you must enter this IP address in the command
syntax.
You do not have to create the ossv1 directory; the snapvault restore command will
create it on the C drive.
E20-12
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
We want to now restart the Open System SnapVault relationship. Rename ossv1 to ossv:
C:\> rename ossv1 ossv
4.
Resynchronize the relationship from the secondary with the following command:
sec> snapvault start r S prim_hostname:C:\ossv /vol/vol2/ossv
5.
Which Open Systems SnapVault relationship is now active on the secondary system?
(Hint: snapvault status)
______________________________________________________________
6.
Display the SnapVault logs from the Open Systems SnapVault client and the secondary
system. You should see entries for the initial baseline transfer, the manual update, and the
restore operations:
On the secondary: /etc/logs/snapmirror
On the Open Systems SnapVault primary:
C:\Program Files\netapp\snapvault\etc\snapvault
7.
Task complete.
END OF EXERCISE
E20-13
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Open Systems SnapVault
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
The purpose of this exercise is to give you an opportunity to enable a high-availability configuration and observe
how it works.
OBJECTIVES
TIME ESTIMATE
30 minutes
E21-1
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: High Availability
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will identify your partner and work together to fail over one of the storage systems. If you have
any difficulty identifying your partner, please contact your instructor.
STEP ACTION
1.
If available, look at the hardware on your system. Do you see any indication that your storage
system is cabled for high availability? ______________________
What command will give you information about the hardware installed on your storage system?
___________________________________________________________
Your instructor will help you identify the system that is cabled as the partner for your system.
(HINT: use sysconfig)
Identify which storage system will be system and which system will be system2.
system _______________________________
system2 _______________________________
2.
What does the cf status command tell you before you reboot?
____________________________________________________________
3.
E21-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: High Availability
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
system2> cf status
5.
On both Windows environments, use NetApp System Manager and select the NetApp System
Manager node in the left pane.
NOTE: Your partner will do the same for the other system in the high-availability pair.
Click the Refresh button.
What happens? ____________________
Why? ___________________________
If your storage system disappears and you dont see the new high-availability pair, add your storage
systems again to System Manager by clicking the Add button and providing its e0a IP address.
What happens? ____________________
E21-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: High Availability
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
6.
Standby
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: High Availability
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
8.
Task complete.
In this task, you will fail over the first storage system to the second system (system2). NOTE: This task should be
performed using only one NetApp System Manager session.
STEP ACTION
1.
On the first system (system), locate the files from a previous lab.
From your Windows host, view the mapped drive for the CIFS share and then view the drive
associated with the iSCSI LUN on your storage system. Later you will want to check that you can
still access these files during a takeover.
2.
Within NetApp System Manager, click the Active/Active Configuration node within the left pane.
Have system2 take over for system by selecting the Takeover button on the appropriate system.
NOTE: The licenses have to match exactly on both nodes of the high-availability pair for takeover
to occur. Other requirements might also need to be meant. See the status dashboard for your highavailability pair in NetApp System Manager for any unresolved issues.
The Active/Active Configuration wizard should begin. Click Next to start the wizard.
E21-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: High Availability
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
3.
Click Next.
4.
5.
Check the console of system2. How long did it take for system2 to complete the takeover?
______________
6.
E21-6
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: High Availability
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
Now run the same commands from within the takeover system:
system2(takeover)> partner
system2/system> sysconfig r
system2/system> sysconfig v
system2/system> sysstat 1
Use Cotnrol-c to end sysstat command.
Access your CIFS share from your client. Can you still access your data?
____________________________________________________________
____________________________________________________________
How about the LUN? Can you still access the LUN?
____________________________________________________________
____________________________________________________________
9.
E21-7
Task complete.
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: High Availability
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this task, you will use the command-line interface or a single NetApp System Manager session to give back
control from system2 to the first storage system (system).
STEP ACTION
1.
2.
Alternatively, you can analyze the status of your high-availability pair with NetApp System
Manager.
3.
Task complete.
END OF EXERCISE
E21-8
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: High Availability
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
E22-1
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
In this exercise, you will set up SnapMirror to perform asynchronous volume replication between two storage
systems and then reconfigure SnapMirror asynchronous to a synchronous configuration.
OBJECTIVES
TIME ESTIMATE
45 minutes
E23-1
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
1.
2.
3.
Task complete.
1.
License SnapMirror:
source> license add <code>
2.
Configure the SnapMirror destination storage system authorized to replicate the source storage
system:
source> options snapmirror.access host=<destination_hostname>
3.
Create a flexible volume named vol3 in the existing aggregate aggr1. The volume size will be 10g.
source> vol create vol3 s none aggr1 10g
Set the volume to be ntfs security style.
source> qtree security /vol/vol3 ntfs
Verify.
source> qtree status
E23-2
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
4.
5.
6.
7.
Task complete.
1.
License SnapMirror:
destination> license add <code>
2.
Set SnapMirror access permission by specifying the host name of the source storage system:
destination> options snapmirror.access host=<source_hostname>
3.
Create a flexible volume vol3 in the existing aggregate aggr1. The volume size will be 10g.
destination> vol create vol3 aggr1 10g
Set the volume to be ntfs security style.
source> qtree security /vol/vol3 ntfs
Verify.
source> qtree status
4.
5.
6.
Task complete.
E23-3
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
1.
2.
Example:
system2> snapmirror initialize S system:vol3 system2:vol3
3.
The /etc/snapmirror.conf file does not exist by default. Verify that the file does not exist
by using the rdfile command to read the file. You should receive a message stating that there is
no such file.
Example:
system2> rdfile /etc/snapmirror.conf
Verify that the Dataset1 directory is present in the destination volume vol3.
4.
5.
6.
E23-4
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
7.
Using a text editor or the Data ONTAP wrfile command create the
/etc/snapmirror.conf file on the destination root volume.
Edit the configuration file to add this entry:
src_hostname:vol3 dst_hostname:vol3 30 * * *
What do the four entries in the schedule field mean? And how often will vol3 replicate?
________________________________________________________
________________________________________________________
8.
Task complete.
1.
From the SnapMirror destination storage system, convert the read-only volume replica to a writable
file system:
destination> snapmirror break vol3
2.
3.
What is the state of the SnapMirror relationship on the destination storage system?
Hint: Use the snapmirror status command.
________________________________________________________
4.
E23-5
Task complete.
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
1.
To replicate only the changed blocks from the source to the destination systems, resynchronize the
SnapMirror relationship from its direct source.
source> snapmirror resync -S dst_hostname:vol3 src_hostname:vol3
Answer yes or y when prompted to confirm the command.
2.
3.
On the source system display all the registered SnapMirror relationships. (Hint: snapmirror
status command)
Note the entry for the relationship created by the resync operation.
From: _____________________To: __________________________
4.
5.
6.
7.
E23-6
Task complete.
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
1.
To reinstate the original SnapMirror relationship, you have to resync it, but this time you will issue
the command from the destination storage system.
destination> snapmirror resync S src_hostname:vol3
dst_hostname:vol3
Answer yes or y when prompted to confirm the command.
2.
3.
You can check that the original relationship was successfully reinstated by triggering a manual
update.
But first, copy the Dataset3 directory into the source volume. After the manual update, we will
verify whether Dataset3 was mirrored to the destination volume.
Trigger a SnapMirror update from the destination volume:
destination> snapmirror update vol3
Check that the Dataset3 directory is present in the destination volume vol3.
4.
Task complete.
1.
License SnapMirror for synchronous replication on the source and the destination storage systems.
source> license add <code>
destination> license add <code>
2.
3.
Edit the existing snapmirror.conf file and modify the schedule field as follows:
src_hostname:vol3 dst_hostname:vol3 sync
4.
E23-7
Use the snapmirror status command to ensure that the relationship is in sync.
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
STEP ACTION
5.
6.
On the destination, edit the snapmirror.conf file and comment out, with a pound sign (#), the
entry:
src_hostname:vol3 dst_hostname:vol3 sync
HINT: You can map C$ to edit this file.
7.
Review the history of the SnapMirror operations you performed reading from the SnapMirror log
file. HINT: Use the rdfile /etc/log/snapmirror command.
8.
9.
Task complete.
END OF EXERCISE
E23-8
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
E24-1
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
NETAPP UNIVERSITY
Appendix A: Answers
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode
Exercise Guide
Course Number: STRSW-ILT-ANCDA-D87M
Catalog Number: STRSW-ILT-ANCDA-D87M-EG
Content Version: 1.0
Answers
Module 1: NCDA Overview
EA-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 2: NFS Overview
What is a netgroup?
EA-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 3: NFS Setup
EA-4
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 4: Exports and Mounts
What is a resource?
An exported object
Subnet
Netgroup
Client
Subdomain
Volume
Directory
File
Qtree
EA-5
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
EA-6
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 5: CIFS Overview
EA-7
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Machine accounts
User names/passwords/rights
Group membership information
Group policies
EA-8
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
EA-9
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 6: CIFS Workgroups
EA-10
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 7: CIFS Shares and
Sessions
EA-11
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 8: CIFS Access Control
EA-12
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 9: CIFS Domains
EA-13
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 10: NAS Multiprotocol
EA-14
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 11: NAS Troubleshooting
EA-15
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 12: SAN Overview
EA-16
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 13: FC Connectivity
EA-17
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 14: iSCSI Connectivity
EA-18
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 15: LUN Access
EA-19
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 16: Availability Overview
EA-20
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 17: Snapshot Copies
SnapRestore
SnapMirror
SnapVault
SnapManager
SnapDrive
FlexClone
EA-21
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
snap
snap
snap
snap
snap
list
create
delete
delta
reclaimable
EA-22
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 18: SnapRestore
EA-23
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 19: SnapVault
EA-24
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 20: Open Systems
SnapVault
EA-25
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 21: High-Availability
EA-26
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
EA-27
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 22: MetroCluster
EA-28
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 23: SnapMirror
EA-29
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
True
True or false? Ethernet and FC interfaces may be
logically combined in multi-mode or failover mode.
True
EA-30
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Answers
Module 24: Performance
EA-31
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix A: Answers
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
NETAPP UNIVERSITY
Protocol
Item
Value
Local
Windows
Username:
(If present)
Password:
Linux
Name:
Console IP
Address:
IP Address:
Root Password:
iSCSI
Interface Name:
IP Address:
WWN:
Name:
Windows
Server
Console IP
Address:
Local
Administrator
Password:
Domain
Administrator
Password:
iSCSI
1 Interface Name:
1 IP Address:
2 Interface Name:
2 IP Address:
WWNN:
EB-2
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix B: Master Configuration Worksheet
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.
Hardware
Protocol
Item
Value
Hostname:
Storage
System
Type of System:
Console IP:
Root password:
iSCSI
1 Interface Name:
1 IP Address:
2 Interface Name:
2 IP Address:
WWNN:
EB-3
Accelerated NCDA Boot Camp Data ONTAP 8.0 7-Mode: Appendix B: Master Configuration Worksheet
2010 NetApp, Inc. This material is intended for training use only. Not authorized for reproduction purposes.