openstack 管理二十五 - rpm 方式部署 openstack(架构说明)

  1. 云栖社区>
  2. 博客>
  3. 正文

openstack 管理二十五 - rpm 方式部署 openstack(架构说明)

terry.zeng 2017-02-21 10:20:00 浏览907
展开阅读全文

前提

1 暂不配置成高可用 openstack
2 利用 rpm 方法部署 openstack
3 使用平面网络
4 了解各个组件连接其他组件的配置

机器架构

参考下面服务器的 IP 地址及每个服务器安装对应的组件

+-------------------------------------+-----------------+---------------+-----------------------+--------------------------+
|              主机名                 |     ssh ip      | 组件通讯网络    |       计算内部         |          相关组件         |
+-------------------------------------+-----------------+---------------+-----------------------+--------------------------+
|  hh-yun-compute-130025.vclound.com  |  10.199.130.25  | 240.10.130.25 |    240.20.130.25      | keystone, cinder, glance |
+-------------------------------------+-----------------+---------------+-----------------------+--------------------------+
|  hh-yun-compute-130025.vclound.com  |  10.199.130.26  | 240.10.130.25 | 240.20.130.26, 27, 28 |            gfs           |
+-------------------------------------+-----------------+---------------+-----------------------+--------------------------+
|  hh-yun-compute-130029.vclound.com  |  10.199.130.29  | 240.10.130.29 |    240.20.130.29      | neutron,metadata,dhcp,l3 |
+-------------------------------------+-----------------+---------------+-----------------------+--------------------------+
|  hh-yun-compute-130030.vclound.com  |  10.199.130.30  | 240.10.130.30 |    240.20.130.30      |    nova, consoleauth     |
+-------------------------------------+-----------------+---------------+-----------------------+--------------------------+
|  hh-yun-compute-130031.vclound.com  |  10.199.130.31  | 240.10.130.31 |     240.20.130.31     |          compute         |
+-------------------------------------+-----------------+---------------+-----------------------+--------------------------+
|  hh-yun-compute-130032.vclound.com  |  10.199.130.32  | 240.10.130.32 |     240.20.130.32     |          compute         |
+-------------------------------------+-----------------+---------------+-----------------------+--------------------------+

yum 源

作用:

利用该 yum 源可以进行 openstack 所有组件安装,

注: 需要手动升级 iproute 软件, 否则 ip netns 命令会报错, rhel6.5 内核已支持

rdo openstack 软件

/etc/yum.repos.d/rdo-release.repo

[rdo-release]
baseurl=http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-RDO-Icehouse
gpgcheck=1
priority=98
enabled=1
name=OpenStack Icehouse Repository

/etc/yum.repos.d/glusterfs-epel.repo

[glusterfs-epel]
baseurl=http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/epel-$releasever/$basearch/
gpgcheck=0
enabled=1
name=GlusterFS is a clustered file-system capable of scaling to several petabytes.

/etc/yum.repos.d/epel.repo

[epel]
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
enabled=1
name=Extra Packages for Enterprise Linux 6 - $basearch

/etc/yum.repos.d/CentOS-Ceph-Jewel.repo

[centos-ceph-jewel]
name=CentOS-$releasever - Ceph Jewel
baseurl=http://mirror.centos.org/centos/$releasever/storage/$basearch/ceph-jewel/
gpgcheck=0
enabled=1

相关说明

当前使用 centos 6.5 操作系统
所有主机名与 IP 能解析,  可选择 /etc/hosts 或 dns 进行解析

网友评论

登录后评论
0/500
评论
terry.zeng
+ 关注