# SP Autoconfigure Subcommand

access: Managers

Configures a Service Processor with the same configuration as that of another Service Processor. You can perform autoconfiguration from the Operator Panel to perform this same function.

The command loads configuration data from another Service Processor by invoking a series of https requests for all of the configuration files from the source machine. The uploaded files are copied to the local pstore file and the Service Processor is rebooted. While this operation is running, you cannot execute any other configuration changes.

> sp autoconfigure {{ -s | --sp } SP_IP_OR_HOST [-H |--noheader]

Argument | Description
--- | ---
{ -s | --sp } | The DNS host name or IP address of the machine from which to copy the configuration information.
[-H |--noheader] | Suppresses header output.

After executing the command, a message displays indicating the Service Processor will be rebooted. The SSH connection will then terminate.

Return Codes

Following are the return values for this command:

Code | Numeric Code | Description
--- | --- | ---
NWSE_Success | 0 | Command successfully completed.
NWSE_InvalidUsage | 1 | Invalid usage: bad parameter usage, conflicting options specified.
NWSE_InvalidArgument | 4 | One or more arguments were incorrect or invalid.
NWSE_NoPermission | 6 | Not authorized to perform this operation.
NWSE_NoMemory | 8 | Insufficient memory.
NWSE_HostDown | 14 | Host is down.
NWSE_TimedOut | 23 | Operation timed out.
NWSE_ServiceNotAvailable | 24 | Requested service is not available.

Related Topics

System Management Commands

SP Command