Skip to content

Instantly share code, notes, and snippets.

@pauldardeau
pauldardeau / gist:ee7e1a5d95d2286608dfb3a8371c6185
Created December 6, 2016 18:41
Review of swift rolling upgrades
=============
Swift Rolling Upgrade
=============
Overview of upgrade process
~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. Upgrade a single storage (ACO) node ('canary' node)
2. Observe upgraded storage node for problems or anomalies
3. Upgrade all other storage nodes (1 at a time)
4. Upgrade a single proxy node ('canary' node)
@pauldardeau
pauldardeau / gist:17ffd67aa929f1c3a7b4c0df037552cb
Created December 8, 2016 17:22
A Look at Swift EC Pieces from Bottom-Up
A Look at Swift EC Pieces from Bottup-Up (December 8, 2016)
============================================================
Document Purpose
================
- Convey understanding of what the pieces are and how they fit together
- NOT intended to teach anything about EC
liberasurecode
@pauldardeau
pauldardeau / gist:0081c7ccf2e58ad4d52fd609a9051cd0
Created January 4, 2017 23:11
all your loopback device space r belong to swift mp3
this is related to my dinky cloud jukebox (https://github.com/pauldardeau/cloud-jukebox). that's a fancy
way of saying a bunch of mp3 files stored in swift.
i run it on a vps (droplet!) with 2gb ram and 40gb disk
i continue to work on my cloud jukebox thingie
primarily by adding more of my music collection to my little saio swift cluster on a vps
as part of my goal of moving completely away from itunes
i’ve been doing a lot more of that lately, and i completely filled up (100%) my loopback storage device
it’s configured with standard 3 replicas (default)
Prepare new OSD
ceph-disk prepare --cluster ceph --cluster-uuid c7ec4b12-4cee-11e8-bafa-5254006792da --fs-type xfs /dev/sda1 /dev/sda2
Activate new OSD
ceph-disk activate /dev/sda1
@pauldardeau
pauldardeau / gist:25bd3e093cae74e09c69f61ae39e26ef
Last active December 3, 2018 23:31
Recent Ceph All Flash
https://www.flashmemorysummit.com/English/Collaterals/Proceedings/2018/20180808_SOFT-201-1_Porter.pdf
https://www.flashmemorysummit.com/English/Collaterals/Proceedings/2018/20180808_SOFT-202-1_Liu.pdf
/etc/rc.conf
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"