Monday, January 2, 2017

Web Interface for ESXi without vCenter

Web Interface for ESXi without vCenter


It’s now possible to manage standalone ESXi hosts with not only the Windows vSphere Client or vCenter, but with a web interface for ESXi !
VMware Labs is where the latest tools (known as Flings) are being released for early feedback. One of these Flings is an embedded web interface for ESXi hosts written in HTML and JavaScript known as the ESXi Embedded Host Client.
Current features include:
  • VM operations (Power on, off, reset, suspend, etc).
  • Creating a new VM, from scratch or from OVF/OVA (limited OVA support)
  • Configuring NTP on a host
  • Displaying summaries, events, tasks and notifications/alerts
  • Providing a console to VMs
  • Configuring host networking
  • Configuring host advanced settings
  • Configuring host services
There are some issues too at the moment:
  • On ESXi hosts which are assigned a VMware vSphere Hypervisor license, all modification operations will fail silently. We are working on a solution to this issue.
  • On ESXi hosts which have a sub-domain name with large, shared cookies a web console session may fail to initialize. A workaround is to clear cookies or run the host client in an incognito-type window.
  • For ESXi 5.5U2 and prior, and ESXi 6.0 hosts upgraded from any 5.5U2 or prior version, you will get a 503 error returned after visiting https:///ui/. To resolve this issue, please remove the line starting with /ui from /etc/vmware/rhttpproxy/endpoints.conf and restart rhttpproxy with /etc/init.d/rhttpproxy restart
  • For ESXi 5.5 hosts, in-browser consoles are not supported. Please use VMRC to access guest VM consoles.
  • For ESXi 5.5U2 and prior hosts, you must ensure to append a trailing / (forward slash) to the URL after /ui. The URL must be https:///ui/
  • For some Windows guests, send Ctrl-Alt-Del does not work.
The first issue is a real killer. Only hosts running the evaluation license can perform power operations at the moment. Hopefully the next update fixes this as the evaluation license only lasts 60 days.

Installation

Everything you need to know can be found on the official Fling page. But to summarise:
Installing it over the Internet
  1. SSH into your ESXi host
  2. Run the command
1
$ esxcli software vib install -v http://download3.vmware.com/software/vmw-tools/esxui/esxui_signed.vib
Installing it from a local file
  1. Download the VIB file
  2. SSH into your ESXi host
  3. Copy the VIB file to /tmp/
  4. Run the command
1
$ esxcli software vib install -v /tmp/esxui_signed.vib
Making sure you include the full path name to the file or else installation will fail
Try it out!
If the VIB installation completes successfully, you should now be able to navigate a web browser to https:///ui and the login page should be displayed.

Login with your usually ESXi credentials and try it out.



No comments:

Post a Comment