From 09618354e9679b2da3b3034be987887adea2fe88 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 10 Mar 2021 16:48:58 -0500 Subject: [PATCH] doc/cephadm/rgw: update docs to show count-per-host Signed-off-by: Sage Weil --- doc/cephadm/rgw.rst | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/doc/cephadm/rgw.rst b/doc/cephadm/rgw.rst index a5d6d89acb9b1..d4ba682cc3e77 100644 --- a/doc/cephadm/rgw.rst +++ b/doc/cephadm/rgw.rst @@ -26,6 +26,9 @@ To deploy a set of radosgw daemons, with an arbitrary service name ceph orch apply rgw ** [--rgw-realm=**] [--rgw-zone=**] --placement="** [** ...]" +Trivial setup +------------- + For example, to deploy 2 RGW daemons (the default) for a single-cluster RGW deployment under the arbitrary service id *foo*: @@ -33,6 +36,22 @@ under the arbitrary service id *foo*: ceph orch apply rgw foo +Designated gateways +------------------- + +A common scenario is to have a labeled set of hosts that will act +as gateways, with multiple instances of radosgw running on consecutive +ports 8000 and 8001: + +.. prompt:: bash # + + ceph orch host label add gwhost1 rgw # the 'rgw' label can be anything + ceph orch host label add gwhost2 rgw + ceph orch apply rgw foo '--placement=label:rgw count-per-host:2' --port=8000 + +Multisite zones +--------------- + To deploy RGWs serving the multisite *myorg* realm and the *us-east-1* zone on *myhost1* and *myhost2*: @@ -70,7 +89,7 @@ High availability service for RGW ================================= This service allows the user to create a high avalilability RGW service -providing a mimimun set of configuration options. +providing a minimun set of configuration options. The orchestrator will deploy and configure automatically several HAProxy and Keepalived containers to assure the continuity of the RGW service while the -- 2.39.5