-
-
Save anonymous/c1d6df5b99302d1c53d6 to your computer and use it in GitHub Desktop.
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
I have 6 storage nodes, 6 osds per node (disks for OSD are sdb-sdg) - vm-ds-0N | |
2 hypervisor nodes - vm-hv-0N | |
ceph-deploy -v install vm-hv-0{1,2} vm-ds-0{1,2,3,4,5,6} | |
ceph-deploy -v new vm-ds-0{1,2,3} | |
[ ensure an odd number of mons - I went for 3 ] | |
ceph-deploy -v mon create vm-ds-0{1,2,3} | |
[wait!! some key creation is happening, can take a minute] | |
ceph-deploy -v gatherkeys vm-ds-01 | |
for n in 1 2 3 4 5 6 | |
do | |
ceph-deploy -v osd create --zap-disk vm-ds-0$n:/dev/sdb vm-ds-0$n:/dev/sdc vm-ds-0$n:/dev/sdd vm-ds-0$n:/dev/sde vm-ds-0$n:/dev/sdf vm-ds-0$n:/dev/sdg | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment