by Toshaan Bharvani (@toshywoshy) on Tuesday, 28 February 2017

+1
Vote on this proposal
Status: Submitted
Section
Full talk of 40 mins duration

Technical level
Intermediate

Abstract

This presentation is about a tool for the deployment of virtual machine using orchestration and configuration management to install virtual machines on physical machine, the cloud or any other provider of bare metal machines. The tool uses existing programs such as Ansible and LibVirt to interact with the hypervisor to create the virtual machines. A generic example will be explained, using libvirt, with KVM as the hypervisor, to demonstrate how easy it is to deploy virtual machines from a text file definition, which can even be generated by a machine. The presentation will explain how the tool works and how easy it is to configure the tool to your specific server/datacenter/cloud. It then demonstrates the method of creating an example, within a few steps and how it builds up a complete army of machines. The possible integration with user authentication, monitoring (Icinga/Nagios/Zabbix) and pipeline tools (Foreman) can be extended and will be explained by means of example.

Outline

  • General virtualization techniques
  • Specific KVM virtualization techniques
  • Ansible Short Introduction
  • Ansible VMInstaller role introduction
  • Ansible VMInstaller role disection
  • Integration with Monitoring through a seperate role
  • Integration with Foreman using callback functions
  • How this works all together

Requirements

Basic Linux knowledge

Speaker bio

Toshaan Bharvani is a IT consultant, currently self-employed at VanTosh,
with a interest in Open Source Software and IT Hardware. He started his
IT interest at the age of 5, when his father gave him his first own PC
components. Ever since he has been interested in IT hardware and IT
software. In business, he tends to combine higher level applications
with lower level systems. Toshaan has been involved for some time now in
some open source projects and communities.

Comments

  • 1
    [-] Zainab Bawa (@zainabbawa) Reviewer 7 months ago

    Why was this tool built?

  • 1
    [-] saurabh hirani (@saurabh-hirani) 7 months ago

    I second the above question. Could you outline the problem domain and the need to build the tool as opposed to something like Terraform. It could be the case that Terra wasn’t there / mature enough / couldn’t handle specific issues - in which case it would benefit the audience to know its limitations. Also is the tool open source and can the audience use it? If it isn’t then there wouldn’t be much value as it would be very high level without any takeaways.

  • 1
    [-] saurabh hirani (@saurabh-hirani) 7 months ago

    I second the above question. Could you outline the problem domain and the need to build the tool as opposed to something like Terraform. It could be the case that Terra wasn’t there / mature enough / couldn’t handle specific issues - in which case it would benefit the audience to know its limitations. Also is the tool open source and can the audience use it? If it isn’t then there wouldn’t be much value as it would be very high level without any takeaways.

  • 1
    [-] Toshaan Bharvani (@toshywoshy) Proposer 7 months ago

    @Zainab, to create customized vm using the distribution creation tools, and to avoid ‘Golden Images’, given that all machines are different and need different resources, be it vcpus, memory, disks, networks and so on

    @Saurabh 1) The tool is open source : https://github.com/toshywoshy/ansible-role-vminstaller
    2) Terraform was developed at the same time, I was unaware of it till much later and imho targets a different audience, and focusses on mostly public cloud, less on this specific way of setting up virtual machines for a private setup with highly customized variables.
    3) There are a few people using it, as I have had some feedback on it, even some people from India (at least some who mailed)
    4) The solution to the problem of building customized virtual machines, as said above, I do not like to use golden images, actually I prefer not to use any imaging tools, so I use kickstart, preseed, autoinstall, slicing, autostart and so on to install the virtual machines.

    • 1
      [-] Zainab Bawa (@zainabbawa) Reviewer 7 months ago

      Thanks for the details, Toshaan. This proposal may be interesting for the platforms track. I will send you an update about the status by Wednesday morning.

Login with Twitter or Google to leave a comment