Appendix A: Advanced Device Configuration
335
Application Notes Related to Expect Scripts
spconsole
The native command line of the service processor. Enters interactive pass-
through mode. The script authenticates with the service processor, then
connects the service processor output directly to its standard output and its
standard input to the service processor 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 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.
log_sensors
Retrieves sensor data in a standard format.
Note:
ssh
must be invoked with the
-t
option when this mode is used.
SP/Device Expect Script Exit Codes
Scripts that handle devices must end with one of the following exit codes.
Table A-8:
Expect Script Exit Codes
Exit Code
Definition
0 Success
1
Unexpected output from service processor/device, or another error in a
service processor protocol (such as timeout)
2
Bad command line (such as an incorrect number of arguments)
3
Action argument is not valid for the service processor/device type
4
Server or device given as first argument has not been configured
Summary of Contents for AlterPath OnBoard
Page 36: ...xxxvi AlterPath OnBoard Administrator s Guide...
Page 108: ...Understanding How Configuration Changes Are Handled 72 AlterPath OnBoard Administrator s Guide...
Page 116: ...Overview of Web Manager Menus 80 AlterPath OnBoard Administrator s Guide...
Page 146: ...Configuring Regular Users Wizard 110 AlterPath OnBoard Administrator s Guide...
Page 160: ...Upgrading AlterPath PM IPDU Software 124 AlterPath OnBoard Administrator s Guide...
Page 194: ...Configuring an Alternate Help File Location 158 AlterPath OnBoard Administrator s Guide...
Page 292: ...Configuring Private Subnets and Virtual Networks 256 AlterPath OnBoard Administrator s Guide...
Page 344: ...Using the create_cf Command When Troubleshooting 308 AlterPath OnBoard Administrator s Guide...