vserver peer accept

Accept a pending Vserver peer relationship

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

Description

The vserver peer accept command is used to accept the Vserver peer relationship between two Vservers. This command is used only for intercluster Vserver peer relationships.

Parameters

-vserver <vserver> - Vserver Name
Specifies name of the local Vserver for which you want to accept the Vserver peer relationship.
-peer-vserver <vserver> - Peer Vserver Name
Specifies name of the peer Vserver with which the Vserver peer relationship was initiated.
[-local-name <vserver>] - Peer Vserver Local Name
Specifies the unique local name to identify the peer Vserver with which the Vserver peer relationship was initiated. The default value is the remote peer Vserver name.

Examples

The following example illustrates how to accept the Vserver peer relationship between Vservers pvs1.example.com residing on cluster2, and lvs1.example.com residing on cluster1.
cluster2::> vserver peer accept -vserver pvs1.example.com -peer-vserver lvs1.example.com
The following example illustrates how to accept the Vserver peer relationship between Vservers pvs1.example.com residing on cluster2, and pvs1.example.com residing on cluster1. During execution of vserver peer create command on peer cluster, peer Vserver name is locally refered by unique system generated name pvs1.example.com.1. Using vserver peer accept command specify the unique -local-name for peer Vserver.
cluster2::> vserver peer accept -vserver pvs1.example.com -peer-vserver pvs1.example.com.1 -local-name locallyUniqueName