1MONMAPTOOL(8)               System Manager's Manual              MONMAPTOOL(8)
2
3
4

NAME

6       monmaptool - ceph monutir cluster map manipulation tool
7

SYNOPSIS

9       monmaptool  mapfilename  [ --clobber ] [ --print ] [ --create ] [ --add
10       ip:port ... ] [ --rm ip:port ... ]
11

DESCRIPTION

13       monmaptool is a utility to create, view, and modify a  monitor  cluster
14       map  for  the  Ceph distributed file system.  The monitor map specifies
15       the only fixed addresses in the Ceph  distributed  system.   All  other
16       daemons  bind  to  arbitrary addresses and register themselves with the
17       monitors.
18
19       When creating a map with --create, a new monitor map with a new, random
20       UUID  will  be  created.   It should be followed by one or more monitor
21       addresses.
22
23       The default Ceph monitor port is 6789.
24

OPTIONS

26       --print
27              will print a plaintext dump of the map, after any  modifications
28              are made.
29
30       --clobber
31              will  allow  monmaptool  to overwrite mapfilename if changes are
32              made.
33
34       --create
35              will create a new monitor map with a new UUID (and  with  it,  a
36              new, empty Ceph file system).
37
38       --add ip:port
39              will add a monitor with the specified ip:port to the map.
40
41       --rm ip:port
42              will remove the monitor with the specified ip:port from the map.
43

EXAMPLE

45       To create a new map with three monitors (for a fresh Ceph file system):
46
47              monmaptool     --create     --add     192.168.0.10:6789    --add
48              192.168.0.11:6789 --add 192.168.0.12:6789 --clobber monmap
49
50       To display the contents of the map:
51
52              monmaptool --print onmap
53
54       To replace one monitor:
55
56              monmaptool --rm 192.168.0.10:6789 --add 192.168.0.9:6789 --clob‐
57              ber monmap
58

AVAILABILITY

60       monmaptool  is  part of the Ceph distributed file system.  Please refer
61       to the Ceph wiki at http://ceph.newdream.net/wiki for more information.
62

SEE ALSO

64       ceph(8), crushtool(8), mkcephfs(8)
65
66
67
68                                                                 MONMAPTOOL(8)
Impressum