Chapter 3. Setting Up Your Administration Server
Red Hat Ceph Storage uses an administration server for a Red Hat Ceph Storage repository, the Calamari monitoring and administration server, and your cluster’s Ceph configuration and authentication keys.
Visit the Software & Download Center in the Red Hat Customer Service Portal (https://access.redhat.com/downloads) to obtain the Red Hat Ceph Storage installation ISO image files. Use a valid Red Hat Subscription to download the full installation files, obtain a free evaluation installation, or follow the links in this page to purchase a new Red Hat Subscription. To download the Red Hat Ceph Storage installation files using a Red Hat Subscription or a Red Hat Evaluation Subscription:
- Visit the Red Hat Customer Service Portal at https://access.redhat.com/login and enter your user name and password to log in.
- Click Downloads to visit the Software & Download Center.
- In the Red Hat Ceph Storage area, click Download Software to download the latest version of the software.
Using
sudo, mount the image:sudo mount -o loop <path_to_iso>/rhceph-1.2.3-rhel-6-x86_64.iso /mntOR
sudo mount <path_to_iso>/rhceph-1.2.3-rhel-7-x86_64.iso /mntUsing
sudo, copy each Ceph*.pemproduct certificates from/mntto/etc/pki/product. For example:sudo cp /mnt/RHCeph-Calamari-1.2-x86_64-c1e8ca3b6c57-285.pem /etc/pki/product/285.pem sudo cp /mnt/RHCeph-Installer-1.2-x86_64-8ad6befe003d-281.pem /etc/pki/product/281.pem sudo cp /mnt/RHCeph-MON-1.2-x86_64-d8afd76a547b-286.pem /etc/pki/product/286.pem sudo cp /mnt/RHCeph-OSD-1.2-x86_64-25019bf09fe9-288.pem /etc/pki/product/288.pemUsing
sudo, install the setup script.sudo yum install /mnt/ice_setup-*.rpmCreate a working directory for your Ceph cluster configuration files and keys. Then, navigate to that directory. For example:
mkdir ~/ceph-config cd ~/ceph-configUsing
sudo, run the setup script in the working directory you created at step 7 of Setting Up Your Administration Server. NOTE: You cannot run the setup script in/mntor a read-only directory or the script will crash. The script will output acephdeploy.conffile, whichceph-deploywill use to point to the local repository.sudo ice_setup -d /mntThe setup script performs the following operations:
-
It moves the RPMs to
/opt/ICEand/opt/calamari -
It creates a
.repofile for theceph-deployandcalamaripackages pointing to a local path - It installs the Calamari server packages on the admin node
-
It installs the
ceph-deploypackage on the admin node; and -
It writes a
cephdeploy.conffile to/opt/ICE.
-
It moves the RPMs to
To receive updates to
calamari,ceph-deployandice_setupon the admin node, usingsudo, execute:sudo yum updateUsing
sudo, runice_setupwith theupdate allsub-command. This will synchronize new packages (if any) from the Red Hat CDN into the local repository on your Calamari admin node.sudo ice_setup update allUsing
sudo, initialize the Calamari monitoring and administration server.sudo calamari-ctl initializeNoteThe initialization script implies that you can only execute
ceph-deploywhen pointing to a remote site. You may also directceph-deployto your Calamari admin node (e.g,.ceph-deploy admin <admin-hostname>). You can also use the Calamari admin node to run a Ceph daemon, although this is not recommended.
At this point, you should be able to access the Calamari web server via a web browser. Proceed to the Storage Cluster Quick Start.