Skip to content

Instantly share code, notes, and snippets.

@xarses
Created September 17, 2013 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xarses/6599234 to your computer and use it in GitHub Desktop.
Save xarses/6599234 to your computer and use it in GitHub Desktop.
example ceph-deploy using network decl
given host mon-1
hostname -s
> mon-1
eth0: 10.0.0.2/24
eth1: 10.0.1.2/24
eth2: 192.168.1.2/24
host mon-1
> 192.168.1.2
ceph-deploy new mon-1:10.0.0.2
echo "cluster network = 10.0.1.0/24" >> ./ceph.conf
echo "public network = 10.0.0.0/24" >> ./ceph.conf
ceph-deploy mon create mon-1:10.0.0.2
... continue with osd creation as normal using `hostname -s`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment