• Deploy Openstack with RDO and Change VNC console to Spice


    Deploy Openstack with RDO and Change VNC console to Spice

    • host os: centOS 7 server

    • config network and keep network working
      here the IP address is 192.168.122.148

    • install openstack using RDO

    sudo yum update -y
    #install liberty default
    sudo yum install -y https://rdoproject.org/repos/rdo-release.rpm   
    sudo yum install -y openstack-packstack
    packstack --allinone
    
    • login to http://$YOURIP/dashboard with admin or demo
      password is in /root/keystonerc_admin or keystonerc_demo

    • config spice manually
      stop vnc service and comment the vnc related configuration

    systemctl stop openstack-nova-novncproxy.service
    
     # /etc/nova/nova.conf 
         [DEFAULT]
         #novncproxy_host=0.0.0.0
         #novncproxy_port=6080
         #novncproxy_base_url=http://192.168.122.148:6080/vnc_auto.html
         #vncserver_listen=0.0.0.0
         #vncserver_proxyclient_address=192.168.122.148
         vnc_enabled=False
    
    • install spice service
    yum install spice-html5
    yum install openstack-nova-spicehtml5proxy
    
    • config spice
    # /etc/nova/nova.conf
         [spice]
         html5proxy_host=0.0.0.0
         html5proxy_port=6082
         html5proxy_base_url=http://192.168.122.148:6082/spice_auto.html
         server_listen=0.0.0.0
         enabled=True
         agent_enabled=true
         keymap=en-us
    
    • open the spice port
    iptables -I INPUT -p tcp -m multiport --dports 6082 -m comment --comment "Allow SPICE connections for console access " -j ACCEPT
    
    • restart services
    service openstack-nova-compute restart
    service httpd restart
    systemctl enable openstack-nova-spicehtml5proxy
    systemctl start  openstack-nova-spicehtml5proxy.service
    service openstack-nova-spicehtml5proxy status
    
    • check instance's spice port
    ps -ef | grep spice | grep port
    
  • 相关阅读:
    移动app测试浅析
    Instruments 使用指南
    手机APP测试的几大点
    Python之路【目录】
    Delphi TreeView – 自动展开树形结构
    Delphi TreeView – 自动给标题上加图片
    Delphi 发送邮件 通过Office Outlook
    Delphi Create(nil), Create(self), Create(Application)的区别
    Delphi StringReplace – 替换字符函数
    Delphi MessageBox
  • 原文地址:https://www.cnblogs.com/zeweiwu/p/4907119.html
Copyright © 2020-2023  润新知