Difference between revisions of "Adding Third Party Drivers To A VMware vSphere/ESXi 5 Installation ISO"
m |
m |
||
Line 3: | Line 3: | ||
The SSD I purchased as the only disk in my new server isn't recognized by the vSphere installation CD. I need to add a driver from the vendor in order to do the installation. | The SSD I purchased as the only disk in my new server isn't recognized by the vSphere installation CD. I need to add a driver from the vendor in order to do the installation. | ||
+ | #Download the driver. The driver for the OCZ Revodrive 3 SSD can be found at:<p>[https://my.vmware.com/group/vmware/details?downloadGroup=DT-ESX50-OCZ_Technology-ocz10xx-100&productId=242 ocz10xx-1.0.0-offline_bundle-751505.zip]</p> | ||
#Download and install [http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli?rct=j&q=&esrc=s&source=web&cd=1&sqi=2&ved=0CCkQFjAA&url=http://www.vmware.com/go/PowerCLI&ei=Zo90UNauJMf1ygG0wYDQDw&usg=AFQjCNHixkgPGjBKVx5ZnJKrGXx0ba-y_g&sig2=KQgPBTyg9qp1p1t3617RCg VMware vSphere PowerCLI] on a Windows 7 machine | #Download and install [http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli?rct=j&q=&esrc=s&source=web&cd=1&sqi=2&ved=0CCkQFjAA&url=http://www.vmware.com/go/PowerCLI&ei=Zo90UNauJMf1ygG0wYDQDw&usg=AFQjCNHixkgPGjBKVx5ZnJKrGXx0ba-y_g&sig2=KQgPBTyg9qp1p1t3617RCg VMware vSphere PowerCLI] on a Windows 7 machine | ||
#*Run it as an administrator | #*Run it as an administrator | ||
#*The first time you start it, run<p><code>Set-ExecutionPolicy RemoteSigned</code></p> | #*The first time you start it, run<p><code>Set-ExecutionPolicy RemoteSigned</code></p> | ||
− | |||
#<span style="text-decoration: line-through">Download the [https://my.vmware.com/group/vmware/details?productId=285&downloadGroup=VCL-VSP510-ESXI-510-EN VMware vSphere offline bundle]</span> | #<span style="text-decoration: line-through">Download the [https://my.vmware.com/group/vmware/details?productId=285&downloadGroup=VCL-VSP510-ESXI-510-EN VMware vSphere offline bundle]</span> | ||
#<span style="text-decoration: line-through">To add the offline bundle as the depot, run<p><code>Add-EsxSoftwareDepot c:\temp\VMware-ESXi-5.1.0-799733-depot.zip</code></p></span> | #<span style="text-decoration: line-through">To add the offline bundle as the depot, run<p><code>Add-EsxSoftwareDepot c:\temp\VMware-ESXi-5.1.0-799733-depot.zip</code></p></span> |
Revision as of 07:44, 10 October 2012
Stolen from http://alexander.walden.de/2012/01/18/making-your-own-esxi-5-installation-image/
The SSD I purchased as the only disk in my new server isn't recognized by the vSphere installation CD. I need to add a driver from the vendor in order to do the installation.
- Download the driver. The driver for the OCZ Revodrive 3 SSD can be found at:
- Download and install VMware vSphere PowerCLI on a Windows 7 machine
- Run it as an administrator
- The first time you start it, run
Set-ExecutionPolicy RemoteSigned
- Download the VMware vSphere offline bundle
- To add the offline bundle as the depot, run
Add-EsxSoftwareDepot c:\temp\VMware-ESXi-5.1.0-799733-depot.zip
- Add the VMware online depot as the starting point:
Add-EsxSoftwareDepot -DepotUrl https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
- Place this driver file in a location accessible to your PowerCLI window.
- To add the “offline bundle” packages to the depot, run
Add-EsxSoftwareDepot c:\temp\ocz10xx-1.0.0-offline_bundle-751505.zip
(remember to adjust the path to your environment!) - To check the software packages for a specific vendor, run
Get-EsxSoftwarePackage -Vendor ocz*
- To show all software packages in the depot, run
Get-EsxSoftwarePackage
- Next we will select a valid ESXi 5 image profile and create a clone that we will then enhance. Run
Get-EsxImageProfile
to get a list of all available profiles. For this example, I’m selecting ESXi-5.0.0-20111204001-standard. It's not the latest available but, unfortunately, the latest available does not work. To create a clone of this profile runNew-EsxImageProfile -CloneProfile ESXi-5.0.0-20111204001-standard -Name ESXi-5.0.0-20111204001-Custom
.Obviously feel free to adjust the name of the image as required
OPTIONAL: You may need to change the Acceptance Level of your image depending on which drivers you want to inject by running
Set-EsxImageProfile -ImageProfile ESXi-5.0.0-20111204001-Custom -AcceptanceLevel CommunitySupported
- To get the list of VIBs in your profile, run
(Get-EsxImageProfile -Name ESXi-5.0.0-20111204001-Custom).VibList
- Now add the driver to your profile by running
Add-EsxSoftwarePackage -ImageProfile ESXi-5.0.0-20111204001-custom -SoftwarePackage scsi-ocz10xx
- Now export your custom ISO:
Export-EsxImageProfile -ImageProfile ESXi-5.0.0-20111204001-Custom -ExportToISO -FilePath "c:\temp\ESXi-5.0.0-20111204001-Custom.iso"
- If you want to save a custom depot zip file, run
Export-EsxImageProfile -ImageProfile ESXi-5.0.0-20111204001-Custom -ExportToBundle -FilePath "c:\temp\ESXi-5.0.0-20111204001-Custom.zip"
- To compare the original to your profile, run
Compare-EsxImageProfile ESXi-5.0.0-20111204001-standard ESXi-5.0.0-20111204001-Custom
- And just in case you need to know how to remove a package:
Remove-EsxSoftwarePackage -ImageProfile ESXi-5.0.0-20111204001-Custom -SoftwarePackage scsi-ocz10xx