YouTube – CLOUDFORMSNOW channel.

I think most know who follow this blog that I have started posting some video content on Cloudforms as thats quite and easy way to digest or see it for real.

Here are a couple of links to videos on my cloudformsnow YouTube channel https://www.youtube.com/channel/UCVePJGIzhe9zBOAW7Ojkv8g

Service-Now – Demonstrating Service-Now deploying new instances to Amazon EC2 via Cloudforms orchestration and provisioning.

Continue reading “YouTube – CLOUDFORMSNOW channel.”

SOAP – SAVON v2 Syntax

 

So for the past few years Savon v1.1.0 has been the default GEM in the appliance. Heres a scoop! In future releases, and the upstream builds have Savon v2.

What does this mean? Well v2 has a slightly different syntax to its connections and function call. Here is a v2 SOAP example:

Continue reading “SOAP – SAVON v2 Syntax”

CLOUDFORMS 5.2.3 GEM List

Here is the list of GEMs and their info that are included in the CLOUDFORMS 5.2.3 appliance. I thought it would be useful to post, I need this recently for some work I am doing. It was really easy as most things in CLOUDFORMS usually are I simply wrote some ruby to utilise an existing gem called GEMS, that pulls this data from rubygems.org. I wrapped the code in some file open and close, e.g. I dumped the list of gems in the appliance using “gem list > gems.txt” then had my little nugget of code read that in. Here it is.

Continue reading “CLOUDFORMS 5.2.3 GEM List”

AWS – Elastic Load Balancers and Cloudforms

First entry in ages, but those who know me will have seen I have been visiting a few places around the globe. Anyway, I promised some time ago the ability to add Amazon EC2 Instances to Amazon Elastic Load Balancers, here it is.

Problem was that whilst I have spent a couple of hours here and there on airplanes recently, its still quite difficult to connect to AWS from them! So any work on this had to wait until airport lounges. Its done now so here is the entry for it.

Continue reading “AWS – Elastic Load Balancers and Cloudforms”

inspectXML – Dump objects as XML

This is pretty simple but very useful. I have done a little research and whilst inspect is a way of seeing inside of an object its also hard to read and not very re-usable. Being somewhat old now (crazy thought) XML used to be the way we described things. Yes I know yaml, json etc have come to replace XML in languages such as Ruby, but I cannot get away from XML is far easier to read and self describing than the aforementioned.

If you have used InspectME that ships with the product then this is the same but in XML format, with a few advantages…

Continue reading “inspectXML – Dump objects as XML”

InfoBlox IPAM and CloudFORMS Integration Part 1

This subject is only the hottest on the block at the moment…why? I guess because InfoBlox is pretty cool, it provides DHCP, DNS and IP Address Management services for any size of network. Its fairly easy to configure and InfoBlox are a good company who allow you to try their software for 60 days eval license. You can integrate using simple RestAPI (there is a Ruby GEM, but I don’t advise using it, I found it problematic, and Rest is so easy anyway!)

Continue reading “InfoBlox IPAM and CloudFORMS Integration Part 1”

Dialogs – Dynamic DropDowns

Its here and looks great. You can now populate a drop down list from an external source!

Simply create an Instance and Method, its advised you create a new Namespace to store dialog controls into rather than mixing them up into the general automation model.

The method requires the following code behind it;

Continue reading “Dialogs – Dynamic DropDowns”

Built In Method Example

These been some discussion about Build-In vs In-line methods,  here is a quick example of a Built-In method that sends email from instance attributes that is quite commonly done as a In-Line method when it does not need to be In-Line.

Start by creating a Class called Email

Continue reading “Built In Method Example”

Placement Profile – Best Fit Cluster using Tags

CloudFORMS has workflows for many different tasks including approval, quotas and placement to name just a few. This blog entry is going to add to the placement category of workflows. A previous post of mine showed how you could place new workloads NOT_NEAR “Workload Placement by Type (Not Near That)” other workloads which I still think is really cool. This placement workflow is quite simple, it matches template tags against cluster tags. Example;

Continue reading “Placement Profile – Best Fit Cluster using Tags”