メインコンテンツへスキップ

ワークロードセキュリティによってブロックされたNFSアクセスの手動でのブロック解除方法

Views:
13
Visibility:
Public
Votes:
0
Category:
cloud-insights<a>エクスポートポリシー</a><a>unblock</a><a>cloudsecure_rule</a>
Specialty:
oci
Last Updated:

環境

NetAppワークロードセキュリティ 

回答

NFSのIPを手動でリストア

ワークロードセキュリティの試用期間が終了した場合、またはエージェント/コレクタがダウンしている場合は、次の手順に従って、ONTAPからIPを手動で復元します。

  1. SVM上のすべてのエクスポートポリシーをリストします。

:> export-policy rule show -vserver <svm name>
       Policy      Rule   Access   Client         RO
Vserver    Name       Index   Protocol Match          Rule
------------ --------------- ------  -------- --------------------- ---------
svm0     default     1    nfs3,   cloudsecure_rule,    never
                   nfs4,   10.11.12.13
                   cifs
svm1     default      4    cifs,   0.0.0.0/0        any
                   nfs
svm2     test       1    nfs3,   cloudsecure_rule,    never
                   nfs4,   10.11.12.13
                   cifs
svm3     test       3    cifs,   0.0.0.0/0        any
                   nfs,
                   flexcache
4 entries were displayed.

  1. cloudsecure_rule対応するRuleIndexを指定して、クライアント一致がになっているSVM上のすべてのポリシーからルールを削除します。ワークロードセキュリティルールは通常1です。

:::*> export-policy rule delete -vserver <svm name>-policyname *-ruleindex 1

  1. ワークロードセキュリティルールが削除されていることを確認します(オプションの手順で確認します)。

::*> export-policy rule show -vserver <svm name>
       Policy      Rule   Access   Client         RO
Vserver    Name       Index   Protocol Match          Rule
------------ --------------- ------  -------- --------------------- ---------
svm0      default      4     cifs,   0.0.0.0/0        any
                   nfs
svm2      test       3     cifs,   0.0.0.0/0        any
                   nfs,
                   flexcache
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.