SlideShare a Scribd company logo
INFRASTRUCTURE AS CODE
Berlin | 29.08.2013
CONTACT
2
Sascha Möllering
Software Engineering Team Lead
sascha.moellering@zanox.com
http://www.der-maschinenstuermer.de/
@sascha242
Berlin | 10/08/2013 | zanox | Infrastructure as Code
TABLE OF CONTENTS
1. PROBLEM?
2. VMWARE AND SDKS
3. CHEF AND JBOSS
4. Q&A
3Berlin | 10/08/2013 | zanox | Infrastructure as Code
PROBLEM?
4Berlin | 10/08/2013 | zanox | Infrastructure as Code
PROBLEM?
5Berlin | 08/06/2012 | zanox | Company Presentation
VMWARE AND SDKS
6Berlin | 10/08/2013 | zanox | Infrastructure as Code
VMWARE AND SDKS
●VMware vSphere Web Services SDK
●Official SDK
●Supported by VMware
●Complicated
●Architecture based on
● managed objects (server)
● managed object reference (client)
● data objects
7Berlin | 10/08/2013 | zanox | Infrastructure as Code
VMWARE AND SDKS
●VMware VI Java SDK
●Open source project created by Steve Jin
from VMware R&D
●http://vijava.sourceforge.net/
●Simplify the use of VI SDK and improve the
performance
●Less lines of code, much faster, and much
more readable code
8Berlin | 10/08/2013 | zanox | Infrastructure as Code
VMWARE AND SDKS
9Berlin | 10/08/2013 | zanox | Infrastructure as Code
vSphere server
VirtualMachine
Managed
object
GuestInfo
data object
vSphere client application
Managed object
reference to a
VirtualMachine
GuestInfo
data object
data objects
network
connection
VMWARE AND SDKS
10Berlin | 10/08/2013 | zanox | Infrastructure as Code
https://github.com/zanox/viAutomator
CHEF AND JBOSS
11Berlin | 10/08/2013 | zanox | Infrastructure as Code
CHEF AND JBOSS
12Berlin | 10/08/2013 | zanox | Infrastructure as Code
CHEF AND JBOSS
●Linux-installation
1. FAI (http://fai-project.org/) for basic setup
2. Chef for additional APT-packages
3. Chef for middleware installation
13Berlin | 10/08/2013 | zanox | Infrastructure as Code
CHEF AND JBOSS
Autodiscovery
Queue
Berlin | 10/08/2013 | zanox | Infrastructure as Code
CHEF AND JBOSS
15Berlin | 10/08/2013 | zanox | Infrastructure as Code
https://github.com/rhq-
project/samples/tree/master/cli/autoimport
Q&A
16Berlin | 10/08/2013 | zanox | Infrastructure as Code

More Related Content

Get IT together

Editor's Notes

  1. Sysadmins don’t have any time, never ever!Clicking in vSphere client is boringSetting up JBoss manually is a PITAManual processes are error-proneDonkey work should be automatedDon’t touch the production-system!!!
  2. - Sysadmins never have time- Clicking in vSphere client is boring- Setting up JBoss manually is a PITA- Manual processes are error-prone- Donkey work should be automatedDon’t touch the production-system!!!
  3. Managed Objects:Exist on a vSphere serverRepresent vSphere services and componentsManaged object referencesClient references to server-side objectsClient application uses ManagedObjectReference (MOR)MOR is unique and persistent during an object’s lifetimeData objectsContain information about managed objectsClient application sends/receives data objects
  4. Managed Objects:Exist on a vSphere serverRepresent vSphere services and componentsManaged object referencesClient references to server-side objectsClient application uses ManagedObjectReference (MOR)MOR is unique and persistent during an object’s lifetimeData objectsContain information about managed objectsClient application sends/receives data objects
  5. Chef is an open-source automation platform built to address the hardest infrastructure challenges on the planet.
  6. Chef is an open-source automation platform built to address the hardest infrastructure challenges on the planet.
  7. Chef is an open-source automation platform built to address the hardest infrastructure challenges on the planet.
  8. Chef is an open-source automation platform built to address the hardest infrastructure challenges on the planet.