kolla 部署 ceph
2016-10-21 11:23
162 查看
一、环境准备
1、节点准备
2、软件版本
3、配置主名
4、准备image
参看: kolla newton 配置
5、在deploy上安装kolla
参看: kolla newton 配置
二、安装ceph
1、配置kolla ansible inventory
编辑/usr/share/kolla/ansible/inventory/multinode
2、准备disk
1、节点准备
server | 组件 | disk |
deploy | 安装kolla,用于部署 | 100G,osd |
node0 | ceph,osd | 100G,osd |
node1 | ceph,osd | 100G,osd |
node2 | ceph,osd | 100G,osd |
kolla | newton |
ceph | Jewel |
4、准备image
参看: kolla newton 配置
5、在deploy上安装kolla
参看: kolla newton 配置
二、安装ceph
1、配置kolla ansible inventory
编辑/usr/share/kolla/ansible/inventory/multinode
... [control] node[0:2] ... [storage] node[0:2] ...注释掉,[network]、 [compute]、 [monitoring]下的所有主机
2、准备disk
ansible -i /usr/share/kolla/ansible/inventory/multinode \ all \ -m shell -a \ 'parted /dev/sdb -s -- mklabel gpt mkpart KOLLA_CEPH_OSD_BOOTSTRAP 1 -1'3、编辑/etc/kolla/globals.yml,注意替换node0_ip,docker registry的namespace,user,password
kolla_base_distro: "centos" kolla_install_type: "source" openstack_release: "3.0.0" kolla_internal_vip_address: "node0_ip" kolla_external_vip_address: "{{ kolla_internal_vip_address }}" ... docker_registry: "registry_ip_address:registry_ip_port" docker_namespace: "kolla" docker_registry_username: "registry_username" docker_registry_password: "registry_password" ... enable_haproxy: "no" enable_keystone: "no" enable_glance: "no" enable_neutron: "no" enable_heat: "no" enable_nova: "no" enable_horizon: "no" enable_central_logging: "no" enable_ceph: "yes" ... ceph_pool_type: "replicated"4、部署ceph
kolla-genpwd kolla-ansible -i /usr/share/kolla/ansible/inventory/multinode prechecks kolla-ansible -i /usr/share/kolla/ansible/inventory/multinode deploy 2>&1 |tee -a ceph.logs kolla-ansible -i /usr/share/kolla/ansible/inventory/multinode post-deploy三、管理ceph
docker exec ceph_mon ceph -s
相关文章推荐
- Kolla单节点快速部署OpenStack-pike版本(集成ceph)
- kolla 部署 openstack 使用 ceph作后端
- Openstack 之 kolla 部署ceph
- Ceph快速部署
- Ceph 集群监控之Calamari 安装部署
- 使用ceph-deploy 部署集群
- Centos7上部署Ceph存储集群以及CephFS的安装
- 使用ceoh-deploy工具快速部署ceph--先决条件准备
- ubuntu14_ceph部署(二)——创建ceph集群
- ceph学习笔记之十二 Ubuntu安装部署Ceph J版本
- horizon error:End of script output before headers: django.wsgi(kolla-ansible部署在容器)
- Kolla部署OpenStack失败问题(3)
- 部署完ceph出现 osd down情况时的解决方法
- ceph部署
- Ceph部署(一)集群搭建
- Ceph 部署的过程
- 使用Kolla-Ansible在CentOS 7单节点上部署OpenStack Pike
- Openstack I版 结合 Ceph 分布式存储 部署安装(三)
- CentOS 7使用Kolla部署OpenStack