Skip to main content
NetApp Knowledge Base

Managing export-policy rules in BlueXP

Views:
1,070
Visibility:
Public
Votes:
0
Category:
netapp_console
Specialty:
ds_cvo
Last Updated:

Applies to

  • Cloud Volumes ONTAP (CVO)
  • NetApp BlueXP (Formerly Cloud Manager)
  • NetApp System Manager

Description

An export policy defines the clients in the subnet that can access the volume. During CVO setup, Cloud Manager enters a default value that provides access to all instances in the subnet. If the default is accepted, Cloud Manager will allow you to modify this rule later on. After setup, new service-policy and rules can be created as needed via System Manager or CLI.

Procedure

  1. Modifying the default export-policy rules in BlueXP:

Enter the WorkingEnvironment > go to Volumes > Edit and update the "Custom export policy" field as needed.

clipboard_e92c7b4a8d7d0387af2321ef929c46530.png

The result: BlueXP will create new rules for each policy per SVM. 

cvocluster01::> export-policy rule show
                 Policy          Rule    Access     Client                RO
Vserver          Name            Index   Protocol   Match                 Rule
------------     --------------- ------  --------   --------------------- ---------
svm_data         export-svm_data     1    any       0.0.0.0/0             any
svm_data         export-svm_data     2    nfs3,nfs4 192.168.178.11        any
svm_data         export-svm_data-vol1 1   nfs3,nfs4 0.0.0.0/0             any
svm_data         export-svm_data-vol1 2   nfs3,nfs4 192.168.178.11        any

 

 

 

Note: By design, BlueXP will only display policy rules defined during setup. Any changes to that will only be reflected in System Manager or ONTAP CLI.

  1. Manage access using export policies
  2. Create and manage export policy using CLI. For more help, see the vserver export-policy man pages.

​​​Example of creating a new policy & rule:

::> vserver export-policy create -policyname NewPolicy -vserver svm1

::> vserver export-policy rule create -vserver svm1 -policyname NewPolicy -clientmatch 0.0.0.0/0 -protocol nfs -rorule any -rwrule any -superuser any -anon 65534 -ruleindex 1

 

 

Internal Notes

 

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.