Coder Social home page Coder Social logo

ibm_ansible_ceph_object_deployment's Introduction

Ceph Cluster Deployment with Ansible

This project automates the deployment of a Ceph cluster using Ansible. It includes playbooks and roles to bootstrap the Ceph cluster, add hosts, apply service specifications for OSDs (Object Storage Daemons), RGW (RADOS Gateway), and ingress services.

Usage

Pre-req

  • RHEL Deployed
  • We need Ansible setup and all cluster nodes accessible with passwordles SSH
  • Update the inventory with the service lables, to configure the co-location of services
  • Modify the Role variables to fit your Env.

Running the Playbook

To run the playbook, you can use the provided bash wrapper script run_ceph_deploy.sh.

Script Usage

./ansible_wrapper.sh [-t <tags>] [-l <log_file>]

For a full deployment from scratch you need to run

bash run_ceph_deploy.sh -t update_os,enable_ibm_repo,preflight,bootstrap,add_hosts,add_osd,add_rgw,add_ingress -l log.log

Inventory

If a single node is found on the inventory the automation will deploy Ceph in Single Node mode.

Nodes in the inventory need to have the Labels set to configure the placement of the Ceph services.

Single Node Example:

# cat inventory
[admin]
ceph-node-00.cephlab.com monitor_address=192.168.122.12 labels='_admin,osd,mon,mgr,rgw'

Multiple Node Example:

# cat inventory.ok
ceph-node-01.cephlab.com labels='osd,mon,mgr,rgwsync'
ceph-node-02.cephlab.com labels='osd,mon,mgr,rgw,ingress'
ceph-node-03.cephlab.com labels='osd,mgr,rgw,ingress'
ceph-node-00.cephlab.com labels='_admin,osd,mon,mgr,rgwsync'

[admin]
ceph-node-00.cephlab.com monitor_address=192.168.122.12 labels='_admin,osd,mon,mgr,rgwsync'

Variables to configure

# ls deploy_ceph/vars/
ceph_config.yml  ceph.yml  ingress.yml osd.yml  rgw.yml

ibm_ansible_ceph_object_deployment's People

Stargazers

Ole Kristian avatar

Watchers

Daniel Parkes avatar

Forkers

jeanchlopez

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.