mardi, décembre 30 2014

Mise à jour VMWare ESXi

Voici la procédure utilisé pour migrer mon serveur HP N54L de esxi 5.1 standard vers esxi 5.5 HP Bundle.

1°)Télécharger le Zip de la mise à jour ici : https://www.vmware.com/patchmgr/findPatch.portal

2°)Copier le fichier télécharger dans le datastore

3°)Entrer le serveur en mode maintenance

4°)Dans un CLI lancer la commande :

esxcli software vib update -d /vmfs/volumes/<your_volume>/update-from-esxiXXXXX_update01.zip

5°)Redémarrer le serveur avec la commande : reboot

6°)Quitter le mode maintenance.

Mise à jour avec les VIB HP

Les vib son dispo ici : http://vibsdepot.hpe.com/hpe/

La commande pour mettre à jour :

esxcli software vib install -d http://vibsdepot.hp.com/hpq/<release date="">/index.xml</release>

samedi, janvier 18 2014

Install ESXi 5.X on HP Microserver with 2GB memory

Boot the system from USB Stick with ESXi installer on it.

Once the installer welcome screen shows up, press alt+F1 to go to the first console (login prompt)

Login as root, no password.

  1. cd /usr/lib/vmware/weasel/util

There are a few files but the upgrade_precheck.py is of interest to us

  1. rm upgrade_precheck.pyc // (the compiled version) -
  1. mv upgrade_precheck.py upgrade_precheck.py.old // because the file can not be edited due to some immortal flags and lack of tools to remove these flags
  1. cp upgrade_precheck.py.old upgrade_precheck.py
  1. vi upgrader_precheck.py // then search for line that has ((1024 * 2 ) - 32)

Replace value of MEM_MIN_SIZE =(4 * 1024 -32) Size_MiB with something like this (1 * 1024 -32) and save (:w! in vi)

  1. ps -c | grep weas // find the PID
  1. kill -9 #### // where #### is the python PID

Return to the second console with installer (alt+F2) Continue as normal