HP Pay per use (PPU) User's Guide for versions 8.x > Chapter 3 Installing
and Configuring PPU SoftwareConfiguring PPU Software
After you have successfully installed the PPU 8.x software, you need to configure the PPU software connection to the utility meter. The utility meter must be configured on every partition in the complex (including virtual partitions on HP-UX systems).
You may need to perform up to three steps to configure a partition. At a minimum, you must set the name of the utility meter. If you want to specify a name other than your partition’s hostname as the system identifier, you must perform additional steps. If you want to set a cap, or maximum, for the number of active cores (HP-UX and OpenVMS systems only), you must also perform additional steps. To summarize, in order to configure the PPU software you must do the following:
To configure the utility meter, execute the following command on each partition: /usr/sbin/ppuconfig -m meter Where meter is the fully-qualified hostname or IP address of the utility meter. This command/option performs a communication test to the utility meter and starts the ppud daemon. To configure the utility meter, open a command window on each Windows partition on the server and execute the following command: C:\Program Files (x86)\Hewlett-Packard\ppu> Where meter is the fully-qualified hostname or IP address of the utility meter. This command/option performs a communication test to the utility meter and starts the PPU Service. The command assumes that PPU was installed in the default location.
To configure the utility meter, execute the following DCL command on each partition: $ ppu config/meter_address=meter Where meter is the fully-qualified hostname or IP address of
the utility meter. After the utility meter is defined, you must
start the PPU_SERVER process. Use the DCL command below to start the server: The system identifier of a partition enables you to track your PPU system. The default system-identifier is the hostname of your partition. If you want to protect the identity of the hostname for your partition, you can change the system identifier to any value you choose. Examples of a system identifier are: an asset number, an HP support tag, or a description of a physical location. To set the system identifier of the partition, execute the following command: /usr/sbin/ppuconfig -s system_id Where system_id is an identifier for your partition.
The system identifier of a partition enables you to track your PPU system. The default system-identifier is the hostname of your partition. If you want to protect the identity of the hostname for your partition, you can change the system identifier to any value you choose. Examples of a system identifier are: an asset number, an HP support tag, or a description of a physical location. To set the system identifier of the partition, execute the following command: C:\Program Files (x86)\Hewlett-Packard\ppu> Where system_id is an identifier for your partition.
The system identifier of a partition enables you to track your PPU system. The default system identifier is the hostname of your partition. If you want to protect the identity of the hostname for your partition, you can change the system identifier to any value you choose. Examples of a system identifier are: an asset number, an HP support tag, or a description of a physical location. To set the system identifier of the partition, execute the following DCL command: $ ppu config/system_id=system_id Where system_id is an identifier for your partition.
You can specify the number of active cores on each partition in your PPU system. To cap the number of active cores for a given partition, execute the following command: HP-UX: /usr/sbin/ppuconfig -rc number OpenVMS: $ PPU CONFIG/CAP=number[/RECONCILE] Where number is the maximum number of active cores you want in the partition. The -r option on the HP-UX command and the /RECONCILE qualifier on the OpenVMS command causes the cap to take effect immediately (limiting the number of active cores without waiting for a reboot).
See “ppuconfig (1M) Manpage” for details on specifying a cap limiting the number of active cores. You can use the ppuconfig command (with no options) to view the settings for the utility meter and system identifier, and if a cap limiting the number of active cores is set. Example 3-1 Viewing system settings using the ppuconfig command Use the following commands to verify general system settings: HP-UX: OpenVMS: Windows Server 2003: You should see output similar to: Utility Meter IP/Hostname: meter1.corp.com See the “ppuconfig” descriptions in the appropriate system-specific Appendix (B or C) for details of the ppuconfig command. After specifying the utility meter (required), system identifier (optional), and active core limit cap (optional), execute the following command to verify the PPU software is communicating with the utility meter: OpenVMS: Windows Server 2003: You should see output similar to:
If you do not receive a similar message, correct the utility meter configuration according to the error message received. If you receive the correct message, your partition is properly configured to communicate with the utility meter, and no further configuration of the PPU software is necessary. To verify the utility-meter connection to HP, go to the PPU portal (see “PPU The existence of the report verifies that communication is established from the PPU software, to the utility meter, and ultimately to HP.
The ppud daemon is started when you specify a utility meter using the ppuconfig -m meter command. It also is started by init at reboot and is respawned if its process is stopped.
To verify the ppud daemon is running, execute the following command: /usr/bin/ps -e | grep ppud You should see the ppud daemon listed as an active process on the partition. If it is running, and the utility meter is properly configured, utilization information is sent to HP and your partition is correctly configured. If the ppud daemon is not listed as an active process, inspect the /etc/inittab file for an entry similar to the following (look toward the bottom of the file): ppud:23456:respawn:/usr/lbin/ppud # Pay per use daemon If the entry does not exist in the /etc/inittab, start the ppud daemon by specifying the utility meter with the following command: /usr/sbin/ppuconfig -m meter Where meter is the fully-qualified hostname or IP address of the utility meter. This command/option performs a communication test to the utility meter and starts the ppud daemon. The ppud daemon performs periodic operations based on the time of day. The daemon is spawned by init and obtains its time zone specification from the /etc/default/tz file. By default the time zone is set to EST5EDT. You can specify which time zone the ppud daemon uses to interpret its current time by modifying the entry in the /etc/default/tz file. Refer to the environ(5M) manpage for details of the TZ format. The PPU Service starts when the PPU software is installed (using the process described in “Installing PPU Software”), or when you specify a utility meter using the ppuconfig -m meter command. Thereafter it starts automatically each time the partition boots. To verify the PPU Service is running:
If the PPU Service is running, and the utility meter is properly configured, utilization information is sent to HP and your partition is correctly configured. To verify the PPU server is running, you may use the PPU CONFIG command. $ PPU CONFIG Utility Meter IP/Hostname: meter1.corp.com Alternatively, you can use the DCL PIPE command to verify the PPU_SERVER process is running. The SEARCH-I-NOMATCHES message listed below indicates the server is not running: |