Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ID CLASS WEIGHT TYPE NAME
- -1 1.32465 root default
- -3 0.03879 host node1
- 0 hdd 0.01939 osd.0
- 1 hdd 0.01939 osd.1
- -5 0.01939 host node2
- 2 hdd 0.01939 osd.2
- -7 0.03879 host node3
- 3 hdd 0.01939 osd.3
- 4 hdd 0.01939 osd.4
- -9 1.22768 host ubuntu
- 5 hdd 0.40929 osd.5
- 6 hdd 0.40919 osd.6
- 7 hdd 0.40919 osd.7
- {
- "devices": [
- {
- "id": 0,
- "name": "osd.0",
- "class": "hdd"
- },
- {
- "id": 1,
- "name": "osd.1",
- "class": "hdd"
- },
- {
- "id": 2,
- "name": "osd.2",
- "class": "hdd"
- },
- {
- "id": 3,
- "name": "osd.3",
- "class": "hdd"
- },
- {
- "id": 4,
- "name": "osd.4",
- "class": "hdd"
- },
- {
- "id": 5,
- "name": "osd.5",
- "class": "hdd"
- },
- {
- "id": 6,
- "name": "osd.6",
- "class": "hdd"
- },
- {
- "id": 7,
- "name": "osd.7",
- "class": "hdd"
- }
- ],
- "types": [
- {
- "type_id": 0,
- "name": "osd"
- },
- {
- "type_id": 1,
- "name": "host"
- },
- {
- "type_id": 2,
- "name": "chassis"
- },
- {
- "type_id": 3,
- "name": "rack"
- },
- {
- "type_id": 4,
- "name": "row"
- },
- {
- "type_id": 5,
- "name": "pdu"
- },
- {
- "type_id": 6,
- "name": "pod"
- },
- {
- "type_id": 7,
- "name": "room"
- },
- {
- "type_id": 8,
- "name": "datacenter"
- },
- {
- "type_id": 9,
- "name": "region"
- },
- {
- "type_id": 10,
- "name": "root"
- }
- ],
- "buckets": [
- {
- "id": -1,
- "name": "default",
- "type_id": 10,
- "type_name": "root",
- "weight": 86812,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": -3,
- "weight": 2542,
- "pos": 0
- },
- {
- "id": -5,
- "weight": 1271,
- "pos": 1
- },
- {
- "id": -7,
- "weight": 2542,
- "pos": 2
- },
- {
- "id": -9,
- "weight": 80457,
- "pos": 3
- }
- ]
- },
- {
- "id": -2,
- "name": "default~hdd",
- "type_id": 10,
- "type_name": "root",
- "weight": 86812,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": -4,
- "weight": 2542,
- "pos": 0
- },
- {
- "id": -6,
- "weight": 1271,
- "pos": 1
- },
- {
- "id": -8,
- "weight": 2542,
- "pos": 2
- },
- {
- "id": -10,
- "weight": 80457,
- "pos": 3
- }
- ]
- },
- {
- "id": -3,
- "name": "node1",
- "type_id": 1,
- "type_name": "host",
- "weight": 2542,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": 0,
- "weight": 1271,
- "pos": 0
- },
- {
- "id": 1,
- "weight": 1271,
- "pos": 1
- }
- ]
- },
- {
- "id": -4,
- "name": "node1~hdd",
- "type_id": 1,
- "type_name": "host",
- "weight": 2542,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": 0,
- "weight": 1271,
- "pos": 0
- },
- {
- "id": 1,
- "weight": 1271,
- "pos": 1
- }
- ]
- },
- {
- "id": -5,
- "name": "node2",
- "type_id": 1,
- "type_name": "host",
- "weight": 1271,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": 2,
- "weight": 1271,
- "pos": 0
- }
- ]
- },
- {
- "id": -6,
- "name": "node2~hdd",
- "type_id": 1,
- "type_name": "host",
- "weight": 1271,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": 2,
- "weight": 1271,
- "pos": 0
- }
- ]
- },
- {
- "id": -7,
- "name": "node3",
- "type_id": 1,
- "type_name": "host",
- "weight": 2542,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": 3,
- "weight": 1271,
- "pos": 0
- },
- {
- "id": 4,
- "weight": 1271,
- "pos": 1
- }
- ]
- },
- {
- "id": -8,
- "name": "node3~hdd",
- "type_id": 1,
- "type_name": "host",
- "weight": 2542,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": 3,
- "weight": 1271,
- "pos": 0
- },
- {
- "id": 4,
- "weight": 1271,
- "pos": 1
- }
- ]
- },
- {
- "id": -9,
- "name": "ubuntu",
- "type_id": 1,
- "type_name": "host",
- "weight": 80457,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": 5,
- "weight": 26823,
- "pos": 0
- },
- {
- "id": 6,
- "weight": 26817,
- "pos": 1
- },
- {
- "id": 7,
- "weight": 26817,
- "pos": 2
- }
- ]
- },
- {
- "id": -10,
- "name": "ubuntu~hdd",
- "type_id": 1,
- "type_name": "host",
- "weight": 80457,
- "alg": "straw2",
- "hash": "rjenkins1",
- "items": [
- {
- "id": 5,
- "weight": 26823,
- "pos": 0
- },
- {
- "id": 6,
- "weight": 26817,
- "pos": 1
- },
- {
- "id": 7,
- "weight": 26817,
- "pos": 2
- }
- ]
- }
- ],
- "rules": [
- {
- "rule_id": 0,
- "rule_name": "replicated_rule",
- "ruleset": 0,
- "type": 1,
- "min_size": 1,
- "max_size": 10,
- "steps": [
- {
- "op": "take",
- "item": -1,
- "item_name": "default"
- },
- {
- "op": "chooseleaf_firstn",
- "num": 0,
- "type": "host"
- },
- {
- "op": "emit"
- }
- ]
- }
- ],
- "tunables": {
- "choose_local_tries": 0,
- "choose_local_fallback_tries": 0,
- "choose_total_tries": 50,
- "chooseleaf_descend_once": 1,
- "chooseleaf_vary_r": 1,
- "chooseleaf_stable": 1,
- "straw_calc_version": 1,
- "allowed_bucket_algs": 54,
- "profile": "jewel",
- "optimal_tunables": 1,
- "legacy_tunables": 0,
- "minimum_required_version": "jewel",
- "require_feature_tunables": 1,
- "require_feature_tunables2": 1,
- "has_v2_rules": 0,
- "require_feature_tunables3": 1,
- "has_v3_rules": 0,
- "has_v4_buckets": 1,
- "require_feature_tunables5": 1,
- "has_v5_rules": 0
- },
- "choose_args": {}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement