MONMAPTOOL(8) | Ceph | MONMAPTOOL(8) |
monmaptool - ceph monitor cluster map manipulation tool
monmaptool mapfilename [ --clobber ] [ --print ] [ --create ] [ --add ip:port ... ] [ --rm ip:port ... ]
monmaptool is a utility to create, view, and modify a monitor cluster map for the Ceph distributed storage system. The monitor map specifies the only fixed addresses in the Ceph distributed system. All other daemons bind to arbitrary addresses and register themselves with the monitors.
When creating a map with --create, a new monitor map with a new, random UUID will be created. It should be followed by one or more monitor addresses.
The default Ceph monitor port is 6789.
To create a new map with three monitors (for a fresh Ceph file system):
monmaptool --create --add mon.a 192.168.0.10:6789 --add mon.b 192.168.0.11:6789 \
--add mon.c 192.168.0.12:6789 --clobber monmap
To display the contents of the map:
monmaptool --print monmap
To replace one monitor:
monmaptool --rm mon.a --add mon.a 192.168.0.9:6789 --clobber monmap
monmaptool is part of Ceph, a massively scalable, open-source, distributed storage system. Please refer to the Ceph documentation at http://ceph.com/docs for more information.
2010-2021, Inktank Storage, Inc. and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0)
May 27, 2021 | dev |