Apr 24, 2020|2 min|Developers

Use ManageIQ with Cohesity Ansible Roles

In our Get Started with the Cohesity Ansible Module blog post, we saw how we can use Cohesity Ansible roles to automate various workflows and we also saw an example where we installed agents on physical servers. In this blog post, we look into ManageIQ integration with our Ansible roles.

ManageIQ is an open-source management platform that delivers the insight, control, and automation that enterprises need to address the challenges of managing hybrid IT environments. ManageIQ is the upstream open-source project for Red Hat CloudForms. You can also use Red Hat CloudForms to perform the same actions and operations that will be performed using ManageIQ in this blog.

ManageIQ introduced an automation capability that uses an embedded Ansible automation engine to run Ansible playbooks as a new type of service. These services can be run interactively, or from control events and alert actions. Use the demo below to explore how to use this new feature to perform Cohesity operations. In our example, we perform a VMware VM protection workflow using the ManageIQ dashboard. Let’s get started.

Demo

Our ManageIQ video demo below takes you through the VMware protection workflow using ManageIQ.

The video goes through the following sections: 

  1.  Import Ansible playbooks using Github.
  2. Create a Catalog.
  3. Create a Button Group and Buttons, and assign a Catalog to them.
  4. Execute the Catalog using the buttons.

Find more important links that guide you through creating Catalog, Service Dialog, Button Groups, and Buttons, passing variables to Ansible Playbook, and more, at the end of this blog post, under More Resources.

 

Import/Export ManageIQ Constructs

ManageIQ constructs like Catalog, Buttons, Service Dialog can also be exported and imported using this CLI tool, which makes it very easy and convenient to share. We have created a github repo that contains these exported constructs for you to use and recreate this sample along with the VMware workflow playbooks. 

More Resources

  1. Create a Catalog for type Ansible playbook.
  2. Create a Service Dialog to collect input from users for the playbook. (See the Creating the dialog section there.)
  3. Create Button Group and Buttons.
  4. Pass variables to Ansible.
  5.  Running a Playbook Service from a Button.

Wrap-up

I hope this blog helps admins integrate Cohesity workflows with ManageIQ, saving a lot of time going back and forth between different applications. In our next blog post, we will see how we can use Red Hat Ansible Tower to perform these workflows and how we can integrate Ansible Tower with ManageIQ. 

Written by

chandrashekar-dashudi-headshot

Chandrashekar Dashudu

Technical Marketing Engineer

chandrashekar-dashudi-headshot

Chandrashekar Dashudu

Technical Marketing Engineer

Chandrashekar is a TME who serves as an SME for Cohesity's API and API integration. Apart for API, he focuses on Cohesity Marketplace apps. He is an engineering background in Computer Science from NCSU.

X image
Icon ionic ios-globe

You are now leaving the German section of www.cohesity.com/de/ and come to an English section of the site. Please click if you want to continue.

Don't show this warning again

Icon ionic ios-globe

You are now leaving the German section of www.cohesity.com/de/ and come to an English section of the site. Please click if you want to continue.

Don't show this warning again