Difference between revisions of "Create template of nested ESXi for cloning and repeat use"

From Notes_Wiki
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<yambe:breadcrumb self="Create template of nested ESXi for cloning and repeat use">VMWare vSphere or ESXi|VMWare vSphere or ESXi</yambe:breadcrumb>
[[Main_Page|Home]] > [[VMWare platform]] > [[VMWare vSphere or ESXi]] > [[Create template of nested ESXi for cloning and repeat use]]
=Create template of nested ESXi for cloning and repeat use=


It is possible to setup template for ESXi for cloning.  To do that use:
It is possible to setup template for ESXi for cloning.  To do that use:
#Install ESXi on a VM normally
#Install ESXi on a VM normally
#Enable ESXi shell / console
#Enable ESXi shell / console
#Connect to ESXi console (Ctl+Alt+F2)
#Connect to ESXi console (Alt+F1)
#: Passing Alt+F1 from Linux is very difficult.  Assign management IP and run the below commands over ssh.
# '''Required''' Enable ESXi vmkernel ports to use MAC ID from vmnic using:
# '''Required''' Enable ESXi vmkernel ports to use MAC ID from vmnic using:
#:<pre>
#:<pre>
Line 27: Line 27:




<yambe:breadcrumb self="Create template of nested ESXi for cloning and repeat use">VMWare vSphere or ESXi|VMWare vSphere or ESXi</yambe:breadcrumb>
[[Main_Page|Home]] > [[VMWare platform]] > [[VMWare vSphere or ESXi]] > [[Create template of nested ESXi for cloning and repeat use]]

Latest revision as of 14:33, 13 May 2022

Home > VMWare platform > VMWare vSphere or ESXi > Create template of nested ESXi for cloning and repeat use

It is possible to setup template for ESXi for cloning. To do that use:

  1. Install ESXi on a VM normally
  2. Enable ESXi shell / console
  3. Connect to ESXi console (Alt+F1)
    Passing Alt+F1 from Linux is very difficult. Assign management IP and run the below commands over ssh.
  4. Required Enable ESXi vmkernel ports to use MAC ID from vmnic using:
    esxcli system settings advanced set -o /Net/FollowHardwareMac -i 1
    Also see Install nested ESXi on top of ESXi in a VM
  5. Delete UUID of system using
    sed -i 's#/system/uuid.*##' /etc/vmware/esx.conf
  6. Shutdown esxi host and create template
  7. Create ESXi clones using this template
  8. On each cloned ESXi host if the UUID of cloned VMFS Volume is same then use
    esxcli storage vmfs snapshot resignature -l [VMFS-VOLUME]

Refer:


Home > VMWare platform > VMWare vSphere or ESXi > Create template of nested ESXi for cloning and repeat use