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
nPartition Administrator's Guide > Chapter 1 Getting Started with nPartitions

Licensing Information: Getting Server Product Details

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

When you license a software product to run on an HP system, you may need to provide machine or system details to the software vendor as part of the software registration process.

This section describes how to obtain information you may need when licensing non-HP software to run on a cell-based HP server.

For complete information about software product licensing, refer to the company that manufactures or sells the software you plan to use.

  • Unique Machine (Complex) Identifier. /usr/bin/getconf _CS_MACHINE_IDENT

  • Unique nPartition Identifier. /usr/bin/getconf _CS_PARTITION_IDENT

  • Unique Virtual Partition Identifier. /usr/bin/getconf _CS_PARTITION_IDENT

  • Machine (Complex) Serial Number. /usr/bin/getconf _CS_MACHINE_SERIAL and /usr/sbin/parstatus -X

  • Server (Complex) Product Number. /usr/sbin/parstatus -X

  • Machine (Complex) Hardware Model. /usr/bin/getconf MACHINE_MODEL and /usr/bin/model

  • HP-UX Version and Installed Bundles. 

    For the HP-UX version: /usr/bin/uname -r
    For all bundles installed: /usr/sbin/swlist -l bundle

nPartition and Virtual Partition Unique Identifiers

NOTE: Use the getconf command or the confstr() call to obtain unique identifiers. Do not use the uname -i command, which does not report unique IDs for nPartition systems.

In order to guarantee compatibility on current and future platforms, use the interfaces to getconf(1) and confstr(3C) to retrieve unique machine identifiers.

The interfaces include the _CS_PARTITION_IDENT and _CS_MACHINE_IDENT parameters:

  • For a nPartition-specific or a virtual partition-specific unique ID use this command:

    /usr/bin/getconf _CS_PARTITION_IDENT

    The unique partition identifier value for a virtual partition environment has virtual partition-specific data added that does not appear for an equivalent non-vPars environment. See the examples that follow.

  • For a complex-specific unique ID use this command:

    /usr/bin/getconf _CS_MACHINE_IDENT

On cell-based HP PA-RISC servers, the complex, nPartition, and virtual partition unique IDs are based in part on the machine serial number.

To retrieve the machine serial through these interfaces, specify the _CS_MACHINE_SERIAL parameter to them.

Refer to the confstr(3C) manpage for details on these parameters and their use.

Example 1-1 Unique IDs for an nPartition and Complex

The following examples show nPartition-unique and complex-unique IDs returned by the getconf command, as well as the local nPartition number and machine serial number.

# parstatus -w The local partition number is 1. # /usr/bin/getconf _CS_PARTITION_IDENT Z3e02955673f9f7c9_P1 # /usr/bin/getconf _CS_MACHINE_IDENT Z3e02955673f9f7c9 # /usr/bin/getconf _CS_MACHINE_SERIAL USR2024FP1 #

Example 1-2 Unique IDs for Virtual Partitions (vPars)

The following example shows the virtual partition-unique ID returned by the getconf command, as well as the local nPartition number and the current virtual partition name.

# parstatus -w The local partition number is 0. # vparstatus -w The current virtual partition is Shad. # getconf _CS_PARTITION_IDENT Z3e0ec8e078cd3c7b_P0_V00 #

For details on virtual partitions, refer to the book Installing and Managing HP-UX Virtual Partitions (vPars).

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