OSI:VMware/vSphere

Z HelpDesk

VMware vSphere

Přihlášení přes ssh

ssh -o PubkeyAuthentication=no root@vcenter.zcu.cz

Selhání upgradu vCenter serveru

Pokud upgrade přes VAMI selže s chybou Installation failed: Exception occurred in install precheck phrase, musí se na vCenter server přihlásit pomocí ssh a smazat soubor

rm /etc/applmgmt/appliance/software_update_state.conf

vCenter upgrade failed

Změna požadavků na heslo

  • Editovat soubor /etc/pam.d/system-password.
# Begin /etc/pam.d/system-password

# use sha512 hash for encryption, use shadow, and try to use any previously
# defined authentication token (chosen password) set by any prior module

password requisite pam_cracklib.so dcredit=-1 ucredit=-1 lcredit=-1 ocredit=-1 minlen=8 minclass=4 difok=4 retry=3 maxsequence=0 enforce_for_root
password required pam_pwhistory.so enforce_for_root use_authtok remember=5 retry=3
password required pam_unix.so sha512 use_authtok shadow try_first_pass

# End /etc/pam.d/system-password

Unable to reset password for user, Error: Authentication token manipulation error

Reset zablokovaného hesla

  • Restartovat vCenter a při bootu držet klávesu e.
  • Do řádku grubu přidat rw init=/bin/bash.
  • Zadat passwd.
  • Pokud je heslo zablokované, odblokovat pomocí pam_tally2 -–user=root --reset.

HowTo: Reset vCenter 7 VCSA Password or Unlock Account

How to reset the lost or forgotten root password in vCenter Server Appliance 6.5 (2147144)