跳转到主内容

ONTAP 集群 Shell 修改设置在重新启动后是否持久?

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

ONTAP 9

问题解答

是用于修改设置(例如 system services firewall modifystorage raid-options modify等)的集群 Shell 命令在重新启动后会持久保留。

追加信息

cluster shell modify 命令可更新关系数据库( Relational Database , RDB )表并在集群互连之间进行同步,以确保设置持久一致。

示例:

cluster::> system services firewall show
Node       Enabled Logging
-------------- ------- -------
cluster-1a   true  false
cluster-1b   true  false
2 entries were displayed.

cluster::> system services firewall modify -node * -enabled false
2 entries were modified.

cluster::> system services firewall show
Node       Enabled Logging
-------------- ------- -------
cluster-1a   false  false
cluster-1b   false  false
2 entries were displayed.

cluster::> storage failover takeover -ofnode aff200-rtp-1b

System rebooting...
login: admin
Password:

cluster::> system services firewall show
Node       Enabled Logging
-------------- ------- -------
cluster-1a   false  false
cluster-1b   false  false
2 entries were displayed.

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.