vcloud Automation Center UnLeashed Arnim van Lieshout, Sr.Consultant @ VMware Viktor van den Berg, Sr.Consultant @ PQR
Dames en heren Arnim van Lieshout Senior Consultant @ VMware PSO VCP, VCAP-DCA, VCAP-DCD Blogger @ www.van-lieshout.com @avlieshout Viktor van den Berg Senior Consultant @ PQR VCDX #121, VCAP-CID, vexpert Member of the VMUGNL steering committee Blogger @ www.viktorious.nl @viktoriousss 2
Agenda Agenda De weg naar de cloud Wat is vcloud Automation Center? vcac Case Aanmaken van een VM blueprint Aanmaken van een multi-machine blueprint vcac Extensibility vcac Advanced Service Designer Vragen 3
Agenda Agenda NOG INVULLEN 4
Wat is vcloud Automation Center? vcac biedt: Multi Tenant Self Service Portal Centrale IT Service Catalogus Anything as a Service Virtuele Machines / IaaS Applicaties Overige objecten Geautomatiseerd aanvraag/goedkeur proces Logische resource verdeling Multivendor Orchestration Inzicht in wie wat gebruikt Uitgebreide extensibility opties 5
vcac Servers Identity Appliance vcac Appliance IaaS Server Application Director vco Identity Appliance vcac Appliance IaaS Appliance Application Director SUSE SUSE Windows Application SSO Centraal portaal F.k.a. vcac 4.x/5.x deployment Koppelingen met Koppeling met Koppeling met AD/LDAP andere vsphere, vcloud, componenten Amazon e.d. Embedded vco 6
XaaS Anything as a Service vcloud Automation Center (vcac Appliance) vco Infrastructure As A Service (IaaS Server) HTTP Rest Powershel l SOAP vcenter VMware vcloud Director tenant 1 tenant 2 silver VMware vsphere 7
vcac Self-Service Portal 8
vcac Case 2010 VMware Inc. All rights reserved
Maak kennis met Mt.Xog Mt.Xog is een vooraanstaand platform voor de handel in Bitcoins. De infrastructuur van Mt.Xog draait op VMware vsphere en bestaat uit een ontwikkel/test/acceptatie + een productie omgeving. Door het recente succes van Bitcoins groeit Mt.Xog als kool. De groei resulteert in de extra uitrol van virtuele machines, voor de productie omgeving maar ook voor de OTA omgeving. Het huidige aanvraagproces voor virtuele machines neemt 4-5 dagen in beslag. Dit komt doordat meerdere personen & processen betrokken zijn bij deze uitrol. Zo worden aanvragen in verschillende systemen afgehandeld en zijn er de nodige handmatige acties noodzakelijk. Mt.Xog wil graag met vcac aan de slag om het deployment proces te stroomlijnen. 10
Eisen vanuit Mt.XOG Eisen: Automatiseer het huidige aanvraag/goedkeur/uitrol proces voor het standaard WinServer en ThreeTier template. Het aanvragen van een VM mag maximaal vier uur duren. Afhankelijk van de gevraagde resources is goedkeuring van de aanvraag noodzakelijk. De uitrol moet integreren met bestaande CMDB en IPAM systemen. De uitrol moet voldoen aan de huidige naamgevingsconventie. Nice to have: Mt.Xog heeft goede verhalen gehoord over vcac en wil de oplossing wellicht breder in gaan zetten. Een demo van aanvullende mogelijkheden is gewenst. 11
Automatiseer de aanvraag 2010 VMware Inc. All rights reserved
Beschikbare templates Windows 2008 Windows 2008 1-2 vcpus (goedkeurig vanaf 2 vcpus) 2-8 GB RAM (goedkeurig vanaf 4 GB) C:\ - 40 GB WFE CentOS App CentOS Three Tier Application DB CentOS 3x CentOS Configuratie ligt vast 1 intern netwerk 1 extern netwerk 13
Blueprint bouwen Template vsphere template Customization Specification Blueprint Maak de blueprint (kies type) Create/Clone Koppel vsphere template Koppel een build profile Publiceer Publiceer de blueprint Approval Pre Approval Post Approval Catalog Blueprint toevoegen Approval policy koppelen Koppel akties 14
Aanmaken blueprint Demo 1: Toevoegen Windows 2008 Blueprint aan de catalogus. Vraag daarna deze nieuwe VM aan en bekijk hoe deze wordt uitgerold. Windows 2008 1-2 vcpus 2-8 GB RAM C:\ - 40 GB 15
Catalog Management Service Catalog Item Approval Policy Action Catalog Item Approval Policy Action Catalog Item Approval Policy Action Entitlement 16
Aanmaken blueprint Demo 2: Toevoegen goedkeuringsproces Windows 2008 1-2 vcpus (goedkeurig vanaf 2 vcpus) 2-8 GB RAM (goedkeurig vanaf 4 GB) C:\ - 40 GB 17
Aanvraag/uitrol proces Building Machine Turning Requested Pre-Approval On Post Approval Machine Provisioned On Requested Aanvraag van de virtuele machine Pre-Approval Goedkeuring 1 Building machine Workflow Stub Machine provisioned Workflow Stub Turning On / On Aanschakelen van de virtuele machine Post-Approval Goedkeuring 2 18
Aanmaken multi-machine blueprint Demo 3: Maken multi-machine blueprint WFE CentOS App CentOS Three Tier Application DB CentOS 3x CentOS Configuratie ligt vast 1 intern netwerk 1 extern netwerk Uitdagingen: Meerdere virtuele machines Verschillende netwerken: Private NAT Routed Transport Zone 19
Aanvraag/uitrol proces Building Machine Turning Requested Pre-Approval On Post Approval Machine Provisioned On Requested Aanvraag van de virtuele machine Pre-Approval Goedkeuring 1 Building machine Workflow Stub Machine provisioned Workflow Stub Turning On / On Aanschakelen van de virtuele machine Post-Approval Goedkeuring 2 20
vcac Extensibility 2010 VMware Inc. All rights reserved
vcenter Orchestrator IT Process Automation Extensibility: Integratie met 3 rd party systemen vcloud Automation Center Backup/Restore 3 rd Party Integration CMDB DNS IPAM Load Balancers Service Desk Monitoring Systems Databases Web Services 30+ plugins, vele standaard workflows 22
State Change Workflows Machine Provisioning Requested Building Machine Machine Provisioned Turning On On Machine Registration Requested Building Registered Machine Provisioned Turning On On Machine Decommissioning Deactivate Machine Unprovision Machine Machine Disposing Machine Expiration On Machine Expired 23
Invoke vco Workflow in vcac designer vco WF Inputs vco WF Outputs 1. vcac Designer 2. vcloud Automation Center Plugin 24
Activeren Workflow Stubs in Blueprint Geactiveerd d.m.v. een custom property Elke state change workflow is geassocieerd met een specifiek custom property vcac controleert bij elke state of het bijbehorende custom property aanwezig is en voert indien aanwezig de bijbehorende workflow uit. Bijvoorbeeld: ExternalWFStub.BuildingMachine ExternalWFStub.MachineProvisioned ExternalWFStub.MachineDisposing Activatie WFStubs 25
Configureren vcac Plug-in 26
Activeren Workflow Stubs in Blueprint vco Workflow Referentie Reference Voordelen: Gemakkelijk te configuren Geen vcac Designer nodig Per blueprint selectie van vco workflows mogelijk 27
Extensibility Package Custom Naamgeving 28
Custom Naamgeving Design Huidige naamgeving: basename + ostype + function + inc. number Integratie process: Opvragen custom properties t.b.v. custom naamgeving vcac Stub Workflow roept vco workflow aan vco workflow genereert de nieuwe custom naam vco workflow update de vcac entity met de nieuwe gegenereerde naam Stub BuildingMachine 29
Custom Naamgeving Design vcac vco Plugin vco workflow Custom Naming DNS Invoke vco Wrapper Get VM Properties Invoke vco Master Workflow Invoke Integration Workflow GetSequenceNumber NsLookup Update VirtualMachineName Update VMDNSName 30
Custom Naamgeving Implementatie 31
Extensibility Package IPAM Integratie 32
IPAM Integratie Design IP adressen worden uitgegeven door Infoblox appliance Integratie process: Opvragen netwerkproperties t.b.v. IP adres aanvraag vcac Stub Workflow roept vco workflow aan vco workflow vraagt IP adres aan vco workflow update de Netwerk properties van de VM Stub BuildingMachine 33
IPAM Integratie Design 34
IPAM Integratie Implementatie 35
Extensibility Package CMDB Integratie 36
CMDB Integratie Design Na het aanmaken van een VM moet de CMDB automatisch worden geupdate met relevante VM informatie Integratie process: vcac Stub Workflow roept vco workflow aan vco workflow verzamelt relevante VM informatie vco workflow update de CMDB Stub MachineProvisioned 37
CMDB Integratie Implementatie 38
39 Resultaat
Master Workflow vsphere clone met stubs/integratie voorbeeld Requested Awaiting Approval WFStubBuildingMachine Approved WFStub Building Machine Invoke vco Custom Naming Get IP Address Building Machine VMware Clone Workflow Machine Provisioned Clone Machine Customize Machine WFStubMachineProvisioned Initial Power On Customize OS Build Finished Machine Activated WFStub Machine Provisioned Invoke vco Update CMDB Turning On On 40
Catalogus Aanvraag Formulier DropdownList gedefinieerd in Property Dictionary 41
Catalogus Aanvraag Formulier 42
Provisioning Proces 43
Provisioning Proces Custom Naamgeving IPAM Integratie 44
Provisioning Proces CMDB Integratie 45
Decommissioning Proces 46
Decommissioning Proces IPAM Integratie CMDB Integratie 47
Advanced Service Designer 2010 VMware Inc. All rights reserved
Wat is de Advanced Service Designer? Advanced Service Designer: Biedt maatwerk services o.b.v. vco aan vanuit de vcac portal vsphere Cluster Datastore AD User Koppelt (maatwerk) akties aan deze objecten. ASD objecten worden beschikbaar gemaakt via de catalogus. Eventueel met approval 49
Advanced Service Designer - Architectuur 50
Walkthrough: Advanced Service Designer Walkthrough: Advanced Service Designer 51
Tenslotte 2010 VMware Inc. All rights reserved
Samenvattend Samenvatting Wat is vcloud Automation Center en waar gebruik je het voor Use case: Toevoegen blueprint Toevoegen multi-machine blueprint vcac Extensibility IPAM CMDB Custom Naamgeving vcac Advanced Service Designer 53
Questions? Arnim van Lieshout arnim@vmware.com / @avlieshout / www.van-lieshout.com Viktor van den Berg vbe@pqr.nl / @viktoriousss / www.viktorious.nl 54