跳转到主内容

Data ONTAP 上的文件管理器 NIS 从属设备是什么?

Views:
17
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

适用场景

Data ONTAP 7 及更早版本

问题解答

Data ONTAP 7.1将在文件管理器上运行NIS从属服务器。可使用以下选项打开/关闭从属服务器

options nis.slave.enable on | off

从属服务器下载映射后、所有NIS请求都会使用下载的映射进行处理。不会向NIS服务器发出任何NIS请求。如果禁用了从属服务器、则文件管理器将恢复为客户端行为。从属服务器有两个主要功能:

  1. 从NIS主服务器下载映射:NIS从属服务器每45分钟与主服务器检查一次更新。如果有更新、则会下载这些更新。
  2. 服务yppush请求。所有其他NIS/YP请求均被拒绝。如果文件管理器在NIS主服务器上配置为从属服务器、则在更新主服务器上的映射时、管理员可以选择通知所有从属服务器。

正在解析NIS主服务器

打开NIS从属服务器后,将从配置的中获取有关NIS主服务器的信息 nis.servers

注意: NIS主服务器可能与配置的不同 nis.servers 。主服务器的IP地址通过NIS或 /etc/hosts 文件管理器上的本地文件进行解析。如果NIS主服务器在主机映射或本地 /etc/hosts 文件中没有条目、则文件管理器上的NIS从属服务器将无法与主服务器联系。

已下载地图

下载的地图存储在下 /etc/yp/<NIS_domain_name>/。文件管理器的根卷上需要有足够的空间来下载映射、以便从属服务器能够正常工作。所需的空间量取决于映射的大小。它的大小与NIS服务器上的映射几乎相同。

映射存储在数据库文件中,您可以使用验证每个映射数据库文件中的数据 db_dump185 ¡§Cp <map_name>

对进行的更改 nis info

NIS从属服务器的状态将显示为的一部分 nis info。下面是一个示例。已启用NIS从属服务器NIS主服务器nwk-c72.solaris.netapp.com NIS映射上次检查时间星期一2月28日14:50:15 PST 2005

外部NIS客户端

文件管理器上运行的NIS从属服务器不会对远程NIS客户端请求做出响应、因此其他NIS客户端无法使用它进行名称查找。

 可以对以下项使用 NIS 从属服务器:

  • VIF和VLAN接口
  • vFiler 单元
  • 存储系统集群
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.