Return values, Examples – HP INSIGHT DYNAMICS T8671-91017 User Manual

Page 44

Advertising
background image

continue to manage these systems beyond the trial period,
permanent licenses must be purchased.

-l

key|--key=key

Install the license key for the LTU product identified by the
-p

option on the systems identified by the -n options.

-n

sys|--sys=sys

The system name, as identified in HP SIM.

NOTE:

HP Integrity virtual machines are licensed through

the VM Host. You cannot specify a virtual machine as the
target of a vselicense command. Instead, apply the
command to the VM Host system.

-p

prod|--prod=prod

The product number of the LTU being installed or migrated.
For example, T2783AC is the product number for the
Virtualization Manager LTU for HP Integrity managed
systems running Linux.

-g

|--gwlm

Communicate directly with the gWLM agent running on the
managed system when scanning for the gWLM LTU. This
option should only be used if WBEM and SSH are not
configured for use. When using this option, the scan can only
detect the gWLM LTU (T2762AA). No information will be
returned about other LTUs. This option is only supported for
gWLM agent versions earlier than version 4.0.

-m

|--migrate

Migrate LTUs to the HP SIM License Manager database.

-c

count|--count=count

Set the number of per-core or per-socket licenses to apply to
the system identified by the -n option. This option is only
valid for previously migrated LTUs on the specified system.
A count value of 0 removes all migrated LTUs for that system
from the License Manager database.

-s

|--show

List the managed systems that have licenses that have been
migrated from previous software releases.

RETURN VALUES

0

The command completed successfully; no errors were detected.

1

An error occurred and the command did not complete successfully.

2

A warning occurred. See command output for details.

EXAMPLES

Apply licenses for the HP Integrity Linux Virtualization Manager (product T2783AC) on the
managed system that is identified in HP SIM as linsys1. The key value was obtained from HP
when the LTU was purchased.

vselicense -l

key -n linsys1 -p T2783AC

Apply licenses for LTUs installed on an HP-UX managed system named uxsys2. The command
uses WBEM (or SSH if WBEM scan fails) to scan for the LTU(s) installed on the system.

vselicense -m -n uxsys2

Use gWLM to scan and apply T2762AA licenses on an HP-UX managed system.

vselicense -m -g -n uxsys3

Correct the number of per-core or per-socket licenses to 4 for a system with previously migrated
licenses.

vselicense -m -c 4 -n uxsys2

44

Command reference

Advertising