7 lsmutil database utility, Lsmutil command, Lsmutil options – HP Matrix Operating Environment Software User Manual

Page 93: Lsmutil command lsmutil options

Advertising
background image

7 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 Insight Dynamics 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 to use local disk. For more information, see

“Using

LSMUTIL with logical server storage”

.

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.

NOTE:

To redirect screen output to a file, enter a command similar to the following:

LSMUTIL --export > C:\logicalservers.xml

If the output file is in .xml format, remove the first three lines of the file to enable viewing the
file in a browser.

Table 7-1 LSMUTIL options

Description

Parameters

Option

Displays to standard output in XML format the logical servers and/or
storage pool entries currently found in the logical servers tables.
The parameter [names] can be the name(s) of logical servers or shared
storage pools.

[names]

--export

Displays to standard output in XML format the virtual machine inventory
and/or servers with Virtual Connect inventory. You can redirect the
output to a filename using the > operator.

[ --VMs | --VCs]

--inventory

Displays to standard output the active and/or inactive logical servers,
and available and/or used storage pool entries in the logical servers tables.
The parameter [names] can be the name(s) of logical servers or shared
storage pools.

[ --active | --inactive ]
[names]

--list

Writes to computeActuals.xml the inventory of compute resources
(servers, blades, hypervisors, and so on) and the current, if any,
annotations (local disk information).

--exportAnnotations

Reads from computeActuals.xml the inventory of compute resources
(servers, blades, hypervisors, and so on) and any annotations (local disk
information) that you created or modified. The data in the file updates
the information on the system.

--importAnnotations

Exports storage pool entries into an XML file. You must specify an output
filename.

filename

--exportSPE

Imports storage pool entries from an XML file. You must specify an input
filename. The data in the file updates the information on the system.

filename

--importSPE

LSMUTIL command

93

Advertising