ARM/x86 mixed architecture
It is possible to configure CHI-in-a-Box to support bare metal provisioning on both x86- and ARM-based bare metal hardware. There are a few steps, namely configuring support for iPXE, which when combined with UEFI boot can provide different EFI images to the pre-boot environment depending on the target host architecture.
The following assumes your Site Configuration is stored at $site_config
.
Configuration changes
$site_config/defaults.yml
:
You must additionally provide a custom ironic.conf file that enables the iPXE plugin:
Then, make sure the file contains the following lines
Apply changes
Post-config
Copy the iPXE binary from the v2021-11.01 CHI-in-a-Box release. You must deploy the EFI images to all Ironic conductor nodes (usually there is only one.) The Ironic conductor must already be running for this to succeed because it uses a
docker cp
.
Upload the IPA kernel and ramdisk images from the v2021-11.01 CHI-in-a-Box release to your site:
Configure your ARM nodes to deploy with the ARM64-compiled IPA image, and also set the architecture on the node, which will help iPXE understand it is an ARM node at boot time.
⚠️ Requires
python-doniclient>=0.4.0
Verification
You should now be able to reserve and provision an ARM node in your environment in addition to any existing x86 nodes, which should remain operational.
Last updated