Statemgr Command-Line Syntax; Statemgr Command-Line Arguments; Statemgr Return Codes; Statemgr Command-Line Examples - HP ProLiant DL320e User Manual

Hp scripting toolkit 9.30 for linux user guide
Hide thumbs Also See for ProLiant DL320e:
Table of Contents

Advertisement

NOTE:
The STATEMGR utility is not supported on 100 series servers.

STATEMGR command-line syntax

STATEMGR [/R | -R] [EVNAME] [/?]
- or -
STATEMGR [/W | -W] [EVNAME] [VALUE] [/?]

STATEMGR command-line arguments

Command-line argument
/R or –R
/W or -W
EVNAME
VALUE
/?

STATEMGR return codes

Value
0
n

STATEMGR command-line examples

Command-line argument
STATEMGR /W PHASE 3
STATEMGR /R PHASE

Using RBSURESET

RBSURESET resets the BIOS settings for a server by reapplying the default factory setting at the
next reboot. RBSURESET does not erase array configurations or logical storage volumes.
NOTE:
This command is not yet supported on HP ProLiant 100 series servers, but will be in
futures releases.
Description
This argument reads the state of the environment variable
defined by [EVNAME]. The value of the environment
variable is returned as a return code.
This argument writes the state defined by [VALUE] to an
environment variable defined by [EVNAME].
This argument creates an environment variable used to
represent the state to manage. The variable can be any
word that is eight characters or fewer.
This argument is used only with the /W or -W arguments to
indicate the value of the environment variable to maintain.
[VALUE] is limited to integers between 0 and 254. If no
value is provided when using /W or -W, the state
environment variable is cleared.
This argument displays help information.
Meaning
The command was completed successfully.
N arguments were ignored because they were not in the
variable=<string> format.
Description
STATEMGR writes the state value 3 to the PHASE
environment variable.
STATEMGR reads the PHASE environment variable and
returns its value as a return code. If the environment
variable has been reset or no value has been stored, the
return code is 0.
Using RBSURESET
25

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proliant ml310eScripting toolkit for linux

Table of Contents