The Definitive Guide to Installing ESXi using iPXE...
|
2012-01-14, 07:49
(This post was last modified: 2012-01-16 04:11 by MultimediaMan.)
Post: #1
|
|||
|
|||
The Definitive Guide to Installing ESXi using iPXE...
There are currently
1) Boot from Physical Media of some kind... (Slow, boring, mundane, provincial, tragically manual...) _ a) There are several methods of doing this via CD, DVD and USB Sticks, with and without Kickstart files. All of them, no matter how sophisticated, are like pulling oars on a slave ship; slow, painful and ultimately a waste of time and energy. 2) Boot from Mounted Image (using a RAC Card - DRAC, iDRAC, iLO iLO2, iLO3) SLOW...did I mention SLOW? 3rd. Party Automation tools are horribly cobbled-together and inefficient. 3) PXE Boot using pxelinux.0 (Slow, fraught with corruption opportunities) 4) PXE Boot using ipxelinux.0 (Faster, lacking Scripting Support) 5) iPXE Boot using Memdisk (Excellent Scripting support, CD is Emulated, no Media Depot Required - RAM requirements can be a problem). 6) iPXE Boot from HTTP-Mounted ISO (Sexy, Faster and will get you dates with beautiful women...Oh, and VMware might take a slightly dim view of this). Requires editing the ISO file; Bespoke workaround. 7) iPXE Boot from HTTP-Mounted ISO (Sexy, Faster and will get you dates with beautiful women, all of whom want to bear your children...Oh, and VMware may support you if someting goes awry). Requires editing the ISO file; Supported workaround. Method 1) RTFM. Method 2) Ditto. Method 3) RTFM... specifically this document on Page 26. The most important parts are Creating a Media Depot, but invoking the Media Depot [sarcasm] was thoughtfully somewhat glossed over...[/sarcasm] This is the most important part... Code: install http://example.com/VMware/ESXi Note: Followed by page 34 Code: default 1 The Kickstart file needs the statement "install http://example.com/VMware/ESXi" placed in it... There are many, many great sites out there that can show the user how to write kickstart files that discover, configure and tweak ESXi out there. This post will not go into that level of detail... Example: Code: vmaccepteula Method 4) RFTM... substituting iPXE for the obsolete gPXE; paying close attention to the requirements of Method 3. Method 5) Robinsmidsrod's Way, using Memdisk: No Media Depot or Kickstart file required. Code: echo Method 6) Create a Media Depot, and Modify the ISO; Mount the ISO and edit the following file in the root of the ISO: isolinux.cfg Add "install=http://epimetheus.olympus.bv.ar.us.local/vmware/4.1/x86_64/os/ESXi_4_1_U2" after vmkboot.gz but before vmkernel.gz Example: Code: default menu.c32 Copy the ISO to your webserver: I renamed mine "ESXi_4_1_U2_MAN.iso". Code: #!ipxe This way of doing it will allow a manual installation of the ESXi without a kickstart file. Method 7) Create a Media Depot and a Kickstart file with the Media Depot referenced in it. Mount the ISO and edit the following file in the root of the ISO: isolinux.cfg Add "ks=http://xx.xx.xxx.xxx/kickstart/ks.cfg" after vmkboot.gz but before vmkernel.gz Example: Code: default menu.c32 Copy the ISO to your webserver: I renamed mine "ESXi_4_1_U2_MOD.iso". Now you can setup the boot in iPXE (undionly.kpxe or other); Code: #!ipxe Viola! Working iPXE ESXi Installs. "Thus far, you have been adrift within the sheltered harbor of my patience..." |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)