lsservicestatus
使用 lsservicestatus 命令显示节点的当前状态。
参数
- panel_name
- (可选)如果提供了 panel_name,那么将返回本地节点的服务建议。如果指定 lsservicenodes 所返回列表中的 panel_name ,将返回该节点的服务建议。如果 panel_name 标识不在 lsservicenodes 返回的列表中,那么该命令将失败。
该输出将作为节点状态在所有通用串行总线 (USB) 闪存驱动器命令中返回。注: 对于 2072 节点,panel name 是机柜标识和容器标识的值,或是机柜序列号和容器位置的值。
描述
使用该命令可显示节点的当前状态。该命令提供了可使用 Storwize® V3500 前面板获取的所有信息。 可以在任意节点(即便是不属于集群系统(系统)的节点)上运行该命令来获取重要产品数据 (VPD) 和错误状态。表 1 显示了可能的输出。
注: 在不属于系统的节点上,某些字段将留空或显示为 N/A。
属性 | 值 |
---|---|
console_ip | 因特网协议 (IP) V4 或 V6 地址。 注: 如果节点在系统中不存在,那么该字段可能为空白。
|
has_nas_key | yes | no 注: 如果节点在系统中不存在,那么该字段可能为空白。
|
fc_io_ports | 节点上配置的光纤通道 (FC) 输入/输出 (I/O) 端口数。 其值为字母数字 0 到 N。 |
fc_io_port_id | 要描述的 FC I/O 端口的标识。 |
fc_io_port_WWPN | FC I/O 端口的全球端口名 (WWPN)。该值为 16 个十六进制字符(小写)。 |
fc_io_port_switch_WWPN | 光纤网端口名称的 WWPN。该值为 16 个十六进制字符(小写)或者如果从未活动则全部为零。 |
fc_io_port_state | 指示端口是否正在工作,即活动或不活动。 |
fc_io_port_FCF_MAC | 活动以太网的 FCF MAC 地址。对于不活动或损坏的以太网,该值为空;对于 FC 类型,该值为 N/A。 |
fc_io_port_vlanid | 正在使用的虚拟局域网 (VLAN) 标识。对于之前活动或非活动的以太网,该值为 3 个十六进制数字;对于从未处于活动状态的以太网,该值为空;对于 FC 类型,该值为 N/A。 |
fc_io_port_type | FC I/O 端口的平台端口的类型。 |
fc_io_port_type_port_id | 提供 FC I/O 端口的平台端口的平台端口类型索引。同时使用 fc_io_port_type_port_id 和 fc_io_port_type 来查找平台端口。 |
panel_name | 用于标识节点的前面板名称、机柜标识或容器标识。 |
cluster_id | 集群系统的标识。 |
cluster_name | 系统的名称。使用该参数时,将显示特定系统的详细视图,并忽略 -filtervalue 参数指定的任何值。如果未指定 cluster_name 参数,那么将显示与 -filtervalue 参数指定的过滤要求相符的所有系统的简明视图。 |
cluster_status | 该错误代码与前面板上显示的错误代码相同。 |
cluster_ip_count | 可以配置的管理地址的最大数目。 |
cluster_ip_port | 该字段及下面一直到 prefix_6 的字段将重复用于每个管理地址。 |
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 | starting | service | candidate |
config_node | yes | no |
hardware | DH8 | CF8 | CG8 | 其他 |
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_sw_version | 节点的系统代码(代码)版本。 |
node_sw_build | 节点上代码的构建字符串。 |
cluster_sw_build | 系统正在运行的 CSM 构建。 |
node_error_count | 节点错误数。 |
node_error_data | 节点错误类型。 |
FC_port_count | FC 端口的数量。 |
FC_port_id | 每个 FC 端口的重复字段的开头部分;将针对每个端口重复所指示的整组字段。 |
port_status | 该属性与前面板、机柜或容器上的端口相匹配。 |
port_speed | 该属性与前面板、机柜或容器上的端口速度相匹配。 |
port_WWPN | 端口的全球端口号。 |
SFP_type | long-wave | short-wave |
ethernet_port_count | 检测到的以太网端口的数目。 |
ethernet_port_id | 指定以太网端口的标识。 |
port_status | online | offline | not configured |
port_speed | 10Mbps | 100Mbps | 1Gbps | 10Gbps | 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 | 节点序列号。 |
node_WWNN | 节点中存储的最近一个活动 WWNN;如果没有系统数据,那么为空白。 |
enclosure_WWNN_1 | 机柜 VPD 中的容器 1 WWNN。 |
enclosure_WWNN_2 | 机柜 VPD 中的容器 2 WWNN。 |
node_part_identity | 硬件 VPD 中的 11S 字符串。 |
node_FRU_part | 节点中的现场可更换单元 (FRU) 部件号(如果存储在节点 VPD 中) |
enclosure_part_identity | S11 数据。 |
PSU_count | 预期 PSU 的数目(两个)。 |
PSU_id | PSU 所在的插槽的标识。 |
PSU_status | 状态为 missing、failed 或 active。 |
time_to_charge | 要为电池充 50% 电所需的估计启动时间(以分钟为单位)。 |
Battery_charging | 电池已冲电量百分比。 |
Battery_count | 预期电池的数目(两个)。 |
Battery_id | 指定电池所在的插槽的标识。 |
Battery_status | 状态为 missing、failed、charging 或 active。 |
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 部件号。 |
node_location_copy | 等同于 panel_name;如果节点已从系统中除去,那么为空白。 |
node_product_mtm_copy | 等同于面板 product_mtm;如果节点已从系统中除去,那么为空白。 |
node_product_serial_copy | 等同于 product_serial;如果节点已从系统中除去,那么为空白。 |
node_WWNN_1_copy | 等同于 enclosure_WWNN_1;如果节点已从系统中除去,那么为空白。 |
node_WWNN_2_copy | 等同于 enclosure_WWNN_2;如果节点已从系统中除去,那么为空白。 |
latest_cluster_id | 正在当前机柜中运行的系统的标识;如果节点已从系统中除去,那么为空白。 |
latest_cluster_id | 正在当前机柜中运行的系统的标识;如果节点已从系统中除去,那么为空白。 |
调用示例
sainfo lsservicestatus
生成的输出:
panel_name 150434
cluster_id 000002006ee1445e
cluster_name Cluster_192.168.8.241
cluster_status Active
cluster_ip_count 2
cluster_port 1
cluster_ip 192.168.8.241
cluster_gw 192.168.8.1
cluster_mask 255.255.255.0
cluster_ip_6
cluster_gw_6
cluster_prefix_6
cluster_port 2
cluster_ipcluster_gw
cluster_mask
cluster_ip_6
cluster_gw_6
cluster_prefix_6
node_id 1
node_name node1
node_status Active
config_node Yes
hardware CF8
service_IP_addressservice_gateway
service_subnet_mask
service_IP_address_6
service_gateway_6
service_prefix_6
service_IP_mode dhcpfallback
node_sw_version 6.4.0.0
node_sw_build 64.8.1205180000
cluster_sw_build 64.8.1205180000
node_error_count 0
fc_ports 4
port_id 1
port_status Active
port_speed 8Gb
port_WWPN 500507680140a22f
SFP_type Short-wave
port_id 2
port_status Active
port_speed 8Gb
port_WWPN 500507680130a22f
SFP_type Short-wave
port_id 3
port_status Active
port_speed 8Gb
port_WWPN 500507680110a22f
SFP_type Short-wave
port_id 4
port_status Active
port_speed 8Gb
port_WWPN 500507680120a22f
SFP_type Short-wave
ethernet_ports 4
ethernet_port_id 1
port_status Link Online
port_speed 1Gb/s - Full
MAC 00:21:5e:db:30:38
vnport_count 0
ethernet_port_id 2
port_status Not Configured
port_speedMAC 00:21:5e:db:30:3a
vnport_count 0
ethernet_port_id 3
port_status Not Configured
port_speed 10Gb/s - Full
MAC 00:00:c9:bc:6f:22
vnport_count 0
ethernet_port_id 4
port_status Not Configured
port_speed 10Gb/s - Full
MAC 00:00:c9:bc:6f:20
vnport_count 0
product_mtm 2145-CF8
product_serial 75HAXYA
time_to_charge 0
Battery_charging 0
Battery_count 2
Battery_id 1
Battery_status active
Battery_FRU_part 12Z9876
Battery_part_identity 11S98Z1234YM11BG123456
Battery_fault_led OFF
Battery_charging_Status charged
Battery_cycle_count 5
Battery_powered_on_hours 12345
Battery_last_recondition 130629123456
Battery_id 2
Battery_status failed
Battery_FRU_part 12Z9876
Battery_part_identity 11S98Z1234YM11BG234567
Battery_fault_led ON
Battery_charging_Status charged
Battery_cycle_count 5
Battery_power_on_hours 12345
Battery_last_recondition 130702123400
Battery_midplane_FRU_part 12Z9880
Battery_power_cable_FRU_part 12Z9881
Battery_power_sense_cable_FRU_part 12Z9882
Battery_comms_cable_FRU_part 12Z9883
Battery_EPOW_cable_FRU_part 12Z9884
dump_name 150434
node_WWNN 500507680100a22f
disk_WWNN_suffix 0A22F
panel_WWNN_suffix 0A22F
UPS_serial_numberUPS_status
enclosure_WWNN_1
enclosure_WWNN_2
node_part_identity
node_FRU_part
enclosure_identity
PSU_count
PSU_id
PSU_status
PSU_id
PSU_status
node_location_copy
node_product_mtm_copy
node_product_serial_copy
node_WWNN_1_copy
node_WWNN_2_copy
latest_cluster_id
next_cluster_id
console_IP 192.168.8.241:443
has_nas_key no
fc_io_ports 6
fc_io_port_id 1
fc_io_port_WWPN 500507680140a22f
fc_io_port_switch_WWPN 200000051e630f9a
fc_io_port_state Active
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 2
fc_io_port_WWPN 500507680130a22f
fc_io_port_switch_WWPN 200400051e630f9a
fc_io_port_state Active
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 3
fc_io_port_WWPN 500507680110a22f
fc_io_port_switch_WWPN 200000051e7ded49
fc_io_port_state Active
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 4
fc_io_port_WWPN 500507680120a22f
fc_io_port_switch_WWPN 200400051e7ded49
fc_io_port_state Active
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
fc_io_port_id 5
fc_io_port_WWPN 500507680150a22f
fc_io_port_switch_WWPN 2064000573cd6201
fc_io_port_state Active
fc_io_port_FCF_MAC 00:05:73:CD:62:00
fc_io_port_vlanid 100
fc_io_port_type Ethernet
fc_io_port_type_port_id 3
fc_io_port_id 6
fc_io_port_WWPN 500507680160a22f
fc_io_port_switch_WWPN 2064000573c8a701
fc_io_port_state Active
fc_io_port_FCF_MAC 00:05:73:C8:A7:00
fc_io_port_vlanid 100
fc_io_port_type Ethernet
fc_io_port_type_port_id 4service_IP_mode
service_IP_mode_6
machine_part_number 2072S2C
node_machine_part_number_copy 2072L2C
local_fc_port_mask:0000000000000000000000000000000000000000000000000000000000001101
partner_fc_port_mask:0000000000000000000000000000000000000000000000000000000000000011
password_reset_enabled yes
identify_LED off
product_name Compustrong