关于什么是Fuel以及Fuel的作用和构架可以参考下面Openstack官方给出的Wiki链接.https://wiki.openstack.org/wiki/Fuel.
在安装部署之前,先看看官方给出的Fuel 9.0版本特性.
Mirantis OpenStack is distributed as a single commercially supportedpackage in ISO format. The 9.0 release features:
· Enhanced OpenStack Lifecycle Management features in Fuel,including the ability to scale up/down, change configuration settings, anddeploy new functionality, such as by adding plugins for Murano and StackLight
· The ability to export Fuel configurationvalues to third-party configuration management tools
· Enhanced features for NFViand other high performance workloads, including support for NUMA and CPU-pinning, Huge Pages, SR-IOVand DPDK
· Support for applicationand service orchestration with TOSCA
· Support for cgroups toenable the efficient allocation of a specific amount of system resources,including CPU and memory, to particular resource groups
· The ability to deployOpenStack environments on servers with disks provided by storage systems withmultipath I/O
· Support for preprovisionedOracle Linux nodes
· Support of OpenStack Mitaka upstream release
Fuel 9.0将会搭载Openstack_Mitaka 版本,这个版本是2016年出的最新版本。
当然Fuel 9.0也增强了很多其他特性,比如对Huge Pages,SR-IPV和Intel的DPDK。Fuel 在早先的版本中已经去掉了利用CentOS来搭建Openstack的环境,在9.0中只使用Ubuntu和Ubuntu + UCA的部署方式。
下面进入安装部署环节:
1,环境准备
1.1 Fuel 镜像下载
使用下方网址即可下载最新的Fuel release image.用于部署fuel-master,一般为BT文件,利用下载工具下载即可.
1.2 硬件资源
官方推荐使用4核心的CPU,以及4G以上内存、10G网卡、500G物理磁盘.但是在实验环境下,双核CPU,4G内存 1000M网卡和50G以上的硬盘就足够了,切记的是硬盘不得小于50G,因为这样会导致安装失败.
当然官方给出的实验要求比我推荐的要求要低,体现在内存的设置上,如果设置为2G内存会导致安装速度缓慢,所以建议条件容许的情况下加大设备资源.
下面是官方给出的推荐的生产以及实验环境介绍.
For a production environment:
Quad-core CPU
4 GB RAM
10 Gigabit network port
Disk size depends on the number of deployed nodes. All nodes send logs to the Fuel Master node using rsyslog. During installation, Fuel creates a separate partition for /var to store the remote logs and allocates 40% of the disk size to it. Our recommendation for the remote logs partition is 20 GB per node. If you deploy 10 nodes with Fuel, you need to have a (20 x 10) x 2.5 = 500 GB disk for the Fuel Master node.
IPMI access through an independent management network
For a testing environment:
Dual-core CPU
2 GB RAM
1 Gigabit network port
50 GB disk
Physical console access
1.3软件选择
官方推荐使用Virtual-box来安装部署Fuel-master节点.当然你也可以选用VM来部署.效果都是一样的,只是有些人反应用VM来装会产生一些问题,所以在这里我选择Virtual-box 来进行安装部署.
2.部署 Fuel-Master
2.1 创建Fuel-master 虚拟机.
新建一个虚拟机名称为Fuel-master,当然你也可以自己定义名称.
这里什么要选择Red Hat是因为Fuel的底层使用的是Centos,但是Virtual-BOX里面没有Centos选项,只能选择最贴近的Red Hat,而且不要忘了选择64位系统.如果选择32有可能会安装失败.
[root@fuel~]# rpm -q centos-release
centos-release-7-2.1511.el7.centos.2.10.x86_64
[root@fuel~]# cat /etc/RedHat-release
CentOS Linux release 7.2.1511 (Core)
设置虚拟机内存大小为4G.
选择“现在创建虚拟磁盘”.
硬盘文件类型选择为VDI类型.