1849772 Members
2565 Online
104044 Solutions
New Discussion

Re: vPar ID

 
SOLVED
Go to solution
Vitek Pepas
Valued Contributor

vPar ID

Is there an unique number that identifies vPar partition?
I assume the hardware ID (uname -i) would be the same for all partitions.
I'm looking for HP equivalent of AIX's 'lsattr -E -l sys0 -a systemid'.
6 REPLIES 6
wip
Frequent Advisor

Re: vPar ID

Hi,

V-Pars have a unique name,which we use while using the vpar commands.Probably an unique ID as well hard coded in every vpar.

Not sure whether the hostname would be unique.Since the CPU Cards are different I assume they can have a different unique host Id or probably the VPAR software handles it.

regards
WIp
Sanjiv Sharma_1
Honored Contributor

Re: vPar ID

Hi,

Each vPar has a unique name.

I am not sure if there is any unique number that identifies vPar partition.

Everything is possible
Ravi_8
Honored Contributor

Re: vPar ID

Hi

vpar partion is identified by it's name not by number.
Yes hardware id will be the same for all partitions,

can list all vpar's using
#vparstatus
never give up
Karthik S S
Honored Contributor

Re: vPar ID

Vitek,

Hard partitions do have unique hardware IDs but not vPars.

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Jannik
Honored Contributor

Re: vPar ID

vpar don't have uniq ids. What I usally do is a uname -i and then the name of the vpar given i vparstatus.
The god thing about this is if U have software like Veritas Cluster U only have to per uname -i and not by vpar - 1 license for 1 par with N vpars.

BR,
Jannik
jaton
Dietmar Konermann
Honored Contributor
Solution

Re: vPar ID

Vitek,

The getconf(1) command is designed to get the desired information. You should use:

# getconf CS_PARTITION_IDENT

getconf(1) uses confstr(3C) to retrieve _CS_PARTITION_IDENT.

man constr(3C):

_CS_PARTITION_IDENT
Identifier for each partition existing on a machine. Returned as an opaque string of printable ascii characters. For any machine not supporting partitions this value will be same as _CS_MACHINE_IDENT. Comparisons of this value must be made using the string compare functions, see string(3C).

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)