Openstack启用spice协议
#控制节点
#安装
1 | apt-get install nova-spiceproxy spice-html5 spice-vdagent |
#配置 nano /etc/nova/nova.conf
1 2 3 4 5 6 7 8 9 | # Vnc configuration #vnc_enabled=false [spice] enabled= true html5proxy_base_url=http: //192 .168.29.81:6082 /spice_auto .html keymap=en-us server_listen=0.0.0.0 server_proxyclient_address=192.168.29.81 agent_enabled= false |
#重启nova
1 | cd /usr/bin/ ; for i in $( ls nova-*); do sudo service $i restart; done |
#计算节点
#安装
1 | apt-get install spice-vdagent |
#配置 nano /etc/nova/nova.conf
1 2 3 4 5 6 7 8 9 10 | vnc_enabled= false novnc_enabled= false [spice] agent_enabled= true enabled= true html5proxy_base_url=http: //192 .168.29.81:6082 /spice_auto .html keymap=en-us server_listen=0.0.0.0 server_proxyclient_address=192.168.29.92 agent_enabled= false |
#重启nova
1 | cd /usr/bin/ ; for i in $( ls nova-*); do sudo service $i restart; done |
#可以到计算节点查看指定主机的端口,默认是5900
1 | ps aux | grep spice |