Twitter
LinkedIn
RSS

PXE Manager – Part V

PXE Manager Part V – Add a Stateful ESXi Host

Follow the following instructions to add a stateful ESXi host to PXE Manager.

Prerequisites:

Required
  • Configure SAN Components and storage System, create a 6 GB LUN with LUN ID 0 for every ESXi host and mask the LUN’s as such that each ESXi host can only see its own LUN
Required
  • Configure the HBA of each host to boot from SAN, enable the BIOS and configure the boot devices
Optional
  • Ensure you enable VLAN Mode and specify the correct VLAN ID in the option BIOS of the NIC. (This step is only required for when you use trunk ports instead of access ports).
Optional
  • Ideally you want your BIOS boot order configured as such that it always boots from PXE first. (After the installation, the default changes as such it will boot from local disk).

Follow the following instruction to add a stateful ESXi host to PXE Manager.

  1. Open the vSphere Client, Home, PXE Manager to open PXE Manager

  2. Click to activate the “Stateful Hosts” tab, right click and select “Add Host”

  3. Click to select the “I agree …” radio button and click “Next”

  4. Enter the name of the ESXi host you wsih to deploy, enter and confirm the root password for this ESXi host and click “Next”

  5. Select the build you wish to install for this ESXi host and click “Next”

  6. Select the appropriate PXE agent to deploy the ESXi host and click “Next”. (make sure you select the PXE agent located in the same datacenter as where the ESXi host is located).

  7. Enter the MAC addresses, IP, Subnet Mask, Gateway, Pri. DNS, Sec. DNS and the correct VLAN in case you NIC’s are connected to trunk ports for the ESXi host and click “Next”

  8. Select the correct cluster and click “Next”

  9. Select a Licence for the ESXi host and click “Next”

  10. In case you wish to apply a host profile, select the host profile or leave defaults and click “Next”

  11. If desired enable locked down mode and click “Next”

  12. Enter the NTP servers and syslog server and click “Next”

  13. For boot from SAN, select “Local, Remote” from the dropdown box, click to select the “Overwrite an existing VMFS …..” checkbox and click “Next”

  14. Enter any post actions and click “Finish”. (As host profiles do not rename the local datastore, I entered here a command that renames the local datastore). Any of these commands will get executed on the firstboot.

  15. Select the newly added host and click the “Wake on Lan” hyperlink to boot up the server and start the installation.




4 Responses to “PXE Manager – Part V”

  1. In the prerequisites you mention setting the NIC’s BIOS to a VLAN.

    An alternate approach, and one I think is easier to implement (less touch points), is to set the native VLAN on the swtich port that VMNIC0 is connected to.
    switchport trunk native vlan 2

    Some servers don’t allow you to set VLANing on the PXE boot. This also has the advantage that you can use a different VLAN ID for staging, than you want to use in your kickstart configuration.
    Forbes

    • tomarentsen says:

      It is certainly easier however I came across several occasions where this was not allowed. Having a separate VLAN for staging is also supported by PXE Manager with one of the latest releases.

  2. Pedro Enrique says:

    Hi!

    I just installed the PXE Manager and when I get to the configuration that you show in this pages my installation don’t show the option for VLAN in the Management Network nor Bootstrap static IP.

    The problem is that I don’t get this working installing in a HP BL640c and I think is because my installation is missing these options.

    You used the installation from labs.vmware.com?

    Thanks, Pedro Enrique.

    • tomarentsen says:

      Pedro,

      I know the version on labs.vmware.com doesn’t support it yet, but send Max (mdaneri@vmware.com) an email and ask him to get access to the beta site.

      Tom

Leave a Reply