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

Page 109: Syntax, Parameters, Return codes example, Syntax parameters, Windows sample command line, Linux/hp-ux sample command line

Advertising
background image

Description

Option

Object to perform the delete operation. Delimit the list with
a space. If you do not provide a nodelist, all nodes are
deleted.

--nodes [nodelist]

Object to perform the delete operation. Delimit the list with
a space. If you do not provide a list of baselines, all
baselines are deleted.

--baselines [baselinelist]

Return codes

Text

Linux

Windows

Return Code

The command was successful.

0

0

SUCCESS_NO_REBOOT

The command completed successfully, but was

not required or everything was already

3

3

SUCCESS_NOT_REQUIRED

current. <Node or baseline was not present,

so did not need to be deleted.>

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 delete /baselines "spp 2012 01"

Linux/HP-UX sample command line

$ hpsum delete --baselines "spp 2012 01"

Deploy

Enables you to deploy updates to specified or currently selected nodes.

deploy

enables you to perform the deployment for nodes in the current working set for the current

session. If you do not specify any nodes, the default is all in the currently selected list.

Syntax

hpsum deploy [--nodes [nodelist]] [--groups grouplist]

Parameters

The deploy command provides the following options:

Description

Option

The HP SUM script initiates this action.

hpsum

The command to deploy updates HP SUM.

deploy

A list of the nodes to perform the deploy operation on. You
can specify each node in three ways:

--nodes [nodelist]

domain_name: localhost

Deploy 109

Advertising