Parameters, Return codes, Example – HP Smart Update Manager User Manual

Page 121: Shutdownengine, Syntax, Parameters return codes example, Syntax parameters

Advertising
background image

Parameters

The setattributes command provides the following options:

Description

Option

The HP SUM script initiates this action.

hpsum

The command to set attributes pending HP SUM operations.

setattributes

Section for attributes that you want to apply to nodes. If
you do not specify a nodelist, this sets the attribute for all
nodes in the session.

--nodes [nodelist] [attribute=value]

Return codes

Text

Linux

Windows

Return Code

The command was successful.

0

0

SUCCESS_NO_REBOOT

A general failure occurred. For details,

see the logs.

255

-1

FAILURE_GENERAL

A bad input parameter was encountered. For

details, see the logs.

254

-2

FAILURE_BAD_PARM

The command failed. For details, see the

logs.

252

-4

FAILURE_COMMAND_FAILED

Example

Windows sample command line

C:\> hpsum setattributes /nodes localhost force=true /nodes 16.1.1.105

force=true rewrite=true

Linux/HP-UX sample command line

$ hpsum setattributes /nodes localhost force=true --nodes 16.1.1.105

force=true rewrite=true

ShutdownEngine

shutdownengine

enables you to terminate the HP SUM engine. If other sessions are active, this

fails unless you use the --force option.

CAUTION:

Using --force can cause loss of information.

Syntax

hpsum shutdownengine [--force]

Parameters

The shutdownengine command provides the following options:

Description

Option

The HP SUM script initiates this action.

hpsum

The command to shut down HP SUM engine.

shutdownengine

Force shutdown even if other sessions are still active.

--force

ShutdownEngine

121

Advertising