Scaling Your Storage Using Ceph
Wido den Hollander
#CCCEU
Scaling Your Storage Using Ceph Wido den Hollander #CCCEU Who am - - PowerPoint PPT Presentation
Scaling Your Storage Using Ceph Wido den Hollander #CCCEU Who am I? Wido den Hollander (1986) CTO at PCextreme B.V. Dutch Hosting provider Ceph trainer and consultant at 42on B.V. Part of the Ceph community since late 2010
Wido den Hollander
#CCCEU
– CTO at PCextreme B.V.
– Ceph trainer and consultant at 42on B.V. – Part of the Ceph community since late 2010
– Including libvirt storage pool support
09 Oct 2015 2
#CCCEU / @widodh
#CCCEU
– NFS, iSCSI or FiberChannel – Usually one NAS or SAN per cluster
09 Oct 2015 4
#CCCEU / @widodh
09 Oct 2015 5
#CCCEU / @widodh
– Number of disks – Network connections/bandwidth – CPU power – Protocols
09 Oct 2015 6
#CCCEU / @widodh
– Vendors implement all kinds of tricks
– This is a fundamental problem when it comes
to large scale
09 Oct 2015 7
#CCCEU / @widodh
– EMC, EqualLogic, NetApp, they provide you a
black box
– Vendor lock-in – End-of-Life determined by vendor
09 Oct 2015 8
#CCCEU / @widodh
#CCCEU
– excellent performance – reliability – scalability
09 Oct 2015 10
#CCCEU / @widodh
– User specifjed, 2x, 3x (recommended), 4x, etc
– Not the exception!
– Fully hardware agnostic
09 Oct 2015 11
#CCCEU / @widodh
09 Oct 2015 12
#CCCEU / @widodh
– Client calculates where objects are – The connect directly to the nodes using TCP
– They take care of replication and recovery
– These objects are replicated by the nodes
09 Oct 2015 13
#CCCEU / @widodh
– Cloud workloads are parallel – Do not expect 10k IOps for a single disk
– Thus adds performance
– The lower the latency, the better the performance
09 Oct 2015 14
#CCCEU / @widodh
– Difgerence between 10GbE and 1GbE is big
– 1GbE: 0.8ms – 10GbE: 0.2ms
09 Oct 2015 15
#CCCEU / @widodh
09 Oct 2015 16
#CCCEU / @widodh
– Kernel upgrades – Firmware upgrades – Replacement of hardware
– Upgrade and reboot those machines!
09 Oct 2015 17
#CCCEU / @widodh
09 Oct 2015 18
#CCCEU / @widodh
09 Oct 2015 19
#CCCEU / @widodh
09 Oct 2015 20
#CCCEU / @widodh
– Start with 10TB and scale to 10PB
– Never watch to rsync or scp
– Expand by 10% and about 10% of migrates
09 Oct 2015 21
#CCCEU / @widodh
– 2TB and 4TB drives for example
09 Oct 2015 22
#CCCEU / @widodh
– 2U machines with 8 drives
– 'Failure' could be maintenance!
09 Oct 2015 23
#CCCEU / @widodh
09 Oct 2015 24
#CCCEU / @widodh
#CCCEU
– Ubuntu works best – CentOS works with patched libvirt
– T
emplates, snapshots, resizing
09 Oct 2015 26
#CCCEU / @widodh
– Is on Ceph's roadmap
09 Oct 2015 27
#CCCEU / @widodh
#CCCEU
– KVM hypervisor on Ubuntu
– Agile: Local Storage on SSD – Stamina: Ceph RBD storage
09 Oct 2015 29
#CCCEU / @widodh
– 39 hosts – 3 racks
– 258 disks
09 Oct 2015 30
#CCCEU / @widodh
– Mix of Samsung, Intel, Seagate and Western Digital
SSDs/HDDs
– There is NO IPv4 in the Ceph cluster – Public routed IPv6 (with a fjrewall)
09 Oct 2015 31
#CCCEU / @widodh
09 Oct 2015 32
#CCCEU / @widodh
09 Oct 2015 33
#CCCEU / @widodh
09 Oct 2015 34
#CCCEU / @widodh
09 Oct 2015 35
#CCCEU / @widodh
– Using bcache – Updating to Ubuntu 14.04 – Updating Ceph
09 Oct 2015 36
#CCCEU / @widodh
09 Oct 2015 37
#CCCEU / @widodh
09 Oct 2015 38
#CCCEU / @widodh
#CCCEU
Find me @widodh on Skype and T witter wido@42on.com