Oracle® Virtual Networking for ESX Hosts Installation and Boot Guide

Exit Print View

Updated: July 2016
 
 

Create the Remastered ISO (ESXi 6.0)

This procedure assumes that you are using the working directory \images\New for the user named admin.

  1. Install PowerShell on the Windows server if you have not already done so.
  2. Install the vSphere PowerCLI plug-in if you have not done so already.
  3. Download the VMware-6.x.x.zip file to the Windows server.
  4. If you have not already done so, download the current host drivers for ESXi 6.0 hosts.

    See Download the Host Drivers.

  5. Start PowerCLI and connect to the vCenter server.
    PowerCLI C:\images\New PowerCLI> Connect-VIServer 192.168.11.12

    This example shows connecting to a vCenter server with the IP address 192.168.11.12, but you can also connect by using a fully qualified domain name.

  6. In PowerCLI, import the ESXi 6.0.0 bundle and the host drivers for ESXi 6.0 hosts in the PowerCLI application.

    This example adds the VMware distribution bundle (.zip file) and host drivers to a template.

    This documentation uses VMware-ESXi-6.0.0 build-2494585-depot.zip and xsigo_6.0.0-ESX1 drivers for illustrative purposes. Follow the same procedure for other versions.

    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwareDepot -DepotUrl C:\Users\Administrator
    \Downloads\VMware-ESXi-6.0.0-2494585-depot.zip
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwareDepot -DepotUrl C:\Users\Administrator
    \Desktop\ESX6.0Drivers\xsigo_6.0.0-ESX.1-1vmw.600.0.0-2494585.zip

    This example imports the VMware distribution bundle (VMware-ESXi-6.0.0-2494585- depot.zip) and host drivers (xsigo_6.0.0- ESX.1-1vmw.600.0.0-2494585.zip) to a template.

    When you upload the ESXi software depot, it creates VMware standard profiles by default. The profiles can be either cloned or created to make a Custom-ESXi ISO. This procedure uses the cloned-profile installation procedure.

  7. List the ESXi Image profiles.
    PowerCLI C:\images\New PowerCLI > Get-EsxImageProfile
    Name                           Vendor         Last Modified    Acceptance Level
    ----                           ------         -------------    ----------------
    ESXi-6.0.0-2494585-standard    VMware, Inc.   2/6/20156:...    PartnerSupported
    ESXi-6.0.0-2494585-no-tools    VMware, Inc.   2/6/20156:...    PartnerSupported

    As shown in this example, two ESXi image profiles are available by default. To make the remastered ISO, you will clone the ESXi-6.0.0-2494585-standard profile.

  8. Create an image profile to make the Custom-ESX-6.0.0 ISO.
    PowerCLI C:\images\New PowerCLI> New-EsxImageProfile -CloneProfile ESXi-6.0.0-2494585-
    standard -Name "Custom-ESX-6.0.0" -Vendor VMware

    In this example, a new ESXi image profile named ESX-6.0.0 is created by cloning the default ESXi image profile.

  9. Verify that the custom ESXi image profile is present.
    PowerCLI C:\images\New PowerCLI > Get-EsxImageProfile
    Name                          Vendor         Last Modified    Acceptance Level
    ----                          ------
    Custom-ESX-6.0.0              VMware         2/6/20156:...    PartnerSupported
    ESXi-6.0.0-2494585-standard   VMware, Inc.   2/6/20156:...    PartnerSupported
    ESXi-6.0.0-2494585-no-tools   VMware, Inc.   2/6/20156:...    PartnerSupported

    When the custom image profile is present, you can add and remove necessary packages to make a custom ISO.

  10. Remove the net-mlx4-en, net-mlx4-core, nmlx4-en, and nmlx4-core packages from the depot so that they are not included in the remastered ISO.
    PowerCLI C:\images\New PowerCLI> Remove-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0
    -SoftwarePackage net-mlx4-en
    PowerCLI C:\images\New PowerCLI> Remove-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0
    -SoftwarePackage net-mlx4-core
    PowerCLI C:\images\New PowerCLI> Remove-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0
    -SoftwarePackage nmlx4-en
    PowerCLI C:\images\New PowerCLI> Remove-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0
    -SoftwarePackage nmlx4-core
  11. Add packages in the order shown.
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-ib-core
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-mlx4-core
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-ib-mad
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-ib-sa
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-ib-ipoib
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-mlx4-ib
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-ib-cm
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-xscore
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-xsvnic
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage net-xve
    PowerCLI C:\images\New PowerCLI> Add-EsxSoftwarePackage -ImageProfile Custom-ESX-6.0.0 -
    SoftwarePackage scsi-xsvhba
  12. Export the modified image profile to the remastered ISO.
    PowerCLI C:\images\New PowerCLI> Export-EsxImageProfile -ImageProfile Custom-ESX-6.0.0 -
    FilePath C:\Users\Administrator\Desktop\ESX6.0Drivers\Custom-6.0-OVN.iso –ExportToIso
  13. (Optional) Export the modified image to the remastered bundle.

    This step is required if your deployments use a bundle for installation.

    PowerCLI C:\images\New PowerCLI> Export-EsxImageProfile -ImageProfile Custom-ESX-6.0.0
    -FilePath C:\Users\Administrator\Desktop\ESX6.0Drivers\Custom-ESX-6.0.0-OVN.zip –
    ExportToBundle
  14. Reboot the server using the remastered ISO.