This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
vmware [2014/11/24 02:11] ben |
vmware [2024/01/30 13:56] (current) ben [Reset Eval license] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== VMware ====== | ====== VMware ====== | ||
- | ===== Installation Guides | + | ===== NUC ===== |
- | * [[VMware Server on Ubuntu]] | + | |
- | The vmware-server-2 web interface can be rather annoying to use. fortunately, | + | 8th gen nuc needs a customised install |
- | ===== Troubleshooting VMware Server ===== | + | * Instructions for building a slipstreamed install USB stick: [[https:// |
- | ==== Host Agent Service won't start ==== | + | * usbnic fling (used by usb-c dock): [[https:// |
- | If the vmware | + | * net-community drivers (needed for nuc8 onboard nic): [[https:// |
- | The VMware Host Agent service terminated with service-specific error 4294967295 (0xFFFFFFFF). | + | ===== vCenter ===== |
- | Then it is highly likely that the file '' | + | ==== OIDC SSO authentication via KeyCloak ==== |
- | ==== "host clock rate change request" | + | Officially vCenter 7 adds support for OIDC for ADFS only, however with some tweaks, it can be made to work using KeyCloak instead. |
- | On Ubuntu, edit the syslog configuration, ''/ | + | |
- | # Replace this... | + | * Ensure KeyCloak docker container is running with env vars <code bash> |
- | *.*;auth,authpriv.none -/var/log/syslog | + | JAVA_OPTS_APPEND = " |
- | # ... with this | + | </ |
- | *.*;auth,authpriv.none; | + | |
+ | | ||
+ | * For the Root URL, Admin URL, Web Origins, use '' | ||
+ | * For Valid Redirect URIs use '' | ||
+ | * | ||
+ | * For backchannel logout URL use '' | ||
+ | * Set Client Protocol to '' | ||
+ | * On the Credentials tab, make a note of the secret | ||
+ | * On the mappers tab: | ||
+ | * Add a hardcoded claim for claim '' | ||
+ | * Add a script mapper named '' | ||
+ | token.setSubject(user.getUsername()); | ||
+ | </ | ||
+ | * Under Realm Settings | ||
- | Alternatively, add '' | + | Under vCenter -> Administration -> Single Sign On -> Configuration |
+ | * Click '' | ||
+ | * Under Client Identifier, enter '' | ||
+ | * Under shared secret, enter the secret noted earlier | ||
+ | * Under OpenID address, paste the URL noted earlier | ||
+ | * Fill in the LDAP details when prompted. Be sure to upload the root CA certificate (needed even for LetsEncrypt certs) | ||
- | ==== "You do not have permissions to login to the server" | + | If there are certificate errors, try also adding |
- | Only members of the vmware admin group may log into vmware. This user is set by the '' | + | |
- | {{Command|< | + | |
- | getent group vmware | + | |
- | </ | + | |
- | ===== Troubleshooting VMware Server Console | + | ====== |
- | ==== Incorrect keyboard map ==== | + | |
- | If certain keys such as the arrow keys and page up/down don't work, then vmware console has picked up the wrong keyboard map. To fix it, run the following command, and restart the console: | + | |
- | {{Command|< | + | |
- | echo " | + | |
- | </ | + | |
- | ===== See Also ===== | + | https://marte-it.at/en/reset-esxi-evaluation-license/ |
- | * http://www.travisjbailey.com: | + | |
- | * http://www.linuxscrew.com/2008/12/19/vmware-server-console-keyboard-problem-in-ubuntu-intrepid-ibex/ - Original article for the console keyboard fix | + | * Start the SSH service on the ESXi host |
+ | * Start a SSH connection with a SSH client (e.g. PuTTY) | ||
+ | * Delete the current license: <code bash> | ||
+ | rm -r /etc/vmware/ | ||
+ | </code> | ||
+ | * Copy the new license: <code bash> | ||
+ | cp /etc/vmware/ | ||
+ | </ | ||
+ | * Restart | ||
+ | / | ||
+ | </ |