Skip to main content

volume flexcache connection-status show

Display FlexCache Connection Status

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

Description

The volume flexcache connection-status show command displays information about the connection status of FlexCache volumes and origin of FlexCache volumes. The command output depends on the parameter or parameters specified with the command. If no parameters are specified, the command displays the following information about connection status of all FlexCache volumes:

  • Node
  • Vserver
  • Volume
  • Remote Vserver
  • Remote Volume
  • Remote Endpoint
  • Connection Status

To display detailed information about all FlexCache volumes, run the command with the -instance parameter.

Parameters

{ [-fields <fieldname>, ...]
This specifies the fields that need to be displayed.
| [-instance ]}
If this parameter is specified, the command displays information about all values.
[-node {<nodename>|local}] - Node Name
If this parameter is specified, the command displays detailed information the connection status of all the FlexCache volumes and origin of FlexCache volumes on this node.
[-vserver <vserver name>] - Vserver Name
If this parameter and the -volume parameter are specified, the command displays detailed information about the specified volume. If this parameter is specified by itself, the command displays information about FlexCache volumes and origin of FlexCache volumes on the specified Vserver.
[-volume <volume name>] - Local Volume
If this parameter is specified, the command displays detailed information about the specified FlexCache volume and origin of FlexCache volumes.
[-remote-vserver <vserver name>] - Remote Vserver
If this parameter is specified, the command displays information only about the FlexCache volume or volumes which have a relationship with the specificed remote-vserver.
[-remote-volume <volume name>] - Remote Volume
If this parameter is specified, the command displays information only about the FlexCache volume or volumes that have a relationship with the specified remote-volume.
[-remote-cluster <Cluster name>] - Remote Cluster
If this parameter is specified, the command displays information only about the FlexCache volume or volumes which have a relationship with the specificed remote-cluster.
[-conn-status {unknown|connected|disconnected|downrev}] - Connection Status
If this parameter is specified, the command displays information only about the FlexCache volume or volumes that have connection status as specified by conn-status.
[-remote-endpoint {none|cache|origin}] - Remote Endpoint
If this parameter is specified, the command displays information only about the FlexCache volume or volumes that have endpoint as specified by remote-endpoint.

Examples

The following example displays connection status of all FlexCache volumes on the Vserver named "vs_1":

node3::> flexcache connection-status show -vserver vs_1

Node: node3-01

Remote Remote Remote Remote Connection
+Vserver Volume Vserver Volume Cluster Endpoint Status
+------------ ---------- ------------ ---------- ------- -------- --------------
vs_1 vol_origin vs_2 fc_2__0001 clus-4 cache connected
vs_1 vol_origin vs_2 fc_2__0002 clus-4 cache connected
vs_1 vol_origin vs_2 fc_2__0003 clus-4 cache connected
vs_1 vol_origin vs_2 fc_2__0004 clus-4 cache connected
4 entries were displayed.