lsservicestatus
Use the lsservicestatus command to display the status of a node.
Syntax
Parameters
- panel_name
- (Optional) If a panel_name is not provided, the service recommendation for the local node is returned. If a panel_name from the list that is returned by lsservicenodes is specified, then the service recommendation for that node is returned. The command fails if the panel_name ID is not in the list that is returned by lsservicenodes. This output is returned as the node status on all Universal Serial Bus (USB) flash drive commands.
Description
Use this command to display the status of a node. This command provides all the information that can be obtained by using the front panel of a system node.
You can run this command on any node (even one that is not part of a system) to obtain the vital product data (VPD) and error status.
This table shows the possible outputs.
Attribute | Value |
---|---|
panel_name | Indicates the front panel name, enclosure IDs, or canister IDs that identify the node. |
cluster_id | Indicates the ID of a clustered system. |
cluster_name | Indicates the name of a system. When you use this parameter, the detailed view of the specific system is displayed, and any value that you specified by the -filtervalue parameter is ignored. If you do not specify the cluster_name parameter, the concise view of all systems that match the filtering requirements that are specified by the -filtervalue parameter are displayed. |
cluster_status | Indicates that the error code is the same as the one displayed on the front panel. |
cluster_ip_count | Indicates the maximum number of management addresses that you can configure. |
cluster_port | Indicates the system IP port. This field is repeated for each management address. |
cluster_ip | Indicates the Internet Protocol Version 4 (IPv4) management IP address. This field is repeated for each management address. |
cluster_gw | Indicates the IPv4 management IP gateway. This field is repeated for each management address. |
cluster_mask | Indicates the IPv4 management IP mask. This field is repeated for each management address. |
cluster_ip_6 | Indicates the Internet Protocol Version 6 (IPv6) management IP address. This field is repeated for each management address. |
cluster_gw_6 | Indicates the IPv6 management IP gateway. This field is repeated for each management address. |
cluster_prefix_6 | Indicates the IPv6 management IP prefix. This field is repeated for each management address. |
node_id | Indicates the ID of the node that is being configured. The value is a number. |
node_name | Indicates the name of the node that is being configured. |
node_status | Indicates the node status. The values are:
|
config_node | Indicates whether it is a configuration node. The values are
yes or no . |
hardware | Indicates the hardware type. |
service_IP_address | Indicates the IPv4 service address for the node. |
service_gateway | Indicates the IPv4 service gateway for the node. |
service_subnet_mask | Indicates the IPv4 service mask for the node. |
service_IP_address_6 | Indicates the IPv6 service address for the node. |
service_gateway_6 | Indicates the IPv6 service gateway for the node. |
service_prefix_6 | Indicates the IPv6 service prefix for the node. |
node_code_version | Indicates the version of system code for the node. |
node_code_build | Indicates the build string for code on the node. |
cluster_code_build | Indicates the CSM build that the system is running. |
node_error_count | Indicates the number of node errors. |
error_code | Indicates the error code. |
error_data | Indicates the type of node errors. |
fc_ports | Indicates the number of FC ports. This field is repeated for each management address. |
port_id | Indicates the port ID. This field is repeated for each management address. |
port_status | Indicates the port status. This value must match the port on the front panel, enclosure, or canister. |
port_speed | Indicates the port speed. This value must match the port speed on the front panel, enclosure, or canister. |
port_WWPN | Indicates the worldwide port number of the port. |
SFP_type | Indicates the SFP type. The values are long-wave or
short-wave . |
ethernet_ports | Indicates the number of detected Ethernet ports. |
ethernet_port_id | Indicates the ID of an Ethernet port. |
port_status | Indicates the port status. The values are:
|
port_speed | Indicates the port speed. The values are:
|
MAC | Indicates a single MAC address. |
node_IP_address | Indicates the IPv4 management node IP address, which the system uses for node discovery and IP clustering. |
node_gateway | Indicates the IPv4 management node IP gateway. |
node_subnet_mask | Indicates the IPv4 management node IP mask. |
product_mtm | Indicates the machine type and model. |
product_serial | Indicates the node serial number. |
disk_WWNN_prefix | The most recently used WWNN prefix. |
dump_name | Indicates the dump name of the node. |
node_WWNN | Indicates the last active WWNN stored in the node; blank if no system data. |
disk_WWNN_suffix | The most recently used WWNN suffix. |
panel_WWNN_suffix | Indicates the WWNN suffix stored in the front panel. |
UPS_serial_number | Indicates the serial number of attached UPS. |
UPS_status | Indicates the UPS status of the nodes. |
enclosure_WWNN_1 | Indicates the first canister WWNN from the enclosure VPD. |
enclosure_WWNN_2 | Indicates the second canister WWNN from the enclosure VPD. |
node_part_identity | Indicates the 11S string from the hardware VPD. |
node_FRU_part | Indicates the node field-replaceable unit (FRU) part number, if stored in node VPD |
enclosure_identity | Indicates the S11 data. |
PSU_count | Indicates the number of expected PSUs (two). |
PSU_id | Indicates the ID of the slot the PSU is in. The value is a number. |
PSU_status | Indicates the PSU status. The status is missing ,
failed , or active . |
time_to_charge | Indicates the estimated time (in minutes) needed for 50% of the battery to be charged. |
Battery_charging | Indicates the percentage of charge of the batteries. |
Battery_count | Indicates the number of expected batteries (two). |
Battery_id | Indicates the ID of the slot the battery is in. |
Battery_status | Indicates that the status is missing ,
failed , charging , or active . |
Battery_FRU_part | Indicates the FRU part number of the battery. |
Battery_part_identity | Indicates the 11S FRU identity of the battery (includes the serial number). |
Battery_fault_led | Indicates thee fault light-emitting diode (LED) status. |
Battery_charging_status | Indicates the battery charge status. |
Battery_cycle_count | Indicates the number of charge or discharge cycles that are performed by the battery. |
Battery_power_on_hours | Indicates the number of hours the battery is in powered mode. |
Battery_last_recondition | Indicates the system time stamp of the last successful gas gauge calibration. |
Battery_midplane_FRU_part | Indicates the FRU part number of the battery midplane. |
Battery_midplane_part_identity | Indicates the 11S FRU identity of the battery midplane (which includes the serial number). |
Battery_midplane_FW_version | Indicates the firmware version that is running on the battery midplane. |
Battery_power_cable_FRU_part | Indicates the FRU part number of the battery power cable. |
Battery_power_sense_cable_FRU_part | Indicates the FRU part number of the battery midplane power sense cable. |
Battery_comms_cable_FRU_part | Indicates the FRU part number of the battery midplane communication cable. |
Battery_EPOW_cable_FRU_part | Indicates the FRU part number of the battery midplane EPOW cable. |
node_location_copy | Indicates the node location copy status. This value is equivalent to the panel name and is blank if a node is removed from a system. |
node_product_mtm_copy | Indicates the node product machine type copy status. This value is equivalent to panel product_mtm; blank if a node is removed from a system. |
node_product_serial_copy | Indicates the node product serial copy status. This value is equivalent to product_serial; blank if a node is removed from a system. |
node_WWNN_1_copy | Indicates the node WWNN first copy status. This value is equivalent to enclosure_WWNN_1; blank if a node is removed from a system. |
node_WWNN_2_copy | Indicates the node WWNN second copy status. This value is equivalent to enclosure_WWNN_2; blank if a node is removed from a system. |
latest_cluster_id | Indicates the system ID running on the current enclosure; blank if a node is removed from a system. |
next_cluster_id | Indicates the system ID running on the current enclosure; blank if a node is removed from a system. |
console_ip | Indicates an Internet Protocol (IP) Version 4 or 6 address. Note: This field
might be blank if the node is not present in a system.
|
has_nas_key | Indicates the has_nas_key field value. The values are
yes or no .Note: This field might be blank if the node is not
present in a system.
|
fc_io_ports | Indicates the number of configured Fibre Channel (FC) input/output (I/O) ports on the node. The value is a number. This field is repeated for each management address. |
fc_io_port_id | Indicates the ID of the FC I/O port. The value is a number. This field is repeated for each management address. |
fc_io_port_WWPN | Indicates the Worldwide port name (WWPN) of the FC I/O port. The value is 16 hexadecimal characters (lowercase). This field is repeated for each management address. |
fc_io_port_switch_WWPN | Indicates the WWPN of the fabric port name. The value is 16 hexadecimal characters (lowercase) or all zeros if never active. This field is repeated for each management address. |
fc_io_port_state | Indicates whether the port is working - active or
inactive . This field is repeated for each management address. |
fc_io_port_FCF_MAC | Indicates the FCF MAC address for active Ethernet. The value is blank for inactive or broken Ethernet, or N/A for FC type. This field is repeated for each management address. |
fc_io_port_vlanid | Indicates the virtual local area network (VLAN) ID being used. The value is
three hexadecimal digits for previously active or inactive Ethernet, blank for Ethernet that is
never active, or N/A for FC type. This field is repeated for each management
address. |
fc_io_port_type | Indicates the type of the platform port for the FC I/O port. This field is repeated for each management address. |
fc_io_port_type_port_id | Indicates the platform port type index of the platform port supplies the FC
I/O port. Use both fc_io_port_type_port_id and fc_io_port_type to
find the platform port. This field is repeated for each management address. |
site_id | Indicates the site node value. |
site_name | Indicates the site name. |
identify_LED | Indicates that the node or node canister identify LED state
(on , off , or blank). |
password_reset_enabled | Indicates whether the superuser password reset is enabled
(yes or no ). |
fcportmap | Indicates a mapping string of FC ports. |
node_usb | Indicates whether the USB ports are enabled for use (on) or disabled (off). |
superuser_locked | Specifies whether the superuser is locked. The value is either yes or no. |
superuser_multi_factor | Specifies whether multi-factor authentication is enabled for the superuser. Value can be
yes or no. Note: The field attribute
superuser_multi_factor indicates whether the command chsecurity
-superusermultifactor yes has been used to indicate that superuser should be prompted for
second factor authentication. |
superuser_password_sshkey_required | Specifies whether superuser should provide both password and SSH public key during
authentication. Value can be yes or no. Note: The field
attribute
superuser_password_sshkey_required indicates whether the command
chsecurity -superuserpasswordkeyrequired yes has been used to indicate that
superuser should have both a password and an SSH key configured for authentication. |
superuser_gui_disabled | Specifies whether GUI access is
disabled for superuser. Value can be yes or no. Note: The field
attribute
superuser_gui_disabled indicates whether the command chsecurity
-disablesuperusergui yes has been used to indicate that superuser has disabled GUI
access. |
superuser_rest_disabled | Specifies whether REST-API
access is disabled for superuser. Value can be yes or
no. Note: The field attribute
superuser_rest_disabled indicates
whether the command chsecurity -disablesuperuserrest yes has been used to indicate
that superuser has disabled REST API access. |
An invocation example
sainfo lsservicestatus | grep superuser
The resulting output:
superuser_locked no
superuser_multi_factor no
superuser_password_sshkey_required yes
superuser_gui_disabled no
superuser_rest_disabled yes
An invocation example
sainfo lsservicestatus
The resulting output:
panel_name 78257BG-1
cluster_id
cluster_name
cluster_status
cluster_ip_count 2
cluster_port 1
cluster_ip
cluster_gw
cluster_mask
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
node_name
node_status Candidate
config_node No
hardware 600
service_IP_address
service_gateway
service_subnet_mask
service_IP_address_6
service_gateway_6
service_prefix_6
node_code_version 8.2.0.0
node_code_build 145.23.0000000000000
cluster_code_build
node_error_count 1
error_code 734
error_data 1 1 0
fc_ports 0
ethernet_ports 5
ethernet_port_id 1
port_status Not Configured
port_speed 100Mb/s - Full
MAC 40:f2:e9:71:9d:52
node_IP_address
node_gateway
node_subnet_mask
rdma_type
ethernet_port_id 2
port_status Not Configured
port_speed
MAC 40:f2:e9:71:9d:50
node_IP_address
node_gateway
node_subnet_mask
rdma_type
ethernet_port_id 3
port_status
port_speed
MAC 40:f2:e9:71:9d:53
node_IP_address
node_gateway
node_subnet_mask
rdma_type
ethernet_port_id 4
port_status
port_speed
MAC 00:07:43:42:3b:08
node_IP_address
node_gateway
node_subnet_mask
rdma_type iWARP
ethernet_port_id 5
port_status
port_speed
MAC 00:07:43:42:3b:00
node_IP_address
node_gateway
node_subnet_mask
rdma_type iWARP
product_mtm 2076-624
product_serial 78257BG
time_to_charge 0
battery_charging 0
dump_name 78257BG-1
node_WWNN
disk_WWNN_suffix
panel_WWNN_suffix
UPS_serial_number
UPS_status
enclosure_WWNN_1 500507680b00d3d0
enclosure_WWNN_2 500507680b00d3d1
node_part_identity 11S01YM082YM10BG86D02N
node_FRU_part 01LJ743
enclosure_identity 11S00MJ255YM10BG86P02T
PSU_count 0
PSU_id 1
PSU_status
PSU_id 2
PSU_status
Battery_count 0
node_location_copy 1
node_product_mtm_copy 2076-624
node_product_serial_copy 78257BG
node_WWNN_1_copy 500507680b00d3d0
node_WWNN_2_copy 500507680b00d3d1
latest_cluster_id 0
next_cluster_id 10020a0b482
console_IP
has_nas_key no
fc_io_ports 0
service_IP_mode
service_IP_mode_6
machine_part_number
node_machine_part_number_copy
local_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
partner_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111
topology standard
site_id
site_name
password_reset_enabled no
identify_LED off
Battery_midplane_FRU_part
Battery_midplane_part_identity
Battery_midplane_FW_version
Battery_power_cable_FRU_part
Battery_power_sense_cable_FRU_part
Battery_comms_cable_FRU_part
Battery_EPOW_cable_FRU_part
product_name IBM Storwize V7000
techport
fcportmap
node_usb off
superuser_locked yes