Creating an admin account for syncing users to the Ceph dashboard

Create an admin account to synchronize users to the Ceph dashboard.

Before you begin

  • A running IBM Storage Ceph cluster.
  • Dashboard is installed.
  • Admin-level access to the dashboard.
  • Users are added to the dashboard.
  • Root-level access on all the hosts.
  • Java OpenJDK installed. For more information, see the Installing a JRE on RHEL by using yum section of the Installing and using OpenJDK 8 for RHEL guide for OpenJDK on Red Hat Documentation.
  • Red Hat Single Sign-On installed from a ZIP file. For more information, see the Installing RH-SSO from a ZIP File section of the Server Installation and Configuration Guide for Red Hat Single Sign-On on Red Hat Documentation.

About this task

After creating the account, use Red Hat Single Sign-on (SSO) to synchronize users to the Ceph dashboard. See Syncing users to the Ceph dashboard using Red Hat Single Sign-On.

For more information, see the following:

Procedure

  1. Download the Red Hat Single Sign-On 7.4.0 Server on the system where IBM Storage Ceph is installed.
    For download package and information, see Software Details for Red Hat Single Sign-On 7.4.0 Server on the Red Hat Customer Portal.
  2. Extract the folder.
    unzip rhsso-7.4.0.zip
    For example,
    [root@host01 ~]# unzip rhsso-7.4.0.zip
  3. Go to the standalone/configuration directory and open the standalone.xml file for editing.
    For example,
    [root@host01 ~]# cd standalone/configuration
    [root@host01 configuration]# vi standalone.xml
  4. From the bin directory of the newly created rhsso-7.4.0 folder, run the add-user-keycloak script to add the initial administrator user.
    ./add-user-keycloak.sh -u admin
    For example,
    [root@host01 bin]# add-user-keycloak.sh -u admin
  5. Replace the localhost and 127.0.0.1 with the IP address of the server where the Red Hat SSO is installed.
  6. Start the server.
    From the bin directory of rh-sso-7.4 folder, run the standalone boot script.
    ./standalone.sh
    For example,
    [root@host01 bin]# ./standalone.sh
  7. Create the admin account in https: IP_ADDRESS :8080/auth with a username and password.
    Note: You must create an admin account only the first time that you log into the console.
  8. Log in to the admin console with the credentials created.