Article Summary
This article introduces how to create a Phoenix ISO required when you reinstall Hypervisor and restore Controller VM (CVM).
SSH into the one of CVM in the cluster as a nutanix user
Run the command and verify which CVM has the most available space.
$ allssh df -h /home
Example
SSH into the CVM that is verified in step 2 as a nutanix user.
Run the command to confirm the foundation version.
$ cat ~/foundation/foundation_version
Run the command to create a directory for the ISOs.
$ mkdir /home/nutanix/foundation/tmp
Using WinSCP, copy the Hypervisor Installer that was downloaded in "Download Hypervisor Installer File" to the directory that was created in step 5.
Run the command to change the current directory.
$ cd /home/nutanix/foundation/bin
Run the command to create the Phoenix ISO image file including Hypervisor.
AHV
$ ./generate_iso phoenix --kvm=/home/nutanix/foundation/tmp/<Hypervisor Installer Filename that was copied in Step 5>
Example:
$ ./generate_iso phoenix --kvm=/home/nutanix/foundation/tmp/AHV-DVD-x86_64-el7.nutanix.20201105.2286.iso
ESXi
$ ./generate_iso phoenix --esx=/home/nutanix/foundation/tmp/<Hypervisor Installer Filename that was copied in Step 5>
Example:
$ ./generate_iso phoenix --esx=/home/nutanix/foundation/tmp/VMware-VMvisor-Installer-7.0.0.update01-17325551.x86_64-DellEMC_Customized-A01.iso
It can take from a few minutes to 10 minutes. When it is completed, the output is as follows.
Confirm the ISO image file (Filename:phoenix-x.x.x-xxx-x86_64.iso) is created in the directory /home/nutanix/foundation/tmp.
Run the command to confirm the md5 checksum of the Phoenix ISO image file.
$ md5sum /home/nutanix/foundation/tmp/<Phoenix ISO Filename that was confirmed in Step 9>
Download the created ISO with WinSCP to any machine.
Confirm the md5 checksum of the ISO that was downloaded in step 11 and if it matches the value confirmed in step 10.
If the value is not the same, the ISO might be corrupted during the download. So download the ISO again.
Delete the Hypervisor Installer and Phoenix ISO files in /home/nutanix/foundation/tmp of the CVM.