< go > Cloud host configuration OpenStack uses Spice method

Source: Internet
Author: User

OpenStack, which is built and configured by official documents (Openstack-install-guide-yum-juno), uses NOVNC as the console access for cloud hosts by default, which can be awkward if you need to configure an operating system that uses a GUI. So try to configure using Spice as the console access method. Even if its configuration is relatively simple, it also puzzled me for a long time, the last step of the ......   test environment for the VMware wks,4 nodes, respectively, control nodes, network nodes, compute nodes and storage nodes, are deployed on the CentOS 7.0. The environment was set up in official documents before the spice was configured, and the tests were available. The configuration process involves only the control node (192.168.209.11) and COMPUTE nodes (192.168.209.31), and modifies the IP address of the actual environment as appropriate.    Modify Control node installation package yum install Spice-server spice-protocol openstack-nova-spicehtml5proxy spice-html5  ### SPICE-HTML5 from Epel source, Spice-server,spice-protocol from CentOS official source   Modify configuration file, comment out the original VNC related configuration, add the following configuration information. There is a need to explicitly specify the Vnc_enabled=false, otherwise the system still uses VNC (refer to the official documentation for instructions), even if Spice is configured vim/etc/nova/nova.conf  [default]vnc_enabled= False[spice]html5proxy_host=192.168.209.11html5proxy_port=6082keymap=en-us    Stop Novncproxy and cancel self-booting systemctl stop openstack-nova-novncproxy.servicesystemctl disable openstack-nova-novncproxy.service   enable Spicehtml5proxy boot and start it systemctl enabled Openstack-nova-spicehtml5proxy.servicesystemctl Start Openstack-nova-spicehtml5proxy.service &NBSP;&NBSP; open 6082 port firewall-cmd--add-port=6082/tcp--permanentfirewall-cmd--reload     Modify compute node installation package Yum Install Spice-server spice-protocol spice-html5  ### spice-html5 from Epel source, Spice-server,spice-protocol from CentOS official source   Modify the configuration file, comment out the original VNC related configuration, add the following configuration information vim/etc/nova/nova.conf  [default]vnc_enabled=false[spice]html5proxy_base_ url=http://192.168.209.11:6082/spice_auto.htmlserver_listen=0.0.0.0server_proxyclient_address= 192.168.209.31enabled=truekeymap=en-us    Restart Nova-computesystemctl restart openstack-nova-compute.service 





Http://www.kuandaicesu.com/xinwenzhongxin/wangluojishu/6426.html original article link

< go > Cloud host configuration OpenStack uses Spice method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.