点击“导出”映像,支持三种导出格式,分别是JSON、ISO、ZIP。差别导出格式具有差别的用法,JSON格式通常是用在同一vCenter站点的差别集群上,由于只是元数据,而这个元数据只能被在同一vCenter中vLCM所使用,真实的映像文件也在这个vLCM内;ISO 映像格式可以用于ESXi主机的全新安装,使用的用途就比力多了,比如下图中的可以用于使用基准管理的主机或集群;ZIP 格式就是脱机捆绑映像,这个可以导入其他vCenter的vLCM中使用。通过使用导出映像的功能,我们可以创建自定义 ISO 大概 ZIP 修补映像,这在设置 DIY 主机使用的时候非常有效。
2024/06/04 15:36:53:Started to reboot host 'esxi8-c2.mulab.local'
2024/06/04 15:36:53:Completed installing the image on host 'esxi8-c2.mulab.local'
2024/06/04 15:35:52:Started to install the image on host 'esxi8-c2.mulab.local'
2024/06/04 15:35:52:Started to install the image on host 'esxi8-c2.mulab.local'
2024/06/04 15:35:52:Completed entering maintenance mode for host 'esxi8-c2.mulab.local'
2024/06/04 15:35:33:Started to enter maintenance mode for host 'esxi8-c2.mulab.local'
2024/06/04 15:35:27:Starting remediation of the host 'esxi8-c2.mulab.local'
2024/06/04 15:35:27:Completed getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'. Selected host: 'esxi8-c2.mulab.local'.
2024/06/04 15:35:19:Started getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'.
2024/06/04 15:35:19:Finished remediation of the host 'esxi8-c4.mulab.local'
2024/06/04 15:35:19:Finished compliance check for host 'esxi8-c4.mulab.local'
2024/06/04 15:34:53:Started compliance check for host 'esxi8-c4.mulab.local'
2024/06/04 15:34:49:Completed exiting maintenance mode for host 'esxi8-c4.mulab.local'
2024/06/04 15:34:30:Started exiting maintenance mode for host 'esxi8-c4.mulab.local'
2024/06/04 15:32:30:Started to reboot host 'esxi8-c4.mulab.local'
2024/06/04 15:32:30:Completed installing the image on host 'esxi8-c4.mulab.local'
2024/06/04 15:31:29:Started to install the image on host 'esxi8-c4.mulab.local'
2024/06/04 15:31:29:Started to install the image on host 'esxi8-c4.mulab.local'
2024/06/04 15:31:29:Completed entering maintenance mode for host 'esxi8-c4.mulab.local'
2024/06/04 15:31:09:Started to enter maintenance mode for host 'esxi8-c4.mulab.local'
2024/06/04 15:31:02:Starting remediation of the host 'esxi8-c4.mulab.local'
2024/06/04 15:31:02:Completed getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'. Selected host: 'esxi8-c4.mulab.local'.
2024/06/04 15:30:54:Started getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'.
2024/06/04 15:30:54:Finished remediation of the host 'esxi8-c3.mulab.local'
2024/06/04 15:30:54:Finished compliance check for host 'esxi8-c3.mulab.local'
2024/06/04 15:30:27:Started compliance check for host 'esxi8-c3.mulab.local'
2024/06/04 15:30:23:Completed exiting maintenance mode for host 'esxi8-c3.mulab.local'
2024/06/04 15:30:04:Started exiting maintenance mode for host 'esxi8-c3.mulab.local'
2024/06/04 15:27:54:Started to reboot host 'esxi8-c3.mulab.local'
2024/06/04 15:27:54:Completed installing the image on host 'esxi8-c3.mulab.local'
2024/06/04 15:26:53:Started to install the image on host 'esxi8-c3.mulab.local'
2024/06/04 15:26:53:Started to install the image on host 'esxi8-c3.mulab.local'
2024/06/04 15:26:53:Completed entering maintenance mode for host 'esxi8-c3.mulab.local'
2024/06/04 15:26:38:Started to enter maintenance mode for host 'esxi8-c3.mulab.local'
2024/06/04 15:26:33:Starting remediation of the host 'esxi8-c3.mulab.local'
2024/06/04 15:26:33:Completed getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'. Selected host: 'esxi8-c3.mulab.local'.
2024/06/04 15:26:24:Started getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'.
2024/06/04 15:26:24:Finished remediation of the host 'esxi8-c1.mulab.local'
2024/06/04 15:26:24:Finished compliance check for host 'esxi8-c1.mulab.local'
2024/06/04 15:25:58:Started compliance check for host 'esxi8-c1.mulab.local'
2024/06/04 15:25:53:Completed exiting maintenance mode for host 'esxi8-c1.mulab.local'
2024/06/04 15:25:34:Started exiting maintenance mode for host 'esxi8-c1.mulab.local'
2024/06/04 15:23:24:Started to reboot host 'esxi8-c1.mulab.local'
2024/06/04 15:23:24:Completed installing the image on host 'esxi8-c1.mulab.local'
2024/06/04 15:22:23:Started to install the image on host 'esxi8-c1.mulab.local'
2024/06/04 15:22:23:Started to install the image on host 'esxi8-c1.mulab.local'
2024/06/04 15:22:23:Completed entering maintenance mode for host 'esxi8-c1.mulab.local'
2024/06/04 15:22:08:Started to enter maintenance mode for host 'esxi8-c1.mulab.local'
2024/06/04 15:22:02:Starting remediation of the host 'esxi8-c1.mulab.local'
2024/06/04 15:22:02:Completed getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'. Selected host: 'esxi8-c1.mulab.local'.
2024/06/04 15:21:53:Started getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'.
2024/06/04 15:21:53:Finished remediation of the host 'esxi8-b2.mulab.local'
2024/06/04 15:21:53:Finished compliance check for host 'esxi8-b2.mulab.local'
2024/06/04 15:21:27:Started compliance check for host 'esxi8-b2.mulab.local'
2024/06/04 15:21:23:Completed exiting maintenance mode for host 'esxi8-b2.mulab.local'
2024/06/04 15:21:03:Started exiting maintenance mode for host 'esxi8-b2.mulab.local'
2024/06/04 15:18:52:Started to reboot host 'esxi8-b2.mulab.local'
2024/06/04 15:18:52:Completed installing the image on host 'esxi8-b2.mulab.local'
2024/06/04 15:17:52:Started to install the image on host 'esxi8-b2.mulab.local'
2024/06/04 15:17:52:Started to install the image on host 'esxi8-b2.mulab.local'
2024/06/04 15:17:52:Completed entering maintenance mode for host 'esxi8-b2.mulab.local'
2024/06/04 15:17:30:Started to enter maintenance mode for host 'esxi8-b2.mulab.local'
2024/06/04 15:17:23:Starting remediation of the host 'esxi8-b2.mulab.local'
2024/06/04 15:17:23:Completed getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'. Selected host: 'esxi8-b2.mulab.local'.
2024/06/04 15:17:15:Started getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'.
2024/06/04 15:17:15:Finished remediation of the host 'esxi8-b3.mulab.local'
2024/06/04 15:17:15:Finished compliance check for host 'esxi8-b3.mulab.local'
2024/06/04 15:16:49:Started compliance check for host 'esxi8-b3.mulab.local'
2024/06/04 15:16:45:Completed exiting maintenance mode for host 'esxi8-b3.mulab.local'
2024/06/04 15:16:26:Started exiting maintenance mode for host 'esxi8-b3.mulab.local'
2024/06/04 15:14:25:Started to reboot host 'esxi8-b3.mulab.local'
2024/06/04 15:14:25:Completed installing the image on host 'esxi8-b3.mulab.local'
2024/06/04 15:13:30:Started to install the image on host 'esxi8-b3.mulab.local'
2024/06/04 15:13:30:Started to install the image on host 'esxi8-b3.mulab.local'
2024/06/04 15:13:30:Completed entering maintenance mode for host 'esxi8-b3.mulab.local'
2024/06/04 15:13:08:Started to enter maintenance mode for host 'esxi8-b3.mulab.local'
2024/06/04 15:13:01:Starting remediation of the host 'esxi8-b3.mulab.local'
2024/06/04 15:13:01:Completed getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'. Selected host: 'esxi8-b3.mulab.local'.
2024/06/04 15:12:53:Started getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'.
2024/06/04 15:12:53:Finished remediation of the host 'esxi8-b4.mulab.local'
2024/06/04 15:12:53:Finished compliance check for host 'esxi8-b4.mulab.local'
2024/06/04 15:12:32:Started compliance check for host 'esxi8-b4.mulab.local'
2024/06/04 15:12:27:Completed exiting maintenance mode for host 'esxi8-b4.mulab.local'
2024/06/04 15:12:09:Started exiting maintenance mode for host 'esxi8-b4.mulab.local'
2024/06/04 15:10:08:Started to reboot host 'esxi8-b4.mulab.local'
2024/06/04 15:10:08:Completed installing the image on host 'esxi8-b4.mulab.local'
2024/06/04 15:09:08:Started to install the image on host 'esxi8-b4.mulab.local'
2024/06/04 15:09:08:Started to install the image on host 'esxi8-b4.mulab.local'
2024/06/04 15:09:08:Completed entering maintenance mode for host 'esxi8-b4.mulab.local'
2024/06/04 15:08:52:Started to enter maintenance mode for host 'esxi8-b4.mulab.local'
2024/06/04 15:08:43:Starting remediation of the host 'esxi8-b4.mulab.local'
2024/06/04 15:08:43:Completed getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'. Selected host: 'esxi8-b4.mulab.local'.
2024/06/04 15:08:31:Started getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'.
2024/06/04 15:08:31:Finished remediation of the host 'esxi8-b1.mulab.local'
2024/06/04 15:08:31:Finished compliance check for host 'esxi8-b1.mulab.local'
2024/06/04 15:08:04:Started compliance check for host 'esxi8-b1.mulab.local'
2024/06/04 15:08:00:Completed exiting maintenance mode for host 'esxi8-b1.mulab.local'
2024/06/04 15:07:40:Started exiting maintenance mode for host 'esxi8-b1.mulab.local'
2024/06/04 15:05:39:Started to reboot host 'esxi8-b1.mulab.local'
2024/06/04 15:05:39:Completed installing the image on host 'esxi8-b1.mulab.local'
2024/06/04 15:04:39:Started to install the image on host 'esxi8-b1.mulab.local'
2024/06/04 15:04:39:Started to install the image on host 'esxi8-b1.mulab.local'
2024/06/04 15:04:39:Completed entering maintenance mode for host 'esxi8-b1.mulab.local'
2024/06/04 15:04:22:Started to enter maintenance mode for host 'esxi8-b1.mulab.local'
2024/06/04 15:04:16:Starting remediation of the host 'esxi8-b1.mulab.local'
2024/06/04 15:04:16:Completed getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'. Selected host: 'esxi8-b1.mulab.local'.
2024/06/04 15:04:08:Started getting host recommendation from DRS to enter maintenance mode for cluster 'vsan8-hci-esa'.
2024/06/04 15:04:02:Finished compliance check for cluster 'vsan8-hci-esa'
2024/06/04 15:03:17:Started compliance check for cluster 'vsan8-hci-esa'
复制代码
完成修复。
末了,检查一下 vSAN Skyline Health 运行状态,确保没有不正常的条目。
五、vLCM 管理独立主机
从 vSphere 8.0 开始,可以使用映像管理 vCenter Server 清单中独立 ESXi 主机的生命周期,但是要求 vCenter Server 版本为 vCenter 8.0 U1及以上,才可以使用 vSphere Client 和 vSphere Automation API 管理独立主机的生命周期。
独立主机是毗连到 vCenter Server 实例但不属于任何集群的主机,清单元于数据中心大概主机文件夹中的主机。通过添加主机向导将独立主机加入到数据中心,这个过程可以设置主机由通过vLCM基于 “映像”的方式来管理主机的生命周期。
2024/06/04 17:13:29:Failed to reboot Host 'esxi.mulab.local' through Quick Boot after remediation. The reason is: 'rebooting is not through quick boot'
2024/06/04 17:11:28:Started to reboot host 'esxi.mulab.local'
2024/06/04 17:11:28:Finished remediation of the host 'esxi.mulab.local'
2024/06/04 17:10:38:Starting remediation of the host 'esxi.mulab.local'
2024/06/04 17:10:38:Completed entering maintenance mode for host 'esxi.mulab.local'
2024/06/04 17:10:37:Started to enter maintenance mode for host 'esxi.mulab.local'
2024/06/04 17:10:37:Completed staging the image on host 'esxi.mulab.local'
2024/06/04 17:10:12:Started to stage the image on host 'esxi.mulab.local'
2024/06/04 17:10:04:Finished compliance check for host 'esxi.mulab.local'
2024/06/04 17:09:39:Started compliance check for host 'esxi.mulab.local'