﻿1 SetAttributtes

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

   Enables you to change attributes for nodes.

   setattributtes enables you to change the attributes of a node. This
   command might return an invalid parameter notice if the permissions are
   not correct, or if either the parameter is not part of the requested set
   or if the value is not allowed. If you do not specify any nodes, the
   command applies to all nodes.

  1.1 Syntax

   HPSUM[.cmd] setattributes [--nodes [nodelist] key=value <key=value>]

  1.2 Parameters

   The setattributtes command provides the following options:

   +------------------------------------------------------------------------+
   | Option                       | Description                             |
   |------------------------------+-----------------------------------------|
   | hpsum[.cmd]                  | The HP SUM script initiates this        |
   |                              | action.                                 |
   |------------------------------+-----------------------------------------|
   | setattributes                | The command to set attributes pending   |
   |                              | HP SUM operations.                      |
   |------------------------------+-----------------------------------------|
   |                              | Section for attributes that you want    |
   | --nodes [nodelist] key=value | only applied to nodes. If you do not    |
   | <key=value>                  | specify a nodelist, all nodes in the    |
   |                              | session are set.                        |
   +------------------------------------------------------------------------+

  1.3 Return codes

   +------------------------------------------------------------------------+
   | Return Code            | Windows | Linux | Text                        |
   |------------------------+---------+-------+-----------------------------|
   | SUCCESS_NO_REBOOT      | 0       | 0     | The command was successful. |
   |------------------------+---------+-------+-----------------------------|
   | FAILURE_GENERAL        | -1      | 255   | A general failure occurred. |
   |                        |         |       | For details, see the logs.  |
   |------------------------+---------+-------+-----------------------------|
   |                        |         |       | A bad input parameter was   |
   | FAILURE_BAD_PARM       | -2      | 254   | encountered. For details,   |
   |                        |         |       | see the logs.               |
   |------------------------+---------+-------+-----------------------------|
   | FAILURE_COMMAND_FAILED | -4      | 252   | The command failed. For     |
   |                        |         |       | details, see the logs.      |
   +------------------------------------------------------------------------+

  1.4 Example

    Windows sample command line

   C:\> hpsum.cmd setattributes /nodes 10.7.0.0 force=true

    Linux/HP-UX sample command line

   $ hpsum setattributes --nodes 10.7.0.0 force=true
