HP-UX nPartition Commands


Let's assume that you nPartition-based system is up and running and we want to issue some commands to see how it is configured. The first command we'll issue is parstatus -P to get some high-level information about the nPartitions in our system:

 mtvnhp01:/>  parstatus -P  [Partition] Par              # of  # of I/O Num Status       Cells Chassis  Core cell  Partition Name === ============ ===== ======== ========== ==============  0  active       2     1     cab0,cell0 mtvnhp01  1  active       1     1     cab0,cell1 mtvnhp02 mtvnhp01:/> 

This output shows that we have two nPartitions on our rp8400. The first of the nPartitions has two cells and the second has one.

Next , we'll issue the parstatus command with a verbose output of nPartition p0:

 #  parstatus -V -p0  [Partition] Partition Number       : 0 Partition Name         : P1 Status                 : active IP address             : 0.0.0.0 Primary Boot Path      : 0/0/1/0/0.0.0 Alternate Boot Path    : 0/0/6/0/0.1.0 HA Alternate Boot Path : 0/0/1/0/0.6.0 PDC Revision           : 32.5 IODCH Version          : 5E70 CPU Speed              : 750 MHz Core Cell              : cab0,cell0 [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    4.0/12.0 cab0,bay1,chassis3  yes     yes  0 cab0,cell1 active base  4/0/4    4.0/12.0 cab0,bay1,chassis1  yes     yes  0 cab0,cell2 active base  4/0/4    4.0/12.0 -                   no      yes  0 cab0,cell3 active base  4/0/4    4.0/12.0 -                   no      yes  0 cab0,cell4 active base  4/0/4    4.0/12.0 cab0,bay0,chassis1  yes     yes  0 [Chassis]                                  Core Connected  Par Hardware Location   Usage        IO   To         Num =================== ============ ==== ========== === cab0,bay1,chassis3  active       yes  cab0,cell0 0 cab0,bay1,chassis1  active       yes  cab0,cell1 0 cab0,bay0,chassis1  active       yes  cab0,cell4 0 

This listing shows that we have one nPartition configured on the Superdome complex and that cell0-4 are part of p0 .

To determine the local nPartition on a system we'd issue parstatus -w as shown in the following output:

 mtvnhp01:/>  parstatus -w  The local partition number is 0. mtvnhp01:/> 

The next command we'll issue is parstatus -C to get details about the way in which our cells are configured, as shown in the following listing:

 mtvnhp01:/>  parstatus -C  [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    8.0/ 0.0 cab0,bay0,chassis0  yes     yes  0 cab0,cell1 active core  4/0/4    4.0/ 0.0 cab0,bay0,chassis1  yes     yes  1 cab0,cell2 active base  4/0/4    8.0/ 0.0 -                   no      yes  0 cab0,cell3 absent       -       -         -                   -       -    - mtvnhp01:/> 

This output shows that we have several cells in our system. The headings indicate that we are provided with a lot of information about the physical aspects of the cells, such as their location, hardware paths, and so on, as well as configuration information such as whether they are active or inactive .

Now let's issue parstatus -I to list all of the I/O chassis on our system:

 mtvnhp01:/>  parstatus -I  [Chassis]                                  Core Connected  Par Hardware Location   Usage        IO   To         Num =================== ============ ==== ========== === cab0,bay0,chassis0  active       yes  cab0,cell0 0 cab0,bay0,chassis1  active       yes  cab0,cell1 1 mtvnhp01:/> 

This output lists everything related to I/O on our system.

The parstatus command without any options produces a more detailed list of results, as shown in the following output:

 mtvnhp02:/>  parstatus  Warning: No action specified. Default behaviour is display all. [Complex]    Complex Name :    Complex Capacity      Compute Cabinet (4 cell capable) : 1    Active GSP Location : cabinet 0    Model : 9000/800/S16K-A    Serial Number : USR41520CK    Current Product Number : A6093A    Original Product Number : A6093A    Complex Profile Revision : 1.0    The total number of Partitions Present : 2 [Cabinet]                  Cabinet   I/O       Bulk Power                  Fans      Fans      Supplies                  OK/       OK/       OK/ Cab              Failed/   Failed/   Failed/ Num Cabinet Type N Status  N Status  N Status     GSP === ============ ========= ========= ==========   ======  0  S16K-A       21/ 0/ N+  6/ 0/ N+  6/ 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. [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    8.0/ 0.0 cab0,bay0,chassis0  yes     yes  0 cab0,cell1 active core  4/0/4    4.0/ 0.0 cab0,bay0,chassis1  yes     yes  1 cab0,cell2 active base  4/0/4    8.0/ 0.0 -                  no      yes  0 cab0,cell3 absent       -       -         -                  -       -    - [Chassis]                                  Core Connected  Par Hardware Location   Usage        IO   To         Num =================== ============ ==== ========== === cab0,bay0,chassis0  active       yes  cab0,cell0 0 cab0,bay0,chassis1  active       yes  cab0,cell1 1 [Partition] Par              # of  # of I/O Num Status       Cells Chassis  Core cell  Partition Name (first 30 chars) === ============ ===== ======== ========== ===============================  0  active         2      1     cab0,cell0 mtvnhp01  1  active         1      1     cab0,cell1 mtvnhp02 mtvnhp02:/> 

This is a useful summary of the system showing the capacity of the system and which cell boards and chassis are devoted to which nPartitions.

Next let's take a look at detailed information for the local nPartition. We're interested in all of the components of our local nPartition as well as a detail of PCI I/O. The following listing shows the PCI detail with the rad -q command:

 #  rad -q  Driver(s) Slot        Path        Bus   Speed   Power   Occupied    Suspended   Capable 0-0-1-0     4/0/0       0     33      On      Yes         No          No 0-0-1-1     4/0/1/0     8     33      On      Yes         No          Yes 0-0-1-2     4/0/2/0     16    33      On      Yes         No          Yes 0-0-1-3     4/0/3/0     24    33      On      Yes         No          Yes 0-0-1-4     4/0/4/0     32    66      On      Yes         No          Yes 0-0-1-5     4/0/6/0     48    33      On      Yes         No          Yes 0-0-1-6     4/0/14/0    112   66      On      Yes         No          Yes 0-0-1-7     4/0/12/0    96    33      On      Yes         No          Yes 0-0-1-8     4/0/11/0    88    66      On      Yes         No          Yes 0-0-1-9     4/0/10/0    80    33      On      Yes         No          Yes 0-0-1-10    4/0/9/0     72    33      On      Yes         No          Yes 0-0-1-11    4/0/8/0     64    33      On      Yes         No          Yes 0-0-3-0     5/0/0       0     33      On      Yes         No          No 0-0-3-1     5/0/1/0     8     33      On      Yes         No          Yes 0-0-3-2     5/0/2/0     16    33      On      Yes         No          Yes 0-0-3-3     5/0/3/0     24    33      On      Yes         No          Yes 0-0-3-4     5/0/4/0     32    66      On      Yes         No          Yes 0-0-3-5     5/0/6/0     48    33      On      Yes         No          Yes 0-0-3-6     5/0/14/0    112   66      On      Yes         No          Yes 0-0-3-7     5/0/12/0    96    33      On      Yes         No          Yes 0-0-3-8     5/0/11/0    88    66      On      Yes         No          Yes 0-0-3-9     5/0/10/0    80    33      On      Yes         No          Yes 0-0-3-10    5/0/9/0     72    33      On      Yes         No          Yes 0-0-3-11    5/0/8/0     64    33      On      Yes         No          Yes 0-1-1-0     1/0/0       0     33      On      Yes         No          No 0-1-1-1     1/0/1/0     8     33      On      Yes         No          Yes 0-1-1-2     1/0/2/0     16    33      On      Yes         No          Yes 0-1-1-3     1/0/3/0     24    33      On      Yes         No          Yes 0-1-1-4     1/0/4/0     32    66      On      Yes         No          Yes 0-1-1-5     1/0/6/0     48    33      On      Yes         No          Yes 0-1-1-6     1/0/14/0    112   66      On      Yes         No          Yes 0-1-1-7     1/0/12/0    96    33      On      Yes         No          Yes 0-1-1-8     1/0/11/0    88    66      On      Yes         No          Yes 0-1-1-9     1/0/10/0    80    33      On      Yes         No          Yes 0-1-1-10    1/0/9/0     72    33      On      Yes         No          Yes 0-1-1-11    1/0/8/0     64    33      On      Yes         No          Yes 0-1-3-0     0/0/0       0     33      On      Yes         No          No 0-1-3-1     0/0/1/0     8     33      On      Yes         No          Yes 0-1-3-2     0/0/2/0     16    33      On      Yes         No          Yes 0-1-3-3     0/0/3/0     24    33      On      Yes         No          Yes 0-1-3-4     0/0/4/0     32    66      On      Yes         No          Yes 0-1-3-5     0/0/6/0     48    33      On      Yes         No          Yes 0-1-3-6     0/0/14/0    112   66      On      Yes         No          Yes 0-1-3-7     0/0/12/0    96    33      On      Yes         No          Yes 0-1-3-8     0/0/11/0    88    66      On      Yes         No          Yes 0-1-3-9     0/0/10/0    80    33      On      Yes         No          Yes 0-1-3-10    0/0/9/0     72    33      On      Yes         No          Yes 0-1-3-11    0/0/8/0     64    33      On      Yes         No          Yes # 

rad produces an output that gives us a lot of detail about the nPartitions in our system. You should run this command on your Superdome complex so that you can see all of the components of which your Superdome is comprised. There is a lot of detail in this output that is not as easy to understand as the parstatus output, so let's take a closer look at a couple of these fields.

The first field is the slot information, which is in the following form:

 Cabinet-Bay-Chassis-Slot    such as 0-0-1-0 for the first entry 

The second field, which is the Path , contains the following

 Cell/SBA/LBA/Device     such as 0/0/1/1 for the second entry 

As with Virtual Partitions (vPars) covered in Chapter 16, you need to know something about the structure of your system in order to work with nPartitions. The System Bus Adapter (SBA) and Local Bus Adapters (LBA) are not components that you would typically worry about if you were not working with partitions. For the purpose of working through the information in this chapter, it is sufficient to know that there is a hierarchical I/O structure on HP 9000s in which the SBA exists at a higher level than the LBA and there are typically several LBAs per SBA. That is why for the second field, SBA of 0, for instance, you'll see several third fields, which are many LBAs per SBA.

Next let's issue ioscan -f to see all of the components of our local nPartition number in a two-nPartition rp8400:

 mtvnhp01:/>  ioscan -f  Class       I  H/W Path        Driver    S/W State   H/W Type     Description ============================================================================== root        0                  root      CLAIMED     BUS_NEXUS cell        0  0               cell      CLAIMED     BUS_NEXUS ioa         0  0/0             sba       CLAIMED     BUS_NEXUS    System Bus Ada pter (804) ba          0  0/0/0           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) unknown    -1  0/0/0/0/0                 UNCLAIMED   UNKNOWN      PCI BaseSystem  (103c128d) tty         0  0/0/0/0/1       asio0     CLAIMED     INTERFACE    PCI Serial (10 3c1048) lan         0  0/0/0/1/0       gelan     CLAIMED     INTERFACE    HP A3639-60019  1000Base-T Built-in I/O ext_bus     0  0/0/0/2/0       c720      CLAIMED     INTERFACE    SCSI C87x Ultr a Wide Single-Ended target      0  0/0/0/2/0.6     tgt       CLAIMED     DEVICE disk        0  0/0/0/2/0.6.0   sdisk     CLAIMED     DEVICE       HP 36.4GST3367 06LC target      1  0/0/0/2/0.7     tgt       CLAIMED     DEVICE ctl         0  0/0/0/2/0.7.0   sctl      CLAIMED     DEVICE       Initiator ext_bus     1  0/0/0/2/1       c720      CLAIMED     INTERFACE    SCSI C87x Fast  Wide Single-Ended target      2  0/0/0/2/1.2     tgt       CLAIMED     DEVICE disk        1  0/0/0/2/1.2.0   sdisk     CLAIMED     DEVICE       HP      DVD-RO M 305 target      3  0/0/0/2/1.7     tgt       CLAIMED     DEVICE ctl         1  0/0/0/2/1.7.0   sctl      CLAIMED     DEVICE       Initiator ext_bus     2  0/0/0/3/0       c720      CLAIMED     INTERFACE    SCSI C896 Fast  Wide Single-Ended target      4  0/0/0/3/0.6     tgt       CLAIMED     DEVICE disk        9  0/0/0/3/0.6.0   sdisk     CLAIMED     DEVICE       HP 36.4GST3367 04LC target      5  0/0/0/3/0.7     tgt       CLAIMED     DEVICE ctl         2  0/0/0/3/0.7.0   sctl      CLAIMED     DEVICE       Initiator ext_bus     3  0/0/0/3/1       c720      CLAIMED     INTERFACE    SCSI C896 Fast  Wide LVD target      6  0/0/0/3/1.7     tgt       CLAIMED     DEVICE ctl         3  0/0/0/3/1.7.0   sctl      CLAIMED     DEVICE       Initiator ba          1  0/0/1           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) ba          2  0/0/2           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) ba          3  0/0/4           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) ba          4  0/0/6           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) ba          5  0/0/8           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) fc          0  0/0/8/0/0       td        CLAIMED     INTERFACE    HP Tachyon TL/ TS Fibre Channel Mass Storage Adapter fcp         2  0/0/8/0/0.10    fcp       CLAIMED     INTERFACE    FCP Domain ext_bus    20  0/0/8/0/0.10.30.0.0        fcparray  CLAIMED     INTERFACE    FCP  Array Interface target      7  0/0/8/0/0.10.30.0.0.0      tgt       CLAIMED     DEVICE disk       12  0/0/8/0/0.10.30.0.0.0.0    sdisk     CLAIMED     DEVICE       HP      A6188A disk       13  0/0/8/0/0.10.30.0.0.0.1    sdisk     CLAIMED     DEVICE       HP      A6188A disk       16  0/0/8/0/0.10.30.0.0.0.2    sdisk     CLAIMED     DEVICE       HP      A6188A ext_bus    21  0/0/8/0/0.10.30.255.0      fcpdev    CLAIMED     INTERFACE    FCP  Device Interface target      8  0/0/8/0/0.10.30.255.0.0    tgt       CLAIMED     DEVICE ctl        14  0/0/8/0/0.10.30.255.0.0.0  sctl      CLAIMED     DEVICE       HP      A6188A ext_bus    22  0/0/8/0/0.10.31.0.0        fcparray  CLAIMED     INTERFACE    FCP  Array Interface target      9  0/0/8/0/0.10.31.0.0.0      tgt       CLAIMED     DEVICE disk       14  0/0/8/0/0.10.31.0.0.0.0    sdisk     CLAIMED     DEVICE       HP      A6188A disk       15  0/0/8/0/0.10.31.0.0.0.1    sdisk     CLAIMED     DEVICE       HP      A6188A disk       17  0/0/8/0/0.10.31.0.0.0.2    sdisk     CLAIMED     DEVICE       HP      A6188A ext_bus    23  0/0/8/0/0.10.31.255.0      fcpdev    CLAIMED     INTERFACE    FCP  Device Interface target     10  0/0/8/0/0.10.31.255.0.0    tgt       CLAIMED     DEVICE ctl        15  0/0/8/0/0.10.31.255.0.0.0  sctl      CLAIMED     DEVICE       HP      A6188A ba          6  0/0/10          lba       CLAIMED   BUS_NEXUS   Local PCI Bus Adapter (782) ba          7  0/0/10/0/0      PCItoPCI  CLAIMED   BUS_NEXUS   PCItoPCI Bridg e lan         1  0/0/10/0/0/4/0  btlan     CLAIMED   INTERFACE   HP A5506B PCI 10/100Base-TX 4 Port lan         2  0/0/10/0/0/5/0  btlan     CLAIMED   INTERFACE   HP A5506B PCI 10/100Base-TX 4 Port lan         3  0/0/10/0/0/6/0  btlan     CLAIMED   INTERFACE   HP A5506B PCI 10/100Base-TX 4 Port lan         4  0/0/10/0/0/7/0  btlan     CLAIMED   INTERFACE   HP A5506B PCI 10/100Base-TX 4 Port ba          8  0/0/12          lba       CLAIMED   BUS_NEXUS   Local PCI Bus Adapter (782) ba          9  0/0/14          lba       CLAIMED   BUS_NEXUS   Local PCI Bus Adapter (782) memory      0  0/5             memory    CLAIMED   MEMORY      Memory processor   0  0/10            processor CLAIMED   PROCESSOR   Processor processor   1  0/11            processor CLAIMED   PROCESSOR   Processor processor   2  0/12            processor CLAIMED   PROCESSOR   Processor processor   3  0/13            processor CLAIMED   PROCESSOR   Processor cell        1  2               cell      CLAIMED   BUS_NEXUS memory      1 2/5              memory    CLAIMED   MEMORY      Memory processor   4 2/10             processor CLAIMED   PROCESSOR   Processor processor   5 2/11             processor CLAIMED   PROCESSOR   Processor processor   6 2/12             processor CLAIMED   PROCESSOR   Processor processor   7 2/13             processor CLAIMED   PROCESSOR   Processor mtvnhp01:/> 

This ioscan is context sensitive in that all of the components in nPartition are shown in its output including a total of eight processors. Cell and 2 are in this nPartition. We'll confirm this later. The following listing shows an ioscan output of the second nPartition in the same rp8400:

 mtvnhp02:/>  ioscan -f  Class       I  H/W Path        Driver    S/W State   H/W Type     Description ============================================================================== root        0                  root      CLAIMED     BUS_NEXUS cell        0  1               cell      CLAIMED     BUS_NEXUS ioa         0  1/0             sba       CLAIMED     BUS_NEXUS    System Bus Ada pter (804) ba          0  1/0/0           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) unknown    -1  1/0/0/0/0                 UNCLAIMED   UNKNOWN      PCI BaseSystem  (103c128d) tty         0  1/0/0/0/1       asio0     CLAIMED     INTERFACE    PCI Serial (10 3c1048) lan         0  1/0/0/1/0       gelan     CLAIMED     INTERFACE    HP A3639-60019  1000Base-T Built-in I/O ext_bus     0  1/0/0/2/0       c720      CLAIMED     INTERFACE    SCSI C87x Ultr a Wide Single-Ended target      0  1/0/0/2/0.6     tgt       CLAIMED     DEVICE disk        0  1/0/0/2/0.6.0   sdisk     CLAIMED     DEVICE       HP 36.4GST3367 06LC target      1  1/0/0/2/0.7     tgt       CLAIMED     DEVICE ctl         0  1/0/0/2/0.7.0   sctl      CLAIMED     DEVICE       Initiator ext_bus     1  1/0/0/2/1       c720      CLAIMED     INTERFACE    SCSI C87x Ultr a Wide Single-Ended target      2  1/0/0/2/1.0     tgt       CLAIMED     DEVICE tape        0  1/0/0/2/1.0.0   stape     CLAIMED     DEVICE       HP      C5683A target      3  1/0/0/2/1.7     tgt       CLAIMED     DEVICE ctl         1  1/0/0/2/1.7.0   sctl      CLAIMED     DEVICE       Initiator ext_bus     2  1/0/0/3/0       c720      CLAIMED     INTERFACE    SCSI C896 Ultr a2 Wide Single-Ended target      4  1/0/0/3/0.6     tgt       CLAIMED     DEVICE disk        1  1/0/0/3/0.6.0   sdisk     CLAIMED     DEVICE       HP 36.4GST3367 04LC target      5  1/0/0/3/0.7     tgt       CLAIMED     DEVICE ctl         2  1/0/0/3/0.7.0   sctl      CLAIMED     DEVICE       Initiator ext_bus     3  1/0/0/3/1       c720      CLAIMED     INTERFACE    SCSI C896 Ultr a2 Wide LVD target      6  1/0/0/3/1.7     tgt       CLAIMED     DEVICE ctl         3  1/0/0/3/1.7.0   sctl      CLAIMED     DEVICE       Initiator ba          1  1/0/1           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) ba          2  1/0/2           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) ba          3  1/0/4           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) ba          4  1/0/6           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) ba          5  1/0/8           lba       CLAIMED     BUS_NEXUS    Local PCI Bus Adapter (782) fc          0  1/0/8/0/0       td        CLAIMED     INTERFACE    HP Tachyon TL/ TS Fibre Channel Mass Storage Adapter fcp         0  1/0/8/0/0.10    fcp       CLAIMED     INTERFACE    FCP Domain ext_bus     4  1/0/8/0/0.10.30.0.0        fcparray  CLAIMED     INTERFACE    FCP  Array Interface target      7  1/0/8/0/0.10.30.0.0.0      tgt       CLAIMED     DEVICE disk        2  1/0/8/0/0.10.30.0.0.0.0    sdisk     CLAIMED     DEVICE       HP      A6188A disk        3  1/0/8/0/0.10.30.0.0.0.1    sdisk     CLAIMED     DEVICE       HP      A6188A disk        4  1/0/8/0/0.10.30.0.0.0.2    sdisk     CLAIMED     DEVICE       HP      A6188A ext_bus     5  1/0/8/0/0.10.30.255.0      fcpdev    CLAIMED     INTERFACE    FCP  Device Interface target      8  1/0/8/0/0.10.30.255.0.0    tgt       CLAIMED     DEVICE ctl         4  1/0/8/0/0.10.30.255.0.0.0  sctl      CLAIMED     DEVICE       HP      A6188A ext_bus     6  1/0/8/0/0.10.31.0.0        fcparray  CLAIMED     INTERFACE    FCP  Array Interface target      9  1/0/8/0/0.10.31.0.0.0      tgt       CLAIMED     DEVICE disk        5  1/0/8/0/0.10.31.0.0.0.0    sdisk     CLAIMED     DEVICE       HP      A6188A disk        6  1/0/8/0/0.10.31.0.0.0.1    sdisk     CLAIMED     DEVICE       HP      A6188A disk        7  1/0/8/0/0.10.31.0.0.0.2    sdisk     CLAIMED     DEVICE       HP      A6188A ext_bus     7  1/0/8/0/0.10.31.255.0      fcpdev    CLAIMED     INTERFACE    FCP  Device Interface target     10  1/0/8/0/0.10.31.255.0.0    tgt      CLAIMED     DEVICE ctl         5  1/0/8/0/0.10.31.255.0.0.0  sctl     CLAIMED     DEVICE        HP      A6188A ba          6  1/0/10          lba       CLAIMED    BUS_NEXUS    Local PCI Bus Adapter (782) ba          7  1/0/10/0/0      PCItoPCI  CLAIMED    BUS_NEXUS    PCItoPCI Bridg e lan         1  1/0/10/0/0/4/0  btlan     CLAIMED    INTERFACE    HP A5506B PCI 10/100Base-TX 4 Port lan         2  1/0/10/0/0/5/0  btlan     CLAIMED    INTERFACE    HP A5506B PCI 10/100Base-TX 4 Port lan         3  1/0/10/0/0/6/0  btlan     CLAIMED    INTERFACE    HP A5506B PCI 10/100Base-TX 4 Port lan         4  1/0/10/0/0/7/0  btlan     CLAIMED    INTERFACE    HP A5506B PCI 10/100Base-TX 4 Port ba          8  1/0/12          lba       CLAIMED    BUS_NEXUS    Local PCI Bus Adapter (782) ba          9  1/0/14          lba       CLAIMED    BUS_NEXUS    Local PCI Bus Adapter (782) memory      0  1/5             memory    CLAIMED    MEMORY       Memory processor   0  1/10            processor CLAIMED    PROCESSOR    Processor processor   1  1/11            processor CLAIMED    PROCESSOR    Processor processor   2  1/12            processor CLAIMED    PROCESSOR    Processor processor   3  1/13            processor CLAIMED    PROCESSOR    Processor mtvnhp02:/> 

This ioscan output includes all components in nPartition in this rp8400. Cell 1 isshowninthis ioscan output which we'll confirm later.

The ioscan outputs produced a lot of components for our local partition. The form of the ioscan output for an nPartition looks like the following:

 Field 1         Field 2        3     Field 4    Field 5  Field 6 Global cell no.  /  proc, mem, or SBA  /  LBA  /  Card address  /  Function  /  dev addr 

The six fields in the ioscan provide you with a lot of useful information about the components in your local nPartition. The LBA number is not the same as the PCI card number in many cases. Be careful when configuring I/O on any HP 9000 to check the PCI card slot vs. the LBA number.

This ioscan output shows the global cell number in the first field. We know that this system has the capacity of four cell boards. Let's issue the parstatus command using the -c option and specify all four cell boards:

 mtvnhp02:/>  parstatus -c0  [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    8.0/ 0.0 cab0,bay0,chassis0  yes     yes  0 mtvnhp02:/>  parstatus -c1  [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,cell1 active core  4/0/4   4.0/ 0.0  cab0,bay0,chassis1  yes     yes  1 mtvnhp02:/>  parstatus -c2  [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,cell2 active base  4/0/4    8.0/ 0.0 -                   no      yes  0 mtvnhp02:/>  parstatus -c3  [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,cell3 absent       -       -         -                   -       -    - mtvnhp02:/> 

This output shows that cells and 2 are part of nPartition and that cell 1 is in nPartition 1. This jives with the ioscan output we produced earlier. Cell 3 is absent, meaning that the cell board is not now in the system.

The commands we've issued in this section have produced a lot of useful information about the way in which our nPartitions are configured. There are also many commands that you can issue to create, modify, remove, and manipulate nPartitions in other ways. Table 17-1 summarizes some of the commonly used nPartition-related commands:

Table 17-1. Commonly Used nPartition-Related Commands

Command

Description

ioscan

Scan system hardware and produce results. This command is context sensitive in that it produces output based on the local nPartition.

rad

Perform online addition and replacement-related tasks . Provides a detailed hardware summary when issued with no options.

parmgr

Graphical interface for configuring and managing nPartitions.

parcreate

Create a new nPartition.

parmodify

Modify an existing nPartition.

parremove

Remove an existing nPartition.

parstatus

Show nPartition information.

parunlock

Unlock profile data.

fruled

Blink attention indicators.

frupower

Read status and control power for cells and I/O chassis.



HP-UX 11i Systems Administration Handbook and Toolkit
HP-UX 11i Systems Administration Handbook and Toolkit (2nd Edition)
ISBN: 0131018833
EAN: 2147483647
Year: 2003
Pages: 301

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net