Providing CPI values through a configuration file

6.18 LPAR mode

Use the settings in the /etc/sysconfig/cpi configuration file to specify CPI values for your Linux® instance. Values in the configuration file persist across reboots and take effect the next time the Linux instance is booted.

About this task

The following settings are available:

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

Your Linux instance sets Linux as the operating system type by default.

The system level is set automatically, see System level CPI value.

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

Procedure

  1. Open the configuration file in a text editor, for example:
    # sudo vi /etc/sysconfig/cpi
  2. Find the setting you want to specify and enter a value.
    The /etc/sysconfig/cpi configuration file looks similar to this:
    
    # Apply control program identification (CPI) settings
    #
    # The system and sysplex names consist of up to eight characters of
    # the following set: A-Z, 0-9, $, @, #, and blank.
    #
    # CPI system type
    #
    CPI_SYSTEM_TYPE="LINUX"
    #
    # CPI system name
    #
    CPI_SYSTEM_NAME=""
    #
    # CPI sysplex name
    #
    CPI_SYSPLEX_NAME=""
  3. Save your changes and exit the text editor.
    Changes made to the /etc/sysconfig/cpi configuration file take effect at the next boot.

Example

To specify a system name:
  1. Open the /etc/sysconfig/cpi configuration file in a text editor.
  2. Find the location of the system name and enter a name:
    ...
    # CPI system name
    #
    CPI_SYSTEM_NAME="MYSYSTEM"
    ...
  3. Save your changes and exit the text editor.