openstack-helm/doc/source/install/developer/deploy-with-ceph.rst

6.0 KiB

Deployment With Ceph

Note

For other deployment options, select appropriate Deployment with ... option from Index page.

Deploy Ceph

We are going to install Ceph OSDs backed by loopback devices as this will help us not to attach extra disks, in case if you have enough disks on the node then feel free to skip creating loopback devices by exporting CREATE_LOOPBACK_DEVICES_FOR_CEPH to false and export the block devices names as environment variables(CEPH_OSD_DATA_DEVICE and CEPH_OSD_DB_WAL_DEVICE).

We are also going to separate Ceph metadata and data onto a different devices to replicate the ideal scenario of fast disks for metadata and slow disks to store data. You can change this as per your design by referring to the documentation explained in ../openstack-helm-infra/ceph-osd/values.yaml

This script will create two loopback devices for Ceph as one disk for OSD data and other disk for block DB and block WAL. If default devices (loop0 and loop1) are busy in your case, feel free to change them by exporting environment variables(CEPH_OSD_DATA_DEVICE and CEPH_OSD_DB_WAL_DEVICE).

Note

if you are rerunning the below script then make sure to skip the loopback device creation by exporting CREATE_LOOPBACK_DEVICES_FOR_CEPH to false.

../../../../tools/deployment/developer/ceph/040-ceph.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/040-ceph.sh

Activate the OpenStack namespace to be able to use Ceph

../../../../tools/deployment/developer/ceph/045-ceph-ns-activate.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/045-ceph-ns-activate.sh

Deploy MariaDB

../../../../tools/deployment/developer/ceph/050-mariadb.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/050-mariadb.sh

Deploy RabbitMQ

../../../../tools/deployment/developer/ceph/060-rabbitmq.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/060-rabbitmq.sh

Deploy Memcached

../../../../tools/deployment/developer/ceph/070-memcached.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/070-memcached.sh

Deploy Keystone

../../../../tools/deployment/developer/ceph/080-keystone.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/080-keystone.sh

Deploy Heat

../../../../tools/deployment/developer/ceph/090-heat.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/090-heat.sh

Deploy Horizon

../../../../tools/deployment/developer/ceph/100-horizon.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/100-horizon.sh

Deploy Rados Gateway for object store

../../../../tools/deployment/developer/ceph/110-ceph-radosgateway.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/110-ceph-radosgateway.sh

Deploy Glance

../../../../tools/deployment/developer/ceph/120-glance.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/120-glance.sh

Deploy Cinder

../../../../tools/deployment/developer/ceph/130-cinder.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/130-cinder.sh

Deploy OpenvSwitch

../../../../tools/deployment/developer/ceph/140-openvswitch.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/140-openvswitch.sh

Deploy Libvirt

../../../../tools/deployment/developer/ceph/150-libvirt.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/150-libvirt.sh

Deploy Compute Kit (Nova and Neutron)

../../../../tools/deployment/developer/ceph/160-compute-kit.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/160-compute-kit.sh

Setup the gateway to the public network

../../../../tools/deployment/developer/ceph/170-setup-gateway.sh

Alternatively, this step can be performed by running the script directly:

./tools/deployment/developer/ceph/170-setup-gateway.sh