【OpenStack】OpenStack系列9之Compute节点安装
https://github.com/yongluo2013/osf-openstack-training/blob/master/installation/openstack-icehouse-for-centos65.md
yum install kvm qemu-kvm qemu-kvm-tools
yum install bridge-utils qemu-img
yum install python-virtinst virt-manager virt-viewer
yum install libvirt libvirt-client
reboot
lsmod | grep kvm
virsh version
/etc/init.d/libvirtd start
service libvirtd status
virsh list --all
virt-manager
?
nova-compute &
nova-manage service list
nova image-list
nova volume-list
nova network-list
nova list
?
neutron subnet-create ext-net 10.20.0.0/24 --name ext-subnet --allocation-pool start=10.20.0.100,end=10.20.0.200 --disable-dhcp --gateway 10.20.0.1
創建外部網絡、為外部網絡添加子網
創建租戶、租戶網絡、租戶網絡子網
為租戶網絡創建路由連接到外部子網
?
?
需要指定compute_driver=nova.virt.libvirt.LibvirtDriver
https://bugs.launchpad.net/nova/+bug/1139684
https://www.rdoproject.org/forum/discussion/242/nova-conf-compute_driver-setting/p1
mkdir -p /usr/lib/python2.6/site-packages/instances
解決nova-compute啟動報OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-packages/instances'問題
http://www.boyunjian.com/do/article/snapshot.do?uid=1496353779464189827
nova network-list
nova-manage floating list
iptables -t nat –L
查看DNAT、SNAT規則。
http://www.fikker.com/bigcache2/help/linux-fdisk.html
http://www.cnblogs.com/nerxious/archive/2013/01/14/2859493.html
http://www.fikker.com/bigcache2/help/images/fstab-fikker-2.png
nova boot vm01-test --availability-zone nova --flavor 1 --image cirros-0.3.0-x86_64 --nic net-id=4227cf77-e56f-43aa-aa4b-23d05254cc79
http://blog.csdn.net/ugyn109/article/details/7610882
http://net.doit.wisc.edu/~dwcarder/captivator/linux_trunking_bridging.txt
nova-manage network delete --uuid=72fe9d5b-fbc9-492d-9bef-4e204b3c8375
或者:
轉載于:https://www.cnblogs.com/junneyang/p/5257274.html
總結
以上是生活随笔為你收集整理的【OpenStack】OpenStack系列9之Compute节点安装的全部內容,希望文章能夠幫你解決所遇到的問題。
                            
                        - 上一篇: 阿里服务器+Centos7.4+Tomc
 - 下一篇: 奇怪的bug,不懂Atom在添加mark