vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party...

54
vCloud Automation Center UnLeashed Arnim van Lieshout, Sr.Consultant @ VMware Viktor van den Berg, Sr.Consultant @ PQR

Transcript of vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party...

Page 1: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

vCloud Automation Center UnLeashed

Arnim van Lieshout, Sr.Consultant @ VMware

Viktor van den Berg, Sr.Consultant @ PQR

Page 2: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

2

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

Page 3: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

3

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

Page 4: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

4

Agenda

Agenda

NOG INVULLEN

Page 5: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

5

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

Page 6: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

6

vCAC Servers

IaaS Server vCAC

Appliance Identity

Appliance

Application

Director

Identity Appliance

SUSE

SSO

Koppelingen met

AD/LDAP

vCAC Appliance

SUSE

Centraal portaal

Koppeling met

andere

componenten

Embedded vCO

IaaS Appliance

Windows

F.k.a. vCAC 4.x/5.x

Koppeling met

vSphere, vCloud,

Amazon e.d.

Application Director

Application

deployment

vCO

Page 7: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

7

XaaS – Anything as a Service

VMware vSphere

tenant 1

silver

VMware vCloud Director

tenant 2

vCloud Automation Center (vCAC Appliance)

Infrastructure As A Service (IaaS Server) vCO

HTTP

Rest

Powershel

l

SOAP

vCenter

Page 8: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

8

vCAC Self-Service Portal

Page 9: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

© 2010 VMware Inc. All rights reserved

vCAC Case

Page 10: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

10

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.

Page 11: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

11

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.

Page 12: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

© 2010 VMware Inc. All rights reserved

Automatiseer de aanvraag

Page 13: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

13

Beschikbare templates

Three Tier Application

App

CentOS

DB

CentOS

Windows 2008

1-2 vCPUs (goedkeurig vanaf 2 vCPUs)

2-8 GB RAM (goedkeurig vanaf 4 GB)

C:\ - 40 GB

3x CentOS

Configuratie ligt vast

1 intern netwerk

1 extern netwerk

Windows

2008

WFE

CentOS

Page 14: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

14

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

Page 15: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

15

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

Page 16: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

16

Catalog Management

Action Catalog

Item

Catalog

Item

Catalog

Item

Action

Action

Entitlement

Service Approval

Policy

Approval

Policy

Approval

Policy

Page 17: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

17

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

Page 18: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

18

Aanvraag/uitrol proces

Building

Machine

Machine

Provisioned On

Turning

On Requested Pre-Approval Post Approval

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

Page 19: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

19

Aanmaken multi-machine blueprint

Demo 3: Maken multi-machine blueprint

Three Tier Application

App

CentOS

DB

CentOS

3x CentOS

Configuratie ligt vast

1 intern netwerk

1 extern netwerk

WFE

CentOS

Uitdagingen:

Meerdere virtuele machines

Verschillende netwerken:

• Private

• NAT

• Routed

Transport Zone

Page 20: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

20

Aanvraag/uitrol proces

Building

Machine

Machine

Provisioned On

Turning

On Requested Pre-Approval Post Approval

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

Page 21: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

© 2010 VMware Inc. All rights reserved

vCAC Extensibility

Page 22: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

22

vCloud Automation Center

3rd Party

Integration

• CMDB

• DNS

• IPAM

• Load Balancers

• Service Desk

• Monitoring

Systems

• Databases

• Web Services vC

en

ter

Orc

he

str

ato

r IT

Pro

cess A

uto

ma

tion

30+ plugins, vele

standaard workflows

Backup/Restore

Extensibility: Integratie met 3rd party systemen

Page 23: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

23

Building

Machine

Machine

Provisioned On

Turning

On Requested

Building

Registered

Machine

Provisioned On

Turning

On Requested

Unprovision

Machine

Machine

Disposing

Deactivate

Machine

Machine

Expired On

Machine Provisioning

Machine Registration

Machine Decommissioning

Machine Expiration

State Change Workflows

Page 24: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

24

1. vCAC Designer 2. vCloud Automation Center Plugin

Invoke vCO Workflow in vCAC designer

vCO WF

Inputs

vCO WF

Outputs

Page 25: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

25

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

Activeren Workflow Stubs in Blueprint

Activatie

WFStubs

Page 26: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

26

Configureren vCAC Plug-in

Page 27: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

27

vCO

Workflow

Reference

vCO

Workflow

Referentie

Activeren Workflow Stubs in Blueprint

Voordelen:

• Gemakkelijk te configuren

• Geen vCAC Designer nodig

• Per blueprint selectie van vCO workflows mogelijk

Page 28: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

28

Custom Naamgeving

Extensibility Package

Page 29: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

29

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

Custom Naamgeving Design

Page 30: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

30

vCAC vCO Plugin vCO workflow Custom Naming

Invoke vCO Master Workflow

Invoke Integration Workflow

DNS

Update VMDNSName

Invoke vCO Wrapper

Update VirtualMachineName

GetSequenceNumber

NsLookup

Get VM Properties

Custom Naamgeving Design

Page 31: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

31

Custom Naamgeving Implementatie

Page 32: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

32

IPAM Integratie

Extensibility Package

Page 33: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

33

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

IPAM Integratie Design

Page 34: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

34

IPAM Integratie Design

Page 35: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

35

IPAM Integratie Implementatie

Page 36: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

36

CMDB Integratie

Extensibility Package

Page 37: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

37

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

CMDB Integratie Design

Page 38: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

38

CMDB Integratie Implementatie

Page 39: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

39

Resultaat

Page 40: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

40

vSphere clone met stubs/integratie voorbeeld

VMware Clone Workflow

Maste

r W

ork

flo

w

Approved

Building

Machine

Machine

Provisioned

Machine

Activated

Turning On

On

Clone

Machine

Customize

Machine

Initial Power

On Customize

OS

Build

Finished

WFStubBuildingMachine

WFStub

Building

Machine Invoke vCO

WFStubMachineProvisioned

WFStub

Machine

Provisioned

Invoke vCO

Requested

Awaiting

Approval

Custom

Naming Get

IP Address

Update

CMDB

Page 41: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

41

Catalogus Aanvraag Formulier

DropdownList

gedefinieerd in

Property

Dictionary

Page 42: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

42

Catalogus Aanvraag Formulier

Page 43: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

43

Provisioning Proces

Page 44: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

44

Provisioning Proces

Custom

Naamgeving

IPAM

Integratie

Page 45: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

45

Provisioning Proces CMDB

Integratie

Page 46: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

46

Decommissioning Proces

Page 47: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

47

Decommissioning Proces

IPAM

Integratie

CMDB

Integratie

Page 48: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

© 2010 VMware Inc. All rights reserved

Advanced Service Designer

Page 49: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

49

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

Page 50: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

50

Advanced Service Designer - Architectuur

Page 51: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

51

Walkthrough: Advanced Service Designer

Walkthrough: Advanced Service Designer

Page 52: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

© 2010 VMware Inc. All rights reserved

Tenslotte

Page 53: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

53

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

Page 54: vCloud Automation Center UnLeashed - NLVMUG · 2017. 2. 1. · vCloud Automation Center 3rd Party Integration • CMDB • DNS • IPAM • Load Balancers • Service Desk • Monitoring

54

Questions?

Arnim van Lieshout – [email protected] / @avlieshout / www.van-lieshout.com

Viktor van den Berg – [email protected] / @viktoriousss / www.viktorious.nl