HP Matrix Operating Environment 7.3 and 7.3 Update 1 Logical Server Management User Guide

4 LSMUTIL database utility
LSMUTIL command
LSMUTIL is a script that you can run from the command line or from a DOS bat file. LSMUTIL reads
information from the logical servers tables in the Matrix OE database. Based on the option you
select, the script exports information about logical servers and storage pool entries, or updates the
system with information imported from a specified XML file.
NOTE: You can use LSMUTIL to create storage pool entries without using the logical servers
screens and to configure a logical server created by Matrix infrastructure orchestration to use local
disks. For more information, see “Using LSMUTIL with logical server storage (page 68).
The LSMUTIL command line is:
lsmutil-option parameter > filename
LSMUTIL options
You can specify the following options and parameters on the LSMUTIL command line. If you do
not specify an option, the default option of -help is used.
For more detailed online help on a particular command, supply the help parameter. For example
to find more details on the import command, use the command lsmutil import help.
NOTE: The following notes apply:
If the command list is provided with the parameter cr or ls or spe and no other
parameters are supplied, the default is all.
If the command export is provided with the parameter an or spe and no other parameters
are supplied, the default is all.
To redirect screen output to a file, enter a command similar to the following:
lsmutil list ls file filename.txt
For the commands that don’t require the file parameter and print output directly to the screen
(such as list, reserve, unreserve, and version), the screen output can be redirected
to a file similar to the following:
lsmutil list ls > filename.txt
Table 8 LSMUTIL options
DescriptionParametersOption
Exports annotations for managed resource entries in XML format
to the specified file. The generated XML file can be changed
-an [-vc | -oowf] [-names names] -file
filename
-export
and imported to create or modify local disk information that is
not discovered automatically. You must specify an output file
name. The following list defines the export parameters:
The vc parameter—Virtual Connect based entries are
exported.
The oowf parameter—Operations Orchestration workflow
based entries are exported.
64 LSMUTIL database utility