OpenStack Enable Spice protocol
#控制节点
#安装
?
1 |
apt-get install nova-spiceproxy spice-html5 spice-vdagent |
#配置 nano/etc/nova/nova.conf
?
123456789 |
# 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
?
12345678910 |
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 |
#可以到计算节点查看指定主机的端口, the default is 5900
?
Ubuntu OpenStack Spice