Installing and Configuring OpenStack (Juno) in Oracle® Solaris

Exit Print View

Updated: June 2016
 
 

How to Enable Console Access

Use this procedure to be able to use a VM instance's console from a browser based on a user's request.

  1. On each Compute node, perform the following steps depending on which scenario applies.
    • If the Compute node's IP addresses are accessible from the public facing network, set the following parameters in the [DEFAULT] section of the /etc/nova/nova.conf file.
      [DEFAULT]
      ...
      vnc_enabled = true
      vncserver_listen = 0.0.0.0
      novncproxy_port = 6080
      novncproxy_base_url =http://FQDN:6080/vnc_auto.html
      novncproxy_host = 0.0.0.0
      ...
      

      where FQDN represents the fully qualified domain name or the IP address of the Compute node.

    • If the Compute node is in a private network, set the following parameters in the [DEFAULT] section of the /etc/nova/nova.conf file.
      [DEFAULT]
      ...
      vnc_enabled = true
      vncserver_listen = internal-IP
      novncproxy_port=6080
      novncproxy_base_url = http://public-IP:6080/vnc_auto.html
      vncserver_proxyclient_address = internal-IP
      
      • internal-IP - IP address of the Compute node on the internal network.

      • public-IP - public IP address of the Controller host.

  2. Perform the following substeps if the IP addresses of the Compute node are accessible from the public facing network. Otherwise, skip to the next step.
    1. Enable the nova-novncproxy service.
      compute# svcadm enable nova-novncproxy
    2. Restart the nova-compute service.
      compute# svcadm restart nova-compute
  3. On the Controller node, perform the following steps depending on which scenario applies.
    • If the Compute node's IP addresses are accessible from the public facing network, enable the nova-consoleauth service.
      controller# svcadm enable nova-consoleauth
    • If the Compute node is in a private network, perform the following steps:
      1. Set the following parameters in the [DEFAULT] section of the /etc/nova/nova.conf file.
        novncproxy_base_url=http://public-IP:6080/vnc_auto.html
        

        where public-IP - public IP address of the Controller host.

      2. Enable Nova services as follows:
        controller# svcadm enable nova-consoleauth
        controller# svcadm enable nova-novncproxy