174
MergePoint Service Processor Manager SP53XX Installer/User Guide
The exception to the format above occurs when the action is spconsole. When the fifth argument is
spconsole, any other number of arguments may follow; all arguments entered after the spconsole
actions are collected into a single command to be executed in the target device's native command
interface.
talk_type.exp ip user passwd spprofilename spconsole
[command1|...|commandN]
ip, user, passwd, spprofilename
These four arguments separately represent the IP address, username, password or profile name of
the device on the MergePoint SP manager.
action
The action specifies the action for the script to take. The actions are listed below. Not all 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 Service processor/device
Expect script exit codes on page 174 for the correct way to handle an unexpected action argument.
•
Sensors: Asks the service processor for a sensor reading and displays service processor sensor
output on standard output.
•
poweron: Asks the service processor to turn on its server.
•
poweroff: Asks the service processor to turn off its server.
•
powercycle: Asks the service processor to reboot its server.
•
powerstatus: Asks the service processor if its server is turned on.
•
reset: Asks the service processor to reset its server.
•
spconsole: The native command line of the service processor. Enters interactive passthrough
mode. The script authenticates with the service processor, then connects the output directly to
its standard output and its standard input to the input.
NOTE: SSH must be invoked with the -t option when this mode is used.
•
devconsole: 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.
NOTE: SSH must be invoked with the-t option when this mode is used.
Service processor/device Expect script exit codes
Scripts that handle devices must end with one of the exit codes shown in Table F.2.
Table F.2: Expect Script Exit Codes
Exit Code
0
Definition
Success
Need help?
Do you have a question about the MERGEPOINT 53XX SP MANAGER and is the answer not in the manual?