Bobcares

wesupport

CLIENT AREACall Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193
Bobcares

wesupport

Call Us 1-800-383-5193

Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

All about Red Hat Ceph storage migration

by | Oct 14, 2021

Stuck with Red Hat Ceph storage migration? Worry not, the Support Engineers at Bobcares have come up with a brilliant solution to solve your troubles.

Manually migrating a bare-metal, non-containerized, Red Hat Celph Storage cluster is no longer a difficult task with Bobcares by your side. The Support Team offers you an easy solution that will get the job done sooner rather than later.

All About JetBackup Restorations

Red Hat Ceph storage migration to a containerized environment is easily done as long as you have the right solution on hand. Our Support Team did this recently for one of our customers. They did this by using the ceph-ansible switch-from-non-containerized-to-containerized-ceph-daemons.yml playbook.

Prerequisites for Red Hat Ceph storage migration

  • A running RED Hat Ceph Storage bare-metal, non-containerized, cluster.
  • An Ansible user account and sudo access to it.
  • Access to Ansible administration node.

In order to create an Ansible user account, run the following commands as the root user:

ssh [email protected]_name
adduser user_name
# passwd user_name

Remember to replace host_name and user_name with the host name of the node and the new Ansible user name respectively. After you have set the password for the new user, configure sudo access by running the following commands:

cat << EOF >/etc/sudoers.d/USER_NAME
$USER_NAME ALL = (root) NOPASSWD:ALL
EOF

Our Support Engineers recommend assigning the correct file permissions with the following command:

chmod 0440 /etc/sudoers.d/USER_NAME

How to proceed with Red Hat Ceph storage migration

  1. First, we will open the group_vars/all.yml file.
  2. Then, edit it to include the following configuration:
    ceph_docker_image_tag: "latest" 
    ceph_docker_image: rhceph/rhceph-4-rhel8 
    containerized_deployment: true

    If you are using the latest version of the storage cluster, replace ceph_docker_image with latest. Additionally, you can also use the appropriate image tag.

  3. Next, go to the /usr/share/ceph-ansible directory by running the following command
    [[email protected] ~]$ cd /usr/share/ceph-ansible
  4. After getting on the Ansible administration node, use the following syntax to run the Ansible migration playbook:
    ansible-playbook ./infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml -i INVENTORY_FILE

    For instance:

    [[email protected] ceph-ansible]$ ansible-playbook ./infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml -i hosts

    Then, check whether the cluster has switched to containerized environment.

  5. Next, list the running containers on the monitor node:
    Red Hat Enterprise Linux 7:[[email protected] ~]$ sudo docker ps
    Red Hat Enterprise Linux 8:[[email protected] ~]$ sudo podman ps

[Looking for help? We are here at your service.]

Conclusion

In brief, we saw how to migrate Red Hat Ceph storage cluster to a containerized environment without too much trouble. The solution offered by the Support Team at Bobcares will get the migration done in a jiffy.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *