# SP Update Flash All Subcommand

access: Managers

This command initiates the update process for the entire SP flash image (kernel, base filesystem, and value add) as part of a major Service Processor software update. It first verifies that the java Update Server application is currently running on the specified remote server.
If this is successful, the Service Processor is rebooted and the update process is initiated. When the Service Processor boots, it connects with the Update Server application, downloads and installs the new flash image, and reboots the Service Processor into normal operation mode. It also sets the server IP address and optional server port number in the environment variables. Run sp -V from the Service Processor to verify the version of the new flash image.
If this command fails for the value add image, use the sp update flash applications command. If this command fails for the base image, update the flash using the Operator Panel. See the documentation that accompanied your server for information about using the Operator Panel.

The sp update flash all command does not update p-store data.

> sp update flash all {-i | --ipaddress}
> <IP ADDRESS xxx.xxx.xxx.xxx> [{-p | --port}] <PORT#> [{-r|--remote} REMOTE_VERSION]

> Argument | Description
> --- | ---
> {-i | --serverip} | The IP address of the remote server on which the Update Server is running.
> {-p | --port} | Optional: The port number on the remote server on which the Update Server is listening for SP flash update requests. If the port number is not provided, the command tries to connect to the default port. The default port number is 52708.
> {-r | --remote} | Specify a version V1.2.3.4 or use LATEST to update using the latest version available on the Update Server.

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_NotFound | 5 | Entity (user, service, file, path, etc.) was not found.
NWSE_NoPermission | 6 | Not authorized to perform this operation.
NWSE_NoMemory | 8 | Insufficient memory.
NWSE_UnknownError | 15 | Unable to reset SP.
NWSE_ServiceNotAvailable | 24 | Requested service is not available.

Related Topics

System Management Commands

SP Command