Skip to main content

system service-processor api-service check

Contributors
Suggest changes

Check API Service availability in SP/BMC

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

The system service-processor api-service check checks the availability of the SP API and web service on Service Processors (SP) or Baseboard Management Controllers (BMC) in the cluster.

Parameters

-node {<nodename>|local} - Node (privilege: advanced)

This parameter specifies the node to initiate the check operation. By default, all nodes check availability.

[-port <integer>] - SP/BMC API Service Port (privilege: advanced)

This parameter specifies the port number on the SP or BMC used for the API service. By default, port 50000 is used.

[-target-node {<nodename>|local}] - Target Node (privilege: advanced)

This parameter specifies the target node whose SP or BMC API and web service is to be checked. By default, all node SPs or BMCs are checked.

Examples

The following example checks the availability of the API and web service on all node SPs or BMCs.

cluster1::*> sp api-service check -node *

Date: Tue Oct 27 03:09:19 2020
Node: cluster1-01
Port: 50000
   Local Private IPv4: ok (192.0.2.82)
    Local Public IPv4: ok (10.233.4.22)
    Local Public IPv6: ok (2020::2023)
Target Node: cluster1-02
                 IPv4: ok (10.233.4.24)
                 IPv6: ok (2020::2022)

Port: 443
   Local Private IPv4: ok (192.0.2.82)
    Local Public IPv4: ok (10.233.4.22)
    Local Public IPv6: ok (2020::2023)
Target Node: cluster1-02
                 IPv4: ok (10.233.4.24)
                 IPv6: ok (2020::2022)

Date: Tue Oct 27 03:09:19 2020
Node: cluster1-02
Port: 50000
   Local Private IPv4: ok (192.0.2.81)
    Local Public IPv4: ok (10.233.4.24)
    Local Public IPv6: ok (2020::2022)
Target Node: cluster1-01
                 IPv4: ok (10.233.4.22)
                 IPv6: ok (2020::2023)

Port: 443
   Local Private IPv4: ok (192.0.2.81)
    Local Public IPv4: ok (10.233.4.24)
    Local Public IPv6: ok (2020::2022)
Target Node: cluster1-01
                 IPv4: ok (10.233.4.22)
                 IPv6: ok (2020::2023)
2 entries were acted on.

cluster1::*>