官术网_书友最值得收藏!

Adding the HA VIB to the image profile

If you are deploying stateless ESXi hosts using vSphere Auto Deploy, then you should be packaging the vSphere HA FDM VIB into the image profile; otherwise, you won't be able to enable HA on the auto-deployed hosts.

How to do it...

The following procedure will guide you through the steps required in adding the FDM VIB to the image profile:

  1. Use the cmdlet Connect-VIServer to add the vCenter server to the PowerCLI session:
    Connect-VIServer -Server vcenterhost001 -User Administrator -Password pass123
    
  2. Add the ESXi offline bundle to the session:
    Add-EsxSoftwareDepot -DepotUrl C:\Offline-Bundles\VMware-ESXi-5.5.0-1331820-depot.zip
    
  3. Add the vSphere HA depot to the session. The vSphere HA depot is at http://IP or FQDN of the vCenterhost/vSphere-HA-depot:
    Add-EsxSoftwareDepot http://vcenterhost001/vSphere-HA-depot
    
  4. Clone and create a new image profile to customize. Read the recipe Creating an image profile by cloning a predefined profile for instructions.
  5. Add the FDM VIB vmware-fdm to the new image profile:
    Add-EsxSoftwarePackage "vmware-fdm" –ImageProfile Profile001
    
  6. Export the image profile to a ZIP archive, so that the customization is not lost when you exit the Power CLI Session. Read the recipe Exporting an image profile as an ISO or offline bundle.
  7. The image profile can now be used in an Auto Deploy rule. For instructions on how to create auto deploy rules, read Chapter 5, Using vSphere Auto Deploy.
主站蜘蛛池模板: 梁平县| 财经| 华宁县| 禹城市| 璧山县| 勐海县| 全州县| 明溪县| 五常市| 福州市| 任丘市| 安塞县| 东兰县| 邓州市| 通化市| 南京市| 舟曲县| 济南市| 东乡| 阳江市| 绥化市| 自治县| 连云港市| 台南县| 新余市| 莆田市| 郓城县| 五家渠市| 永泰县| 凭祥市| 乐业县| 商丘市| 东方市| 康定县| 来宾市| 济南市| 绍兴县| 连州市| 邵阳市| 井冈山市| 抚州市|