Change the Default Port
-----------------------
-Civetweb runs on port ``7480`` by default. To change the default port (e.g,. to
+Civetweb runs on port ``7480`` by default. To change the default port (e.g., to
port ``80``), modify your Ceph configuration file in the working directory of
your administration server. Add a section entitled
``[client.rgw.<gateway-node>]``, replacing ``<gateway-node>`` with the short
the ``rgw_frontends`` key/value pair. The ``[client.rgw.gateway-node1]``
heading identifies this portion of the Ceph configuration file as
configuring a Ceph Storage Cluster client where the client type is a Ceph
- Object Gateway (i.e., ``rgw``), and the name of the instance is )
+ Object Gateway (i.e., ``rgw``), and the name of the instance is
``gateway-node1``.
Push the updated configuration file to your Ceph Object Gateway node
Finally, check to ensure that the port you selected is open on the node's
firewall (e.g., port ``80``). If it is not open, add the port and reload the
-firewall configuration. If you use the ``firewald``, daemon execute::
+firewall configuration. If you use the ``firewalld`` daemon, execute::
sudo firewall-cmd --list-all
sudo firewall-cmd --zone=public --add-port 80/tcp --permanent
)
Replace ``{hostname}`` with the hostname of the host where you have
- configured the gateway service i.e, the ``gateway host``. Replace {port}
+ configured the gateway service i.e., the ``gateway host``. Replace {port}
with the port number you are using with Civetweb.
#. Run the script::
sudo mv ceph.client.radosgw.keyring /etc/ceph/ceph.client.radosgw.keyring
- .. note:: The 5th step is optional if ``admin node`` is the ``gateway host``.
+ .. note:: The 2nd step is optional if ``admin node`` is the ``gateway host``.
Create Pools
============
See: `Backport support for UDS in Ubuntu Trusty`_
Here, ``{hostname}`` is the short hostname (output of command ``hostname -s``)
-of the node that is going to provide the gateway service i.e, the
+of the node that is going to provide the gateway service i.e., the
``gateway host``.
The ``[client.radosgw.gateway]`` portion of the gateway instance identifies this
client where the client type is a Ceph Object Gateway (i.e., ``radosgw``).
-.. note:: The last line in the configuration i.e, ``rgw print continue = false``
+.. note:: The last line in the configuration i.e., ``rgw print continue = false``
is added to avoid issues with ``PUT`` operations.
Once you finish the setup procedure, if you encounter issues with your
Create a Gateway Configuration file
===================================
-On the host where you installed the Ceph Object Gateway i.e, ``gateway host``,
+On the host where you installed the Ceph Object Gateway i.e., ``gateway host``,
create an ``rgw.conf`` file. Place the file in ``/etc/apache2/conf-available``
directory for ``Debian-based`` distros and in ``/etc/httpd/conf.d`` directory
for ``RPM-based`` distros. It is a Apache configuration file which is needed
)
Replace ``{hostname}`` with the hostname of the host where you have
- configured the gateway service i.e, the ``gateway host``.
+ configured the gateway service i.e., the ``gateway host``.
#. Run the script::