azeqjz OpenStack Notes: Redhat OpenStack Platform

azeqjz
azeqjz
Aug 23, 2017 · 3 min read

部署红帽OpenStack平台|红帽技术Open讲

RedHat OSP10 模板作用及关联关系

介绍

  • 部署测试环境,需要3台服务器,1(undercloud/director)+1(控制节点)+1(计算机节点)。
  • 部OpenSt署功能完备的Redhat OSP,需要10台服务器,1(undercloud/director)+3(控制节点)+3(计算机节点)+3(Ceph节点)。
  • 注意:undercloud就是一个all in one 的OpenStack环境
  • 网络平面:

IPMI,上下电控制;

Provision部署平面,director向其他节点分发镜像,PXE安装,需要native vlan(untagged);

internal api OpenSatck内部组件通信;

tenant network 租户网络;

storage network,其他服务访问ceph时使用的网络;

storage mgmt network,存储内部集群中同步数据的网络,一般独立一个网络,防止存储复制IO过高抢占网卡能力;

external外部网络,其他应用程序访问OpenStack的入口;

floating Ip 网络,可以和外部网络合一。

安装部署

  • 设置软件源,yum repo list能正确识别
  • 创建director用户,加入sudo组。正确设置主机名
  • 安装director软件,python triple client
  • 配置director软件,用openstack util设置ini文件,生成undercloud.conf
  • 安装undercloud all in one 环境,openstack undercloud install,十多分钟
  • overcloud节点获取镜像,yum install …拷贝镜像包到当前目录解压获取镜像,openstack overcloud update导入到undercloud节点
  • 配置overcloud,规划好ip mac与ipmi用户密码,写入一个openstack.json文件,openstack baremetal import,导入到全undercloud节点,使其知道可用多少节点,config boot,
  • 节点自检,ipmi启动,为节点打标签来做为配置集,也就是哪些节点是控制节点等。修改heat模板。拷贝网络环境的模板。存储的模板也是。
  • 安装overcloud。source stackrc,执行部署命令,写入deploy.sh文件方便执行。
  • 配置外网环境,导入公钥私钥。source overcloudrc导入环境变量。打开ssh与snmp。
)
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade