Post on 24-Apr-2020
transcript
vMATechCon
2018 #vmatechcon2018
Automation & Orchestration 101Jan Paul Smit
vMATechCon
2018 #vmatechcon2018
Jan Paul Smit
• Technisch Consultant
• VMware vanaf 2006
• Portfolio• vSphere
• Horizon/EUC
• vRealize Automation/SDDC
• NSX
vMATechCon
2018 #vmatechcon2018
Agenda
• Automation & Orchestration
• vRealize Automation
• vRealize Automation inrichting
• vRealize Orchestration
• vRA en vRO
vMATechCon
2018 #vmatechcon2018
Automation & Orchestration
vMATechCon
2018 #vmatechcon2018
Automation & Orchestration
• A&O vaak samen gebruikt waarbij:
• Automation: • het automatiseren van taken en beheerprocessen
• Ochestration: • Taak of proces omzetten in een workflow voor repeterende of complexe
taken
• stroomlijnen van optimaliseren van repeterende of complexe taken
vMATechCon
2018 #vmatechcon2018
Automation & Orchestration
• Automation toegevoegde waarde voor Orchestration
• Voorbeeld:• Automation → aanvraag vanuit een self service portaal voor een Windows
Server
• Orchestration→ zorgt voor de taken op de achtergrond zoals:• AD registratie
• IPAM
• CMDB registratie
vMATechCon
2018 #vmatechcon2018
vRealize Automation
Oorsprong en producten
vMATechCon
2018 #vmatechcon2018
Wat is vRealize Automation
• VMware’s Cloud Management Platform (CMP)
• Hybrid Cloud
• Basis functionaliteit CMP• Self service portal
• System Image provisioning
• Workload optimization
• Metering and billing
vMATechCon
2018 #vmatechcon2018
Wat is vRealize Automation
• VMware’s Cloud Management Platform (CMP)
• Hybrid Cloud
• Basis functionaliteit CMP• Self service portal
• System Image provisioning
• Workload optimization
• Metering and billing
• https://www.vmware.com/products/vrealize-automation.html
vMATechCon
2018 #vmatechcon2018
Wat is vRealize Automation
• IaaS, XaaS
• DevOps
• O-, T- en A omgevingen
• Integratie met 3rd party oplossingen
vMATechCon
2018 #vmatechcon2018
vRealize Automation integratieUtilities
Applications
Imaging CMDB SDDC Infra
Cloud Support
Container Management
Data Protection
vMATechCon
2018 #vmatechcon2018
Ontwikkeling vRealize Automation
• Oorspronkelijk DynamicOps
• 2012: vCAC
• 2015: vRealize Automation 7.x
• 2018: vRealize Automation 7.4
• vCloud Suite
• VMware Cloud Service
vMATechCon
2018 #vmatechcon2018
vRealize Suite
vMATechCon
2018 #vmatechcon2018
vRealize AutomationComponenten en deployment scenario’s
vMATechCon
2018 #vmatechcon2018
VVD
• VMware Validated Design
• Onderdeel van SET
• Templates
• Designs
vMATechCon
2018 #vmatechcon2018
VVD
vMATechCon
2018 #vmatechcon2018
vRealize Automation componenten
ModelManager
ProxyAgent
vRealize Automation
Appliance
vRealize Automation Services
PostgreSQL Database
vRealizeOrchestrator
VMware Identity Manager
IaaS Components
MS SQL
ExternalService
ExternalService
ExternalService
DEMOrchestrator
WebServer
DEMWorker
ManagerService
Managers Web ServerDB Access
Agents
vMATechCon
2018 #vmatechcon2018
vRealize Automation componenten
• vRealize Automation appliance• Hart van vRealize Automation • User interface• Self-service portal• vRealize Orchestrator• vIDM
• IaaS componenten• IaaS website• Model Manager• Manager service• DEM Worker/Orchestrator• Agent(s)• SQL database
vMATechCon
2018 #vmatechcon2018
vRealize Automation componenten
PostgreSQL vRO VIDM
Call vRA services from: ServiceNow, PMG, Remedy
Supporting Infrastructure:AD, DNS, NTP, SMTP
Fabric Endpoints: vSphere, AWS, Hyper-V
ProxyAgent
vRealize Automation
Appliance
User Interface
IaaS Components
DEMOrchestrator
DEMWorker
ManagerService
Managers Agents
REST API
vRealizeBusiness
vRealizeOperationsManager
Self-Service, Governance, Service Catalog
Infrastructure Services
Multi-Vendor, Multi-CloudvRO integrates with:CMDB,
DNS, IPAM,Service Desk,
Databases
vRealizeLog Insight
vMATechCon
2018 #vmatechcon2018
Deployment scenario’s
• Small
• Medium
• Large
• Multi-Data Center
vMATechCon
2018 #vmatechcon2018
Small
• Support• 10,000 managed machines
• 500 catalog items
• 10 concurrent machine provisions
• Requirements• vRealize Automation appliance: vrava-1.vmatechcon.nl
• Infrastructure Core server: inf-1.vmatechcon.nl.
• MSSQL Database Server: mssql.vmatechcon.nl
• vRealize Business for Cloud appliance: vrb.vmatechcon.nl
vMATechCon
2018 #vmatechcon2018
Small IAAS
OS
BUS
OS
SVR
OS
Universal Distributed Logical Router
Edge Reservation
WAN
lax01w01vc01.lax01.vmatechcon.nl
lax01w01esx01.lax01.vmatechcon.nl
lax01w01esx0n.lax01.vmatechcon.nl
Shared Compute and Edge Cluster
NSXManager
DevReservation
ProdReservation
192.168.32.0/24
MSSQL
OS
vMATechCon
2018 #vmatechcon2018
Medium
• Support• 30,000 managed machines
• 1000 catalog items
• 50 machine provisions
vMATechCon
2018 #vmatechcon2018
Large
• Support• 50,000 managed machines
• 2500 catalog items
• 100 concurrent machine provisions
vMATechCon
2018 #vmatechcon2018
Medium/large
• Requirements (deel 1)• Virtual Appliances
• vRealize Automation appliance 1: vrava-1.vmatechcon.nl
• vRealize Automation appliance 2: vrava-2.vmatechcon.nl
• vRealize Automation appliance 2: vrava-3.vmatechcon.nl
• vRealize Business for Cloud Appliance: vrb.vmatechcon.nl
vMATechCon
2018 #vmatechcon2018
Medium/large
• Requirements (deel 2)• Windows Server Virtual Machines
• Infrastructure Web Server 1: web-1.vmatechcon.nl
• Infrastructure Web Server 2: web-2.vmatechcon.nl
• Infrastructure Manager Server 1: manager-1.vmatechcon.nl
• Infrastructure Manager Server 2: manager-2.vmatechcon.nl
• Infrastructure DEM Server 1: dem-1.vmatechcon.nl
• Infrastructure DEM Server 2: dem-2.vmatechcon.nl
• Infrastructure Agent Server 1: agent-1.vmatechcon.nl
• Infrastructure Agent Server 2: agent-2.vmatechcon.nl
• Clustered MSSQL Database: mssql.vmatechcon.nl
vMATechCon
2018 #vmatechcon2018
Medium/large
• Requirements (deel 3)• Load Balancers
• vRealize Automation appliance Load Balancer: med-vrava.vmatechcon.nl
• Infrastructure Web Load Balancer: med-web.vmatechcon.nl
• Infrastructure Manager Service Load Balancer: med-manager.vmatechcon.nl
vMATechCon
2018 #vmatechcon2018Mu
lti-
Dat
a C
en
ter
De
plo
yme
nt IWS 1
OS
MSSQL
OS
IMS 1
OS
DEM 1
OS
DEM 2
OS
SVR 2
OS
IW S 2
OS
IAS 1
OS
IAS 2
OS
IWS
IMS
vRO
SVR
Universal Distributed Logical Router
BUC 1
OS
BUS 1
OS
SVR 1
OS
IMS 2
OS
VIP: 192.168.11.53vra01svr01.vmatechcon.nl
VIP: 192.168.11.56
vra01iws01.vmatechcon.nl
VIP: 192.168.11.59
vra01ims01.vmatechcon.nl
Active Active Standalone Standalone
Active PassiveActive Active
Active Active Active Active
Mgmt-xRegion01-VXLAN
Region Independent Region Specific
NSX EdgeLoad Balancersgo01m01lb01
Cluster
EdgeReservation
WAN
Abbreviations
vRA vRealize AutomationvRO vRealize OrchestratorDEM Distributed Execution ManagerSVR vRA ApplianceIWS IaaS Web ServerIMS IaaS Manager ServiceIAS IaaS vSphere Proxy AgentBUS vRealize Business ServerBUC vRealize Business CollectorMSSQL Microsoft SQL
sfo01w01vc01.sfo01.vmatechcon.nl
sfo01w01esx01.sfo01.vmatechcon.nl
sfo01w01esx0n.sfo01.vmatechcon.nl
Shared Compute and Edge Cluster
NSXManager
DevReservation
ProdReservation
192.168.11.56 192.168.11.54192.168.11.55
192.168.11.59 192.168.11.57192.168.11.58
192.168.11.65 192.168.11.63192.168.11.64
192.168.11.53 192.168.11.51192.168.11.52
Standalone
Mgmt-RegionA01-VXLAN
192.168.11.0/24 192.168.31.0/24
vMATechCon
2018 #vmatechcon2018Mu
lti-
Dat
a C
en
ter
De
plo
yme
nt
IWS 1
OS
MSSQL
OS
IMS 1
OS
DEM 1
OS
DEM 2
OS
SVR 2
OS
IWS 2
OS
IAS 1
OS
IAS 2
OS
Universal Distributed Logical Router
BUC 1
OS
BUS 1
OS
SVR 1
OS
IMS 2
OS
VIP: 192.168.11.53vra01svr01.vmatechcon.nl
VIP: 192.168.11.56
vra01iws01.vmatechcon.nl
VIP: 192.168.11.59
vra01ims01.vmatechcon.nl
Active Active Standalone Standalone
Active PassiveActive Active
Active Active Active Active
Mgmt-xRegion01-VXLAN
Region Independent Region Specific
NSX EdgeLoad Balancersgo01m01lb01
Cluster Standalone
Mgmt-RegionA01-VXLAN
192.168.11.0/24 192.168.31.0/24
vMATechCon
2018 #vmatechcon2018
Sizing
Virtual Machine Name Application Operating System
vCP
Us
vRA
M
Sto
rage
dis
k 0
Servernaam01 vRealize Automation Appliance Appliance 4 18 60
Servernaam02 vRealize Automation Appliance Appliance 4 18 60
Servernaam03 vRealize Automation Appliance Appliance 4 18 60
Servernaam04 VMware vRA IaaS server Web Server Windows server 2016 2 8 100
Servernaam05 VMware vRA IaaS server Web Server Windows server 2016 2 8 100
Servernaam06 VMware vRA IaaS server Manager Server Windows server 2016 2 8 100
Servernaam07 VMware vRA IaaS server Manager Server Windows server 2016 2 8 100
Servernaam08 VMware vRA IaaS server DEM Worker Windows server 2016 2 8 100
Servernaam09 VMware vRA IaaS server DEM Worker Windows server 2016 2 8 100
Servernaam10 VMware vRA IaaS server Agent Windows server 2016 2 8 100
Servernaam11 VMware vRA IaaS server Agent Windows server 2016 2 8 100
Servernaam12 vRealize Business for Cloud Appliance 4 8 100
Servernaam13 vRealize Business for Cloud Appliance 4 8 100
Servernaam14 vRealize Log Insight Appliance 8 16 500
Servernaam15 vRealize Log Insight Appliance 8 16 500
Servernaam16 vRealize Operations Manager Appliance 2 8 150
Servernaam17 vRealize Operations Manager Appliance 2 8 150
Servernaam18 vRealize Operations Manager Appliance 2 8 150
Servernaam19 Windows SQL Server Windows server 2016 4 16 100
Servernaam20 Windows SQL Server Windows server 2017 4 16 100
Servernaam21 VMware vCenter (appliance) Appliance 4 16 290
Totaal: 70 238 3120
Cloud Automation Workload Summary
Testomgeving - Cloud Automation Components
vMATechCon
2018 #vmatechcon2018
Custom Deployment
vRLI
appliancevRLI
appliance
vROps
vRA
appliance
vRB
appliance
SQL
Server
443,
7444
443
IaaS Web\
Manager
Server
443,5
480
DEM
Worker\
Agent
Server
VMware vRA deployment
Eindgebruikers
443
1433,135,1024-65535
vRLI
appliance
vSphere
vCenter
80,443
22,443,5480
443,1
0443
443,5
480
80,4
43
443,514,1514,6514Mail
Server 25,110,143,587,993
Beheer vRA
443,7444,80,22,5480,8281,8282
AD 389,636
IPAM 443
22,4
43,5
480
22
22,8
0,4
43
saasftp.
digitalfuel.com
25
vROps
443
443
Externe
internetverbinding
25
vMATechCon
2018 #vmatechcon2018
vRealize Automation inrichtingTenants, Catalog en Blueprints
vMATechCon
2018 #vmatechcon2018
Tenant
• OU binnen vRealize Automation
• Afdeling of organisatie
• Separate• URL
• https://vra.vmatechcon.nl/vcac/org/Productie• https://vra.vmatechcon.nl/vcac/org/Test
• Identity store• Branding• RBAC• Infrastructure resources• Catalog
vMATechCon
2018 #vmatechcon2018
Tenant Production Business Group
vMAtechcon Tenanthttps://vra.vmatechcon.nl/vcac/org/vMATechcon
Business GroupManager
Development Business GroupTenantAdminBusiness Group
Manager
Fabric Admin
IaaSAdmin
ProdReservation
DevReservation
EdgeReservation
Region A Fabric Group Region B Fabric Group
Region AData Center Infrastructure Fabric
Region BData Center Infrastructure Fabric
https://vra.vmatechcon.nl/vcac
Tenant Creation System Branding System NotificationProviders Event LogsSystem Admin
Default Tenant
Fabric Admin
ProdReservation
DevReservation
EdgeReservation
vMATechCon
2018 #vmatechcon2018
TenantProduction Business Group
Productie Tenanthttps://vra.vmatechcon.nl/vcac/org/productie
Business GroupManager
TenantAdmin
Fabric Admin
IaaSAdmin
ProdReservation
TestReservation
Fabric Group
Data Center Infrastructure Fabric
https://vra.vmatechcon.nl/vcac
Tenant Creation System Branding System NotificationProviders Event LogsSystem Admin
Default Tenant
Test Tenanthttps://vra.vmatechcon.nl/vcac/org/test
Test Business Group
Business GroupManager
TenantAdmin
vCenter Prod vCenter Test
vMATechCon
2018 #vmatechcon2018
Catalog
vMATechCon
2018 #vmatechcon2018
Blueprint
vMATechCon
2018 #vmatechcon2018
Blueprint
vMATechCon
2018 #vmatechcon2018
Blueprint
vMATechCon
2018 #vmatechcon2018
Blueprint
vMATechCon
2018 #vmatechcon2018
Blueprint
vMATechCon
2018 #vmatechcon2018
Blueprint
vMATechCon
2018 #vmatechcon2018
Blueprint
vMATechCon
2018 #vmatechcon2018
Blueprint
vMATechCon
2018 #vmatechcon2018
Blueprint
vMATechCon
2018 #vmatechcon2018
vRealize OrchestratorWat is het en wat doet het?
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator
• Infrastructure orchestration tool voor het uitvoeren van complexe taken;• Uitvoering van workflows• Scripting• Plugins
• Dunes Technologies → vCO vanaf vSphere 4 t/m 5.5
• ‘VMware’s Best Kept Secret’
• Vanaf vSphere 6.0 als separaat product• Embedded in vRealize Automation 7.4• vRealize Orchestrator appliance
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator
• Orchestration engine• Veel standaard plugins• 3rd party plugins• REST-API
• Voorbeelden• User Creation/Password reset• Virtual Machine Provisioning• Firewall Rule Automation• Operating System Maintenance• Software Deployment• Load Balancer Configuration
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator
Bron: http://federicocinalli.com/blog/item/218-starting-with-vmware-vrealize-orchestrator
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator scripting
• Standaard scripttaal JavaScript
• PowerShell en PowerCLI mogelijk met plugin
• Veel voorbeelden beschikbaar
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator Workflows
• Attribute• Wordt gebruikt voor opslag en transfer van informatie tussen workflow
elements
• Inputs• Worden ingevuld tijdens de uitvoering van de workflow → EBS vanuit
vRealize Automation
• Outputs• De ‘uitkomst’ van een workflow.
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator Workflows
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator Workflows
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator Workflows
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator Workflows
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator Workflows
vMATechCon
2018 #vmatechcon2018
vRA en vROPutting it together
vMATechCon
2018 #vmatechcon2018
Connectie vRA - vROvRealize Automation vRealize Orchestrator
vMATechCon
2018 #vmatechcon2018
Event Broker Service
Request
EBSvRO
vMATechCon
2018 #vmatechcon2018
vRA – vRO proces
Day 2 Operations workflows
Day 1Operations workflows
Disposalworkflows
vMATechCon
2018 #vmatechcon2018
vRealize Orchestrator
• Vanaf versie 7.4 de embedded versie gebruiken
vMATechCon
2018 #vmatechcon2018
Vragen?