Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232413

Re: Auto Deploy vSphere ESXi 5.1

$
0
0

nguyenhungsonuit wrote:

 

Dear all,

 

When I create an image profile and assign it to Auto Deploy. I add a network based software depot instead for adding "offline depot" from Vmware.

I use cmdlet: Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

I built a base image : New-DeployRule –Name “Test” –Item “ESXi-5.0.0-799733-standard” –Pattern “model=VMware Virtual Platform”

Then active the depot rule: Add-DeployRule -DeployRule Test

http://www.tinyuploads.com/images/GXy4zb.jpg

But when I boot ESXi host, the host display "there are no ESXi image associated with this host

http://www.tinyuploads.com/images/Cjb4Mu.jpg

 

I don't know this problem. Please give me some suggestion to resolve that.

 

Many thanks.

I believe you are missing a step.  Once you add the ESXSoftwareDepot, you should then extract the image profile from the depot to a new Image Profile object, and add a Deploy Rule for the Image Profile.


For Example:

 

Add-EsxSoftwareDepot https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

New-ESXImageProfile -CloneProfile "ESXi-5.0.0-799733-standard" -name "MyImage"

new-deployrule -name "MyImageRule" -item "MyImage"  -allhosts

add-deployrule -deployrule "MyImageRule"

 

You can add deploy rules to assign hosts to a specific cluster, or use patterns to match certain hosts, as you probably know already.


Viewing all articles
Browse latest Browse all 232413

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>