vserver peer show

Display Vserver peer relationships

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

Description

The vserver peer show command displays the following information about Vserver peer relationships:

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-vserver <vserver>] - Local Vserver Name
If this parameter is specified, the command displays relationships that match the specified local Vserver.
[-peer-vserver <text>] - Peer Vserver Name
If this parameter is specified, the command displays relationships that match the specified peer Vserver.
[-peer-state {peered|pending|initializing|initiated|rejected|suspended|deleted}] - Peering State
If this parameter is specified, the command displays relationships that match the specified peer state.
[-applications {snapmirror|file-copy|lun-copy|flexcache}, ...] - Peering Applications
If this parameter is specified, the command displays relationships that have the specified applications.
[-peer-cluster <text>] - Peer Cluster Name
If this parameter is specified, the command displays relationships that have the specified peer cluster name.
[-peer-vserver-uuid <UUID>] - Peer Vserver UUID (privilege: advanced)
If this parameter is specified, the command displays relationships that match the specified peer Vserver UUID.
[-vserver-uuid <UUID>] - Local Vserver UUID (privilege: advanced)
If this parameter is specified, the command displays relationships that match the specified local Vserver UUID.
[-remote-vserver-name <text>] - Remote Vserver Name
If this parameter is specified, the command displays relationships that match the specified remote Vserver.

Examples

The following examples illustrate how to display Vserver peer relationships.
Cluster administrator:

cluster1::> vserver peer show
            Peer        Peer                           Peering        Remote
Vserver     Vserver     State        Peer Cluster      Applications   Vserver
----------- ----------- ------------ ----------------- -------------- ---------
lvs1.example.com        
            lvs2.example.com
                        peered       cluster1          snapmirror     lvs2.example.com
lvs1.example.com
            pvs1.example.com
                        peered       cluster2          snapmirror     pvs1.example.com
lvs2.example.com
            lvs1.example.com
                        peered       cluster1          snapmirror     lvs1.example.com
lvs3.example.com
            pvs1_cluster3.example.com
                        peered       cluster3          snapmirror     pvs1.example.com
lvs1.example.com
            lvs1_cluster4.example.com
                        peered       cluster4          snapmirror     lvs1.example.com                        
5 entries were displayed.


Vserver administrator:

vs11.example.com::> vserver peer show
            Peer        Peer         Peering               Remote
Vserver     Vserver     State        Applications          Vserver
----------- ----------- ------------ --------------------- ----------
vs11.example.com
            pvs21.example.com
                        peered       snapmirror            pvs21.example.com
vs11.example.com
            vs12.example.com
                        peered       file-copy, snapmirror vs12.example.com
2 entries were displayed.