﻿1 Activate

   activate activates any updates previously staged or installed. This can
   involve rebooting or other processes based on specific devices.

      ---------------------------------------------------------------------   
    NOTE: The activate command only applies to the Integrity iLO and server   
    nodes.                                                                    
      ---------------------------------------------------------------------   

  1.1 Syntax

   hpsum activate --nodes <nodelist> --cancelpending

  1.2 Parameters

   The activate command provides the following options:

   +------------------------------------------------------------------------+
   | Parameter          | Description                                       |
   |--------------------+---------------------------------------------------|
   | hpsum              | The HP SUM script initiates this action.          |
   |--------------------+---------------------------------------------------|
   | activate           | The command to activate pending HP SUM updates.   |
   |--------------------+---------------------------------------------------|
   |                    | A list of the nodes (full hostname or IP address) |
   | --nodes <nodelist> | on which to perform the activate nodes operation. |
   |                    | If you do not provide any, the command applies to |
   |                    | all nodes in the session.                         |
   |--------------------+---------------------------------------------------|
   |                    | When specified, the parameter cancels the pending |
   | --cancelPending    | firmware update instead of activating it. This    |
   |                    | parameter is available for Integrity iLO nodes    |
   |                    | only.                                             |
   +------------------------------------------------------------------------+

  1.3 Return codes

   +------------------------------------------------------------------------+
   | Return Code              | Windows | Linux | Text                      |
   |--------------------------+---------+-------+---------------------------|
   | SUCCESS_NO_REBOOT        | 0       | 0     | The command was           |
   |                          |         |       | successful.               |
   |--------------------------+---------+-------+---------------------------|
   |                          |         |       | The command completed     |
   |                          |         |       | successfully, but was not |
   | SUCCESS_NOT_REQUIRED     | 3       | 3     | required or everything    |
   |                          |         |       | was already current. (No  |
   |                          |         |       | activation was needed)    |
   |--------------------------+---------+-------+---------------------------|
   |                          |         |       | A general failure         |
   | FAILURE_GENERAL          | -1      | 255   | occurred. For details,    |
   |                          |         |       | see the logs.             |
   |--------------------------+---------+-------+---------------------------|
   |                          |         |       | A bad input parameter was |
   | FAILURE_BAD_PARM         | -2      | 254   | encountered. For details, |
   |                          |         |       | see the logs.             |
   |--------------------------+---------+-------+---------------------------|
   | FAILURE_COMPONENT_FAILED | -3      | 253   | The installation of the   |
   |                          |         |       | component failed.         |
   |--------------------------+---------+-------+---------------------------|
   | FAILURE_COMMAND_FAILED   | -4      | 252   | The command failed. For   |
   |                          |         |       | details, see the logs.    |
   +------------------------------------------------------------------------+

  1.4 Example

    Windows sample command line

   C:\> hpsum activate /nodes 10.0.0.1 10.0.0.2

    Linux sample command line

   $ ./hpsum activate --nodes 10.0.0.1 10.0.0.2
