lspartnership
Use the lspartnership command to display a concise or detailed view of the current clustered systems (systems) that are associated with the local system.
Syntax
Parameters
- -filtervalue attribute=value
- (Optional) Specifies a list of one or more filters. Only objects with a value that matches the
filter attribute value are displayed. If a capacity is specified, the units must also be included.
- Some filters allow the asterisk character (*) when you enter the command. The following rules
apply to the use of wildcard characters with the command-line interface (CLI):
- The wildcard character is an asterisk (*).
- The command can contain a maximum of one wildcard.
- When you use a wildcard, you must enclose the filter entry within double quotation marks (""):
lspartnership -filtervalue "name=md*"
- Some filters allow the asterisk character (*) when you enter the command. The following rules
apply to the use of wildcard characters with the command-line interface (CLI):
- -nohdr
- (Optional) By default, headings are displayed for each column of data in a concise style view,
and for each item of data in a detailed style view. The -nohdr parameter
suppresses the display of these headings.Note: If there is no data to be displayed, headings are not displayed.
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are space-separated. The width of
each column is set to the maximum width of each item of data. In a detailed view, each item of data
has its own row, and if the headers are displayed, the data is separated from the header by a space.
The -delim parameter overrides this behavior. Valid input for the
-delim parameter is a 1-byte character. If you enter
-delim :
on the command line, the colon character (:
) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter. - -filtervalue?
- (Optional) displays a list of filters that can be applied against this view. The following
filter attributes are valid:
- id
- name
- link1=portset1
- link2=portset5
- system_id | system_name
- (Optional) Specifies the name or ID of a system. This parameter displays the detailed view of the specified system.
Description
This table described attribute values.
Attribute | Value |
---|---|
id | Indicates the system ID. |
name | Indicates the system name. |
location | Indicates the system location. |
code_level | Indicates the code level. |
partnership | Indicates the current state of the partnership; not applicable for the local
system and is blank. The partnership field can show the following values:
|
relationship_bandwidth_limit | Indicates the current relationship bandwidth limit setting. The relationship bandwidth limit controls the maximum rate at which any one remote-copy relationship can synchronize. The default value for the relationship bandwidth limit is 25 megabytes per second (MBps). |
type | Indicates the type of partnership:
|
cluster_ip | Indicates the partner system IP address, which can be IPv4, IPv6 or FQDNs. This information is displayed for IP-based partnerships. For IP-based partnership this field displays the system IP address that is specified while the partnership using mkippartnership is created. |
chap_secret | Indicates the Challenge-Handshake Access Protocol (CHAP) secret (up to 80 alphanumeric characters) for the partner system. The CHAP authenticates the local system with the partner system during discovery, and Internet Small Computer System Interface (iSCSI) system session creation. For FC-based and FCoE-based relationships this field is always blank. |
link_bandwidth_mbits | Indicates the aggregate bandwidth for the Remote Copy (RC) link in megabits
per second (Mbps). This is a numeric value from 0 to 100000 . If
there are multiple links between the local and remote systems, this parameter is set to the sum of
the link bandwidths for these links. |
background_copy_rate | Indicates the bandwidth allocation for background copy operations that are
performed over the replication link. It is expressed as a percentage of the link bandwidth value,
and is the maximum rate at which background copy operations are performed. This value is a number
from 0 to 100 . |
event_log_sequence | Indicates the last sequence number (indicating the last event) from event log for this partnership. This is a numeric value in the range 100 - 8000000. For FC-based and FCoE-based relationships this field is always blank. |
max_replication_delay | Indicates the value for maximum replication delay. This value is a number in the range 100 - 360. |
compressed | Indicates whether compression is enabled. The value can be
yes or no (default). |
link1 | Indicates the local portset name used for WAN Link 1. The value can be string with up to 63 characters. |
link2 | Indicates the local portset name used for WAN Link 2. The value can be string with up to 63 characters. |
link1_ip_id | Indicates the IP address index which is currently in use for IP Partnership
for WAN Link1 from lsip view. The value can be numeric from 0 -
2047 . |
link2_ip_id | Indicates the IP address index which is currently in use for IP Partnership
for WAN Link 2 from lsip view. The value can be numeric from 0 -
2047 . |
A concise invocation example
lspartnership
The concise resulting output:
id name location partnership type cluster_ip event_log_sequence link1 link2 link1_ip_id link2_ip_id
000002042020FBA8 FAB3-R62-Cluster local
000002043421A050 FAB3-R62-Replication-Cluster remote fully_configured ipv4 x.xxx.xxx.xxx portset1 portset2 34 35
A concise invocation example
lspartnership -filtervalue "link1=portset1"
The concise resulting output:
id name location partnership type cluster_ip event_log_sequence link1 link2 link1_ip_id link2_ip_id
000002043421A050 FAB3-R62-Replication-Cluster remote fully_configured ipv4 x.xxx.xxx.xxx portset1 portset2 34 35
A detailed invocation example
lspartnership FAB3-R62-Replication-Cluster
The detailed resulting output:
id 000002043421A050
name FAB3-R62-Replication-Cluster
location remote
partnership fully_configured
code_level 8.5.2.0 (build 161.15.2209100513000)
console_IP x.xxx.xxx.xxx:xxx
gm_link_tolerance 300
gm_inter_cluster_delay_simulation 0
gm_intra_cluster_delay_simulation 0
relationship_bandwidth_limit 25
gm_max_host_delay 5
type ipv4
cluster_ip x.xxx.xxx.xxx
chap_secret
event_log_sequence
link_bandwidth_mbits 18000
background_copy_rate 50
max_replication_delay 0
compressed no
link1 portset1
link2 portset2
link1_ip_id 34
link2_ip_id 35
secured yes
pbr_in_use yes