跳转到主内容

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.