Step 12: Build Cluster Node Images
The build_image_x86_64.yml and build_image_aarch64.yml playbooks are used to build diskless images for x86_64 and aarch64 cluster nodes, respectively.
Each image is created based on the functional groups defined in the mapping file.
Caution
Limited validation has been performed on aarch64 platform.
Prerequisites:
Ensure the OIM has internet access.
Ensure that the mapping file contains nodes with the functional groups required for your environment. For more information on functional groups, see Step 2: Create Mapping File with Node Information.
Make sure the
local_repo.ymlis executed with software packages matching the target architecture. If the build is forx86_64, include software defined withx86_64. If the build is foraarch64, include software withaarch64. If the build needs to support both architectures, ensurelocal_repo.ymlis executed withsoftware_config.jsonthat include bothx86_64andaarch64.Ensure that OIMs running RHEL have an active subscription or are configured to access local repositories.
Note the compatibility between cluster OS and OIM OS below:
OIM OS
Cluster Node OS
Compatibility
RHEL
RHEL
Yes
Build Images for x86_64 Cluster Nodes
To build images for the nodes present in each functional group, do the following.
Navigate to the image build directory:
cd /omnia/build_image_x86_64
To build the image, run the following playbook:
ansible-playbook build_image_x86_64.yml
To verify that images are created for each functional group defined in the mapping file, run the following command on OIM:
s3cmd ls -Hr s3://boot-images
The images created for each functional group are listed in the boot-images directory.
Build Images for aarch64 Cluster Nodes
To build images for the nodes present in each functional group, do the following.
Prepare the aarch64 cluster nodes by following the steps provided in Preparing aarch64 Node.
Navigate to the image build directory:
cd /omnia/build_image_aarch64
To build the image, run the appropriate playbook based on the node architecture:
ansible-playbook build_image_aarch64.yml -i inventory
Sample aarch64 inventory:
[admin_aarch64] 10.0.0.1
To verify that images are created for each functional group defined in the mapping file, run the following command on the OIM:
s3cmd ls -Hr s3://boot-images
The images created for each functional group are listed in the boot-images directory.
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.