- 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 automated- Don’t touch the production-system!!!
Solution based on VMware, Debian Linux,JBoss, JON/RHQ and Chef
Managed Objects:Exist on a vSphereserverRepresent 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.
FAI - Fully Automatic InstallationFAI is a non-interactive system to install, customize and manage Linux systems and software configurations on computers as well as virtual machines
-IPAdressenVerwaltungPool mit VM-NamenF5 automatisieren
Infrastructure as Code
Sascha Möllering | ZANOX.de AGInfrastructure as Code
About meSascha Mölleringsascha.firstname.lastname@example.orgSoftware Engineering Team LeadZANOX.de AGhttp://www.der-maschinenstuermer.de/@sascha242
Agenda• Problem?• VMware and SDKs• Chef• Chef and JBoss• What’s next?• Q&A
VMware and SDKs• VMware VI Java SDK– Open source project created by Steve Jinfrom VMware R&D– http://vijava.sourceforge.net/– Simplify the use of VI SDK and improve theperformance– Less lines of code, much faster, and muchmore readable code
Chef• Linux-installation1. FAI (http://fai-project.org/) for basic setup2. Chef for additional APT-packages3. Chef for middleware installation
Chef and JBossJava Magazin 11.12:Automatisierung nach Chef-RezeptAutomatisiertes Deployment vonJBoss Middleware
Chef and JBoss1. Import JON-Agent2. Import JBoss EAP 5/63. Change settings