Вы находитесь на странице: 1из 8

MODULE 3: NFS SETUP

EXERCISE

In this exercise, you configure NFS services on a NetApp storage system. You also configure your assigned
UNIX or Linux machine to be an administration host for your assigned storage system. By configuring
your machine as an administration host, you allow it to have default access to your root volumes
configuration file.
OBJECTIVES

By the end of this exercise, you should be able to:

License and configure NFS service


Add an administration host using the setup command

TASK 1: LICENSE AND CONFIGURE THE NFS SERVICE

In this task, you will license and verify the current configuration of the NFS service.
STEP ACTION

1.

Open NetApp System Manager.

2.

Check whether NFS is licensed on your system:


Click System>Configuration>System Tools>Licenses

E3-1

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: NFS Setup

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

STEP ACTION

3.

If NFS is not licensed, obtain the license code from your instructor. Click Add.

4.

An information box pops up to confirm that the license has been installed. Click OK.

E3-2

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: NFS Setup

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

STEP ACTION

5.

Click Refresh. Verify that the NFS license has been added.

6.

Click Storage. Exports node appears after the license key has been added.

E3-3

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: NFS Setup

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

STEP ACTION

7.

Navigate to Configuration > Protocols > NFS and review the information.

8.

Click Edit.
The Edit NFS Configuration dialog box appears:

Verify that version 3 is support is checked. Click Save if you made any change or Cancel no
change was made.
9.

From the command-line interface session, review all of the NFS protocol settings:
system> options nfs

10.

Enter this command:


system> options nfs.tcp

What is the status of NFS running over TCP? ________


E3-4

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: NFS Setup

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

STEP ACTION

11.

Enter this command:


system> options nfs.udp

What is the status of NFS running over UDP? ________


12.

Enter this command:


system> options nfs.v3

What is the status of version 3 of the NFS protocol? ________


13.

Enter this command:


system> options nfs.v4

What is the status of version 4 of the NFS protocol? ________


What is the status of version 2 of the NFS protocol? ________
How do you know the status of version 2 of the NFS protocol? ________

TASK 2: ADD AN ADMINISTRATION HOST USING THE SETUP COMMAND

In this task, you configure your storage systems administration host settings using your assigned UNIX or
Linux host. The configuration allows 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 using the terminal server.

2.

Enter the setup command.


system> setup

NOTE: Your output may differ from the output in the following steps depending on the
hardware you are using.
3.

Enter yes to start the wizard:


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]

E3-5

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: NFS Setup

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

STEP ACTION

4.

Press Enter to accept the default value for each of these 16 questions. Please see your instructor
for if you have any questions about your labs configuration. Your setup will differ slightly
from these default settings shown.
Please enter the new hostname [system]:
Do you want to enable IPv6?[n]:
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]:
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]:

5.

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-6

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: NFS Setup

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

STEP ACTION

6.

Press Enter to accept the default values for the remaining 11 wizard questions:
Please enter timezone [GMT]:
Where is the filer located? []:
What language will be used for multi-protocol files (Type ? for list)?:
Enter the root directory for HTTP files [/vol/vol0/home/http]:
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.
Do you want to configure the Shelf Alternate Control Path Management
interface for SAS shelves [n]:

7.

Reboot the storage system to make the changes take effect.


system> reboot

NOTE: Because you only modified the administration host settings, you dont necessarily have
to reboot. If this were a production storage system, you might make the changes take effect
without rebooting by using the source command.
The setup command automatically updates these files:

/etc/exports: allows the administration host to mount the root volume


/etc/hosts.equiv: allows the administration host to be trusted on the storage system
(allows rsh commands)
/etc/hosts: allows IP resolution of the administration host
options admin.hosts: displays the name of the administration host that was provided
during the setup command.

If volumes are automatically exported (a feature described later in the course), the options
admin.hosts setting determines who should receive access to the server-generated export.
You will now review the changes.

E3-7

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: NFS Setup

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

STEP ACTION

8.

Log in to your storage system.


Which volume or volumes are on your storage system? ______________________
Which command did you use to discover the volume or volumes? _______________

9.

List the contents of the /etc/exports file in the space provided:


_____________________________________________________________________________
_____________________________________________________________________________
NOTE: In addition to using a command-line interface command, you can also list the contents
using System Manager.
Which command-line interface command can you use? _____________
How else can you list what exports are presently in memory? __________________
NOTE: Remember that this file was populated when the storage system was configured.

10.

Record the host name and IP address of Host1 from the /etc/hosts file:
Host1: _________________________________
IP Address: _____________________________

11.

List the content of the /etc/rc file in the space provided:


_____________________________________________________________________________
NOTE: Again, there is more than one way to accomplish this.
When the storage system reboots, the /etc/rc file configures interfaces, loads exports, and
performs other configurations. You can modify the /etc/rc file by running setup, but you
can also modify it directly.
The /etc/rc file is only executed at startup.

12.

To implement a modification to /etc/rc, use the source command.


system> source /etc/rc

13.

Open the manual page for the source command to learn more about it:
system> man source

END OF EXERCISE

E3-8

Accelerated NCDA Boot Camp Data ONTAP 7-Mode: NFS Setup

2011 NetApp, Inc. This material is intended only for training. Reproduction is not authorized.

Вам также может понравиться