跳转到主内容

ONTAP NFS 凭据缓存如何工作?

Views:
10
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:

适用于

  • ONTAP 9
  • NFS

问题解答

  • 当客户端访问节点(nblade)时,ONTAP 将检查缓存的条目是否存在。 
    • 如果缓存存在,则从节点缓存提供凭据。
    • ONTAP 将检查缓存是否已过期。
      • 如果过期,ONTAP 将检查全局缓存,也称为集群缓存。
        • 如果全局缓存存在,ONTAP 将检查用户(passwd)是否存在。
          • 如果用户存在,ONTAP 将检查用户是否具有组成员身份。
            • 如果不存在组成员资格,ONTAP 将查询 (group) 以获取组。 
              • 查询成功后,ONTAP 将同步全局缓存。
            • 如果是,ONTAP 将同步全局缓存。
          • 此用户不存在,ONTAP 将查询(passwd)此用户。 
            • 成功查询用户后,ONTAP 将重复此循环并检查用户是否具有组成员身份。 
              • 如果不存在组成员资格,ONTAP 将查询(group)以查找组。 
                • 查询成功后,ONTAP 将同步全局缓存。
              • 如果是,ONTAP 将同步全局缓存。
      • 如果未过期,访问将继续,而无需对缓存执行进一步操作。
点击此处展开工作流程图
nfs_access_cache_workflow.png

 

 

追加信息

  • 在缓存到期时,除非条目已被收集,否则重用它并设置标志 pending refresh
    • 请勿在 pending refresh 时重复使用,刷新完成后,缓存条目将被更新并删除标记。
  • 在第一个 914483 之后,过期的 NFS 凭据将继续使用,直到刷新完成。
  • 如果凭据不存在,它将以部分状态创建,ONTAP 将不断尝试刷新,直到成功。
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.

 

  • 这篇文章对您有帮助吗?