HPlogo HP-UX Reference > P

parstatus(1)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

parstatus — display information about a hardware partitionable complex

SYNOPSIS

parstatus

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

parstatus -s

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

parstatus -w [-M]

  • [ -u username:[passwd] -h IPaddress|hostname ]

parstatus -X

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

parstatus -C|-I [-A] [-M]

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

parstatus -B|-P [-M]

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

parstatus -i I/Ochassis [-i I/Ochassis]... [-M]

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

parstatus -c cell [-c cell]... [-V|-M]

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

parstatus -b cabinet [-b cabinet]... [-V|-M]

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

parstatus -p PartitionNumber [-p PartitionNumber]... [-V|-M]

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

parstatus -T

  • [ [ -u username:[passwd] -h IPaddress|hostname ] | [ -g [passwd] -h IPaddress|hostname ] ]

DESCRIPTION

The parstatus command displays information about a system complex. If no arguments are supplied, all major components that are physically present in the local complex are listed. Specify a component (cell, I/O chassis, cabinet, or partition) to restrict the output to information about that component. Either the -u option or the -g option can be specified to access a remote complex.

The parstatus command also displays Hyper-Threading information (only on supported platforms). See the cplxmodify(1M), parcreate(1M) and parmodify(1M) manpages for an explanation on how to enable or disable Hyper-Threading.

Refer to the HP System Partitions Guide for a description of the partition management terms used in this manpage. Refer to partition(5) for a list of partition management commands.

Options and Arguments

parstatus recognizes the following command line options and arguments:

-s

Indicates if the command is being executed on a hardware partitionable platform. When this option is specified, the command will either succeed or fail (see RETURN VALUE below) and nothing will be displayed on stdout or stderr.

-u username:[passwd]

Specifies the required authorization to access a partition other than the local partition (but can also be used as a loopback access to the local partition). If complex attributes are displayed, the complex is the one in which this target partition resides.

The -h option is required if this option is used.

username specifies a configured user name on the target partition.

passwd specifies the password associated with the username. If this field is empty, the command prompts for the password.

Note: This command is a Web-Based Enterprise Management (WBEM) Client Application. The -u option accesses the target partition using a Secure Sockets Layer (SSL) connection. If errors are reported, check that the conditions described in the DEPENDENCIES section are satisfied.

SECURITY WARNING: Specifying the password directly on the command line may pose a security risk in your environment. The ps or other related commands can be invoked in such a way as to display the command line of a process. In this situation, any authenticated user on the system can potentially see the password while the process is executing. Hence, it is highly recommended not to specify the password on the command line, and instead allow the command to prompt for the password.

Note: Specifying passwd on the command line will not be supported in future releases.

-h IPaddress|hostname

This option should only be used in combination with either the -u or -g option. IPaddress|hostname specifies the IP address or hostname of the target partition (-u) or complex (-g).

-g [passwd]

Allows access to the complex specified by the -h option. The accessed complex is then considered the target complex. Access is via the service processor's LAN port.

The -h option is required if this option is used.

passwd specifies the IPMI password of the service processor. If this field is omitted, the command prompts for the password.

If an error is reported when you attempt to connect using this option, check to see that IPMI LAN access has not been disabled on the remote service processor. Access to the complex via IPMI over LAN can be enabled or disabled by logging on to the service processor and using the SA command from the Command Menu.

The -u and -g options are mutually exclusive.

SECURITY WARNING: Specifying the password directly on the command line may pose a security risk in your environment. The ps or other related commands can be invoked in such a way as to display the command line of a process. In this situation, any authenticated user on the system can potentially see the password while the process is executing. Hence, it is highly recommended not to specify the password on the command line, and instead allow the command to prompt for the password.

Note: Specifying passwd on the command line will not be supported in future releases.

-w

Display the local partition number in a full sentence. If the -u option connects to another partition, that partition number is reported instead. The -M option restricts the display to just the partition number.

-X

Display the complex attributes.

-A

Only display the available resources in the complex.

-T

Only display the Hyper-Threading information.

-V

Verbose mode. Increase the amount of information displayed.

Note:

1.

The cell IODC version field is used for PA-RISC cells only. This value will be 0xFFFF (in other words, 65535) for Itanium(R)-based cells.

2.

On PA-RISC platforms, the amount of memory allocated for CLM may not match the amount of CLM requested due to some memory being reserved exclusively by the operating system.

Additional information displayed with -V includes:

For Cabinet:

* Status of each of the cabinet blower(s)

* Status of each of the I/O fan(s)

* Status of each of the bulk power supply(s)

* Status of each of the backplane power board(s)

For Partition:

* Primary, alternate and secondary boot path settings

* PDC, IODC version numbers

* Memory interleaving / local memory settings

* Cells summary info

* I/O chassis summary info

* Hyper-Threading info

For Cell:

* Details of each cpu on the cell

* Details of memory on the cell

* Memory interleaving / local memory settings

* Details of Hyper-Threading

-M

Produce a machine readable/parseable output, or restrict the output of the -w option to a partition number. The machine readable output will have the columns separated by a single colon character (:) and will not have a column header.

-C

Show information for all cells in the complex. Note: The parstatus command displays the maximum CPU count that is supported by the cell hardware.

-I

Show information for all I/O chassis in the complex.

-B

Show information for all cabinets in the complex.

-P

Show information for all partitions in the complex.

-c cell

Show information about the specified cell. The cell id can be specified either in the local (cabinet#/slot#) or global (cell_ID) format. For example, the cell located in cabinet 0, slot 1 is locally identified as 0/1 or globally as 1. Note: The parstatus command displays the maximum CPU count that is supported by the cell hardware.

-i I/Ochassis

Show information about the specified I/Ochassis. The I/Ochassis id can be specified in the form of cabinet#/enclosure#/chassis#. For example, the I/O chassis located in cabinet 0, enclosure 1 and I/O chassis slot 3 is identified as 0/1/3.

-b cabinet

Show information about the specified cabinet.

-p PartitionNumber

Show information about the specified partition. PartitionNumber is the unique partition number (integer) which was assigned to the partition when it was created.

Mapping of Global Cell Numbers to Local Cell Numbers

The cabinets in a complex are numbered starting from 0. The cell slots in each cabinet are also numbered starting from 0. Each cabinet can have a maximum of 8 cells. For example, the cells located in cabinet 0 will have the following cell numbers in global format: 0, 1, 2, 3, 4, 5, 6, 7. The cell numbers in corresponding local format will be 0/0, 0/1, 0/2, 0/3, 0/4, 0/5, 0/6, 0/7.

Similarly the cells located in cabinet 1 will have the following cell numbers in global format: 8, 9, 10, 11, 12, 13, 14, 15. The cell numbers in corresponding local format will be 1/0, 1/1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7.

From the above convention the cell located in cabinet 1, slot 0 is identified in the local format as 1/0 or in the global format as 8. The parstatus command will display the above cell as "cab1,cell0". The cell located in cabinet 1, slot 4 is identified in the local format as 1/4 or in the global format as 12. The parstatus command will display the above cell as "cab1,cell4".

RETURN VALUE

The parstatus command exits with one of the following values:

0

Successful completion.

1

Error condition occurred.

EXAMPLES

Example 1

Display information for all the I/O chassis in the complex:

parstatus -I

The output format is as shown below.

[Chassis] Core Connected Par Hardware Location Usage IO To Num =================== ============ ==== ========== === cab0,bay0,chassis0 Absent - - - cab0,bay0,chassis1 Active yes cab0,cell0 0 cab0,bay0,chassis2 Absent - - - cab0,bay0,chassis3 Active yes cab0,cell4 2 cab0,bay1,chassis0 Absent - - - cab0,bay1,chassis1 Active yes cab0,cell6 1 cab0,bay1,chassis2 Absent - - - cab0,bay1,chassis3 Inactive yes cab0,cell2 1

Example 2

The following example displays information for all major components that are physically present in the local complex. No action is specified for the command; the default behaviour is to display all.

  • parstatus

    [Complex] Complex Name : SuperDomeComplex Complex Capacity Compute Cabinet (8 cell capable) : 1 Active MP Location : cabinet 0 Model : 9000/800/SD32000 Original Serial Number : USR4001WXY Current Product Order Number : 12345B Original Manufacturer : HP Complex Profile Revision : 1.0 The total number of partitions present : 3 [Cabinet] Cabinet I/O Bulk Power Backplane Blowers Fans Supplies Power Boards OK/ OK/ OK/ OK/ Cab Failed/ Failed/ Failed/ Failed/ Num Cabinet Type N Status N Status N Status N Status MP === ============ ========= ========= ========== ============ ====== 0 8 cell slot 4/0/N+ 5/0/NA 5/0/N+ 3/0/N+ Active Notes: N+ = There are one or more spare items (fans/power supplies). N = The number of items meets but does not exceed the need. N- = There are insufficient items to meet the need. ? = The adequacy of the cooling system/power supplies is unknown. HO = Housekeeping only; The power is in a standby state. NA = Not Applicable. [Cell] CPU Memory Use OK/ (GB) Core On Hardware Actual Deconf/ OK/ Cell Next Par Location Usage Max Deconf Connected To Capable Boot Num ========== ============ ======= ======== =================== ======= ==== === cab0,cell0 Active Core 4/0/4 2/0 cab0,bay0,chassis1 yes yes 0 cab0,cell1 Active Base 2/0/4 2/0 - no yes 2 cab0,cell2 Inactive 4/0/4 2/0 cab0,bay1,chassis3 yes yes 1 cab0,cell3 Inactive 2/0/4 2/0 - no - - cab0,cell4 Active Core 2/0/4 2/0 cab0,bay0,chassis3 yes yes 2 cab0,cell5 Powered off 0/0/4 ? ? ? no 0 cab0,cell6 Active Core 2/0/4 2/0 cab0,bay1,chassis1 yes yes 1 cab0,cell7 Powering on 0/0/4 ? ? ? - - Notes: * = Cell has no interleaved memory. [Chassis] Core Connected Par Hardware Location Usage IO To Num =================== ============ ==== ========== === cab0,bay0,chassis0 Absent - - - cab0,bay0,chassis1 Active yes cab0,cell0 0 cab0,bay0,chassis2 Absent - - - cab0,bay0,chassis3 Active yes cab0,cell4 2 cab0,bay1,chassis0 Absent - - - cab0,bay1,chassis1 Active yes cab0,cell6 1 cab0,bay1,chassis2 Absent - - - cab0,bay1,chassis3 Inactive yes cab0,cell2 1 [Partition] Par # of # of I/O Num Status Cells Chassis Core cell Partition Name (first 30 chars) === ============ ===== ======== ========== =============================== 0 Active 2 1 cab0,cell0 cup2000 1 Active 3 2 cab0,cell6 cup2006 2 Active 2 1 cab0,cell4 cup2004

WARNINGS

HP-UX 11i Version 2 is the last HP-UX release on which passing passwd for the -u and -g options is supported. Specifying passwd on the command line will not be supported in future releases. The command will prompt for the password.

DEPENDENCIES

This command uses the Web-Based Enterprise Management (WBEM) product and certain of its configuration settings. If you encounter connection errors when using the -u option, check that the following two conditions are satisfied:

  • Use the cimconfig command (see cimconfig(1M) in the WBEM product documentation) to verify (and correct if necessary) the setting of the following two variables:

    • enableRemotePrivilegedUserAccess=true

    • enableHttpsConnection=true

  • You must have appended the target partition's digital certificate to the local partition's Trust Store file. For the nPartition commands, the Trust Store file is /var/opt/wbem/client.pem.

    Note: You must have appended the target partition's digital certificate to the local partition's Trust Store file. For the npartition commands, the Trust Store file is /var/opt/wbem/client.pem. This file is used by the commands that come with WBEM installation. Hence, if the commands that come with the WBEM installation trust a target partition, then npartition commands will also trust the target partition.

Refer to the WBEM documents specified in the SEE ALSO section below for further information.

AUTHOR

parstatus was developed by the Hewlett-Packard Company.

SEE ALSO

fruled(1), cplxmodify(1M), frupower(1M), parcreate(1M), parmgr(1M), parmodify(1M), parremove(1M), parunlock(1M), partition(5).

HP System Partitions Guide on http://docs.hp.com,

HP WBEM Services for HP-UX System Administrator's Guide on http://docs.hp.com,

HP WBEM Services for HP-UX 11i v2.0 on Integrity Servers Version A.01.05 Release Notes on http://docs.hp.com.