Ceph is an open-source, distributed storage platform that provides object, block, and file storage in a single system. It’s highly scalable, reliable, and designed to run on commodity hardware. For enterprise environments, Ceph is also available as a supported commercial offering through Red Hat, known as Red Hat Ceph Storage.
Sometimes you need to try something out—explore ceph or how an application behaves, or verifying an integration like Kubernetes CSI. In these cases, using a system that’s easy to deploy and manage, such as Ceph, makes the whole process faster and more efficient.
You can use either the enterprise distribution of Ceph provided by Red Hat or the upstream community edition. This tutorial uses Red Hat Ceph; however, the equivalent steps can be followed using the community version as well.
You’ll need a Linux distribution installed on your system. This guide uses Red Hat Enterprise Linux 9 as an example, but any distribution supported by Ceph will work.
You can use either a virtual machine or a physical server. Ensure the system has at least 2–3 additional disks dedicated for use with Ceph storage.
Install Ceph:-
$ sudo subscription-manager repos –enable=rhceph-9-tools-for-rhel-9-x86_64-rpms
2. Install required packages to setup ceph
$ sudo dnf install podman cephadm ceph-common ceph-base -y
3. Use the cephadm command to initialize and bootstrap the Ceph cluster
$ sudo cephadm bootstrap \
–cluster-network 10.10.20.0/24 \ # update the network and mon ip
–mon-ip 10.10.20.20 \
–registry-url registry.redhat.io \
–registry-username redhatuser \ # update rhel username
–registry-password ‘pwd \ # update rhel user password
–dashboard-password-noupdate \
–initial-dashboard-user admin \
–initial-dashboard-password xxx \. # update password
–allow-fqdn-hostname \
–single-host-defaults
4. Add an OSD inside a Ceph cluster.
$ sudo ceph orch apply osd –all-available-devices
5. Access Ceph dashboard using URL
Shipping a new version of an application is always a small act of faith. Even…
The following steps demonstrate how to back up and restore an OpenShift virtual machine using…
OpenShift Virtualization allows virtual machines (VMs) to run natively on Kubernetes alongside container workloads. Using…
Red Hat OpenStack Services on OpenShift (RHOSO) provides the foundation to build a private or public…
Kubernetes (often shortened to “K8s”) is an open-source system for automating the deployment, scaling, and…
Prerequisites Red Hat OpenShift cluster deployed and operational You can refer to my earlier post…
View Comments
thank you for your comprehensive doc . would you share which images downloaded after installed ? I want to download images and then use it in disconnected environments. thank you .