blob: a47eab1699b69f3410fc5869c77bc855d3ed7a19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$ monmaptool --create --add foo 2.3.4.5:6789 mymonmap
monmaptool: monmap file mymonmap
monmaptool: generated fsid [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} (re)
monmaptool: writing epoch 0 to mymonmap (1 monitors)
$ monmaptool --print mymonmap
monmaptool: monmap file mymonmap
epoch 0
fsid [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} (re)
last_changed \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re)
created \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d+.\d\d\d\d (re)
min_mon_release 0 (unknown)
election_strategy: 1
0: v1:2.3.4.5:6789/0 mon.foo
|