1. Wow.. we only have like 750+ esx host. Not to mention 300 are 3.5 . My next home lab is going to have to getting this build Esxi unattended dowm

  2. I'm trying to get tip 7 to work, keep getting this error:

    File "/tmp/", line 16, in
    params = {'nicType':Management,'device':vmk0}
    NameError: name 'Management' is not defined

    What other parameters can i fill in the nicType ? (i tried management (small caps) complete portgroupname etc)

  3. @Diederik,

    nicType describes the type of VMKernel traffic such as "management", "vmotion" and "faultTolerance", this is not the name of a portgroup. Make sure you have a valid vmkernel interface that has already been created and you need to specify the correct device (e.g. vmk0,vmk1,etc). Looking at the error, it sounds like you don't have a VMKernel interface and that is why you're getting the error.

  4. if you use "chvt 1" , the screen will change automatically to the screen where you can echo to into your firstboot script (that way you don't have to push alt+f1)

  5. Thanks for Tip #12 ! I thought I was going crazy! :o)

    One thing maybe you could help with - I've got the esxupdate update bundle command working fine but I cannot get the host to exit maintenance mode after. No errors from the script and it works manually too. I've tried a separate level just for the vim-cmd /hostsvc/maintenance_mode_exit command as well as rebooting THEN exiting maintenance mode with no luck.

    Any thoughts or ideas?

    Thanks again!

  6. So I am currently looking at deploying multiple ESXi servers to remote sites. This may be a long shot but ultimately what we would want to do is just rack the servers and when we power them on have someone at the site just type the site number into an input prompt and then from there have it completely automated and joined to vCenter with no interaction at all. This is a long shot and may not be so simple to do but would help us not like at Hyper-V or other solutions for virtualizing the sites. If you have any recommendations at all that would be great.

  7. Hey William,

    I ran into this issue with ESXi kickstart install process where my system has several nic interfaces and when the VMkernel first comes alive and tries to download the ks.cfg file, it would try to do so using nic0 and fails immediately discontinuing the process. Nic2 is the only active interface and since this is on a chassis we develop there is no wires to move around either to make eth0 working.

    Any suggestions?


  8. But what if you don't *want* to erase the first disk and install there? What if you don't know _which_ disk you want to install to? ks.cfg requires autopart or it won't work. All I want is for the server to boot from pxe and load the files, then let me choose which disk I want to use. Is there a boot command to do that, without using ks.cfg?

  9. This line is not going to work with ESXi 5.1:
    HOSTNAME=$(nslookup "${IPADDR}" | grep Address | awk '{print $4}')

    The output format of nslookup has changed. Try:
    HOSTNAME=$(nslookup "${IPADDR}" | tail -1 | awk '{print $4}')

  10. Hi,

    I am trying to deploy vAPP in specific cluster.

    My problem is, I will be knowing the cluster name where i can deploy the vAPP but as part of My .ovf description i need to select data store in the cluster where i am deploying.
    i need to select max free size datastore.

    please help on this;

    PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> $ds=Get-Data
    store -VMHost | select FreeSpaceGB | where

    wt shouold be criteria i should specify??



Thanks for the comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.