Get IT together
- 3. TABLE OF CONTENTS
1. PROBLEM?
2. VMWARE AND SDKS
3. CHEF AND JBOSS
4. Q&A
3Berlin | 10/08/2013 | zanox | Infrastructure as Code
- 7. 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
- 8. 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
- 9. 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
- 13. 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
- 15. CHEF AND JBOSS
15Berlin | 10/08/2013 | zanox | Infrastructure as Code
https://github.com/rhq-
project/samples/tree/master/cli/autoimport
Editor's Notes
- 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!!!
- - 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!!!
- 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
- 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
- Chef is an open-source automation platform built to address the hardest infrastructure challenges on the planet.
- Chef is an open-source automation platform built to address the hardest infrastructure challenges on the planet.
- Chef is an open-source automation platform built to address the hardest infrastructure challenges on the planet.
- Chef is an open-source automation platform built to address the hardest infrastructure challenges on the planet.