zoukankan      html  css  js  c++  java
  • openstack 使用spice协议连接

     

    控制节点:

    [default]                                                                vnc_enabled=false 
    [spice]
    html5proxy_host=192.168.3.91
    html5proxy_port=6082
    keymap=en-us

    停止novncproxy并取消自启动

    systemctl disable --now openstack-nova-novncproxy.service 

    启用spicehtml5proxy开机自启动并启动它

    systemctl enable --now openstack-nova-spicehtml5proxy.service 

    开放6082端口

    firewall-cmd --add-port=6082/tcp –permanent
    firewall-cmd --reload

    计算节点

    yum install spice-server spice-protocol spice-html5

    vim /etc/nova/nova.conf

    [default]
    vnc_enabled=false
    [spice]
    html5proxy_base_url=http://192.168.3.91:6082/spice_auto.html
    server_listen=0.0.0.0
    server_proxyclient_address=192.168.3.91
    enabled=true
    keymap=en-us

    重启启动nova-compute

    systemctl restart openstack-nova-compute.service 

    即可通过virt-viewer连接

  • 相关阅读:
    用linux搭建ranzhi环境
    软件测试知识点总结
    python函数
    python基础
    数据库学习之四
    数据库学习之三
    数据库学习之二
    git常用命令
    JS方法总结
    原生javascript请求服务器详解
  • 原文地址:https://www.cnblogs.com/sealin/p/14673529.html
Copyright © 2011-2022 走看看