IBM Support

Cloud-Init Support for IBM i

News


Abstract

The article introduces Cloud-Init support for IBM i

Content

You are in: IBM i Technology Updates > Systems ManagementIBM Power Virtualization Center (PowerVC) for IBM i > Cloud-Init Support for IBM i


5733-OPS is deprecated and end of life announced (the product was never supported). Now cloud-init is available for IBM i 7.2 and newer in RPM form.

How to install cloud-init on IBM i?

Certain LPPs and PTFs are needed for IBM i in order to get cloud-init to be working. Please follow the below steps to install and configure cloud-init on IBM i:

1. Download and install the required license programs.

  • 5770DG1 with *ALL
  • 5770SS1 with Option 30 and 33
  • 5733SC1 *BASE and option 1

2. Install following rpm packages.

  • python3-ibm_db
  • python3
  • cloud-init-1.3

Note, 1) The listed version of rpm packages is the required lowest version. 2) The rpm packages can be installed by yum, refer to https://ibmi-oss-docs.readthedocs.io/en/latest/yum/README.html#installation for detailed information.


3. Install the following required PTFs and PTF groups:

  • 7.2: SF99713, MF61899(permanently apply), SI62642, SI63163, MF65261, MF65218, SI76296
  • 7.3: MF61942(permanently apply), SI62642, SI63041, MF63830, SI76055
  • 7.4: SI76284

4. Capture a virtual machine.

For IBM i 7.2 and 7.3 on Power 8 and later version, cloud-init is enabled automatically.
For IBM i 7.2 and 7.3 or other IBM i versions running on Power 7 or older Power system, you need to make sure the process in the ‘How to enable the cloud-init on IBM i?’ section below has been followed and completed to run cloud-init on IBM i.

How to enable the cloud-init on IBM i?
To enable the cloud-init on an IBM i machine manually, run CALL PGM(QSYS/QAENGCHG) PARM(*ENABLECI) on the virtual machine.
Note: This command must be run with a user profile that has the following access privileges:
*ALLOBJ
*AUDIT
*IOSYSCFG
*JOBCTL
*SAVSYS
*SECADM
*SERVICE
*SPLCTL
After you enable the cloud-init on the IBM i server, power off the virtual machine and it will be ready to capture.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Component":"Cloud-Init","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
01 December 2021

UID

ibm11166194