Enabling the Ceph Management gateway
Enable the Ceph Management gateway for SSO access to the Dashboard and the Ceph cluster. Enabling the mgmt-gateway service either with the cephadm CLI commands or by using a service specification file.
Before you begin
cephadm‑signed certificates before you enable the management gateway. For more information, see Reconfigure the dashboard to use cephadm‑signed certificates.About this task
After deploying the mgmt-gateway service, direct access to services like Prometheus, Grafana, and Alertmanager is no longer allowed. These services are now accessible only through the Ceph Dashboard by the provided links in .
Enabling the Ceph Management gateway with the command-line interface
Procedure
Deploy the
mgmt-gateway service.
ceph orch apply mgmt-gateway [--placement=DESTINATION_HOST] [--enable-auth=true]
Note: The --enable-auth=true parameter is mandatory to enable SSO with the
oauth2-proxy.For example,
[ceph: root@host01 /]# ceph orch apply mgmt-gateway --placement=host01
What to do next
Verify that the service has been deployed, as expected.
- Run the ceph orch ls command to get the service status.
- Run the ceph orch ps command to get the status of the corresponding daemons.
Enabling the Ceph Management gateway with a service specification file
Before you begin
mgmt-gateway service will run on.
- The port for gateway service use.
- A running IBM Storage Ceph cluster.
- (Optional) SSL protocols being used.
- (Optional) SSL ciphers.
- (Optional) SSL certificates and certificate keys.
For more information about SSL protocols, ciphers, certificates, and certificate keys, see the Deploying web servers and reverse proxies in the Red Hat Enterprise Linux documentation.
Procedure
What to do next
Verify that the service has been deployed, as expected.
- Run the ceph orch ls command to get the service status.
- Run the ceph orch ps command to get the status of the corresponding daemons.