In my last article, I started a discussion about automation and the tools of the trade for automation and orchestration. The post focused on Microsoft PowerShell as one side of the automation coin—one of the primary tools of the trade when working within Microsoft, VMware, and Citrix virtualization and orchestration solutions. Why PowerShell? Quite simply, it’s a powerful platform that has a robust community supporting it, and companies outside of Microsoft have invested a great deal of time and development to integrate PowerShell into their main administration and management platforms for working with VMware vSphere and Citrix Xen. So, if PowerShell is one side of the automation tools coin, what’s on the flip side?
In my opinion, the flip side is Python, hands down. Not only has Python been a very popular programming language for a very long time, but it is a language that is used on many different operating systems. Some people, when they think of Python, think primarily of scripting inside the Linux operating system. However, Python has a strong presence in the Microsoft world as well. As a matter of fact, one of the least well-known and most powerful free products available from Microsoft is Python Tools for Visual Studio, as well as variations like IronPython, which is Python running under .NET CLR; Django apps; and regular CPython for making new projects from existing code. Python Tools for Visual Studio also has the capability to do mixed-language Python and C++ debugging. For many programmers, the mixed-mode debugging is something that can’t be overstressed. Since we are considering Python as the focus for automation, let me mention some of the orchestration solutions that are based off of the Python programming language.
At the top of my list to mention is Ansible. Ansible is a free software platform for configuring and managing computer systems. It combines multi-node software deployment, ad hoc task execution, and configuration management. As mentioned, Ansible manages Linux nodes via Python over SSH, but it will also manage Windows nodes using—wait for it—Microsoft PowerShell over SSH or over JSON and standard output. Ansible can use any language that takes advantage of JSON and YAML to express reusable descriptions of systems. Ansible is included as part of the Fedora distribution of Linux, which is owned and developed by Red Hat and is available as part of Red Hat Enterprise Linux, CentOS, and Scientific Linux via Extra Packages for Enterprise Linux, as well as others. Red Hat has become so committed to Ansible that in October of 2015, Red Hat Inc. announced that it had signed an agreement to acquire Ansible Inc.
An increasingly popular open-source solution for deploying instances in an Infrastructure as a Service (IaaS) is OpenStack. Automation can be written to the OpenStack Representational State Transfer (REST) application programming interface (API), but there are also Python APIs that are being reported as being much simpler to use. OpenStack is not a single application, but rather a series of services that make up the platform, with those services being:
- Identity Service: Code name keystone
- Image Service: Code name glance
- Compute Service: Code name nova
- Networking Service: Code name quantum
- Block Storage Service: Code name cinder
- Object Storage Service: Code name swift
Share this Article:
Latest posts by Steve Beaver (see all)
- VMware Takes Big Steps into its Cross-Cloud Vision - October 14, 2016
- Disaster Recovery: Are You Prepared for the Storm? - October 6, 2016
- My Collective Thoughts about VMworld 2016 - September 30, 2016