没有合适的资源?快使用搜索试试~ 我知道了~
首页openstack+ceph非常详细整合安装部署.pdf
openstack+ceph非常详细整合安装部署.pdf

openstack+ceph非常详细整合安装部署,网上openstack+ceph文档很多,90%都是只讲openstack与ceph整合部分、也没有讲整合后如何验证。此文档包括详细拓扑图、openstack与ceph一步一步详细安装步骤,配置参数讲解。
资源详情
资源评论
资源推荐

Openstack 云计算架构部署实验 v1.2
version Icehouse
Lion.Cui
声明
文档基本参照 openstack 官网、Ceph 官网结合自己部署撰写的
仅供学习
本人从事 Citrix 虚拟化相关工作
openstack 只是兴趣学习
此版本修正了一些步骤上的错漏
文档中如有不对的地方可以指正

网络拓扑
IP 地址规划
Host name
Public (eth1)
Management (eth0)
Gateway(eth0)
Function

controller
10.0.1.11/24
10.0.0.11/24
10.0.0.1
Controller Node
neutron
10.0.1.21/24
10.0.0.21/24
Neutron Node
compute01
10.0.1.31/24
10.0.0.31/24
Compute Node
compute02
10.0.1.32/24
10.0.0.32/24
Compute Node
ceph01
10.0.1.41/24
10.0.0.41/24
MON/MDS Node
cehp02
10.0.1.42/24
10.0.0.42/24
OSD Node
cehp03
10.0.1.43/24
10.0.0.43/24
OSD Node
注意:neutron 服务器拥有三块网卡,第三块网卡无须配置 IP 地址
后端存储:统一使用 ceph,提供块设备、文件目录共享 NAS、对象存储
虚拟网络:GRE
基础操作系统:CentOS release 6.5 X86_64
内网:API 调用、虚拟网络 GRE 隧道、服务验证
外网:外部访问、读取 CEPH 分布式存储
计算节点:相互免密码登陆、使用共享存储、实现相互迁移
块设备节点:支持多个存储后端,并对不同后端设置 qos
主机基本配置
版本信息如下
所有节点都是使用 CentOS6.5 x86_64 位操作系统
配置 Yum 源
//所有主机
# cd /etc/yum.repo.d/
# rm -f * #删除默认 yum 源
# yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm #添加 epel 源
# vim /etc/yum.repo.d/ustc.repo #添加 USTC 源
[ustc]
name = ustc
baseurl = http://centos.ustc.edu.cn/centos/6.5/os/x86_64/
gpgcheck=0
enable=1

导入 RPM 包签名信息
[root@rhel]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
关闭 iptables 和 SELinux
[root@rhel]# vi ustc.repo
[root@rhel]# service iptables stop
[root@rhel]# chkconfig --level 35 iptables off
[root@rhel]# sed -i 's/enforcing/disabled/g' /etc/selinux/config
添加主机 hosts 解析
[root@rhel]# vim /etc/hosts #添加一下内容
10.0.0.11 controller
10.0.0.21 neutron
10.0.0.31 compute01
10.0.0.32 compute02
10.0.0.41 ceph01
10.0.0.42 ceph02
10.0.0.43 ceph003
配置 NTP 时间服务器
# yum install ntp -y
# sed -i 's/server0.rhel.pool.ntp.org/#server0.rhel.pool.ntp.org/g' /etc/ntp.conf
# sed -i 's/server1.rhel.pool.ntp.org/#server1.rhel.pool.ntp.org/g' /etc/ntp.conf
# sed -i 's/server2.rhel.pool.ntp.org/#server2.rhel.pool.ntp.org/g' /etc/ntp.conf
# sed -i 's/server3.rhel.pool.ntp.org/#server3.rhel.pool.ntp.org/g' /etc/ntp.conf
//controller host
# echo “server 127.127.1.0” >> /etc/ntp.conf
# echo “fudge 127.127.1.0 stratum 10” >> /etc/ntp.conf
# service ntpd start
# chkconfig ntpd on
//other host
# echo “server controller” >> /etc/ntp.conf

配置 Openstack Yum 源
//controller compute neutron host
# yum install yum-plugin-priorities -y
# yum install http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-3.noarch.rpm
# yum install openstack-utils -y
# yum install openstack-selinux -y
# yum upgrade –y
# init 6
部署配置 Ceph 存储节点
安装 ceph
//ceph01
# yum install ceph -y
创建 Ceph cluster
//ceph01 host
获取一个 uuid
#uuidgen
a500528d-fc02-464e-b944-bddacbb5c3d1 #记住此 ID 号
编辑配置文件
#vi /etc/ceph/ceph.conf
[global]
auth_service_required = cephx
#filestore_xattr_use_omap = true #该选项只针对 ext4 文件系统格式
auth_client_required = cephx
auth_cluster_required = cephx
auth supported = none
fsid = a500528d-fc02-464e-b944-bddacbb5c3d1 #填入刚才获取到的 uuid
public network = 10.0.1.0/24
cluster network = 10.0.0.0/24
osd pool default size = 2
osd pool default min size = 1
max open files = 65535
mon osd full ratio = .95
剩余30页未读,继续阅读

















安全验证
文档复制为VIP权益,开通VIP直接复制

评论1