Nutanix – How to activate Images uploaded from PRISM Central

While uploading the ISO from local machine, single registered cluster is randomly identified for each specified image, and the image is uploaded to it.
The image becomes active on that selected PRISM Elements (PE) and become inactive on other PEs registered to PRISM Central (PC).

 

  • When a cluster needs to create a VM from an image that is available on another cluster, it downloads the image to its local storage.
  • If you want to upload the image on all registered PE, you can use URL option to upload the image.
  • If you want to use an image on a cluster that show as inactive, you can create the VM from Prism Central and use that ISO and place that VM on the target cluster.
  • Use the following command the activate the Image

 

Uploaded Images on PC:

 

If you check PE and see the inactivate Images

Cluster 1:

 

Cluster 2:

To avticate the Images, start a Putty session and Login to PC and send out the following 2 commands

nuclei -username admin -Password <adminpassword> cluster.list

nuclei -username admin -password <adminpassword> image.list

 

Example: Activate PVS-DHCP-D1.iso on Cluster 2. You Need the GUID of each entry.

Output from cluster.list

“Total Entities : 3”
“Entities :”
Name UUID State
NTX041CL1001 000579fd-1808-eb87-0000-0000000258a2 COMPLETE
NTX041CL2001 000579e9-ea06-e8ad-0000-0000000258a5 COMPLETE
Unnamed e0c7ad9e-d78a-40d1-a643-cd1082c10357 COMPLETE

Output from image.list

“Total Entities : 3”
“Length : 3”
“Offset : 0”
“Entities :”
Name UUID State
PVS-DHCP-D1.iso 8f287837-3779-4987-a9ca-5a01b7c5f269 COMPLETE
PVS-DHCP-D2.iso 5d575603-5fd9-4231-8072-b9f1879e80a8 COMPLETE
WinPE_DSM_PROD 9995fb64-5330-423a-abc6-32c142e73163 COMPLETE

With the following screen it’s easier for understanding:

checkout_catalog –destination_cluster_uuid_list=000579e9-ea06-e8ad-0000-0000000258a5 –wait_for_checkout=true 8f287837-3779-4987-a9ca-5a01b7c5f269

If you have processed all Images on your clusters, all Images are now in state active

Cluster 1:

Cluster 2:

Refer to https://portal.nutanix.com/kb/4892

 

 

Leave a Reply