Created
September 17, 2013 19:10
-
-
Save xarses/6599234 to your computer and use it in GitHub Desktop.
example ceph-deploy using network decl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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