Console access

Since one of the key differentiators when compared to the public cloud is the console, and as, in this section, we will also install the console components, let's take a look at how the console subsystem works.

Later in the book, when we install the dashboard component, we will then be able generate the console URL right from the dashboard. However, we can also generate the URL using the nova CLI command:

nova get-vnc-console

This will generate the VNC URL that points to the proxy. The URL will be of the following format: http://ProxyIP:Port/?token=axyasaas. The proxy IP address is set in the nova.conf files in the previous configuration, as shown in the following figure:

Console access

The following happens when the console URL is accessed:

  1. Browser/Client connects to VNC Proxy.
  2. VNC Proxy talks to nova-consoleauth to authorize the user's token.
  3. VNC Proxy maps the token to the private host and the port of an instance's VNC server.

    The compute host specifies the address that the proxy should use to connect in the nova.conf file.

  4. VNC Proxy initiates a connection to the VNC server and continues proxying until the session times out or a user closes the session.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset