]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | $ monmaptool --create --add a 10.10.10.10:1234 /tmp/test.monmap.1234 |
2 | monmaptool: monmap file /tmp/test.monmap.1234 | |
3 | monmaptool: generated fsid [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} (re) | |
1e59de90 | 4 | setting min_mon_release = pacific |
7c673cae FG |
5 | monmaptool: writing epoch 0 to /tmp/test.monmap.1234 (1 monitors) |
6 | ||
7 | $ monmaptool --feature-list --feature-list plain --feature-list parseable /tmp/test.monmap.1234 | |
8 | monmaptool: monmap file /tmp/test.monmap.1234 | |
9 | MONMAP FEATURES: | |
10 | persistent: [none] | |
11 | optional: [none] | |
12 | required: [none] | |
13 | ||
14 | AVAILABLE FEATURES: | |
1e59de90 TL |
15 | supported: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] |
16 | persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] | |
7c673cae FG |
17 | MONMAP FEATURES: |
18 | persistent: [none] | |
19 | optional: [none] | |
20 | required: [none] | |
21 | ||
22 | AVAILABLE FEATURES: | |
1e59de90 TL |
23 | supported: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] |
24 | persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] | |
7c673cae FG |
25 | monmap:persistent:[none] |
26 | monmap:optional:[none] | |
27 | monmap:required:[none] | |
1e59de90 TL |
28 | available:supported:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] |
29 | available:persistent:[kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] | |
7c673cae FG |
30 | |
31 | $ monmaptool --feature-set foo /tmp/test.monmap.1234 | |
32 | unknown features name 'foo' or unable to parse value: Expected option value to be integer, got 'foo' | |
11fdf7f2 | 33 | monmaptool -h for usage |
7c673cae FG |
34 | [1] |
35 | ||
9f95a23c | 36 | $ monmaptool --feature-set kraken --feature-set 4096 --optional --feature-set 32 --persistent /tmp/test.monmap.1234 |
7c673cae FG |
37 | monmaptool: monmap file /tmp/test.monmap.1234 |
38 | monmaptool: writing epoch 0 to /tmp/test.monmap.1234 (1 monitors) | |
39 | ||
40 | $ monmaptool --feature-list /tmp/test.monmap.1234 | |
41 | monmaptool: monmap file /tmp/test.monmap.1234 | |
42 | MONMAP FEATURES: | |
9f95a23c TL |
43 | persistent: [kraken(1),octopus(32)] |
44 | optional: [unknown(4096)] | |
45 | required: [kraken(1),octopus(32),unknown(4096)] | |
7c673cae FG |
46 | |
47 | AVAILABLE FEATURES: | |
1e59de90 TL |
48 | supported: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] |
49 | persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] | |
7c673cae FG |
50 | |
51 | $ monmaptool --feature-unset 32 --optional --feature-list /tmp/test.monmap.1234 | |
52 | monmaptool: monmap file /tmp/test.monmap.1234 | |
53 | MONMAP FEATURES: | |
9f95a23c TL |
54 | persistent: [kraken(1),octopus(32)] |
55 | optional: [unknown(4096)] | |
56 | required: [kraken(1),octopus(32),unknown(4096)] | |
7c673cae FG |
57 | |
58 | AVAILABLE FEATURES: | |
1e59de90 TL |
59 | supported: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] |
60 | persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] | |
7c673cae FG |
61 | monmaptool: writing epoch 0 to /tmp/test.monmap.1234 (1 monitors) |
62 | ||
9f95a23c | 63 | $ monmaptool --feature-unset 32 --persistent --feature-unset 4096 --optional --feature-list /tmp/test.monmap.1234 |
7c673cae FG |
64 | monmaptool: monmap file /tmp/test.monmap.1234 |
65 | MONMAP FEATURES: | |
66 | persistent: [kraken(1)] | |
67 | optional: [none] | |
68 | required: [kraken(1)] | |
69 | ||
70 | AVAILABLE FEATURES: | |
1e59de90 TL |
71 | supported: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] |
72 | persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] | |
7c673cae FG |
73 | monmaptool: writing epoch 0 to /tmp/test.monmap.1234 (1 monitors) |
74 | ||
75 | $ monmaptool --feature-unset kraken --feature-list /tmp/test.monmap.1234 | |
76 | monmaptool: monmap file /tmp/test.monmap.1234 | |
77 | MONMAP FEATURES: | |
78 | persistent: [none] | |
79 | optional: [none] | |
80 | required: [none] | |
81 | ||
82 | AVAILABLE FEATURES: | |
1e59de90 TL |
83 | supported: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] |
84 | persistent: [kraken(1),luminous(2),mimic(4),osdmap-prune(8),nautilus(16),octopus(32),pacific(64),elector-pinging(128),quincy(256),reef(512)] | |
7c673cae FG |
85 | monmaptool: writing epoch 0 to /tmp/test.monmap.1234 (1 monitors) |
86 | ||
87 | $ rm /tmp/test.monmap.1234 |