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
- Download the Red Hat Single Sign-On 7.4.0 Server on the system where IBM Storage Ceph is installed.
- Extract the folder.
For example,
[root@host01 ~]# unzip rhsso-7.4.0.zip
- 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
- 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
- Replace the localhost and 127.0.0.1 with the
IP address of the server where the Red Hat SSO is installed.
- 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
- 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.
- Log in to the admin console with the credentials created.