If you created a vSphere Lifecycle Manager image in an external vCenter Server, you export the image from vCenter Server to your local computer.
The following files need to be exported from vCenter Server.
| Format |
Content |
| JSON |
Image specification |
| JSON |
Cluster specification |
| ISO |
ESXi image (optional) You can use the ISO file for imaging additional hosts that you bring into VMware Cloud Foundation. |
| ZIP |
Image components |
Procedure
- Log in to the vSphere Client of the vCenter Server where you had created the vSphere Lifecycle Manager image.
- Export the image specification JSON, ISO, and ZIP files from vSphere to your local computer.
- In the vSphere Client, click Host and Clusters.
- In the navigation pane, expand and select the vSphere Lifecycle Manager image you want to export.
- On the Updates tab, click .
- Click the horizontal ellipsis icon and select Export.
- Click JSON and then click Export.
This downloads the image specification JSON file.
- Repeat steps c and d for the ISO and ZIP file formats.
You can use the ISO file for imaging additional hosts that you bring into VMware Cloud Foundation. Exporting this file is optional.
Note: Do not rename these files.
- Retrieve the vSphere cluster ID using vSphere APIs.
- Click .
- Click the API Explorer tab.
- Ensure that Select Endpoint has the local vCenter Server selected and Select API is set to vcenter.
- Expand the cluster section.
- Expand GET /api/vcenter/cluster and click Execute.
- Under Response, expand VcenterClusterSummary (...) for the cluster where you created the image and copy the cluster value.
- Retrieve the cluster JSON specification and download to the local computer using vSphere APIs.
- In the API Explorer tab of the vCenter Server, ensure that Select Endpoint has the local vCenter Server selected and Select API is set to esx.
- Expand the settings/clusters/software section.
- Expand GET /api/esx/settings/clusters/{cluster}/software.
- In the cluster parameter area, paste the cluster value you had retrieved in step 3 and click Execute.
- Under Response next to EsxSettingsSoftwareInfo, click the download arrow to download the JSON specification.