Deploy Ceph : Like a BOSS
100% Demo , nothing more
# whoami
Karan Singh
System Specialist Cloud
CSC - IT Center for Science , Finland
karan_singh1@live.com
@karansingh0101
- Author of "Learning Ceph" -- Packt Publication , January 2015
- www.ksingh.co.in -- My cloud experience exported to blogs.
- www.karan-mj.blogspot.fi --- Old school Ceph blogs
What you need for this Demo
- Curiosity and Love for Ceph
- Host machine with
- Virtualbox
- Vagrant
- Internet
- git
- Coffee at regular intervals
If [ "$things" = "$break"]; then
echo "Don't worry we are engineers and will fix them"
echo "It's not pre-recorded"
fi
Demo : Gearing Up
1. Git clone my repository to get Vagrantfile
# git clone https://github.com/ksingh7/ceph-vms.git
2. Bring up virtual machines
# cd ceph-vms
# vagrant up node* client1 rgw
3. SSH to vm through vagrant
# vagrant ssh node1
4. Ready to eat : Ceph commands
# cat command.txt
Setting up Virtual Machines
Demo : 1
- Install and create Ceph cluster
- Create initial monitors
- Create OSD's
- Install ceph-dash (dashboard for Ceph)
- Scale up Ceph cluster by adding monitors
- Scale up Ceph cluster by adding OSD's
- Make your cluster healthy
Creating a Ceph cluster from scratch
Demo : 2
- Client <==> cluster connection
- RBD module check
- Install Ceph binaries on Client node
- Share Ceph configuration and keyring files
- Execute basic Ceph commands
Preparing Ceph client node
Demo : 3
- Create and list RBD device
- Mapping RBD device
- Mount RBD device
- Consume RBD device ( Perform IO operation)
Ceph block storage provisioning
Demo : 4
- Setting up Ceph Rados Gateway Node
- Installing Ceph and RGW packages
- Configuring Ceph RGW
- Creating RGW user and swift sub-user
Ceph Object Storage - setup
Demo : 5
- Installing Swift client
- Accessing Ceph object storage via Swift
Accessing Ceph Object Storage
via Swift API
Demo : 6
- Installing S3 CLI tool ( s3cmd )
- Configuring
- Accessing Ceph object storage via S3
Accessing Ceph Object Storage
via S3 API
Ceph : Learning by Doing
By Karan Singh
Ceph : Learning by Doing
Learn Ceph with me
- 2,027