lsservicestatus

使用 lsservicestatus 命令显示节点的状态。

语法

阅读语法图跳过直观语法图 sainfo lsservicestatus panel_name

参数

panel_name
(可选)如果未提供 panel_name,那么将返回本地节点的服务建议。如果指定了 lsservicenodes 所返回列表中的 panel_name ,将返回该节点的服务建议。如果 panel_name 标识不在 lsservicenodes 返回的列表中,那么该命令将失败。该输出将作为节点状态在所有通用串行总线 (USB) 闪存驱动器命令中返回。
注: 对于 2076 节点,panel name 是机柜标识和容器标识的值,或是机柜序列号和容器位置的值。

描述

使用此命令可显示节点的状态。此命令提供了可使用系统节点的前面板获取的所有信息。

状态为 online_spare 的节点显示为活动节点。无备用节点额外字段留空。

可以在任意节点(即便不属于系统的节点)上运行该命令来获取重要产品数据 (VPD) 和错误状态。

下表显示了可能的输出。

表 1. lsservicestatus 输出
属性
panel_name 指示用于标识节点的前面板名称、机柜标识或容器标识。
console_ip 指示因特网协议 (IP) V4 或 V6 地址。
注: 如果节点在系统中不存在,那么该字段可能为空白。
has_nas_key 指示 has_nas_key 字段值。 值为 yesno
注: 如果节点在系统中不存在,那么该字段可能为空白。
cluster_id 指示集群系统的标识。
cluster_name 指示系统的名称。使用该参数时,将显示特定系统的详细视图,并忽略 -filtervalue 参数指定的任何值。如果未指定 cluster_name 参数,那么将显示与 -filtervalue 参数指定的过滤要求相符的所有系统的简明视图。
cluster_status 指示错误代码与前面板上显示的错误代码相同。
cluster_ip_count 指示可以配置的管理地址的最大数目。
cluster_ip_port 指示系统 IP 端口。将为每个管理地址重复此字段。
cluster_ip 指示因特网协议 V4 (IPv4) 管理 IP 地址。将为每个管理地址重复此字段。
cluster_gw 指示 IPv4 管理 IP 网关。将为每个管理地址重复此字段。
cluster_mask 指示 IPv4 管理 IP 掩码。将为每个管理地址重复此字段。
cluster_ip_6 指示因特网协议 V6 (IPv6) 管理 IP 地址。将为每个管理地址重复此字段。
cluster_gw_6 指示 IPv6 管理 IP 网关。将为每个管理地址重复此字段。
cluster_prefix_6 指示 IPv6 管理 IP 前缀。将为每个管理地址重复此字段。
node_id 指示正在配置的节点的标识。此值为数字。
node_name 指示正在配置的节点的名称。
node_status 指示节点状态。值为:
  • active 指示节点属于系统且能执行 I/O。
  • service 指示节点处于维护方式、待机方式或节点急救方式。
  • candidate 指示节点不属于系统。
  • starting 指示节点属于系统,并且正在尝试加入系统。
  • spare 指示节点是备用节点。
config_node 指示节点是否为配置节点。值为 yesno
hardware 指示硬件类型。
service_IP_address 指示节点的 IPv4 服务地址。
service_gateway 指示节点的 IPv4 服务网关。
service_subnet_mask 指示节点的 IPv4 服务掩码。
service_IP_address_6 指示节点的 IPv6 服务地址。
service_gateway_6 指示节点的 IPv6 服务网关。
service_prefix_6 指示节点的 IPv6 服务前缀。
node_IP_address 指示系统用于节点发现和 IP 集群的 IPv4 管理节点 IP 地址。
node_gateway 指示 IPv4 管理节点 IP 网关。
node_subnet_mask 指示 IPv4 管理节点 IP 掩码。
node_code_version 指示节点的系统代码版本。
node_code_build 指示节点上的代码的构建字符串。
cluster_sw_build 指示系统正在运行的 CSM 构建。
node_error_count 指示节点错误数。
node_error_data 指示节点错误类型。
FC_port_count 指示 FC 端口的数量。将为每个管理地址重复此字段。
FC_port_id 指示端口标识。将为每个管理地址重复此字段。
port_status 指示端口状态。该值必须与前面板、机柜或容器上的端口相匹配。
port_speed 指示端口速度。该值必须与前面板、机柜或容器上的端口速度相匹配。
port_WWPN 指示端口的全球端口号。
SFP_type 指示 SFP 类型。值为 long-waveshort-wave
ethernet_port_count 指示检测到的以太网端口的数目。
ethernet_port_id 指示以太网端口的标识。
port_status 指示端口状态。值为:
  • online
  • offline
  • not configured
online | offline | not configured
port_speed 指示端口速度。值为:
  • 10 Mbps
  • 100 Mbps
  • 1 Gbps
  • 10 Gbps
  • 25 Gbps
  • full
  • half
MAC 指示单个 MAC 地址。
vnport_count 指示在每个物理以太网光纤通道 (FCoE) 端口上创建的 VN 端口数量。
vnport_id 指示 VN 端口标识。
vnport_wwpn 指示分配给 VN 端口的 WWPN。
vnport_FCF_mac 指示 VN 端口要连接到的 FCF 的 MAC 地址。
vnport_vlanid 指示 VN 端口使用的 VLAN 标识。对于 FC 端口,该值为空。
product_mtm 指示机器类型和型号。
product_serial 指示节点序列号。
disk_WWNN_prefix 最近使用的 WWNN 前缀。
node_WWNN 指示节点中存储的最后一个活动 WWNN;如果没有系统数据,那么为空白。
enclosure_WWNN_1 指示机柜 VPD 中的第一个容器 WWNN。
enclosure_WWNN_2 指示机柜 VPD 中的第二个容器 WWNN。
node_part_identity 指示硬件 VPD 中的 11S 字符串。
node_FRU_part 指示节点中的现场可更换部件 (FRU) 部件号(如果存储在节点 VPD 中)
enclosure_part_identity 指示 S11 数据。
PSU_count 不适用
PSU_id 不适用
PSU_status 不适用
time_to_charge 指示要为电池充 50% 电所需的估计时间(以分钟为单位)。
Battery_charging 指示电池已充电量百分比。
Battery_count 指示预期电池的数目(两个)。
Battery_id 指示电池所在的插槽的标识。
Battery_status 指示状态为 missingfailedchargingactive
Battery_FRU_part 指示电池的 FRU 部件号。
Battery_part_identity 指示电池的 11S FRU 标识(包括序列号)。
Battery_fault_led 指示故障发光二极管 (LED) 的状态。
Battery_charging_status 指示电池充电状态。
Battery_cycle_count 指示电池执行的充电或放电循环数。
Battery_powered_on_hours 指示电池位于已供电节点中的小时数。
Battery_last_recondition 指示上次成功的气压校准的系统时间戳记。
Battery_midplane_FRU_part 指示电池中面板的 FRU 部件号
Battery_midplane_part_identity 指示电池中面板的 11S FRU 标识(包括序列号)。
Battery_midplane_FW_version 指示在电池中面板上运行的固件版本。
Battery_power_cable_FRU_part 指示电池电源线的 FRU 部件号。
Battery_power_sense_cable_FRU_part 指示电池中面板通电感知电缆的 FRU 部件号。
Battery_comms_cable_FRU_part 指示电池中面板通信电缆的 FRU 部件号。
Battery_EPOW_cable_FRU_part 指示电池中面板 EPOW 电缆的 FRU 部件号。
local_fc_port_mask 指示系统可用于本地系统上节点间通信的 FC I/O 端口(如果节点上存在这些 FC I/O 端口)。值为 64 个二进制位。
partner_fc_port_mask 表示系统可用于伙伴系统上系统到系统通信的 FC I/O 端口(如果节点上存在这些 FC I/O 端口)。值为 64 个二进制位。
cluster_topology 指示系统拓扑(使用 chsystem 命令进行设置)。
site_id 指示站点节点值。
site_name 指示站点名称。
identify_LED 指示节点或节点容器识别指示灯状态(onoff 或空白)。
password_reset_enabled 指示是否启用了超级用户密码重置(yesno)。
rdma_type 分号分隔列表,其显示端口的 RDMA 协议功能。对于不支持 RDMA 功能的以太网端口,此字段为空白。

调用示例


sainfo
lsservicestatus

生成的输出:


panel_name 78FNMT0
cluster_id 000002033661160c
cluster_name ron
cluster_status Active
cluster_ip_count 2
cluster_port 1
cluster_ip 9.199.142.183
cluster_gw 9.199.142.1
cluster_mask 255.255.255.0
cluster_ip_6
cluster_gw_6
cluster_prefix_6 
cluster_port 2
cluster_ip
cluster_gw
cluster_mask
cluster_ip_6
cluster_gw_6
cluster_prefix_6 
node_id 56
node_name node1
node_status Active
config_node Yes
hardware SV1
service_IP_address 9.199.142.181
service_gateway 9.199.142.1
service_subnet_mask 255.255.255.0
service_IP_address_6
service_gateway_6 
service_prefix_6 
node_code_version 8.2.1.0
node_code_build 147.8.1810261134000
cluster_code_build 147.8.1810261134000
node_error_count 1
error_code 776
error_data 2
fc_ports 4
port_id 1
port_status Not Installed
port_speed N/A
port_WWPN 500507680c318b06
SFP_type Short-wave
port_id 2
port_status Not Installed
port_speed N/A
port_WWPN 500507680c328b06
SFP_type Short-wave
port_id 3
port_status Not Installed
port_speed N/A
port_WWPN 500507680c338b06
SFP_type Short-wave
port_id 4
port_status Not Installed
port_speed N/A
port_WWPN 500507680c348b06
SFP_type Short-wave
ethernet_ports 9
ethernet_port_id 1
port_status Link Online
port_speed 1Gb/s - Full
MAC 98:be:94:6d:21:db
node_IP_address
                  node_gateway
node_subnet_mask
rdma_type
ethernet_port_id 2
port_status Not Configured
port_speed 
MAC 98:be:94:6d:21:da
node_IP_address
                  node_gateway
node_subnet_mask
rdma_type
ethernet_port_id 3
port_status Not Configured
port_speed 
MAC 98:be:94:6d:21:d9
node_IP_address
                  node_gateway
node_subnet_mask
rdma_type
ethernet_port_id 4
port_status Link Online
port_speed 25Gb/s - Full
MAC 00:07:43:3d:7c:38
node_IP_address
                  node_gateway
node_subnet_mask
rdma_type iWARP
ethernet_port_id 5
port_status Link Online
port_speed 25Gb/s - Full
MAC 00:07:43:3d:7c:30
node_IP_address
                  node_gateway
node_subnet_mask
rdma_type iWARP
ethernet_port_id 6
port_status Not Configured
port_speed 25Gb/s - Full
MAC 00:07:43:3a:c1:d8
node_IP_address
                  node_gateway
node_subnet_mask
rdma_type iWARP
ethernet_port_id 7
port_status Link Online
port_speed 25Gb/s - Full
MAC 00:07:43:3a:c1:d0
node_IP_address 10.10.70.11
node_gateway 10.10.70.1
node_subnet_mask 255.255.255.0
rdma_type iWARP
ethernet_port_id 8
port_status Link Online
port_speed 25Gb/s - Full
MAC ec:0d:9a:30:a2:3f
node_IP_address 192.168.48.54
node_gateway 192.168.48.1
node_subnet_mask 255.255.255.0
rdma_type RoCE
ethernet_port_id 9
port_status Link Online
port_speed 25Gb/s - Full
MAC ec:0d:9a:30:a2:3e
node_IP_address 10.10.90.11
node_gateway 10.10.90.1
node_subnet_mask 255.255.255.0
rdma_type RoCE
product_mtm 2145-SV1
product_serial 78FNMT0
time_to_charge 0
battery_charging 100
dump_name 78FNMT0
node_WWNN 500507680c008b06
disk_WWNN_suffix 
panel_WWNN_suffix
UPS_serial_number 
UPS_status 
enclosure_WWNN_1
enclosure_WWNN_2 
node_part_identity
node_FRU_part
enclosure_identity
PSU_count 0
PSU_id 1
PSU_status 
PSU_id 2
PSU_status 
Battery_count 2
Battery_id 1
Battery_status active
Battery_FRU_part 01LJ604
Battery_part_identity 11S01LJ603YM10BG6BN16B
Battery_fault_led off
Battery_charging_status idle
Battery_cycle_count 16
Battery_power_on_hours 8985
Battery_last_recondition 180828014056
Battery_id 2
Battery_status active
Battery_FRU_part 01LJ604
Battery_part_identity 11S01LJ603YM10BG6BN0VT
Battery_fault_led off
Battery_charging_status idle
Battery_cycle_count 33
Battery_power_on_hours 8985
Battery_last_recondition 180822165529
node_location_copy 1
node_product_mtm_copy 2145-SV1
node_product_serial_copy 78FNMT0
node_WWNN_1_copy 500507680c008b06
node_WWNN_2_copy 
latest_cluster_id 0
next_cluster_id 2033681160c
console_IP 9.199.142.183:443
has_nas_key no
fc_io_ports 12
fc_io_port_id 1
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 2
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 3
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 4
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 5
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 6
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 7
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 8
fc_io_port_WWPNfc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MACfc_io_port_vlanidfc_io_port_type FC
fc_io_port_type_port_id 0
fc_io_port_id 9
fc_io_port_WWPN 500507680c318b06
fc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MAC N/A
fc_io_port_vlanid N/A
fc_io_port_type FC
fc_io_port_type_port_id 1
fc_io_port_id 10
fc_io_port_WWPN 500507680c328b06
fc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MAC N/A
fc_io_port_vlanid N/A
fc_io_port_type FC
fc_io_port_type_port_id 2
fc_io_port_id 11
fc_io_port_WWPN 500507680c338b06
fc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MAC N/A
fc_io_port_vlanid N/A
fc_io_port_type FC
fc_io_port_type_port_id 3
fc_io_port_id 12
fc_io_port_WWPN 500507680c348b06
fc_io_port_switch_WWPNfc_io_port_state Inactive
fc_io_port_FCF_MAC N/A
fc_io_port_vlanid N/A
fc_io_port_type FC
fc_io_port_type_port_id 4
service_IP_mode static
service_IP_mode_6
machine_part_number 
node_machine_part_number_copy
local_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
partner_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
topology stretched
site_id 1
site_name site1
password_reset_enabled yes
identify_LED off
Battery_midplane_FRU_part 01LJ163
Battery_midplane_part_identity 11S01LJ164YM10BG72R04F
Battery_midplane_FW_version 8.0
Battery_power_cable_FRU_part 01EJ362
Battery_power_sense_cable_FRU_part 01EJ363
Battery_comms_cable_FRU_part 01EJ364
Battery_EPOW_cable_FRU_part
product_name IBM SAN Volume Controller
techport permanent
fcportmap 31-11,32-12,33-13,34-14,41-21,42-22,43-23,44-24,61-31,62-32,63-33,64-34,71-51,72-52,73-53,74-54