Technical data
nPartition System Overviews
nPartition and Virtual Partition Unique Identifiers
HP System Partitions Guide: Administration for nPartitions, rev 5.1
83
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 vPar-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 HP PA-RISC nPartition 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.
See the confstr (3C) manpage for details on these parameters and their
use.
Example 1-2 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










