Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
VSE Management Software Version 4.0 Getting Started Guide > Chapter 6 Command Reference

vselicense(1M)

Version A.04.00.07
» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

NAME

vselicense — Manage VSE Management Software LTUs on HP Integrity and HP 9000 Systems

SYNOPSIS

Path (HP-UX): /opt/vse/bin/vselicense

Path (Windows): installation-directory\bin\vselicense

vselicense -l key { -n sys }... -p prod

(Apply Windows/Linux LTUs)

vselicense -m [-g] { -n sys }...

(Scan for HP-UX LTUs)

vselicense -m -c cores -n sys

(Correct the number of per-core licenses assigned to a system)

vselicense -m -c 0 -n sys

(Remove all the licenses applied to a system)

vselicense -s

(List the managed systems with migrated LTUs)

DESCRIPTION

The vselicense command is installed on the Central Management Server (CMS) with the VSE Management Software. This command installs and removes Licenses to Use (LTUs) for the HP Virtual Server Environment (VSE) Management Software products. It can also be used to correct the number of per-core licenses that are applied for licenses migrated from an earlier version of the VSE Management Software.

This command applies only to HP Integrity systems running HP-UX, Linux, or Microsoft Windows operating systems, and HP 9000 systems running HP-UX. It is only used for LTUs that were purchased prior to VSE Management Software version 4.0. Specifically, the following LTUs are the only products that can be managed by vselicense:

T2786AC

HP VSE Suite for HP-UX 11i LTU

T2784AC

HP Capacity Advisor for HP-UX LTU

T2782AC

HP Virtualization Manager for HP-UX LTU

T2762AA

HP Global Workload Manager Agent LTU

T2807AC

HP Capacity Advisor for Integrity Windows

T2806AC

HP Virtualization Manager for Integrity Windows

T2785AC

HP Capacity Advisor for Integrity Linux

T2783AC

HP Virtualization Manager for Integrity Linux

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.

Starting with VSE Management Software version 4.0 (A.04.00.07.xx), licenses are now managed in the HP Systems Insight Manager (SIM) License Manager database on the CMS. New licenses are encoded in a key consisting of 5 blocks of 5 numbers or characters (a “5x5” license key). These licenses are added to the CMS and applied to managed systems through HP SIM. To obtain new licenses for the current version of the VSE Management Software, contact your HP sales representative, your HP services representative, or your authorized HP reseller.

In previous releases, licenses were installed directly on HP-UX managed systems. A license scan procedure was then used to obtain the license information from the managed systems for use on the CMS. LTUs for managed systems running Linux for HP Integrity and Microsoft Windows for HP Integrity were installed as keys on the CMS. When you upgrade an HP-UX CMS that has a previous version of the VSE Management Software installed, any product LTU that was previously installed or scanned is automatically migrated to the License Manager database. The VSE Management Software products are licensed per core on managed HP Integrity and HP 9000 systems. When licenses prior to version 4.0 are migrated to the current version, the number of cores on the managed system is determined via a WBEM query. The value returned is used as the number of licenses assigned to that system. If the WBEM query is unsuccessful at determining the number of cores, the value “1” is assumed.

You are responsible for verifying that the correct number of licenses are applied to your managed systems, based on the number of cores in use. To remain in compliance with your End User Licensing Agreement, you may need to correct the number of cores assigned during the license migration process. To correct the number of cores assigned during migration, enter the following command on the CMS:

  vselicense -m -c cores -n sys

where cores is the correct number of per-core licenses to assign for system sys.

If permitted by your licensing agreement with HP, unused licenses that were purchased for an earlier release but have not yet been installed or scanned can also be applied to a managed system and added to the License Manager database using the vselicense command.

To add and apply unused HP-UX LTUs, follow these steps:

  1. Install the HP-UX LTUs that have unused licenses on the managed system.

  2. Ensure that SSH is configured in HP SIM to allow for communication between the CMS and the managed system. This allows vselicense to scan for all of the HP-UX LTUs: T2786AC, T2784AC, T2782AC, and T2762AA. For information about configuring SSH in HP SIM, see VSE Management Software Version 4.0 Installation and Update Guide for HP-UX.

    If SSH cannot be used between the CMS and the managed system, it is still possible to scan for the gWLM LTU (T2762AA) by communicating directly with the gWLM agent if it is running on the managed system. However, this will provide no information about the other LTUs.

    NOTE: The -g option is only supported for gWLM agent versions earlier than version 4.0.
  3. Execute one of the following commands on the CMS:

    • If SSH has been successfully configured (scan for all LTUs):

      vselicense -m -n sys
    • If SSH cannot be used (scan for gWLM LTU only):

      vselicense -m -g -n sys
  4. If necessary, correct the number of per-core licenses assigned to the system, using vselicense with the -m and -c options, as described above.

To add and apply unused HP Integrity Linux or HP Integrity Windows LTUs, follow these steps:

  1. Execute the following command on the CMS:

      vselicense -l key -n sys -p prod
    
    

    where key is the license key provided with the LTU product prod.

  2. If necessary, correct the number of per-core licenses assigned to the system, using vselicense with the -m and -c options, as described above.

NOTE: Changes made by vselicense may not show up in the product's user interface until you refresh the data (click the Refresh Data link in Capacity Advisor, or the Refresh Data icon in the Visualization tab).

After migration to the License Manager database, your previously purchased LTUs will appear in the HP SIM License Manager under the following new license names:

VSE Management Software for Integrity
Migrated from:
T2786AC HP VSE Suite for HP-UX 11i LTU
Virtualization Manager for Integrity
Migrated from:
T2782AC HP Virtualization Manager for HP-UX LTU
T2806AC HP Virtualization Manager for Integrity Windows
T2783AC HP Virtualization Manager for Integrity Linux
Capacity Advisor for Integrity
Migrated from:
T2784AC HP Capacity Advisor for HP-UX LTU
T2807AC HP Capacity Advisor for Integrity Windows
T2785AC HP Capacity Advisor for Integrity Linux
Global Workload Manager for Integrity
Migrated from:
T2762AA HP Global Workload Manager Agent LTU

Use the HP SIM License Manager to view the status of these licenses (select Deploy -> License Manager... from the HP SIM menu, then select one of the new license names, as shown in the preceding list).

Options

The vselicense command recognizes the following options.

-l key

Install the license key for the LTU product identified by the -p option on the systems identified by the -n options.

-n sys

The system name, as identified in HP SIM.

-p 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

Communicate directly with the gWLM agent running on the managed system, instead of using SSH-based communication. This option should only be used if SSH cannot be used between the CMS and the managed system. It will 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 LTUs prior to version 4.0 and install permanent licenses in the HP SIM License Manager database.

-c cores

Set the number of per-core 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 cores value of 0 removes all migrated LTUs for that system from the License Manager database.

-s

List the managed systems that have licenses that have been migrated from LTUs earlier than version 4.0.

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 SSH 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 licenses to 4 for a system with previously migrated licenses.

  vselicense -m -c 4 -n uxsys2

Remove all the licenses that were previously migrated and assigned to the managed system winsys4.

  vselicense -m -c 0 -n winsys4

AUTHORS

vselicense was developed by Hewlett-Packard Company.

SEE ALSO

Additional information is available in the VSE Licenses topic of the VSE Management Software online help, and in the following documents:

vseinitconfig(1M), VSE Management Software Version 4.0 Getting Started Guide, VSE Management Software Version 4.0 Installation and Update Guide for HP-UX.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2006-2008 Hewlett-Packard Development Company, L.P.