本文采用VMware虚拟环境,使用CentOS 7.1作为openstack的基础环境。

一、基础平台

  1.一台装有VMware的windows系统(可联网)

  2.CentOS 7.1 64bit镜像

二、安装三台CentOS 7.1 的虚拟机controller、network、compute1,要求如下:

  系统最小化安装、关闭iptables、selinux

  controller:内存1G、硬盘100G、CPU 1核、网卡1个

  network:内存512M、硬盘50G、CPU 1核、网卡3个

  compute1: 内存1G、硬盘100G、CPU 1核、网卡2个

三、网卡配置

  网卡数目及配置参照官网(官网有绘制的结构图,可以对应着看一下);由于是在虚拟机搭建,网卡模式的选择这里不做过多讲解,可查看相关资料

  controller:

    ens33:10.0.0.11/24(NAT)

  network:

    ens33:10.0.0.21/24(NAT)  

    ens34:10.0.1.21/24,不配置网关(host only)

    ens35:   做外部接口,不配置IP,在命令行执行"ifconfig ens35 promisc"设置为混杂模式,并在/etc/rc.local文件下添加一行ifconfig ens35 promisc用于开机自动设置 (桥接)

  compute1:

    ens33:10.10.0.31/24(NAT)  

    ens34:10.0.1.31/24,不配置网关(host only)

四、绑定hosts

  在各节点/etc/hosts文件中添加如下:  

  # controller

  10.0.0.11 controller
  # network
  10.0.0.21 network
  # compute1
  10.0.0.31 compute1
 
五、验证各节点连通性
  在controller上:分别ping www.baidu.com 节点IP:10.0.0.21、10.0.0.31
  在network上:分别ping www.baidu.com 节点IP:10.0.0.31、10.0.1.31
  在compute1上:ping www.baidu.com 验证外网联通性
 
六、配置各节点时间同步
  openstack要求各节点时间同步,具体这里不做讲述,参见NTP服务器配置http://www.cnblogs.com/jim-hwg/p/4606821.html
  这里在controller节点配置NTP服务端。
 
 
 
 
 
 

Openstack(Kilo)安装系列之环境准备(一)的更多相关文章

  1. Openstack(Kilo)安装系列之环境准备(二)

    控制节点.网络节点.计算节点: 一.配置源 1.配置EPEL源 yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-rel ...

  2. Openstack(Kilo)安装系列之Keystone(三)

    安装配置 Before you configure the OpenStack Identity service, you must create a database and an administ ...

  3. Openstack(Kilo)安装系列之glance(六)

    安装配置 Before you install and configure the Image service, you must create a database, service credent ...

  4. Openstack(Kilo)安装系列之neutron(九)

    控制节点 Before you configure the OpenStack Networking (neutron) service, you must create a database, se ...

  5. Openstack(Kilo)安装系列之nova(八)

    计算节点 To install and configure the Compute hypervisor components 1.Install the packages: yum install ...

  6. Openstack(Kilo)安装系列之nova(七)

    控制节点 Before you install and configure the Compute service, you must create a database, service crede ...

  7. Openstack(Kilo)安装系列之Keystone(五)

    Create OpenStack client environment scripts To create the scripts Create client environment scripts ...

  8. Openstack(Kilo)安装系列之Keystone(四)

    创建租间.用户.角色 一.To configure prerequisites 1.Configure the authentication token: export OS_TOKEN=ADMIN_ ...

  9. 001-官网安装openstack之-安装前基础环境准备

    0.安装常用软件包(根据个人习惯安装需要的软件包) [root@localhost ~]# yum -y install wget vim ntp net-tools tree openssh 1.配 ...

随机推荐

  1. 给 DiscuzX3 缩略图添加水印

    Discuz X3 默认开启缩略图的时候水印只添加到原图上面,而缩略图上面无法进行水印图的添加,需要改下程序,方可给缩略图添加水印,需要修改2个地方: 1.打开 source\function\fun ...

  2. JavaScript的filter用法

    Js的有些操作会改变原来的对象:有些操作则不会改变原来对象. 数组的filter方法就不会改变原来数组 利用filter,可以巧妙地去除Array的重复元素: 'use strict'; var r, ...

  3. linux 多线程那点事

    说明:对多线程与相互排斥锁不熟悉的请參考其他 #include <pthread.h> #include <stdio.h> #include <stdlib.h> ...

  4. spring aop expression支持多个表达式配置

    <!-- 配置那些类的方法进行事务管理 --> <aop:config> <aop:pointcut id="allServiceMethod" ex ...

  5. @Component-@Resource-@Repository-@Service-@Controller的区别和理解-------springMVC

    1.作用: @Component------------------------泛指组件,当组件不好归类的时候,我们可以使用这个注解进行标注.(Component-------成分; 组分; 零件) ...

  6. Elasticsearch 索引实例

    1.简述 ElasticSearch包含了一系列的感念,比如索引(indexing).搜索(search)以及聚合(aggregations),现在我们主要介绍indexing. 在Elasticse ...

  7. 【共享单车】—— React后台管理系统开发手记:UI菜单各个组件使用(Andt UI组件)

    前言:以下内容基于React全家桶+AntD实战课程的学习实践过程记录.最终成果github地址:https://github.com/66Web/react-antd-manager,欢迎star. ...

  8. 2017.7.21 linux下进程管理工具supervisord的安装与使用

    参考来自:http://blog.haohtml.com/archives/15145 0 操作环境 1 supervisord的介绍 Supervisord是用Python实现的一款非常实用的进程管 ...

  9. Android官方SwipeRefreshLayout

    App基本都有下拉刷新的功能,以前基本都使用PullToRefresh或者自己写一个下拉刷新,Google提供了一个官方的下拉刷新控件SwipeRefreshLayout,简单高效,满足一般需求足够了 ...

  10. 累加按钮,自加1&&输入两个数字,比较大小

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...