Command Line Interface Guide

22 Introduction
When you type the revised command with three decimal points, you receive
another error message:
Error! This voltage probe min warning threshold
must be between 11.400 and 12.480.
Revised command:
omconfig chassis volts index=3 minwarnthresh=
11.500
Message:
Voltage probe warning threshold(s) set
successfully.
Scripting and Comparing With the CLI
The Server Administrator CLI allows administrators to write batch programs
for the operating system. For an enterprise with many systems, an
administrator could write a configuration script that specified the warning
thresholds for each major component of a system and also specified a set of
actions that the administrator wants each system to take in case of a warning
or failure event. In the most critical cases, the administrator could write a
script so that the system shuts down to prevent damage. The administrator
could then distribute and execute the script to many managed systems at the
same time. Such a scenario facilitates configuring any number of new systems
acquired by a company and makes implementation of new system
administration policies easier across many existing systems that require
reconfiguration.
A similar scenario is used to populate a large number of newly acquired systems
with detailed asset information. Much of the information are the same, such as
the manufacturer or lessor of the system, whether support for the system is
outsourced, insurance company name of the system, method of depreciation,
and so on. Any variable that is common to all systems are scripted, sent to all
managed systems, and executed. Asset information that is unique to a system
is scripted as a group and sent to that managed node for execution. For
example, a script could specify values for all unique variables such as owner,
primary user phone number, asset tag, and so on. Scripts to populate unique
values would set all unique variables at once rather than one by one through
the system's command line.