by 无若
####控制节点
#安装
apt-get install nova-spiceproxy spice-html5 spice-vdagent
#配置 nano /etc/nova/nova.conf
# 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
#重启
cd /usr/bin/;for i in $(ls nova-*);do sudo service $i restart;done
####计算节点
#安装
apt-get install spice-vdagent
#配置 nano /etc/nova/nova.conf
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
#重启
cd /usr/bin/;for i in $(ls nova-*);do sudo service $i restart;done
#到计算节点查看指定主机的端口
ps aux | grep spice