⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ceph
All Projects
Ceph
Overview
Activity
Roadmap
Issues
Spent time
Gantt
Calendar
Wiki
Repository
Download (601 Bytes)
Bug #622
ยป crushmap.txt
John Leach
, 12/02/2010 03:07 AM
# devices
device 0 device0
device 1 device1
device 2 device2
device 3 device3
# types
type 0 device
type 1 zone
type 2 region
# zones
zone gb1a {
id -1
alg straw
hash 0 # rjenkins1
item device1 weight 1.000
item device2 weight 1.000
}
zone gb1b {
id -2
alg straw
hash 0 # rjenkins1
item device0 weight 1.000
item device3 weight 1.000
}
# regions
region gb1 {
id -3
alg straw
hash 0
item domain gb1a weight 4.000
item domain gb1b weight 4.000
}
# rules
rule data {
ruleset 0
type replicated
min_size 2
max_size 2
step take gb1
step chooseleaf firstn 0 type zone
step emit
}
(1-1/1)
Loading...