Files
Wiki/VMWare/README.md

1.2 KiB

VMWare

vCenter

Add static routes

vCenter servers use systemd-networkd for network configuration. To add static routes edit /etc/systemd/network/10-eth0.network and add the following:

[Route]
Destination=<subnet>
Gateway=<nexthop>

ESXi 6.X

Re-enable user in lockout mode

If you enabled lockout mode in vSphere then inputing the wrong password multiple times puts your user into lockout mode. It is locked for a period of time (at most 900 seconds). Each following login - even correct ones - resets the timer.

To re-enable to user you need console access (by standing in front of the machine or some sort of remote console, e.g. HP iLo or Dell iDrac):

  1. Press ALT+F1 to change from the DCUI to the ESXi shell
  2. Log in with an administrative user (even if this one is locked)
  3. Run pam_tally2 --user <username> to see the number of unsuccessful logins
  4. Run pam_tally2 --user <username> --reset to reset this number
  5. Now you should be able to login using SSH or the web frontend