ESXi

 View Only
  • 1.  Reinstall ESXi on a host in an existing cluster

    Posted Mar 28, 2022 04:56 PM

    I have cluster running ESXi version 6.7 u3.  I need to reinstall ESXi on one of the hosts.  All VM storage is on a SAN and no vSAN is being used.  Only storage on a host server is the OS install.  Would the following steps be the recommended behavior for performing the reinstall:

    1. Backup ESXi configuration using this article (https://kb.vmware.com/s/article/2042141)
    2. Put host in maintenance mode.
    3. Disconnect host from cluster.
    4. Wipe and reinstall the same version of ESXi as before.
    5. Restore ESXi configuration using the same article referenced in item 1.
    6. Re-connect host to cluster.
    7. Exit maintenance mode.

    Does anyone see any issues with this?  Thanks...



  • 2.  RE: Reinstall ESXi on a host in an existing cluster

    Posted Mar 28, 2022 05:18 PM

    Just to add in regards to step 3... should I be disconnecting for removing the server from the cluster via the "Remove from Inventory" option?



  • 3.  RE: Reinstall ESXi on a host in an existing cluster
    Best Answer

    Posted Mar 28, 2022 07:52 PM

    Hi,

     

    -->  To already answer your last question, no you must not delete the server you are installing from the inventory

    --> I don't know what VMWare license you have, but if it's a "vSphere Enterprise Plus" license, I would advise you to backup your ESXI configuration by creating a "Host Profile", otherwise effectively I I've never done it but saving its configuration is a good idea, it will save you from having to configure your esxi manually.

    --> For me step 3 is not necessary. After placing your server in "Maintenance Mode" connect to your server's console (via iLO, iDRAC, ....), stop the server and start the server on the installation iso.

     

    --> In Step 4, there is no need to delete the data, this step will be done automatically during installation. When installing the OS I also recommend the option "InstallESXI, overwrite VMFS datastore"

    ObjectifDubai_0-1648496702763.png

     

    --> Between step 4 and 5 (Restoration or Host Profile application), you must connect to the ESXI interface and configure at least the Management IP address there.
    If you have never installed an ESXI, I advise you to connect to the console of your server (via iLO, iDRAC, ...) and note the configuration there

    ObjectifDubai_0-1648497058472.png

     

     



  • 4.  RE: Reinstall ESXi on a host in an existing cluster

    Posted Mar 28, 2022 08:27 PM

    I like to export host customizations under host profile if you use host profiles. This creates a CSV that will have some good info like IQN for iSCSI and your vmKernel IP addresses that you could manually re-enter later if the export/import of your settings didn't work for some reason.

    --Alan--

     



  • 5.  RE: Reinstall ESXi on a host in an existing cluster

    Posted Mar 29, 2022 09:46 PM

    Thanks for the reply.  Out of curiosity, why do you say I shouldn't remove from the inventory?  I actually ended up removing it after backing up the configuration.  I then reinstalled, configured the management interface, restored the configuration, and re-added to the cluster.  Everything seems to be working fine for the moment.  The only options I had when installing were either upgrade or install.  The install option automatically repartitions before the install.  There was nothing to keep here so I was okay with that option.



  • 6.  RE: Reinstall ESXi on a host in an existing cluster

    Posted Mar 30, 2022 05:38 AM

    Hi,
    Unless you want to change the name of your ESXI, it is useless to delete it from the inventory.


    I will give you an example that comes to mind, if for example there are DRS rules with your ESXI, deleting the ESXI from the inventory will alter your rules and force you to modify them manually again when inserting your ESXI.



  • 7.  RE: Reinstall ESXi on a host in an existing cluster

    Posted Mar 30, 2022 02:36 PM

    Understood.  I checked VM/Host rules for the host before removing it so there were no issues there.  Whether to remove from inventory or just disconnect was the only thing I was unsure about, and I couldn't find any clear documentation about what to do there.  I appreciate the clarification.  Thanks...



  • 8.  RE: Reinstall ESXi on a host in an existing cluster

    Posted Mar 30, 2022 02:59 PM

    Hi,

    At the vCenter level if you disconnect your ESXI I think you also keep the history of events. If you delete the ESXi from the inventory you lose this history because it is a new object that appears. I think there are other subtleties that I don't have in mind.



  • 9.  RE: Reinstall ESXi on a host in an existing cluster

    Posted Mar 30, 2022 03:06 PM

    I'm okay with a clean start in this case.   I have six identical servers at the same ESXi patch level.  Installed some patches about a week ago.  After about 4 to 5 days this one randomly started to experience hard freezes every day or so with no accompanying PSODs.  Hardware diagnostics all passed, so as a latch ditch effort I figured I would just wipe the machine and reinstall.  All the other servers have been stable.  So far since the reinstall things have been good.  I'm going to give it another few days before declaring victory though.



  • 10.  RE: Reinstall ESXi on a host in an existing cluster

    Posted Mar 30, 2022 04:39 PM

    Well I hope this solves your problems. Good luck