Fuel for OpenStack体验
2013-12-20 15:29
501 查看
这次体验了下用Fule图形界面面快速安装openstack,确实挺不错的 。下面介绍下在kvm虚拟机下安装使用Fuse。
安装前说明
准备3台kvm虚拟机,vm1安装Fuel master,vm2安装openstack controller Node vm3 安装openstack computer node。
vm3 需要支持cpu虚拟化,可以参看http://inaction.blog.51cto.com/2629206/1265072
到http://software.mirantis.com/ 注册下载Mirantis OpenStack iso文件
安装配置过程
1 fuel master虚拟机配置4个网络接口,其中br0连接连接到办公网络,虚拟机配置文件如下
2 再启动2台虚拟机本别作为openstack controller Node和openstack computer node,虚拟机配置如下
两台虚拟机启动后,正常的话会在页面自动监测到,然后可以配置网络如下
注意给连接管理的网络接口的的网桥配置网关,不然因为计算节点连不上mysqld而失败
3 配置好后,点击部署即可。
安装前说明
准备3台kvm虚拟机,vm1安装Fuel master,vm2安装openstack controller Node vm3 安装openstack computer node。
vm3 需要支持cpu虚拟化,可以参看http://inaction.blog.51cto.com/2629206/1265072
到http://software.mirantis.com/ 注册下载Mirantis OpenStack iso文件
安装配置过程
1 fuel master虚拟机配置4个网络接口,其中br0连接连接到办公网络,虚拟机配置文件如下
<domain type='kvm'> <name>test</name> <description>test install instance</description> <memory>4096288</memory> <currentMemory>4096288</currentMemory> <!-- 1G鍐呭瓨--> <vcpu>3</vcpu> <os> <type arch='x86_64' machine='pc'>hvm</type> <boot dev='hd'/> </os> <features> <acpi/> </features> <clock offset='localtime'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/damon/mirantis.qcow2' /> <target dev='vda' bus='virtio'/> </disk> <disk type='file' device='cdrom'> <source file='/mnt/damon/Mirantis.iso'/> <target dev='hdb' bus='ide'/> </disk> <!-- <disk type='file' device='cdrom'> <source file='/home/Windows_Server_2003_x64_zhengban_CD1.iso'/> <target dev='hdb' bus='ide'/> </disk> <disk type='file' device='floppy'> <source file='/home/virtio-win-1.1.16.vfd'/> <target dev='fda' bus='fdc'/> </disk> --> <interface type='bridge'> <mac address='52:54:00:f5:78:11'/> <source bridge='br0'/> <model type='virtio'/> </interface> <interface type='bridge'> <mac address='52:54:00:66:67:12'/> <source bridge='br1'/> <model type='virtio'/> </interface> <interface type='bridge'> <mac address='52:54:00:66:66:23'/> <source bridge='br2'/> <model type='virtio'/> </interface> <interface type='bridge'> <mac address='52:54:00:66:77:77'/> <source bridge='br3'/> <model type='virtio'/> </interface> <interface type='bridge'> <mac address='52:54:00:66:88:88'/> <source bridge='br4'/> <model type='virtio'/> </interface> <input type='mouse' bus='ps2'/> <graphics type='vnc' autoport='yes' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='9216' heads='1'/> <alias name='video0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> </memballoon> </devices> </domain>安装最好配置PXE的dhcp服务,重启后,就可以打开网页管理页面
2 再启动2台虚拟机本别作为openstack controller Node和openstack computer node,虚拟机配置如下
<domain type='kvm'> <name>test1</name> <description>test install instance</description> <memory>4096288</memory> <currentMemory>4096288</currentMemory> <vcpu>3</vcpu> <cpu mode='host-passthrough' /> <os> <type arch='x86_64' machine='pc'>hvm</type> <boot dev='network'/> </os> <features> <acpi/> </features> <clock offset='localtime'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/mnt/damon/mirantis1.qcow2' /> <target dev='vda' bus='virtio'/> </disk> <!-- <disk type='file' device='cdrom'> <source file='/home/Windows_Server_2003_x64_zhengban_CD1.iso'/> <target dev='hdb' bus='ide'/> </disk> <disk type='file' device='floppy'> <source file='/home/virtio-win-1.1.16.vfd'/> <target dev='fda' bus='fdc'/> </disk> --> <interface type='bridge'> <mac address='52:54:00:6d:44:66'/> <source bridge='br1'/> <model type='virtio'/> </interface> <interface type='bridge'> <mac address='52:54:00:6d:43:77'/> <source bridge='br2'/> <model type='virtio'/> </interface> <interface type='bridge'> <mac address='52:54:00:61:54:46'/> <source bridge='br3'/> <model type='virtio'/> </interface> <interface type='bridge'> <mac address='52:54:00:61:54:aa'/> <source bridge='br4'/> <model type='virtio'/> </interface> <input type='mouse' bus='ps2'/> <graphics type='vnc' autoport='yes' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='9216' heads='1'/> <alias name='video0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> </memballoon> </devices> </domain>
两台虚拟机启动后,正常的话会在页面自动监测到,然后可以配置网络如下
注意给连接管理的网络接口的的网桥配置网关,不然因为计算节点连不上mysqld而失败
3 配置好后,点击部署即可。
相关文章推荐
- 使用Sheepdog体验Openstack的弹性块服务
- devstack —— 单机部署 OpenStack 体验
- 快速体验openstack-用devstack安装openstack
- OpenStack培训的用户体验
- 体验Openstack--感觉这个比HADOOP还要基础啊
- 体验devstack安装openstack
- C# 3.0 锐利体验系列课程(视频课程讲师:李建忠)
- Node.js 体验 — 当 Node.js 邂逅 Windows Azure
- Red Hat Enterprise Linux为什么要和OpenStack整合在一起? 那是出于技术最优化的需要
- OpenStack之日志
- 第二周项目3-体验复杂度——汉诺塔
- 找出客户痛点,你需要知道的服务体验历程设计
- 15种最差的用户体验
- paip.提升用户体验---显示密码控件ShowPwdController
- OpenStack安装部署管理中常见问题解决方法
- 机房收费系统合作版之初体验
- zabbix监控openstack实例部署时遇到的几个问题
- OpenStack 学习计划表
- 通过字体大小的设计来提高用户体验