]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Adds updated man page for ceph-deploy under man/
authorNilamdyuti Goswami <ngoswami@redhat.com>
Wed, 17 Dec 2014 15:17:22 +0000 (20:47 +0530)
committerNilamdyuti Goswami <ngoswami@redhat.com>
Thu, 18 Dec 2014 08:21:46 +0000 (13:51 +0530)
Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
man/ceph-deploy.8

index 1f4d411b38d5aa936d6bebd340991093656597a5..c751c7f6e88c0b8db81aef9cc9591cf1a4e16725 100644 (file)
@@ -1,8 +1,8 @@
 .\" Man page generated from reStructuredText.
 .
-.TH "CEPH-DEPLOY" "8" "December 06, 2014" "dev" "Ceph"
+.TH "CEPH-DEPLOY" "8" "December 17, 2014" "dev" "Ceph"
 .SH NAME
-ceph-deploy \- Ceph quickstart tool
+ceph-deploy \- Ceph deployment tool
 .
 .nr rst2man-indent-level 0
 .
@@ -79,6 +79,10 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .fi
 .sp
 .nf
+\fBceph\-deploy\fP \fBosd\fP \fIcreate\fP [\fIceph\-node\fP]:[\fIdir\-path\fP]
+.fi
+.sp
+.nf
 \fBceph\-deploy\fP \fBadmin\fP [\fIadmin\-node\fP][\fIceph\-node\fP\&...]
 .fi
 .sp
@@ -92,109 +96,139 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 .sp
 .SH DESCRIPTION
 .sp
-\fBceph\-deploy\fP is a tool which allows easy and quick deployment of a ceph
-cluster without involving complex and detailed manual configuration. It uses
-ssh to gain access to other ceph nodes from the admin node, sudo for
+\fBceph\-deploy\fP is a tool which allows easy and quick deployment of a
+Ceph cluster without involving complex and detailed manual configuration. It
+uses ssh to gain access to other Ceph nodes from the admin node, sudo for
 administrator privileges on them and the underlying Python scripts automates
-the manual process of ceph installation on each node from the admin node itself.
+the manual process of Ceph installation on each node from the admin node itself.
 It can be easily run on an workstation and doesn\(aqt require servers, databases or
-any other automated tools. With \fBceph\-deploy\fP, it is really easy to set up and
-take down a cluster. However, it is not a generic deployment tool. It is a
-specific tool which is designed for those who want to get ceph up and running
+any other automated tools. With \fBceph\-deploy\fP, it is really easy to set
+up and take down a cluster. However, it is not a generic deployment tool. It is
+a specific tool which is designed for those who want to get Ceph up and running
 quickly with only the unavoidable initial configuration settings and without the
 overhead of installing other tools like \fBChef\fP, \fBPuppet\fP or \fBJuju\fP\&. Those
 who want to customize security settings, partitions or directory locations and
 want to set up a cluster following detailed manual steps, should use other tools
 i.e, \fBChef\fP, \fBPuppet\fP, \fBJuju\fP or \fBCrowbar\fP\&.
 .sp
-With \fBceph\-deploy\fP, you can install ceph packages on remote nodes, create a
-cluster, add monitors, gather/forget keys, add OSDs and metadata servers,
-configure admin hosts or take down the cluster.
+With \fBceph\-deploy\fP, you can install Ceph packages on remote nodes,
+create a cluster, add monitors, gather/forget keys, add OSDs and metadata
+servers, configure admin hosts or take down the cluster.
 .SH COMMANDS
+.SS new
 .sp
-\fBnew\fP: Start deploying a new cluster and write a configuration file and keyring
-for it. It tries to copy ssh keys from admin node to gain passwordless ssh to
-monitor node(s), validates host IP, creates a cluster with a new initial monitor
-node or nodes for monitor quorum, a ceph configuration file, a monitor secret
-keyring and a log file for the new cluster. It populates the newly created ceph
-configuration file with \fBfsid\fP of cluster, hostnames and IP addresses of initial
-monitor members under [global] section.
+Start deploying a new cluster and write a configuration file and keyring for it.
+It tries to copy ssh keys from admin node to gain passwordless ssh to monitor
+node(s), validates host IP, creates a cluster with a new initial monitor node or
+nodes for monitor quorum, a ceph configuration file, a monitor secret keyring and
+a log file for the new cluster. It populates the newly created Ceph configuration
+file with \fBfsid\fP of cluster, hostnames and IP addresses of initial monitor
+members under \fB[global]\fP section.
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
-Usage: ceph\-deploy new [MON][MON...]
+.nf
+.ft C
+ceph\-deploy new [MON][MON...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
-Here, [MON] is initial monitor hostname, fqdn, or hostname:fqdn pair.
+Here, [MON] is initial monitor hostname (short hostname i.e, \fBhostname \-s\fP).
 .sp
-Other options like \-\-no\-ssh\-copykey, \-\-fsid, \-\-cluster\-network and
-\-\-public\-network can also be used with this command.
+Other options like \fI\%--no-ssh-copykey\fP, \fI\%--fsid\fP,
+\fI\%--cluster-network\fP and \fI\%--public-network\fP can also be used with
+this command.
 .sp
 If more than one network interface is used, \fBpublic network\fP setting has to be
-added under \fB[global]\fP section of ceph configuration file. If the public subnet
+added under \fB[global]\fP section of Ceph configuration file. If the public subnet
 is given, \fBnew\fP command will choose the one IP from the remote host that exists
 within the subnet range. Public network can also be added at runtime using
-\fB\-\-public\-network\fP option with the command as mentioned above.
-.sp
-It is also recommended to change the default number of replicas in the Ceph
-configuration file from 3 to 2 so that Ceph can achieve an \fB(active + clean)\fP
-state with just two Ceph OSDs. To do that, add the following line under the
-\fB[global]\fP section:
+\fI\%--public-network\fP option with the command as mentioned above.
+.SS install
 .sp
-osd pool default size = 2
-.sp
-\fBinstall\fP: Install Ceph packages on remote hosts. As a first step it installs
+Install Ceph packages on remote hosts. As a first step it installs
 \fByum\-plugin\-priorities\fP in admin and other nodes using passwordless ssh and sudo
 so that Ceph packages from upstream repository get more priority. It then detects
 the platform and distribution for the hosts and installs Ceph normally by
 downloading distro compatible packages if adequate repo for Ceph is already added.
-It sets the \fBversion_kind\fP to be the right one out of \fBstable\fP, \fBtesting\fP,
-and \fBdevelopment\fP\&. Generally the \fBstable\fP version and latest release is used
-for installation. During detection of platform and distribution before installation,
-if it finds the \fBdistro.init\fP to be \fBsysvinit\fP (Fedora, CentOS/RHEL etc), it
-doesn\(aqt allow installation with custom cluster name and uses the default name
-\fBceph\fP for the cluster.
-.sp
-If the user explicitly specifies a custom repo url with \fB\-\-repo\-url\fP for
+\fB\-\-release\fP flag is used to get the latest release for installation. During
+detection of platform and distribution before installation, if it finds the
+\fBdistro.init\fP to be \fBsysvinit\fP (Fedora, CentOS/RHEL etc), it doesn\(aqt allow
+installation with custom cluster name and uses the default name \fBceph\fP for the
+cluster.
+.sp
+If the user explicitly specifies a custom repo url with \fI\%--repo-url\fP for
 installation, anything detected from the configuration will be overridden and
 the custom repository location will be used for installation of Ceph packages.
-If required, valid custom repositories are also detected and installed. In case of
-installation from a custom repo a boolean is used to determine the logic needed to
-proceed with a custom repo installation. A custom repo install helper is used that
-goes through config checks to retrieve repos (and any extra repos defined) and
-installs them. \fBcd_conf\fP is the object built from argparse that holds the flags
-and information needed to determine what metadata from the configuration is to be
-used.
-.sp
-A user can also opt to install only the repository without installing ceph and
-its dependencies by using \fB\-\-repo\fP option.
+If required, valid custom repositories are also detected and installed. In case
+of installation from a custom repo a boolean is used to determine the logic
+needed to proceed with a custom repo installation. A custom repo install helper
+is used that goes through config checks to retrieve repos (and any extra repos
+defined) and installs them. \fBcd_conf\fP is the object built from \fBargparse\fP
+that holds the flags and information needed to determine what metadata from the
+configuration is to be used.
+.sp
+A user can also opt to install only the repository without installing Ceph and
+its dependencies by using \fI\%--repo\fP option.
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
-Usage: ceph\-deploy install [HOST][HOST...]
+.nf
+.ft C
+ceph\-deploy install [HOST][HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is/are the host node(s) where Ceph is to be installed.
 .sp
-Other options like \-\-release, \-\-testing, \-\-dev, \-\-adjust\-repos, \-\-no\-adjust\-repos,
-\-\-repo, \-\-local\-mirror, \-\-repo\-url and \-\-gpg\-url can also be used with this
-command.
-.sp
-\fBmds\fP: Deploy Ceph mds on remote hosts. A metadata server is needed to use
-CephFS and the \fBmds\fP command is used to create one on the desired host node.
-It uses the subcommand \fBcreate\fP to do so. \fBcreate\fP first gets the hostname
-and distro information of the desired mds host. It then tries to read the
-bootstrap\-mds key for the cluster and deploy it in the desired host. The key
-generally has a format of {cluster}.bootstrap\-mds.keyring. If it doesn\(aqt finds
-a keyring, it runs \fBgatherkeys\fP to get the keyring. It then creates a mds on the
-desired host under the path /var/lib/ceph/mds/ in /var/lib/ceph/mds/{cluster}\-{name}
-format and a bootstrap keyring under /var/lib/ceph/bootstrap\-mds/ in
-/var/lib/ceph/bootstrap\-mds/{cluster}.keyring format. It then runs appropriate
+An option \fB\-\-release\fP is used to install a release known as CODENAME
+(default: firefly).
+.sp
+Other options like \fI\%--testing\fP, \fI\%--dev\fP,:option:\fI\-\-adjust\-repos\fP,
+\fI\%--no-adjust-repos\fP, \fI\%--repo\fP, \fI\%--local-mirror\fP,
+\fI\%--repo-url\fP and \fI\%--gpg-url\fP can also be used with this command.
+.SS mds
+.sp
+Deploy Ceph mds on remote hosts. A metadata server is needed to use CephFS and
+the \fBmds\fP command is used to create one on the desired host node. It uses the
+subcommand \fBcreate\fP to do so. \fBcreate\fP first gets the hostname and distro
+information of the desired mds host. It then tries to read the \fBbootstrap\-mds\fP
+key for the cluster and deploy it in the desired host. The key generally has a
+format of \fB{cluster}.bootstrap\-mds.keyring\fP\&. If it doesn\(aqt finds a keyring,
+it runs \fBgatherkeys\fP to get the keyring. It then creates a mds on the desired
+host under the path \fB/var/lib/ceph/mds/\fP in \fB/var/lib/ceph/mds/{cluster}\-{name}\fP
+format and a bootstrap keyring under \fB/var/lib/ceph/bootstrap\-mds/\fP in
+\fB/var/lib/ceph/bootstrap\-mds/{cluster}.keyring\fP format. It then runs appropriate
 commands based on \fBdistro.init\fP to start the \fBmds\fP\&. To remove the mds,
 subcommand \fBdestroy\fP is used.
 .sp
-Usage: ceph\-deploy mds create [HOST[:DAEMON\-NAME]] [HOST[:DAEMON\-NAME]...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
+.nf
+.ft C
+ceph\-deploy mds create [HOST[:DAEMON\-NAME]] [HOST[:DAEMON\-NAME]...]
+
 ceph\-deploy mds destroy [HOST[:DAEMON\-NAME]] [HOST[:DAEMON\-NAME]...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 The [DAEMON\-NAME] is optional.
+.SS mon
 .sp
-\fBmon\fP: Deploy Ceph monitor on remote hosts. \fBmon\fP makes use of certain
-subcommands to deploy Ceph monitors on other nodes.
+Deploy Ceph monitor on remote hosts. \fBmon\fP makes use of certain subcommands
+to deploy Ceph monitors on other nodes.
 .sp
 Subcommand \fBcreate\-initial\fP deploys for monitors defined in
 \fBmon initial members\fP under \fB[global]\fP section in Ceph configuration file,
@@ -202,255 +236,469 @@ wait until they form quorum and then gatherkeys, reporting the monitor status
 along the process. If monitors don\(aqt form quorum the command will eventually
 time out.
 .sp
-Usage: ceph\-deploy mon create\-initial
-.sp
-Subcommand \fBcreate\fP is used to deploy Ceph monitors by explicitly specifying the
-hosts which are desired to be made monitors. If no hosts are specified it will
-default to use the \fBmon initial members\fP defined under \fB[global]\fP section of
-Ceph configuration file. \fBcreate\fP first detects platform and distro for desired
-hosts and checks if hostname is compatible for deployment. It then uses the monitor
-keyring initially created using \fBnew\fP command and deploys the monitor in desired
-host. If multiple hosts were specified during \fBnew\fP command i.e, if there are
-multiple hosts in \fBmon initial members\fP and multiple keyrings were created then
-a concatenated keyring is used for deployment of monitors. In this process a
-keyring parser is used which looks for \fB[entity]\fP sections in monitor keyrings
-and returns a list of those sections. A helper is then used to collect all
-keyrings into a single blob that will be used to inject it to monitors with
-\fB\-\-mkfs\fP on remote nodes. All keyring files are concatenated to be in a
-directory ending with \fB\&.keyring\fP\&. During this process the helper uses list of
-sections returned by keyring parser to check if an entity is already present in
-a keyring and if not, adds it. The concatenated keyring is used for deployment
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy mon create\-initial
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Subcommand \fBcreate\fP is used to deploy Ceph monitors by explicitly specifying
+the hosts which are desired to be made monitors. If no hosts are specified it
+will default to use the \fBmon initial members\fP defined under \fB[global]\fP
+section of Ceph configuration file. \fBcreate\fP first detects platform and distro
+for desired hosts and checks if hostname is compatible for deployment. It then
+uses the monitor keyring initially created using \fBnew\fP command and deploys the
+monitor in desired host. If multiple hosts were specified during \fBnew\fP command
+i.e, if there are multiple hosts in \fBmon initial members\fP and multiple keyrings
+were created then a concatenated keyring is used for deployment of monitors. In
+this process a keyring parser is used which looks for \fB[entity]\fP sections in
+monitor keyrings and returns a list of those sections. A helper is then used to
+collect all keyrings into a single blob that will be used to inject it to monitors
+with \fI\-\-mkfs\fP on remote nodes. All keyring files are concatenated to be
+in a directory ending with \fB\&.keyring\fP\&. During this process the helper uses list
+of sections returned by keyring parser to check if an entity is already present
+in a keyring and if not, adds it. The concatenated keyring is used for deployment
 of monitors to desired multiple hosts.
 .sp
-Usage: ceph\-deploy mon create [HOST] [HOST...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy mon create [HOST] [HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is hostname of desired monitor host(s).
 .sp
 Subcommand \fBadd\fP is used to add a monitor to an existing cluster. It first
-detects platform and distro for desired host and checks if hostname is
-compatible for deployment. It then uses the monitor keyring, ensures
-configuration for new monitor host and adds the monitor to the cluster.
-If the section for the monitor exists and defines a mon addr that
-will be used, otherwise it will fallback by resolving the hostname to an
-IP. If \-\-address is used it will override all other options. After
-adding the monitor to the cluster, it gives it some time to start. It then
-looks for any monitor errors and checks monitor status. Monitor errors
-arise if the monitor is not added in \fBmon initial members\fP, if it doesn\(aqt
-exist in monmap and if neither public_addr nor public_network keys were
-defined for monitors. Under such conditions, monitors may not be able to form
-quorum. Monitor status tells if the monitor is up and running normally. The
-status is checked by running ceph daemon mon.hostname mon_status on
-remote end which provides the output and returns a boolean status of what is
-going on. \fBFalse\fP means a monitor that is not fine even if it is up and
-running, while \fBTrue\fP means the monitor is up and running correctly.
-.sp
-Usage: ceph\-deploy mon add [HOST]
+detects platform and distro for desired host and checks if hostname is compatible
+for deployment. It then uses the monitor keyring, ensures configuration for new
+monitor host and adds the monitor to the cluster. If the section for the monitor
+exists and defines a mon addr that will be used, otherwise it will fallback by
+resolving the hostname to an IP. If \fI\%--address\fP is used it will override
+all other options. After adding the monitor to the cluster, it gives it some time
+to start. It then looks for any monitor errors and checks monitor status. Monitor
+errors arise if the monitor is not added in \fBmon initial members\fP, if it doesn\(aqt
+exist in \fBmonmap\fP and if neither \fBpublic_addr\fP nor \fBpublic_network\fP keys
+were defined for monitors. Under such conditions, monitors may not be able to
+form quorum. Monitor status tells if the monitor is up and running normally. The
+status is checked by running \fBceph daemon mon.hostname mon_status\fP on remote
+end which provides the output and returns a boolean status of what is going on.
+\fBFalse\fP means a monitor that is not fine even if it is up and running, while
+\fBTrue\fP means the monitor is up and running correctly.
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
+.nf
+.ft C
+ceph\-deploy mon add [HOST]
+
 ceph\-deploy mon add [HOST] \-\-address [IP]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is the hostname and [IP] is the IP address of the desired monitor
 node.
 .sp
-Subcommand \fBdestroy\fP is used to completely remove monitors on remote hosts. It
-takes hostnames as arguments. It stops the monitor, verifies if ceph\-mon daemon
-really stopped, creates an archive directory \fBmon\-remove\fP under /var/lib/ceph/,
-archives old monitor directory in {cluster}\-{hostname}\-{stamp} format in it and
-removes the monitor from cluster by running \fBceph remove...\fP command.
+Subcommand \fBdestroy\fP is used to completely remove monitors on remote hosts.
+It takes hostnames as arguments. It stops the monitor, verifies if \fBceph\-mon\fP
+daemon really stopped, creates an archive directory \fBmon\-remove\fP under
+\fB/var/lib/ceph/\fP, archives old monitor directory in
+\fB{cluster}\-{hostname}\-{stamp}\fP format in it and removes the monitor from
+cluster by running \fBceph remove...\fP command.
 .sp
-Usage: ceph\-deploy mon destroy [HOST]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy mon destroy [HOST]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is hostname of monitor that is to be removed.
+.SS gatherkeys
 .sp
-\fBgatherkeys\fP: Gather authentication keys for provisioning new nodes. It
-takes hostnames as arguments. It checks for and fetches client.admin keyring,
-monitor keyring and bootstrap\-mds/bootstrap\-osd keyring from monitor host.
-These authentication keys are used when new monitors/OSDs/MDS are added to
-the cluster.
+Gather authentication keys for provisioning new nodes. It takes hostnames as
+arguments. It checks for and fetches \fBclient.admin\fP keyring, monitor keyring
+and \fBbootstrap\-mds/bootstrap\-osd\fP keyring from monitor host. These
+authentication keys are used when new \fBmonitors/OSDs/MDS\fP are added to the
+cluster.
 .sp
-Usage: ceph\-deploy gatherkeys [HOST] [HOST...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy gatherkeys [HOST] [HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is hostname of the monitor from where keys are to be pulled.
+.SS disk
 .sp
-\fBdisk\fP: Manage disks on a remote host. It actually triggers the \fBceph\-disk\fP
-utility and it\(aqs subcommands to manage disks.
+Manage disks on a remote host. It actually triggers the \fBceph\-disk\fP utility
+and it\(aqs subcommands to manage disks.
 .sp
-Subcommand \fBlist\fP lists disk partitions and ceph OSDs.
+Subcommand \fBlist\fP lists disk partitions and Ceph OSDs.
 .sp
-Usage: ceph\-deploy disk list [HOST:[DISK]]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy disk list [HOST:[DISK]]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is hostname of the node and [DISK] is disk name or path.
 .sp
-Subcommand \fBprepare\fP prepares a directory, disk or drive for a ceph OSD. It
-creates a GPT partition, marks the partition with ceph type uuid, creates a
-file system, marks the file system as ready for ceph consumption, uses entire
+Subcommand \fBprepare\fP prepares a directory, disk or drive for a Ceph OSD. It
+creates a GPT partition, marks the partition with Ceph type uuid, creates a
+file system, marks the file system as ready for Ceph consumption, uses entire
 partition and adds a new partition to the journal disk.
 .sp
-Usage: ceph\-deploy disk prepare [HOST:[DISK]]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy disk prepare [HOST:[DISK]]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is hostname of the node and [DISK] is disk name or path.
 .sp
-Subcommand \fBactivate\fP activates the ceph OSD. It mounts the volume in a temporary
-location, allocates an OSD id (if needed), remounts in the correct location
-/var/lib/ceph/osd/$cluster\-$id and starts ceph\-osd. It is triggered by udev
-when it sees the OSD GPT partition type or on ceph service start with
-\(aqceph disk activate\-all\(aq.
+Subcommand \fBactivate\fP activates the Ceph OSD. It mounts the volume in a
+temporary location, allocates an OSD id (if needed), remounts in the correct
+location \fB/var/lib/ceph/osd/$cluster\-$id\fP and starts \fBceph\-osd\fP\&. It is
+triggered by \fBudev\fP when it sees the OSD GPT partition type or on ceph service
+start with \fBceph disk activate\-all\fP\&.
 .sp
-Usage: ceph\-deploy disk activate [HOST:[DISK]]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy disk activate [HOST:[DISK]]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is hostname of the node and [DISK] is disk name or path.
 .sp
 Subcommand \fBzap\fP zaps/erases/destroys a device\(aqs partition table and contents.
-It actually uses \(aqsgdisk\(aq and it\(aqs option \(aq\-\-zap\-all\(aq to destroy both
-GPT and MBR data structures so that the disk becomes suitable for
-repartitioning. \(aqsgdisk\(aq then uses \(aq\-\-mbrtogpt\(aq to convert the MBR or
-BSD disklabel disk to a GPT disk. The \fBprepare\fP subcommand can now be
-executed which will create a new GPT partition.
+It actually uses \fBsgdisk\fP and it\(aqs option \fB\-\-zap\-all\fP to destroy both GPT and
+MBR data structures so that the disk becomes suitable for repartitioning.
+\fBsgdisk\fP then uses \fB\-\-mbrtogpt\fP to convert the MBR or BSD disklabel disk to a
+GPT disk. The \fBprepare\fP subcommand can now be executed which will create a new
+GPT partition.
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
-Usage: ceph\-deploy disk zap [HOST:[DISK]]
+.nf
+.ft C
+ceph\-deploy disk zap [HOST:[DISK]]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is hostname of the node and [DISK] is disk name or path.
+.SS osd
 .sp
-\fBosd\fP: Manage OSDs by preparing data disk on remote host. \fBosd\fP makes use
-of certain subcommands for managing OSDs.
+Manage OSDs by preparing data disk on remote host. \fBosd\fP makes use of certain
+subcommands for managing OSDs.
 .sp
-Subcommand \fBprepare\fP prepares a directory, disk or drive for a ceph OSD. It
-first checks against multiple OSDs getting created and warns about the possibility
-of more than the recommended which would cause issues with max allowed PIDs in a
-system. It then reads the bootstrap\-osd key for the cluster or writes the bootstrap
-key if not found. It then uses \fBceph\-disk\fP utility\(aqs \fBprepare\fP subcommand to
-prepare the disk, journal and deploy the OSD on the desired host. Once prepared,
-it gives some time to the OSD to settle and checks for any possible errors and if
-found, reports to the user.
+Subcommand \fBprepare\fP prepares a directory, disk or drive for a Ceph OSD. It
+first checks against multiple OSDs getting created and warns about the
+possibility of more than the recommended which would cause issues with max
+allowed PIDs in a system. It then reads the bootstrap\-osd key for the cluster or
+writes the bootstrap key if not found. It then uses \fBceph\-disk\fP
+utility\(aqs \fBprepare\fP subcommand to prepare the disk, journal and deploy the OSD
+on the desired host. Once prepared, it gives some time to the OSD to settle and
+checks for any possible errors and if found, reports to the user.
 .sp
-Usage: ceph\-deploy osd prepare HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy osd prepare HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
-Subcommand \fBactivate\fP activates the OSD prepared using \fIprepare\fP subcommand.
+Subcommand \fBactivate\fP activates the OSD prepared using \fBprepare\fP subcommand.
 It actually uses \fBceph\-disk\fP utility\(aqs \fBactivate\fP subcommand with
-appropriate init type based on distro to activate the OSD. Once activated,
-it gives some time to the OSD to start and checks for any possible errors and if
+appropriate init type based on distro to activate the OSD. Once activated, it
+gives some time to the OSD to start and checks for any possible errors and if
 found, reports to the user. It checks the status of the prepared OSD, checks the
 OSD tree and makes sure the OSDs are up and in.
 .sp
-Usage: ceph\-deploy osd activate HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy osd activate HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Subcommand \fBcreate\fP uses \fBprepare\fP and \fBactivate\fP subcommands to create an
 OSD.
 .sp
-Usage: ceph\-deploy osd create HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
-Subcommand \fBlist\fP lists disk partitions, ceph OSDs and prints OSD metadata.
+.nf
+.ft C
+ceph\-deploy osd create HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Subcommand \fBlist\fP lists disk partitions, Ceph OSDs and prints OSD metadata.
 It gets the osd tree from a monitor host, uses the \fBceph\-disk\-list\fP output
 and gets the mount point by matching the line where the partition mentions
 the OSD name, reads metadata from files, checks if a journal path exists,
 if the OSD is in a OSD tree and prints the OSD metadata.
 .sp
-Usage: ceph\-deploy osd list HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
-Subcommand \fBdestroy\fP is used to completely remove OSDs from remote hosts. It
-first takes the desired OSD out of the cluster and waits for the cluster to
-rebalance and placement groups to reach \fB(active+clean)\fP state again. It then
-stops the OSD, removes the OSD from CRUSH map, removes the OSD authentication
-key, removes the OSD and updates the cluster\(aqs configuration file accordingly.
+.nf
+.ft C
+ceph\-deploy osd list HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.SS admin
 .sp
-Usage: ceph\-deploy osd destroy HOST:DISK[:JOURNAL] [HOST:DISK[:JOURNAL]...]
+Push configuration and \fBclient.admin\fP key to a remote host. It takes
+the \fB{cluster}.client.admin.keyring\fP from admin node and writes it under
+\fB/etc/ceph\fP directory of desired node.
 .sp
-\fBadmin\fP: Push configuration and client.admin key to a remote host. It takes
-the {cluster}.client.admin.keyring from admin node and writes it under /etc/ceph
-directory of desired node.
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
-Usage: ceph\-deploy admin [HOST] [HOST...]
+.nf
+.ft C
+ceph\-deploy admin [HOST] [HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is desired host to be configured for Ceph administration.
+.SS config
 .sp
-\fBconfig\fP: Push/pull configuration file to/from a remote host. It uses
-\fBpush\fP subcommand to takes the configuration file from admin host and
-write it to remote host under /etc/ceph directory. It uses \fBpull\fP subcommand
-to do the opposite i.e, pull the configuration file under /etc/ceph directory
-of remote host to admin node.
-.sp
-Usage: ceph\-deploy push [HOST] [HOST...]
+Push/pull configuration file to/from a remote host. It uses \fBpush\fP subcommand
+to takes the configuration file from admin host and write it to remote host under
+\fB/etc/ceph\fP directory. It uses \fBpull\fP subcommand to do the opposite i.e, pull
+the configuration file under \fB/etc/ceph\fP directory of remote host to admin node.
 .sp
-Here, [HOST] is the hostname of the node where config file will be pushed.
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
+.nf
+.ft C
+ceph\-deploy push [HOST] [HOST...]
+
 ceph\-deploy pull [HOST] [HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
-Here, [HOST] is the hostname of the node from where config file will be pulled.
+Here, [HOST] is the hostname of the node where config file will be pushed to or
+pulled from.
+.SS uninstall
 .sp
-\fBuninstall\fP: Remove Ceph packages from remote hosts. It detects the platform
-and distro of selected host and uninstalls Ceph packages from it. However, some
-dependencies like librbd1 and librados2 \fBwill not\fP be removed because they can
-cause issues with qemu\-kvm.
+Remove Ceph packages from remote hosts. It detects the platform and distro of
+selected host and uninstalls Ceph packages from it. However, some dependencies
+like \fBlibrbd1\fP and \fBlibrados2\fP will not be removed because they can cause
+issues with \fBqemu\-kvm\fP\&.
 .sp
-Usage: ceph\-deploy uninstall [HOST] [HOST...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy uninstall [HOST] [HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is hostname of the node from where Ceph will be uninstalled.
+.SS purge
 .sp
-\fBpurge\fP: Remove Ceph packages from remote hosts and purge all data. It detects
-the platform and distro of selected host, uninstalls Ceph packages and purges all
-data. However, some dependencies like librbd1 and librados2 \fBwill not\fP be removed
-because they can cause issues with qemu\-kvm.
+Remove Ceph packages from remote hosts and purge all data. It detects the
+platform and distro of selected host, uninstalls Ceph packages and purges all
+data. However, some dependencies like \fBlibrbd1\fP and \fBlibrados2\fP will not be
+removed because they can cause issues with \fBqemu\-kvm\fP\&.
 .sp
-Usage: ceph\-deploy purge [HOST] [HOST...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
-Here, [HOST] is hostname of the node from where Ceph will be purged.
+.nf
+.ft C
+ceph\-deploy purge [HOST] [HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
-\fBpurgedata\fP: Purge (delete, destroy, discard, shred) any Ceph data from
-/var/lib/ceph. Once it detects the platform and distro of desired host, it first
-checks if Ceph is still installed on the selected host and if installed, it won\(aqt
-purge data from it. If Ceph is already uninstalled from the host, it tries to
-remove the contents of /var/lib/ceph. If it fails then probably OSDs are still
-mounted and needs to be unmounted to continue. It unmount the OSDs and tries to
-remove the contents of /var/lib/ceph again and checks for errors. It also
-removes contents of /etc/ceph. Once all steps are successfully completed, all
-the Ceph data from the selected host are removed.
+Here, [HOST] is hostname of the node from where Ceph will be purged.
+.SS purgedata
+.sp
+Purge (delete, destroy, discard, shred) any Ceph data from \fB/var/lib/ceph\fP\&.
+Once it detects the platform and distro of desired host, it first checks if Ceph
+is still installed on the selected host and if installed, it won\(aqt purge data
+from it. If Ceph is already uninstalled from the host, it tries to remove the
+contents of \fB/var/lib/ceph\fP\&. If it fails then probably OSDs are still mounted
+and needs to be unmounted to continue. It unmount the OSDs and tries to remove
+the contents of \fB/var/lib/ceph\fP again and checks for errors. It also removes
+contents of \fB/etc/ceph\fP\&. Once all steps are successfully completed, all the
+Ceph data from the selected host are removed.
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
-Usage: ceph\-deploy purgedata [HOST] [HOST...]
+.nf
+.ft C
+ceph\-deploy purgedata [HOST] [HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is hostname of the node from where Ceph data will be purged.
+.SS forgetkeys
 .sp
-\fBforgetkeys\fP: Remove authentication keys from the local directory. It removes
-all the authentication keys i.e, monitor keyring, client.admin keyring,
-bootstrap\-osd and bootstrap\-mds keyring from the node.
+Remove authentication keys from the local directory. It removes all the
+authentication keys i.e, monitor keyring, client.admin keyring, bootstrap\-osd
+and bootstrap\-mds keyring from the node.
 .sp
-Usage: ceph\-deploy forgetkeys
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy forgetkeys
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.SS pkg
 .sp
-\fBpkg\fP: Manage packages on remote hosts. It is used for installing or removing
-packages from remote hosts. The package names for installation or removal are to
-specified after the command. Two options \-\-install and \-\-remove are used for this
-purpose.
+Manage packages on remote hosts. It is used for installing or removing packages
+from remote hosts. The package names for installation or removal are to be
+specified after the command. Two options \fI\%--install\fP and
+\fI\%--remove\fP are used for this purpose.
 .sp
-Usage: ceph\-deploy pkg \-\-install [PKGs] [HOST] [HOST...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
 .sp
+.nf
+.ft C
+ceph\-deploy pkg \-\-install [PKGs] [HOST] [HOST...]
+
 ceph\-deploy pkg \-\-remove [PKGs] [HOST] [HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [PKGs] is comma\-separated package names and [HOST] is hostname of the
-remote node where packages are to installed or removed from.
-.sp
-\fBcalamari\fP: Install and configure Calamari nodes. It first checks if distro
-is supported for Calamari installation by ceph\-deploy. An argument \fBconnect\fP
-is used for installation and configuration. It checks for ceph\-deploy
-configuration file (cd_conf) and Calamari release repo or \fBcalamari\-minion\fP repo.
-It relies on default for repo installation as it doesn\(aqt install Ceph unless
-specified otherwise. \fBoptions\fP dictionary is also defined because ceph\-deploy
+remote node where packages are to be installed or removed from.
+.SS calamari
+.sp
+Install and configure Calamari nodes. It first checks if distro is supported
+for Calamari installation by ceph\-deploy. An argument \fBconnect\fP is used for
+installation and configuration. It checks for \fBceph\-deploy\fP configuration
+file (cd_conf) and Calamari release repo or \fBcalamari\-minion\fP repo. It relies
+on default for repo installation as it doesn\(aqt install Ceph unless specified
+otherwise. \fBoptions\fP dictionary is also defined because \fBceph\-deploy\fP
 pops items internally which causes issues when those items are needed to be
 available for every host. If the distro is Debian/Ubuntu, it is ensured that
-proxy is disabled for \fBcalamari\-minion\fP repo. calamari\-minion package is then
-installed and custom repository files are added. minion config  is placed
+proxy is disabled for \fBcalamari\-minion\fP repo. \fBcalamari\-minion\fP package is
+then installed and custom repository files are added. minion config  is placed
 prior to installation so that it is present when the minion first starts.
 config directory, calamari salt config are created and salt\-minion package
 is installed. If the distro is Redhat/CentOS, the salt\-minion service needs to
 be started.
 .sp
-Usage: ceph\-deploy calamari {connect} [HOST] [HOST...]
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph\-deploy calamari {connect} [HOST] [HOST...]
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
 .sp
 Here, [HOST] is the hostname where Calamari is to be installed.
 .sp
-Other options like \-\-release and \-\-master can also be used this command.
+An option \fB\-\-release\fP can be used to use a given release from repositories
+defined in \fBceph\-deploy\fP\(aqs configuration. Defaults to \fBcalamari\-minion\fP\&.
+.sp
+Another option \fI\%--master\fP can also be used with this command.
 .SH OPTIONS
 .INDENT 0.0
 .TP
 .B \-\-version
-The current installed version of ceph\-deploy.
+The current installed version of \fBceph\-deploy\fP\&.
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -470,7 +718,7 @@ Name of the cluster.
 .INDENT 0.0
 .TP
 .B \-\-ceph\-conf
-Use (or reuse) a given ceph.conf file.
+Use (or reuse) a given \fBceph.conf\fP file.
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -480,7 +728,7 @@ Do not attempt to copy ssh keys.
 .INDENT 0.0
 .TP
 .B \-\-fsid
-Provide an alternate FSID for ceph.conf generation.
+Provide an alternate FSID for \fBceph.conf\fP generation.
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -494,11 +742,6 @@ Specify the public network for a cluster.
 .UNINDENT
 .INDENT 0.0
 .TP
-.B \-\-release
-Install a release known as CODENAME (default: firefly).
-.UNINDENT
-.INDENT 0.0
-.TP
 .B \-\-testing
 Install the latest development release.
 .UNINDENT
@@ -555,17 +798,17 @@ Destroy the partition table and content of a disk.
 .INDENT 0.0
 .TP
 .B \-\-fs\-type
-Filesystem to use to format disk (xfs, btrfs or ext4).
+Filesystem to use to format disk \fB(xfs, btrfs or ext4)\fP\&.
 .UNINDENT
 .INDENT 0.0
 .TP
 .B \-\-dmcrypt
-Encrypt [data\-path] and/or journal devices with dm\-crypt.
+Encrypt [data\-path] and/or journal devices with \fBdm\-crypt\fP\&.
 .UNINDENT
 .INDENT 0.0
 .TP
 .B \-\-dmcrypt\-key\-dir
-Directory where dm\-crypt keys are stored.
+Directory where \fBdm\-crypt\fP keys are stored.
 .UNINDENT
 .INDENT 0.0
 .TP
@@ -579,12 +822,6 @@ Comma\-separated package(s) to remove from remote hosts.
 .UNINDENT
 .INDENT 0.0
 .TP
-.B \-\-release
-Use a given release from repositories defined in ceph\-deploy\(aqs configuration.
-Defaults to \(aqcalamari\-minion\(aq.
-.UNINDENT
-.INDENT 0.0
-.TP
 .B \-\-master
 The domain for the Calamari master server.
 .UNINDENT