Red Hat Ceph Storage- Designed for the Cloud
Data is growing exponentially every year. It is doubling every two years or so and providing a tremendous opportunity for the organisation to get more value out of combining different sources of data as an example to provide additional abilities and business processes for many companies using Artificial Intelligence and Machine Learning.
According to a survey conducted, 74% of IT decision-makers are worried about their organization’s ability to cope with an increasing volume of data and most of them believe that their current storage systems will not be able to handle next-generation workloads.
Inadequate storage infrastructure is considered fourth out of the top ten pain points which made any IT organisation believe there are benefits in moving their organization to more agile storage to change the scenario.
Despite having the best Infrastructure, Industries are facing problems, with capacity and performance issues as storage is not big enough, too much expensive storage causing scaling issues. The outdated systems impacting overall performance with legacy software pain. Not knowing how exactly the data is being used plus lack of resilience and the worst-case scenario data loss pain.
To overcome all the above problems there has to be a very reliable solution, and Software-Defined Storage can be one of them. SDS satisfy all these requirements for performance, flexibility, scalability, ease of use and cost efficiency by separating the management services (control plane) from the infrastructure (data plane) of storage media.
Software-Defined-Storage use approach of decoupling storage software from storage hardware components. SDS typically includes a form of storage virtualization to separate the storage hardware from the software that manages it. SDS is generally designed to perform on any industry-standard or x86 system, removing the software’s dependence on proprietary hardware. The decoupling method allows capacity expansion to solve the storage issues, and scale your storage resources across bare-metal and cloud environments.
Red Hat offers Software-Defined-Solution, Red Hat Ceph Storage that is a highly secured, highly scalable and reliable solution that handles billions of objects together providing 100% API coverage. It’s an open, massively scalable, simplified storage to handle modern data pipelines which implements object storage on a single distributed computer cluster and provides 3-in-1 interfaces for object-, block- and file-level storage.
In this post, I will show you the step-by-step deployment process of Red Hat Ceph storage on OpenShift. This post is based on a video demonstration, please, click here to refer to the link.
Let’s begin with the deployment. The deployment model is divided into four simple steps,
1 Installing operator,
2 Deploying OpenShift Container Storage,
3 Adding Templates,
4 Verifying your OpenShift Container Storage installation to publish the articles.
1. Installing operator
For installing the operator you need to navigate to the OpenShift container platform and log in using the credentials then you will see the following dashboard, currently we are using the latest version of OpenShift which is 4.7
The first thing you have to do is the environment check-up in administration view, for that head over to compute and examine the nodes. It is mandatory to have 3 worker and 3 master nodes running for creating a storage cluster.
If you see the above image there are only 5 nodes running, 3 Master and 2 worker nodes, we can increase the worker node count manually, for which you have to select machine sets from Compute option.
If you see the machine count in the 3rd row it is 0, which you can increase using the edit machine count option.
Click on the edit machine count and raise the count from 0 to 1 and press save. It will take few seconds to reflect the changes in nodes count. And there you go, now you have 6 nodes running for the deployment as you needed.
Once you managed to get 6 nodes running move forward to the operator hub and search for OpenShift Container Storage operator from the search list and select it.
You can choose installation mode either for all projects or a specific namespace. Hit install, and it will install the operator within a few seconds.
You can see all the installed operators through the web interface in the installed operator's option if operators are up to date and ready to use.
And within a fraction of seconds, pods will come up and running. Once You change the administrator view to the developer view you can see running pods in topology. Really simple and hassle-free installation.
2. Deploying OpenShift Container Storage
Head back to Administrator view and go to installed operators, select OpenShift Container Storage, click and select storage cluster option,
Hit create storage cluster, select the capacity as per your requirement and scroll down to nodes selection and select all 3 nodes available for further installation, click next,
Furthermore, from configuration option enable the encryption and click next
Move forward with create option and create the cluster. That's it, how simple it is to create a cluster, isn’t it?
If we go to overview we can see here 2 dashboards, Persistent storage and object services, those were created during the time of deployment of the storage cluster as a part of offerings.
If we go to storage classes, we will see, Ceph fs as file storage, Ceph-RBD- block storage, Ceph-RGW-gateway as an object service and Nubba object service called multi-cloud gateway which has lots of features to go into various cloud environments.
3. Adding Templates
Now, move to the developer console, we are going to use the existing templates. Go to Add, where I have already created a project OpenShift-Storage.
There is nothing added in this project so I am going to catalogue to search for the template. You can choose templates as per your choice and requirements,
I am going to search for the Rails templates for instance, from the developer catalog,
From this, I am going to use the Rails+PostgreSQL, click on the template,
Hit Instantiate Template, and check-mark all the requirements as per the need and create the application. You get to see the pods coming up in topology view. This has enabled the routes necessary to publish the Articles.
4. Verifying OpenShift Container Storage Installation to publish the Articles
This is the final step of the deployment. Move back to projects and go to OpenShift-storage.
Check the overview, where you see the option- Routes. Click on it.
If you click on rails-pgsql-persistent
You will see a location link click on it and it will redirect you to the tab which allows you to publish the Articles you needed,
This is the actual dashboard where you can play with the websites and can make changes as per your requirements.
So, this is a very simple, easy and hassle-free deployment process of Red Hat Ceph Storage on OpenShift. It can provide faster deployments reducing the uptime and operational costs for any organization. So, why not give it a try?