﻿1 Activate

     ----------------------------------------------------------------------

   activate enables you to activate updates previously staged or installed.
   This may involve rebooting or other processes based on specific devices.

  1.1 Syntax

   hpsum[.sh|.cmd] activate [--cancelpending] [--nodes [nodelist]] [--groups
   grouplist]

  1.2 Parameters

   The activate command provides the following options:

   +------------------------------------------------------------------------+
   | Option                | Description                                    |
   |-----------------------+------------------------------------------------|
   | hpsum[.sh|.cmd]       | The HP SUM script initiates this action.       |
   |-----------------------+------------------------------------------------|
   | activate(acn)         | The command to activate pending HP SUM         |
   |                       | updates.                                       |
   |-----------------------+------------------------------------------------|
   | --cancelPending(c)    | When specified, the pending firmware update is |
   |                       | cancelled instead of activated.                |
   |-----------------------+------------------------------------------------|
   |                       | A list of the nodes (full hostname or IP       |
   |                       | address) on which to perform the activate      |
   | --nodes(n) [nodelist] | nodes operation. If you do not provide any,    |
   |                       | the command applies to all nodes in the        |
   |                       | session.                                       |
   |-----------------------+------------------------------------------------|
   | --groups grouplist    | Enables activation of one or more groups.      |
   +------------------------------------------------------------------------+

  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:\> hpchecksum.cmd activate /nodes a.b.c.d a.b.c2.d2

   Activating a.b.c.d

    Linux/HP-UX sample command line

   $ hpsum.sh activate --nodes a.b.c.d a.b.c2.d2

   Activating a.b.c.d

   Activating a.b.c2.d2
