This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
vmware [2014/11/24 02:11] ben |
vmware [2021/11/25 21:29] ben |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== VMware ====== | ====== VMware ====== | ||
- | ===== Installation Guides | + | ===== vCenter |
- | * [[VMware Server on Ubuntu]] | + | |
- | The vmware-server-2 web interface can be rather annoying to use. fortunately, | + | ==== OIDC SSO authentication via KeyCloak ==== |
- | ===== Troubleshooting VMware Server ===== | + | Officially vCenter 7 adds support for OIDC for ADFS only, however with some tweaks, it can be made to work using KeyCloak instead. |
- | ==== Host Agent Service won't start ==== | + | |
- | If the vmware host agent service wont start on Vista and issues the error: | + | |
- | The VMware Host Agent service terminated | + | * Ensure KeyCloak docker container is running with env vars <code bash> |
+ | JAVA_OPTS_APPEND = " | ||
+ | </ | ||
+ | * Add a client | ||
+ | * Ensure enabled, standard flow and direct access grants are enabled | ||
+ | * 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 -> Endpoints, right click '' | ||
- | Then it is highly likely that the file '' | + | 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) | ||
- | ==== "host clock rate change request" | + | If there are certificate errors, try also adding |
- | On Ubuntu, edit the syslog configuration, | + | |
- | + | ||
- | # Replace this... | + | |
- | | + | |
- | # | + | |
- | | + | |
- | + | ||
- | Alternatively, add '' | + | |
- | + | ||
- | ==== "You do not have permissions to login to the server" | + | |
- | 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 ===== | + | |
- | * http:// | + | |
- | * http:// | + |