HP Insight Virtualization Manager with Logical Server Management 6.1 User Guide

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.
Table 7-1 LSMUTIL options
DescriptionParametersOption
Displays to standard output in XML format the logical servers and/or
storage pool entries currently found in the logical servers tables. The
output is redirected to an XML file if you specify a filename.
The parameter [names] can be the name(s) of logical servers or shared
storage pools.
[names] [filename]--export
Displays to standard output in XML format the virtual machine inventory
and/or servers with Virtual Connect inventory. The output is redirected
to an XML file if you specify a filename.
[ --VMs | --VCs]
[filename]
--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
Preallocate initiator WWNs for a specified Virtual Connect Domain
Group. Displays the reserved WWNs to standard output in ASCII format.
You must specify a Virtual Connect Domain Group name and an integer
from 1 to 100. If an invalid domain group is specified, the available
domain groups are displayed.
DomainGroupName
number of WWNs
--reserveWWNs
LSMUTIL command 87