Bootstrap storage cluster along with Dashboard

As a system administrator, you can access the dashboard with the credentials that are provided on bootstrapping the cluster.

cephadm installs the dashboard by default. The following snippet is an example of the dashboard URL.

URL: https://host01:8443/
User: admin
Password: zbiql951ar
Note: Update the browser and clear the cookies to access the dashboard URL.

The following are the cephadm bootstrap options that are available for the Ceph dashboard configurations.

–initial-dashboard-user INITIAL_DASHBOARD_USER
Use this option during bootstrap to set initial-dashboard-user.
–initial-dashboard-password INITIAL_DASHBOARD_PASSWORD
Use this option during bootstrap to set the initial-dashboard-password.
–ssl-dashboard-port SSL_DASHBOARD_PORT
Use this option during bootstrap to set a custom dashboard port other than the default 8443.
–dashboard-key DASHBOARD_KEY
Use this option during bootstrap to set a custom key for SSL.
–dashboard-crt DASHBOARD_CRT
Use this option during bootstrap to set a Custom certificate for SSL.
–skip-dashboard
Use this option during bootstrap to deploy Ceph without the dashboard.
–dashboard-password-noupdate
Use this option during bootstrap if you used –skip-dashboard and –dashboard-crt options and do not want to reset password at the first time login.
–allow-fqdn-hostname
Use this option during bootstrap to allow a hostname that is fully qualified.
–skip-prepare-host
Use this option during bootstrap to skip preparing the host.
Note:
  • To avoid connectivity issues with dashboard related external URL, use the fully qualified domain names (FQDN) for hostnames. For example, host01.ceph.redhat.com.
  • Open the Grafana URL directly in the client internet browser and accept the security exception to see the graphs on the Ceph dashboard. Reload the browser to view the changes.

Example

[root@host01 ~]# cephadm bootstrap --mon-ip 127.0.0.1 --registry-json cephadm.txt  --initial-dashboard-user  admin --initial-dashboard-password zbiql951ar --dashboard-password-noupdate --allow-fqdn-hostname
Note:
  • While bootstrapping the storage cluster that uses cephadm, you can use the --image option for either custom container images or local container images.
  • Change the password the first time that you log in to the dashboard with the credentials that are provided on bootstrapping only if --dashboard-password-noupdate option is not used while bootstrapping. You can find the Ceph dashboard credentials in the var/log/ceph/cephadm.log file. Search with the Ceph Dashboard is now available at string. For example, host01.ceph.redhat.com.