本文采用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. ScrollView起始位置不是最顶部的解决办法

    最近遇到了打开带有ScrollView的页面布局默认起始位置不是最顶部的情况,最后发现问题是因为ScrollView内部嵌套了gridview,只需要设置gridview获取焦点为false即可. g ...

  2. Delphi TClientDataset查找定位功能

    if CDSUserFunc.Locate('mod_id;res_id', VarArrayOf([UserFunc.MOD_ID, UserFunc.RES_ID]), [loCaseInsens ...

  3. Flex 布局学习笔记

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...

  4. Understanding Memory Technology Devices in Embedded Linux

    转: NAND Chip Drivers NAND technology users such as USB pen drives, DOMs, Compact Flash memory, and S ...

  5. CSS3:2D转换方法

    利用transform 可以实现旋转.缩放.倾斜.移动 属性有:translate.scale 移动: translateX(10px); //水平方向移动10px translateY(50px); ...

  6. Android获取视频音频的时长的方法

    android当中获取视频音频的时长,我列举了三种. 1:获取视频URI后获取cursor cursor.getLong(cursor.getColumnIndexOrThrow(MediaStore ...

  7. squid.conf 的cache_peer 详解

    通过squid.conf配置文件中的cache_peer选项来配置代理服务器阵列,通过其他的选项来控制选择代理伙伴的方法.Cache_peer的使用格式如下: cache_peer hostname ...

  8. Ubuntu16.04下安装googlechrome flash 插件和安装网易云音乐

    一.ubuntu 16.04 下安装完后发现 flash无法播放没有安装flash插件因为 Adobe Flash 不再支持 linux Google 便开发了PepperFlashPlayer来替代 ...

  9. 为什么实现Serializbale接口就能够进行序列化?

    从所周知,Serializbale接口是个空的接口,并没有定义任何方法.那么问题来了,为什么需要序列化的接口只要实现Serializbale接口就能够进行序列化? 这要从序列化过程的源码说起.举个例子 ...

  10. 阻止右键菜单(阻止默认事件)&&跟随鼠标移动(大图展示)&&自定义右键菜单

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