lssystem
Use the lssystem command to display a detailed view of a clustered system (system).
语法
>>- lssystem -- --+----------+-- --+-----------------------+--->< '- -nohdr -' '- -delim -- delimiter -'
参数
- -nohdr
- (可选)缺省情况下,在详细样式视图中显示每个数据项的标题。-nohdr 参数用于禁止显示这些标题。注: 如果没有要显示的数据,那么不会显示标题。
- -delim delimiter
- (可选)在详细视图中,每个数据项各占一行,如果显示标题,将用空格来分隔数据与标题。-delim 参数会覆盖此行为。-delim 参数的有效输入为一个单字节字符。在详细视图中,数据与标题间以指定的定界符分隔。
描述
该命令显示系统的详细视图。
表 1 提供了可显示为输出视图数据的属性值。
属性 | 可能的值 |
---|---|
layer | 值可以是:
|
location | 位置为 local 或 remote。 |
statistics status | 状态为 on 或 off。 |
auth_service_type | |
auth_service_configured | 如果配置了 auth_service_type 且以下某项为 True,则为 True: |
auth_service_enabled | 如果配置了 auth_service_type,则为 True: |
email_state | 可能的值如下所示:
|
partnership | 可能的值如下所示:
|
tier | 指示要报告哪个系统信息。值包括:
|
tier_capacity | 表示层中的 MDisk 总存储容量。 |
tier_free_capacity | 表示层中未使用的 MDisk 存储容量。 |
compression_active | 指示系统中是否存在任何压缩的卷拷贝。 |
compression_virtual_capacity | 表示系统中所有压缩卷拷贝的总虚拟容量。该值采用无符号十进制格式。 |
compression_compressed_capacity | 表示系统中所有压缩卷拷贝的总使用容量。该值采用无符号十进制格式。 |
compression_uncompressed_capacity | 表示系统中所有压缩卷拷贝的总的未压缩使用容量。该值采用无符号十进制格式。 |
rc_buffer_size | 指示分配用于高速镜像和全局镜像拷贝服务的资源缓冲区大小。 |
has_nas_key | 值为 yes 或 no。 |
total_drive_raw_capacity | 所有已发现驱动器的已知总容量(不考虑驱动器使用情况) |
email_organization | 指示回拨电子邮件功能中显示的用户组织。 |
email_machine_address | 指示回拨电子邮件功能中显示的用户邮件发送地址。 |
email_machine_city | 指示回拨电子邮件功能中显示的用户所在城市。 |
email_machine_state | 指示回拨电子邮件功能中显示的用户所在的省/市/自治区。 |
email_machine_zip | 指示回拨电子邮件功能中显示的用户的邮政编码。 |
email_machine_country | 指示回拨电子邮件功能中显示的用户所在的国家或地区。 |
cache_prefetch | 指示是否在系统中启用高速缓存预取。 值为 on 和 off。 |
local_fc_port_mask | 指示系统可用于本地系统上节点到节点通信的光纤通道 (FC) 输入/输出 (I/O) 端口(如果节点上存在这些 FC I/O 端口)。值为 64 个二进制位。 |
partner_fc_port_mask | 表示系统可用于伙伴系统上系统到系统通信的 FC I/O 端口(如果节点上存在这些 FC I/O 端口)。值为 64 个二进制位。 |
high_temp_mode | 指示是否启动了高温方式 (HTM)。 |
topology | 指示系统拓扑:
|
topology_status | 指示系统拓扑状态:
|
rc_auth_status | 指示远程拷贝认证。远程拷贝包括高速镜像和全局镜像。值包括:
|
vdisk_protection_time | 指示卷保护时间(以分钟计)(无论启用还是未启用卷保护)。值必须是从 15(缺省值)到 1440 的数字。 |
vdisk_protection_enabled | 指示对系统启用 (yes) 还是禁用 (no) 卷保护。 |
product_name | 指示产品名称(最多 62 个字符的字母数字字符串)。 |
odx | 指示卸载数据传输 (ODX) 处于已启用还是已禁用状态。值为 on 和 off。 |
easy_tier_acceleration | 指示 Easy Tier® 和池均衡加速状态。值为 on 和 off。 |
max_replication_delay | 指示最大复制延迟的值。它是 0 到 360 之间的一个数字值。 |
partnership_exclusion_threshold | 指示伙伴关系排除阈值。这是 30 到 315 之间的一个数字值。 |
gen1_compatibility_mode | 指示系统是否与下级系统(例如 Storwize® V7000 Gen1 系统)兼容。值为是和否。 |
如果已经从本地系统向远程系统发出 mkfcpartnership 或 mkippartnership 命令,那么关于远程系统的信息将通过 lssystem 命令进行报告。 例如,如果至少已从本地系统部分地建立了伙伴关系。
可以发出 lssystem 命令,以显示系统的详细视图。
详细视图仅显示为远程系统描述的字段;如果系统 location(位置)是 local(本地),那么 partnership(合作伙伴关系)和 bandwidth(带宽)不适用(并且未定义或未提供)。对于远程系统,这些字段指示以下信息:
- location: remote
- partnership:
- fully_configured
- 已经双向发出 mkfcpartnership 或 mkippartnership 命令,并且远程系统联机且可用。
- partially_configured_local
- 已从本地系统向远程系统发出 mkfcpartnership 或 mkippartnership 命令。 远程系统联机且可用于合作伙伴关系。
- partially_configured_local_stopped
- 已从本地系统向远程系统发出 mkfcpartnership 或 mkippartnership 命令。 已从本地系统发出带有 stop 参数的 chpartnership 命令,并且远程系统联机且可用。将在本地系统上发出带有 start 参数的 chpartnership 命令,在远程系统上发出 mkfcpartnership 或 mkippartnership。
- not_present
- 已从本地系统向远程系统发出 mkfcpartnership 或 mkippartnership 命令,而远程系统不可用。远程系统处于脱机状态,或者未连接到本地系统。
- fully_configured_stopped
- 已经双向发出 mkfcpartnership 或 mkippartnership 命令,并且远程系统联机且可用。已从本地系统发出带有 stop 参数的 chpartnership 命令。
- fully_configured_remote_stopped
- 已经双向发出 mkfcpartnership 或 mkippartnership 命令,并且远程系统联机且可用。已从远程系统发出带有 stop 参数的 chpartnership 命令。
- fully_configured_local_excluded
- 已经双向发出 mkfcpartnership 或 mkippartnership 命令。本地系统由于问题过多而正在排除与远程系统的连接,或者伙伴关系中的任一系统无法维持高速镜像或全局镜像关系的 I/O 工作负载。
- fully_configured_remote_excluded
- 已经双向发出 mkfcpartnership 或 mkippartnership 命令。远程系统由于问题过多而正在排除与本地系统的连接,或者伙伴关系中的任一系统无法维持高速镜像或全局镜像关系的 I/O 工作负载。
- fully_configured_exceeded
- 系统网络中存在过多系统,因此从本地系统到远程系统的合作伙伴关系已禁用。请参阅本地和远程系统上的系统错误日志中的 1710 或 1720 错误。
- bandwidth:系统间链路上可用于后台拷贝的带宽,以每秒兆字节数 (MBps) 表示。
console_IP 字段显示以下信息之一:
- 自动填充的系统端口 1 IP 地址 - 因特网协议版本 4 (IPv4) 或 IPv6
- 用户填充的 IPv4 地址
详细调用示例
lssystem -delim :
生成的输出:
id:00000200A2600906
name:tbcluster-29
location:local
partnership
bandwidth
total_mdisk_capacity:60.5TB
space_in_mdisk_grps:60.5TB
space_allocated_to_vdisks:643.74GB
total_free_space:59.9TB
total_vdiskcopy_capacity:663.46GB
total_used_capacity:560.99GB
total_overallocation:1
total_vdisk_capacity:501.25GB
total_allocated_extent_capacity:792.50GB
statistics_status:on
statistics_frequency:15
cluster_locale:en_US
time_zone:375 Europe/London
code_level:6.4.0.0 (build 64.6.1205081000)
console_IP:9.71.53.69:443
id_alias:00000200A2600906
gm_link_tolerance:300
gm_inter_cluster_delay_simulation:0
gm_intra_cluster_delay_simulation:0
gm_max_host_delay:5
email_reply
email_contact
email_contact_primary
email_contact_alternate
email_contact_location
email_contact2
email_contact2_primary
email_contact2_alternate
email_state stopped
inventory_mail_interval:0
iscsi_auth_method:chap
iscsi_chap_secret:MYCLUSTERCHAP
auth_service_configured:no
auth_service_enabled:no
auth_service_url
auth_service_user_name
auth_service_pwd_set:no
auth_service_cert_set:no
auth_service_type:tip
relationship_bandwidth_limit:25
tier:ssd
tier_capacity:0.00MB
tier_free_capacity:0.00MB
tier:enterprise
tier_capacity:60.49TB
tier_free_capacity:59.72TB
has_nas_key:no
layer:replication
rc_auth_method:none
rc_buffer_size:48
compression_active:yes
compression_virtual_capacity:1000.00MB
compression_compressed_capacity:0.41MB
compression_uncompressed_capacity:512.05MB
cache_prefetch:on
email_organization:UEFA
email_machine_address:1 Chelsea Blvd
email_machine_city:Fulham
email_machine_state:XX
email_machine_zip:OU812
email_machine_country:GB
total_drive_raw_capacity:900.00GB
easy_tier_acceleration off
local_fc_port_mask:0000000000000000000000000000000000000000000000000000000000001101
partner_fc_port_mask:0000000000000000000000000000000000000000000000000000000000000011
high_temp_mode:on
topology:standard
topology_status:
compression_destage_mode:false
vdisk_protection_time:120
vdisk_protection_enabled no
product_name:Compumarge
odx:on
max_replication_delay:222
partnership_exclusion_threshold:120
详细调用示例
lssystem
生成的输出:
id 000002006C40A278
name cluster0
location local
partnership
bandwidth
total_mdisk_capacity 222.2GB
space_in_mdisk_grps 0
space_allocated_to_vdisks 0.00MB
total_free_space 222.2GB
total_vdiskcopy_capacity 0.00MB
total_used_capacity 0.00MB
total_overallocation 0
total_vdisk_capacity 0.00MB
total_allocated_extent_capacity 0.00MB
statistics_status on
statistics_frequency 15
cluster_locale en_US
time_zone 522 UTC
code_level 6.4.0.0 (build 61.9.1112130001)
console_IP 0.0.0.0:443
id_alias 000002006C40A278
gm_link_tolerance 300
gm_inter_cluster_delay_simulation 0
gm_intra_cluster_delay_simulation 0
gm_max_host_delay 5
email_reply
email_contact
email_contact_primary
email_contact_alternate
email_contact_location
email_contact2
email_contact2_primary
email_contact2_alternate
email_state stopped
inventory_mail_interval 0
cluster_ntp_IP_address
cluster_isns_IP_address
iscsi_auth_method none
iscsi_chap_secret
auth_service_configured no
auth_service_enabled no
auth_service_url
auth_service_user_name
auth_service_pwd_set no
auth_service_cert_set no
auth_service_type tip
relationship_bandwidth_limit 25
tier ssd
tier_capacity 0.00MB
tier_free_capacity 0.00MB
tier enterprise
tier_capacity 111.10GB
tier_free_capacity 111.10GB
tier nearline
tier_capacity 111.10GB
tier_free_capacity 111.10GB
has_nas_key no
layer replication
rc_buffer_size 48
compression_active no
compression_virtual_capacity 0.00MB
compression_compressed_capacity 0.00MB
compression_uncompressed_capacity 0.00MB
cache_prefetch on
email_organization
email_machine_address
email_machine_city
email_machine_state XX
email_machine_zip
email_machine_country
total_drive_raw_capacity 173.63TB
easy_tier_acceleration off
local_fc_port_mask:0000000000000000000000000000000000000000000000000000000000001101
partner_fc_port_mask:0000000000000000000000000000000000000000000000000000000000000011
high_temp_mode:on
topology:standard
topology_status:
compression_destage_mode false
vdisk_protection_time 120
vdisk_protection_enabled yes
product_name Compuhomer
odx on
max_replication_delay 333
partnership_exclusion_threshold 120