Fuel7.0安装

陈沙克在他的经典文章里分析了多个安装部署工具,用于openstack部署。

当然时代变了,所以很多这些工具都改头换面了。

目前看,

1 Mirantis Fuel仍然是最好的商业用选择,虽然还有瑕疵。

fuel在7和7之后已经提供开源的plugin插件,例如contrail的插件。并将fuel plugin方案放入openstack发展会中。

fuel在6的时候已经在提供商业化的plugin了。

fuel目前的8有个讨厌的地方就是需要联网取些内容(是我网的问题,联网去取docker image供slave用),对centos7.0的版本兼容性也不好。(是centos7.0的问题,其升kernel到7.1很大可能会挂)

fuel的瑕疵主要是有些场景会莫名的出现异常,部分删除和增加云会导致异常,一些硬盘大小识别在安装快结束时才告诉你容量不足。(主要是6的问题,8因网络问题至今无感)

2 RDO,即原来的packstack

RDO无光盘,也是出了名的网络安装,没网怎么活?

RDO安装的粒度必须是全openstack

RDO安装了ceilemeter,第二次换了ip(如果是dhcp申请的),重装,如果不选择ceilemeter,则原来的ceil不会自动消亡,还在那里盲目发信息要求通讯。

3 其他puppet类,如陈所言。

其中rackspace,我没找到光盘,也没找到脚本。rackspace是不是已经不怎么玩openstack了?

4 ansible和kolla

ansible比较方便,因为总有人讨厌puppet,在下不懂puppet,所以也不愿意碰

kolla是ansible语言的上层开发。提供了以openstack 服务级粒度的openstack安装部署。

kolla可以支持对失败的openstack的nova,keystone服务重新单独部署。

kolla还基于docker

fuel7.0安装,和fuel5.0、6安装相似,这次小弟是在virtualbox上安装的。

小弟修改了config.sh

主要改动点

1 master, 1compute, 1controller,

给计算节点多点资源。

不过安装成功后,惊讶的发现fuel7很智能的把整张盘的大小都给了compute,controller

内存上各节点的配置则和config.sh相同。

贴上config.sh

#!/bin/bash

#    Copyright 2013 Mirantis, Inc.
#
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
#    not use this file except in compliance with the License. You may obtain
#    a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
#    License for the specific language governing permissions and limitations
#    under the License.

source ./functions/memory.sh

# Get the first available ISO from the directory 'iso'
iso_path=`ls -1t iso/*.iso 2>/dev/null | head -1`

# Every Mirantis OpenStack machine name will start from this prefix
vm_name_prefix=fuel-

# By default, all available network interfaces vboxnet won't be removed,
# if their IP addresses don't match with fuel_master_ips (10.20.0.1 172.16.0.254
# 172.16.1.1)
# If you want to remove all existing vbox interfaces, then use rm_network=1
# 0 - don't remove all vbox networks. Remove only fuel networks if they exist
# 1 - remove all vbox networks
rm_network=0

# Please add the IPs accordingly if you going to create non-default NICs number
# 10.20.0.1/24   - Mirantis OpenStack Admin network
# 172.16.0.1/24  - OpenStack Public/External/Floating network
# 172.16.1.1/24  - OpenStack Fixed/Internal/Private network
# 192.168.0.1/24 - OpenStack Management network
# 192.168.1.1/24 - OpenStack Storage network (for Ceph, Swift etc)
fuel_master_ips="10.20.0.1 172.16.0.254 172.16.1.1"

# Network mask for fuel interfaces
mask="255.255.255.0"

# Determining the type of operating system and adding CPU core to the master node
  case "$(uname)" in
    Linux)
      os_type="linux"
      if [ "$(nproc)" -gt "1" ]; then
        vm_master_cpu_cores=2
      else
        vm_master_cpu_cores=1
      fi
    ;;
    Darwin)
      os_type="darwin"
      mac_nproc=`sysctl -a | grep machdep.cpu.thread_count | sed 's/^machdep.cpu.thread_count\:[ \t]*//'`
      if [ "$mac_nproc" -gt "1" ]; then
        vm_master_cpu_cores=2
      else
        vm_master_cpu_cores=1
      fi
    ;;
    CYGWIN*)
      os_type="cygwin"
      if [ "$(nproc)" -gt "1" ]; then
        vm_master_cpu_cores=2
      else
        vm_master_cpu_cores=1
      fi
    ;;
    *)
      echo "$(uname) is not supported operating system."
      exit 1
    ;;
  esac

# Master node settings
vm_master_memory_mb=1536
vm_master_disk_mb=65535

# Master node access to the internet through the host system, using VirtualBox NAT adapter
vm_master_nat_network=192.168.200.0/24
vm_master_nat_gateway=192.168.200.2

# These settings will be used to check if master node has installed or not.
# If you modify networking params for master node during the boot time
#   (i.e. if you pressed Tab in a boot loader and modified params),
#   make sure that these values reflect that change.
vm_master_ip=10.20.0.2
vm_master_username=root
vm_master_password=r00tme
vm_master_prompt='[email protected] ~]#'

# The number of nodes for installing OpenStack on
#   - for minimal non-HA installation, specify 2 (1 controller + 1 compute)
#   - for minimal non-HA with Cinder installation, specify 3 (1 ctrl + 1 compute + 1 cinder)
#   - for minimal HA installation, specify 4 (3 controllers + 1 compute)
if [ "$CONFIG_FOR" = "16GB" ]; then
  cluster_size=5
elif [ "$CONFIG_FOR" = "8GB" ]; then
  cluster_size=3
else
  # Section for custom configuration
  cluster_size=2
fi

# Slave node settings. This section allows you to define CPU count for each slave node.

# You can specify CPU count for your nodes as you wish, but keep in mind resources of your machine.
# If you don't, then will be used default parameter
if [ "$CONFIG_FOR" = "16GB" ]; then
  vm_slave_cpu_default=1

  vm_slave_cpu[1]=1
  vm_slave_cpu[2]=1
  vm_slave_cpu[3]=1
  vm_slave_cpu[4]=1
  vm_slave_cpu[5]=1
elif [ "$CONFIG_FOR" = "8GB" ]; then
  vm_slave_cpu_default=1

  vm_slave_cpu[1]=1
  vm_slave_cpu[2]=1
  vm_slave_cpu[3]=1
else
  # Section for custom configuration
  vm_slave_cpu_default=1

  vm_slave_cpu[1]=4
  vm_slave_cpu[2]=1
fi

# This section allows you to define RAM size in MB for each slave node.
# Keep in mind that PXE boot might not work correctly with values lower than 768.
# You can specify memory size for the specific slaves, other will get default vm_slave_memory_default
# Mirantis OpenStack 3.2 controllers require 1280 MiB of RAM as absolute minimum due to Heat!

# You may comment out all the following memory parameters to use default value for each node.
# It is recommended if you going to try HA configurations.
# for controller node at least 1.5Gb is required if you also run Ceph and Heat on it
# and for Ubuntu controller we need 2Gb of ram

# For compute node 1GB is recommended, otherwise VM instances in OpenStack may not boot
# For dedicated Cinder, 768Mb is OK, but Ceph needs 1Gb minimum

if [ "$CONFIG_FOR" = "16GB" ]; then
  vm_slave_memory_default=1536

  vm_slave_memory_mb[1]=2048
  vm_slave_memory_mb[2]=2048
  vm_slave_memory_mb[3]=2048
  vm_slave_memory_mb[4]=2048
  vm_slave_memory_mb[5]=2048
elif [ "$CONFIG_FOR" = "8GB" ]; then
  vm_slave_memory_default=1024

  vm_slave_memory_mb[1]=1536
  vm_slave_memory_mb[2]=1536
  vm_slave_memory_mb[3]=1536
else
  # Section for custom configuration
  vm_slave_memory_default=1024

  vm_slave_memory_mb[1]=12048
  vm_slave_memory_mb[2]=1024
  vm_slave_memory_mb[3]=1024
fi

# Within demo cluster created by this script, all slaves (controller
# and compute nodes) will have identical disk configuration. Each
# slave will have three disks with sizes defined by the variables below. In a disk configuration
# dialog you will be able to allocate the whole disk or it's part for
# operating system (Base OS), VMs (Virtual Storage), Ceph or other function,
# depending on the roles applied to the server.
# Nodes with combined roles may require more disk space.
vm_slave_first_disk_mb=85535
vm_slave_second_disk_mb=35535
vm_slave_third_disk_mb=65535

# Set to 1 to run VirtualBox in headless mode
headless=0
skipfuelmenu="no"
时间: 2024-07-29 19:56:53

Fuel7.0安装的相关文章

Fuel7.0安装脚本(for virtualbox)执行过程

[email protected] /cygdrive/c/tool/mirantis/vbox-scripts-7.0/virtualbox $ sh launch.sh Checking for 'free'... OK Checking for 'expect'... OK If you run this script under Cygwin, you may have to add path to VirtualBox directory to your PATH. Usually i

Linux下WebSphereV8.5.5.0 安装详细过程

Linux下WebSphereV8.5.5.0 安装详细过程 自WAS8以后安装包不再区别OS,一份介质可以安装到多个平台.只针对Installation Manager 进行了操作系统的区分 ,Websphere产品介质必须通过专门的工具Install Managere安装.进入IBM的官网http://www.ibm.com/us/en/进行下载.在云盘http://yun.baidu.com/share/linkshareid=2515770728&uk=4252782771 中是Linu

Windows环境下Android Studio v1.0安装教程

Windows环境下Android Studio v1.0安装教程 Windows环境下Android Studio v1.0安装教程 准备工具 JDK安装包. 要求:JDK 7以及以上版本. Android Studio安装文件. Windows: exe(包含SDK) (813 MB) exe(不包含SDK) (250 MB) zip (235 MB) Mac dmg (234 MB) zip (233 MB) Linux: zip (233 MB) 说明: 32位系统和64位系统是同一个安

VMware Workstation11.0安装Mac OS X 10.10最完整指南(包含所需所有资源下载)

前言说明:最近换了新的电脑,配置好很多了,想装下虚拟机来玩下IOS,其中也遇到了几个大坑,现在刚完全装好,把所有步骤以及资源整合到一处,后面的朋友可以避免浪费很多无谓的百度时间. ""我先把使用到的程序以及版本说明下,因为这非常总要,使用虚拟机安装mac,其实就是装黑苹果,这要依赖很多破解工具,但这些工具都是有版本支持的.我这些版本装的没问题,但是你如果下载网上其他版本,我就不能确保一定没问题了,只能是自己试了."" VMware 11.0 永久不过期激活密钥 1F

Hadoop2.6.0安装 — 集群

文 / vincentzh 原文连接:http://www.cnblogs.com/vincentzh/p/6034187.html 这里写点 Hadoop2.6.0集群的安装和简单配置,一方面是为自己学习的过程做以记录,另一方面希望也能帮助到和LZ一样的Hadoop初学者,去搭建自己的学习和练习操作环境,后期的 MapReduce 开发环境的配置和 MapReduce 程序开发会慢慢更新出来,LZ也是边学习边记录更新博客,路人如有问题欢迎提出来一起探讨解决,不足的地方希望路人多指教,共勉! 目

zabbix3.0安装部署文档

zabbix v3.0安装部署 摘要: 本文的安装过程摘自http://www.ttlsa.com/以及http://b.lifec-inc.com ,和站长凉白开的<ZABBIX从入门到精通v3.0.1 - 运维生存时间(2016)>一书. 关于zabbix及相关服务软件版本: Linux:centos 6.6 nginx:1.9.15 MySQL:5.5.49 PHP:5.5.35 一.安装nginx: 安装依赖包: yum -y install gcc gcc-c++ autoconf

记:MySQL 5.7.3.0 安装 全程截图

前言: 下一个班快讲MySQL数据库了,正好把服务器里面的MySQL卸了重装了一下. 截个图,作为笔记.也正好留给需要的朋友们. 目录: 下载软件 运行安装程序 安装程序欢迎界面 许可协议 查找更新 选择安装类型 检查需要组件 准备安装 准备配置MySQL 配置MySQL实例 设置MySQL账号 Server服务配置 配置完毕 安装&配置完毕 完成安装 MySQL Workbench工作台 MySQL Workbench工作台主界面 结尾 MySQL 5.7.3.0 安装 全程截图 经典的MyS

Hadoop-2.4.0安装和wordcount执行验证

Hadoop-2.4.0安装和wordcount执行验证 下面描写叙述了64位centos6.5机器下,安装32位hadoop-2.4.0,并通过执行 系统自带的WordCount样例来验证服务正确性的步骤. 建立文件夹 /home/QiumingLu/hadoop-2.4.0,以后这个是hadoop的安装文件夹. 安装hadoop-2.4.0,解压hadoop-2.4.0.tar.gz到文件夹 /home/QiumingLu/hadoop-2.4.0就可以 [[email protected]

CentOS 7.0安装配置Vsftp服务器步骤详解

安装Vsftp讲过最多的就是在centos6.x版本中了,这里小编看到有朋友写了一篇非常不错的CentOS 7.0安装配置Vsftp服务器教程,下面整理分享给各位. 一.配置防火墙,开启FTP服务器需要的端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙. 1.关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止