Like DNS, NIS enables you to centrally maintain host information. NIS provides two methods for filer host name resolution:
This method is described in Creating /etc/hosts from the NIS master.
This method is described in the following sections.
NIS also enables you to maintain user information. For more information, see the Storage Management Guide.
You can configure the filer to use one or more NIS servers either during the setup procedure or later using the Data ONTAP command line or FilerView.
If you configure NIS later, you need to do all of the following:
You can enable NIS and set NIS configuration values in either of these ways:
See Configuring NIS with FilerView.
See the appropriate instructions:
If you want to use primarily NIS for host-name resolution, specify it ahead of other methods in the hosts map in the /etc/nsswitch.conf file. For information about how to edit the nsswitch.conf file, see Changing the host name search order.
Correct host-name resolution depends on the correct configuration of the NIS server. If you experience problems with host-name resolution or data availability, check the NIS server in addition to local networking.
For more information about the filer NIS client, see the NetApp nis(8) manual page.
To set or modify NIS configuration values with FilerView, complete the following steps.
| 1 | ||
| 2 | In the list under Network, click Manage DNS and NIS Name Service. |
|
| 3 | ||
Enter a name in the NIS Domain Name field. Examples of configuration values are listed in Specifying the NIS domain name. |
||
Enter one or more IP addresses in the NIS Servers fields. Examples of configuration values are listed in Specifying NIS servers to bind to. |
||
For information about NIS group cache updates, see the Storage Management Guide.
You can specify an ordered list of NIS servers to which you want the filer to bind. The list should begin with the closest NIS server (closest in network terms) and end with the furthest one.
To specify an ordered list of NIS servers you want the filer to bind to, complete the following step.
Note
You can specify NIS servers by IP address or host name. If host names are used, make sure each host name along with its IP address is listed in the /etc/hosts file. Otherwise, the binding with host name will fail.
The following lists two servers and uses the broadcast default:
options nis.servers 172.15.16.1,nisserver-1,*
The filer first tries to bind to 172.15.16.1. If the binding fails, the filer tries to bind to nisserver-1. If this binding fails also, the filer binds to any server that responds to the broadcast. While bound to the NIS server that responded to the broadcast, the filer continues to poll the preferred servers. As soon as one of the preferred servers is found, the filer binds to the preferred server.
To specify the NIS domain name, complete the following step.
To enable or disable NIS on your filer, complete the following step.
| 1 |
options nis.enable {on|off}
|
You can display the following types of NIS information:
To display NIS information, complete the following step.
| 1 |
nis info |
For more information about the nis info command and resulting display, see the NetApp nis(1) manual page.
Data ONTAP supports the standard NIS administrative commands listed in the following table. For more information, see each command's manual page.
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00474
File: dns5.htm
Last updated: 11/17/03 15:56:23