Cloud Management Platform Setup with CloudForms
Virtualization is everywhere! Exactly what is it and how should you make use of it?
The "Virtualization and Infrastructure Migration Technical Overview" course will help you discover the benefits of open source virtualization, how to better manage your virtualization assets, and the best way to move traditional workloads from one virtualization provider to an open virtualization.
In this course, you will learn to:
- Easily define infrastructure mappings.
- Create migration plans to confidently balance your workloads.
- Build migration plans to reduce your expenditure on virtualization.
We are going to review now how you can set up your Cloud Management Platform. We are using Red Hat CloudForms as our cloud management platform and to deploy it is very straightforward. To just deploy it as a virtual appliance which means that you download the image of the virtual appliance and you upload it to your virtualization platform of choice or your cloud platform of choice. So, you just go into their Customer Portal in the Download section and choose what do you need: Red Hat Virtualization Appliance, OpenStack, Azure, Google Cloud, Amazon Web Services, Hyper-V or VMware. You have plenty of versions there that will surely suit your platform of choice. So, once you have the deployed that you just need to configure it to manage the other managers.
So, you need to configure it to manage, in this case we are using Red Hat Virtualization and VMWare vSphere. Once it is configured it will access all the virtual machines that you have in all the environments. You will be able to check the hypervisors. You will be able to check the clusters. You will be able to review the storage and even the networks. It will do continuous discovery monitoring and tracking. What does this mean? That if you create a VM through the vCenter interface or to the Red Hat Virtualization Manager interface in your virtualization platform, then it will appear in your CloudForms cloud management platform. So, you do not need to create everything from there but it discovers whatever you are doing to the platforms in any other tool that you may choose.
It will also check on where your resource usage in all of your virtualization platforms. You will check when you are going to run out of capacity. You will be able to see the trend and you will be able to plan better with this tool. We will do also orchestration and workflow management like a VM request, or a set of VMs requests, or a full environment request, or a full cloud deployment request. I mean you can do almost anything with CloudForms. And it also includes Ansible automation which will help with their low-level automation tasks as well as a service catalog for your own needs.
So, let us take a look at how we set up a cloud management platform. First, we have here a vSphere environment running with a couple of hypervisors and four VMs. This is the cluster that we have. These are the hypervisors and the VMs. We have our Red Hat Virtualization environment running also with one cluster, two hosts. Let's go to the hosts, two hosts and one VM running here. We can add another one later on so you can check. And this is the environment that we have right now. And we have a deployed CloudForms Management Engine here.
We log in, and it is like, it is completely blank. It is right deployed. It does not have any provider configured. It is ready for us to be able to add new providers. So, first we will go to Compute > Infrastructure > Providers to add virtualization providers to CloudForms. Go to Configuration > Add New Infrastructure Provider. We can discover them, but rather add them manually. So, we have a vSphere provider, type VMware vCenter. We have to put the name here vcenter.example.com, and the credentials, and check if we have done it right.
Now it is verifying the credentials. Oops, I think I did not type the right credentials. Validate. Okay. Now the credential validation was successful. Much better. We add this provider and oh, the vSphere provider is saved. Right now, it is checking it so we do not see here the OK mark showing that it is already configured and running. We add a new infrastructure provider and this time we'll add Red Hat Virtualization. We will choose Red Hat Virtualization type as you can see we do can add also Microsoft System Center Virtual Machine Manager or OpenStack Platform Director. So, we add here the name of it rhvm.example.com and of course the credentials. As we are not, we have not connected the Red Hat Virtualization manager to any external infrastructure provider, we use admin@internal. Just type the credentials properly and now Validate. And it is validating against Red Hat Virtualization Manager. Validation was successful. We add this provider to CloudForms.
We have now two providers, Red Hat Virtualization, and vSphere. We can force authentication status from RHV so it takes a bit less time. And we can access all the resources we have in vSphere from here. This is what it is discovering right now. I have all the Clusters, Hosts, Datastores, VMs and Templates. Let us check the VMs, if we see all the VMs in vSphere. We see the four VMs that we have running there, which we check right here, has discovered the four of them and it shows that they are running. We could just restart one of these VMs from here, easily.
Let us check on the RHV provider, Red Hat Virtualization provider. There it is. It is okay. We are going here and we check all that we have: Clusters, Hosts, Datastores, VMs, Templates. We can check the templates that we have available in Red Hat Virtualization from here. So, once this is ready, we can go to Infrastructure and in case we want to do a deeper inspection of the objects in here we can go to the Hosts and add the credentials to the hosts to the hypervisors. Go to Configuration > Edit this item. Then we have, oops, we have the Username and the Password and we Validate. And once it is validated, we Save it.
So, now this host can receive tasks from CloudForms easily. So, you can see we have added two providers in few minutes to be able to access all their resources from one single point easily and to be able to manage them easily. And it will keep discovering all the objects that may appear in both of the virtualization providers while we have it connected to them. And this way we can automate any task that is referring to both of them or to any other provider that we may want to add, such as an automation with Ansible Tower, or network configuration, or whatever that is included in the prelist long list of providers that CloudForms has. So, thank you very much and see you in the next video.
Jeremy is the DevOps Content Lead at Cloud Academy where he specializes in developing technical training documentation for DevOps.
He has a strong background in software engineering, and has been coding with various languages, frameworks, and systems for the past 20+ years. In recent times, Jeremy has been focused on DevOps, Cloud, Security, and Machine Learning.
Jeremy holds professional certifications for both the AWS and GCP cloud platforms.