ONTAP 9.13.1 commands

vserver peer permission create

Create a new Vserver peer permission

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The vserver peer permission create command creates a new Vserver peer permission that can be used during intercluster Vserver peer relationship creation. Once this permission exists for a local Vserver and peer cluster combination on local cluster, no explict vserver peer accept command is required for any incoming Vserver peer relationship creation request from a remote cluster for that local Vserver. Peer relationship directly changes state to peered on both clusters.

Parameters

-peer-cluster <text> - Peer Cluster Name

Specifies the name of the peer Cluster.

-vserver <text> - Vserver Name

Specifies the name of the local Vserver. Use "*" to create permission that applies for all local Vservers.

-applications {snapmirror|flexcache} - Peering Applications

Specifies the applications that can make use of the intercluster Vserver peer relationship.

Examples

The following example illustrates how to create Vserver peer permissions:

cluster1::> vserver peer permission create -peer-cluster cluster2 -vserver vs1 -applications snapmirror

The following example illustrates how to create a Vserver peer permission that applies for all the local Vservers

cluster1::> vserver peer permission create -peer-cluster cluster2 -vserver "*" -applications snapmirror

Warning: This Vserver peer permission applies to all local Vservers. After that no explict
"vserver peer accept" command required for Vserver peer relationship creation request
from peer cluster "cluster2" with any of the local Vservers. Do you
want to continue? {y|n}: y
cluster1::> vserver peer permission show
Peer Cluster     Vserver         Applications
---------------- --------------- -----------------
cluster2         "*"             snapmirror
cluster2         vs1             snapmirror
2 entries were displayed.

Note that both  all  Vservers and any local Vserver name permission can exists at same
time.
Top of Page