7 Command-Line Interface
The Command-Line Interface (CLI) in Update Manager provides a scripting
environment for updating system components, and is part of the ServerView
Operations Manager. The CLI is installed automatically with the Update Man-
ager.
The Command-line interface consists of two parts:
l GFCLI, commands and parameters
l citfs.bat, a batch job to update a new server and add the server to the
ServerList
7.1 GFCLI (Command-Line Interface)
The CLI runs without user interaction (quiet mode), creates log files if
required and returns various return values. You should test these return valu-
es, for example, by checking the %errorlevel% system variable (Win-
dows) or $? (Linux), or similar script and language elements.
The structure of the individual commands flollows the convention:
GFCLI <command> <parameter>
Each command consists of the constant GFCLI, followed by the <com-
mand> parameter, which defines the command and subsequent command-
dependent parameters.
Parameter Description
-S (StartFlash) Starts update with version check
This option only updates system components for
which a newer version is found.
-O (StartFlash) Starts update without version check
-W (WaitForDone) Waits for the end of the update jobs
-R (Reboot) Starts an explicit reboot
ServerView Update Management 225