NetWorker command: nsrvim
NAME
nsrvim - client binary for communicating with VMware VirtualCenter
SYNOPSIS
nsrvim [ options ] [ -v ] [ -d ] [ -s server ] [ -D debuglevel ] [
--help ] [ --version ] hypervisor
DESCRIPTION
The nsrvim program communicates over SOAP with a VMware VirtualCenter
instance using the VMware Infrastructure Methodology API. It is nor-
mally run automatically by nsrtask(8) as specified by a nsr_hypervi-
sor(5) resource.
The nsrvim program will query the NetWorker server for a nsr_hypervi-
sor(5) resource with the same name as passed on its command line. From
that resource, nsrvim will access the username, password, and endpoint
attributes and use them to attempt to connect to a VMware VirtualCenter
instance via SOAP.
Once connected, the nsrvim program will query the VirtualCenter
instance for the list of virtual machines and important elements of the
inventory (Datacenters, Clusters, Hosts and VirtualMachines). The pro-
gram will also setup an RPC connection to nsrjobd(8) and send the vir-
tual machine list and inventory data back to the server through that
connection. Note, nsrvim itself does not update the nsr_hypervisor
resource; this should be done by the job management program (normally
nsrtask ).
OPTIONS
-s Hostname of the NetWorker server to query for the nsr_hypervisor
resource.
-v Increments the verbosity level of the output. This option can be
provided multiple times and its effects are additive.
-D Set the debug output level.
-d Dump the inventory to a file. The file name is the name of the
nsr_hypervisor resource with a .xml extension.
--help Print the usage statement and exit.
--version
Print the version string and exit.
hypervisor
Specifies the NetWorker nsr_hypervisor resource to use.
RESOURCE TYPES
NSR hypervisor
The attributes username and password are used to log into
the VirtualCenter instance. The attribute endpoint is
used to connect to the SOAP interface of the VirtualCenter
instance. The attribute vm list is used to determine if
any new virtual machines have been found and to store the
current list. The attribute environment is used to store
an XML document describing elements of the VirtualCenter
inventory as needed by NetWorker.
FILES
/nsr/logs/nsrtask.raw Log file containing execution messages
routed through nsrtask.
SEE ALSO
nsr_service(5), nsr_hypervisor(5), nsr_notification(5), nsr_resource(5),
nsradmin(8), nsr(8), nsrjobd(8), nsrtank(8).
NetWorker 7.5.1 Mar 21, 09