Setting CPI values through the sysfs interface

6.18 LPAR mode

Use the set attribute in the /etc/sysconfig/cpi directory in sysfs to send data to the Support Element (SE). Values that are set through the sysfs interface do not persist across reboots and apply to the running Linux instance only.

About this task

The following settings are available:

  • The system name.
  • The sysplex name (if applicable).
  • The operating system type.
  • The system level.

The values for the system name, sysplex name, and system type are strings that consists of up to eight characters of the following set: A-Z, 0-9, $, @, #, and blank. For the system level, see System level CPI value.

Procedure

  1. Use a command of the form:
    # echo <value> > /sys/firmware/cpi/<setting>
    where <setting> is one of system_name, sysplex_name, system_type, or system_level.
    For example, to set the system name:
    # echo MYSYSTEM > /sys/firmware/cpi/system_name
  2. To send the data in system_name, sysplex_name, system_type, and system_level to the SE, write an arbitrary string to the set attribute.
    For example:
    # echo 1 > /sys/firmware/cpi/set