RMF HARIPU/HARCPU Relationship

All the information stored in the HARIPU file is summarized in the HARCPU file. The only difference is data granularity. HARIPU contains logical processors' detailed information, while HARCPU contains LPAR level totals.
rm
In order to fully understand the structural differences between these two files, it is important to remember that, currently, only one type of logical partition can create SMF type 70 records, and hence, populate the HARIPU/HARCPU files: z/OS images.
A z/OS LPAR may be configured either with standard CP processors only or a mix of standard CP and specialized processors (zAAPs, zIIPs). Specialized processors' activity must be kept separate from standard CP processors' activity.
Think of the HARIPU/HARCPU files' organization in terms of tables with rows and columns. The HARIPU file contains one row per logical processor configured within a logical partition. In each row, one column is used to identify whether the remaining metrics are attributable to a standard CP, zAAP, or zIIP processor. The same information is represented in the HARCPU file by a single row for each logical partition with three sets of summarized data columns: one for standard CP processors' metrics, one for zAAP metrics, and one for zIIP metrics.
Example
Let's assume the following PR/SM configuration:
  • SYS1 is z/OS LPAR configured with two standard CP processors, one zAAP, and one zIIP.
  • SYS2 is z/OS LPAR configured with two standard CP processors.
HARIPU structure
System Processor Engine Processor Name Address Type Busy Time ------ --------- ------ --------- SYS1 0 CP 07:00 SYS1 1 CP 07:00 SYS1 2 IFA 12:00 SYS1 3 IIP 05:00 SYS2 0 CP 03:00 SYS2 1 CP 03:00
HARCPU structure
System Std CP zAAP zIIP Name Busy Time Busy Time Busy Time ------ --------- --------- --------- SYS1 14:00 12:00 05:00 SYS2 06:00 00:00 00:00
For SYS1, busy times for processors 0 and 1 have been consolidated in the overall busy time for all standard CP processors (same for SYS2), busy time for the zAAP (processor 2) has been summarized in the SYS1 overall busy time for all zAAPs, and busy time for the zIIP (processor 3) has been summarized in the SYS1 overall busy time for all zIIPs.