CloudForms Fix SmartState for VMWare 6.7

VMWare made significant changes of the API’s with the release of 6.7 and as such the way we mount vmdk and read then has changed, you will see once you upgrade that CloudForms can no longer perform a SSA, the error in the User interface will look similar to this.

Continue reading “CloudForms Fix SmartState for VMWare 6.7”

CloudForms create AD DNS with Ansible

I have come up many times where people request to be able to create AD DNS A Records or CNames for Linux Servers that are not going to be joined to the domain, I will go through how we can use Ansible Tower to do this for us. This is very similar to the AD Computer object however we also need to get the IP address as an extra variable for an A Record.

Continue reading “CloudForms create AD DNS with Ansible”

CloudForms create AD Computer Objects with Ansible

I often get asked to setup CloudForms to create AD Computer objects, this will show how to do this with Ansible Tower, the interesting issue we face is CloudForms by default sends the vm name as the limit field but for this we want to run the playbook on a set host and pass the vm name as a variable.

Continue reading “CloudForms create AD Computer Objects with Ansible”

AutoTag Windows Servers in CloudForms

Due to the nature of Ansible when we work with Windows we no longer use SSH but instead WinRM. The default nature of Ansible is to use SSH, and to resolve this we need to specify the group of Windows servers to use WinRM instead of SSH.

Simple enough but we will need to automate this entire process. Continue reading “AutoTag Windows Servers in CloudForms”

Run Ansible Playbook during Service provisioning

Having CloudForms/ManageIQ provision servers is great but we want to be able to see the creation include any standards or applications at the end state. Typically in the past we added into the template a script to run when it starts up, this can include Puppet or Chef Agents that will talk back to the Master and ask what is needed to complete the build based off its hostname of custom facts on the instance. But not everyone has an existing configuration management framework already in place. Now with Ansible this is simple to achieve.

Continue reading “Run Ansible Playbook during Service provisioning”

ManageIQ Pt1 Intro

This is going to be a series of blogs to go through the setup and running of ManageIQ in a lab environment.

ManageIQ is an orchestration tool that when setup will help you keep your infrastructure running smoothly and consistent. It can be used for reporting, self-service portal, compliance checking and enforcement, provisioning and de-provisioning, automation. It auto discovers and can be installed on various platforms Continue reading “ManageIQ Pt1 Intro”