.. prompt:: bash #
- ceph config set mon public_network *<mon-cidr-network>*
+ ceph config set mon public_network <mon-cidr-network>
For example:
.. prompt:: bash #
- ceph config set mon public_network *<mon-cidr-network1>,<mon-cidr-network2>*
+ ceph config set mon public_network <mon-cidr-network1>,<mon-cidr-network2>
For example:
.. prompt:: bash #
- ceph orch daemon add mon *<host1:ip-or-network1>
+ ceph orch daemon add mon <host1:ip-or-network1>
For example, to deploy a second monitor on ``newhost1`` using an IP
address ``10.1.2.123`` and a third monitor on ``newhost2`` in
.. prompt:: bash #
- ceph orch daemon add mon *<newhost1:ip-or-network1>*
+ ceph orch daemon add mon <newhost1:ip-or-network1>
For example, to deploy a second monitor on ``newhost1`` using an IP
address ``10.1.2.123`` and a third monitor on ``newhost2`` in
.. prompt:: bash #
- ceph config set mon public_network *<mon-cidr-network>*
+ ceph config set mon public_network <mon-cidr-network>
For example:
.. prompt:: bash #
- ceph orch apply nfs *<svc_id>* [--port *<port>*] [--placement ...]
+ ceph orch apply nfs <svc_id> [--port <port>] [--placement ...]
For example, to deploy NFS with a service id of *foo* on the default
port 2049 with the default placement of a single daemon:
.. prompt:: bash #
- ceph config-key get mgr/cephadm/ingress.*{svc_id}*/monitor_password
+ ceph config-key get mgr/cephadm/ingress.<svc_id>/monitor_password
For example:
.. prompt:: bash #
- ceph config set mgr mgr/alerts/smtp_host *<smtp-server>*
- ceph config set mgr mgr/alerts/smtp_destination *<email-address-to-send-to>*
- ceph config set mgr mgr/alerts/smtp_sender *<from-email-address>*
+ ceph config set mgr mgr/alerts/smtp_host <smtp-server>
+ ceph config set mgr mgr/alerts/smtp_destination <email-address-to-send-to>
+ ceph config set mgr mgr/alerts/smtp_sender <from-email-address>
The alerts module uses SSL and port 465 by default. These settings can be changed by running commands of the following forms:
.. prompt:: bash #
ceph config set mgr mgr/alerts/smtp_ssl false # if not SSL
- ceph config set mgr mgr/alerts/smtp_port *<port-number>* # if not 465
+ ceph config set mgr mgr/alerts/smtp_port <port-number> # if not 465
To authenticate to the SMTP server, you must set the user and password:
.. prompt:: bash #
- ceph config set mgr mgr/alerts/smtp_user *<username>*
- ceph config set mgr mgr/alerts/smtp_password *<password>*
+ ceph config set mgr mgr/alerts/smtp_user <username>
+ ceph config set mgr mgr/alerts/smtp_password <password>
By default, the name in the ``From:`` line is simply ``Ceph``. To change this
default (that is, to identify which cluster this is), run a command of the
.. prompt:: bash #
- ceph config set mgr mgr/alerts/interval *<interval>* # e.g., "5m" for 5 minutes
+ ceph config set mgr mgr/alerts/interval <interval> # e.g., "5m" for 5 minutes
Commands
--------
.. prompt:: bash #
- ceph nfs export info *<cluster_id>* *<pseudo_path>*
+ ceph nfs export info <cluster_id> <pseudo_path>
An export can be created or modified by importing a JSON description in the
same format:
.. prompt:: bash #
- ceph nfs export apply *<cluster_id>* -i <json_file>
+ ceph nfs export apply <cluster_id> -i <json_file>
For example: