HP Integrity Superdome 2 16-socket HP Superdome 2 Partitioning Administrator G - Page 15

getconf, confstr, uname -i, CS_PARTITION_IDENT, CS_MACHINE_IDENT, usr/bin/getconf _CS_PARTITION_IDENT

Page 15 highlights

NOTE: Use the getconf command or the confstr() call to obtain the unique identifiers. Do not use the uname -i command, which does not report unique IDs for nPartition systems. To guarantee compatibility on current and future platforms, use the interfaces to getconf(1) and confstr(3C) to retrieve unique machine identifiers. These interfaces and the commands listed below are available from the HP-UX operating system running in the nPartition or vPar. 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 Ordering and licensing 15

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

NOTE:
Use the
getconf
command or the
confstr()
call to obtain the unique identifiers. Do
not use the
uname -i
command, which does not report unique IDs for nPartition systems.
To guarantee compatibility on current and future platforms, use the interfaces to
getconf
(1) and
confstr
(3C) to retrieve unique machine identifiers. These interfaces and the commands listed below
are available from the HP-UX operating system running in the nPartition or vPar.
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
Ordering and licensing
15