Appendices¶
Diskless images¶
Please ensure the following steps have been completed on the xCAT Management node:
- xCAT has been installed and the basic configuration has been completed.
- Section 2.2 has been completed and the cast-boost rpms are currently accessible at
${HOME}/rpmbuild/RPMS/ppc64le
. - The
ibm-flightlog-1.5.0-*.ppc64le
is present on the xCAT Management node. - Install
createrepo
for building the other packages directory.
After verifying the above steps have been completed do the following:
- Generate the osimages for your version of red hat:
$ copycds RHEL-7.5-Server-ppc64le-dvd1.iso
$ lsdef –t osimage
- Copy the “netboot” image of the osimages created in the previous step and rename it:
$ image_input="rhels7.5-ppc64le-netboot-compute"
$ image_output="rhels7.5-ppc64le-diskless-compute"
$ lsdef -t osimage -z $image_input | sed -e "s/$image_input/$image_output/g" | mkdef -z
- Move the cast-boost rpms to the otherpkgdir directory for the generation of the diskless image:
$ lsdef -t osimage rhels7.5-ppc64le-diskless-compute
$ cp cast-boost* /install/post/otherpkgs/rhels7.5/ppc64le/cast-boost
$ createrepo /install/post/otherpkgs/rhels7.5/ppc64le/cast-boost
- Move the CSM rpms to the otherpkgdir directory:
$ cp csm_rpms/* /install/post/otherpkgs/rhels7.5/ppc64le/csm
$ createrepo /install/post/otherpkgs/rhels7.5/ppc64le/csm
- Run creatrepo one last time:
$ createrepo /install/post/otherpkgs/rhels7.5/ppc64le
- Add the following to a package list in the otherpkgdir, then add the package list to the osimage:
$ vi /install/post/otherpkgs/rhels7.5/ppc64le/csm.pkglist
cast-boost/cast-boost-*
csm/ibm-flightlog-1.5.0-*.ppc64le
csm/ibm-csm-core-1.5.0-*.ppc64le
csm/ibm-csm-api-1.5.0-*.ppc64le
$ chdef -t osimage rhels7.5-ppc64le-diskless-compute otherpkglist=/install/post/otherpkgs/rhels7.5/ppc64le/csm.pkglist
- Generate and package the diskless image:
$ genimage rhels7.5-ppc64le-diskless-compute
$ packimage rhels7.5-ppc64le-diskless-compute