The exception to the two-argument format occurs when the action is spconsole. When the second argument is spconsole, any other number of arguments may follow; all arguments entered after the spconsole action are collected into a single command to be executed in the device’s native command interface.
The servername is the alias configured for the server or device on the OnBoard appliance, for example, rsa_us. The script retrieves service processor/device specific information, such as the IP address, from the entry for the specified service processor/device, using the llconf program. This information is stored in the file /etc/onboard_server.ini, in the format known as INI file.
The action specifies the action for the script to take. The actions are listed below. Not all service processor/device types implement all of the listed actions. For example, the iLO type does not have a sensors reading feature, so the sensors action is not supported for iLO-type servers. See
SP/Device Expect script exit codes for the correct way to handle an unexpected action argument.
The native command line of the SP. Enters interactive pass-through mode. The script authenticates with the SP, then connects the SP output directly to its standard output and its standard input to the SP input.
Enters a console (also known as Device Console) session on a server whose service processor supports console access to the server or enters a console session on a server or other device that supports device console access through its Ethernet port.