SlideShare una empresa de Scribd logo
1 de 49
Descargar para leer sin conexión
© 2014 VMware Inc. All rights reserved.
VMware Automation
- PowerCLI
Alan Renouf
Product Manager
CLIs and Automation Frameworks
Introduction
Alan Renouf – Product Manager, VMware
VMware Blog: http://blogs.vmware.com/PowerCLI/
Personal Blog: http://virtu-al.net/
Twitter: @alanrenouf
“My Job is to make automation easier for you”
What is this VMware stuff?
Question
§  Do you wish you could hand off menial tasks to others?
§  Do you perform the same task day in, day out?
§  Do you have a check list each morning ?
§  Do you need to perform tasks on mass ?
§  Do you wish you could export vCenter Information?
§  Do you love documentation ?
Automation Definitions
§  Automation:
§  Scripts-based: Need to type text (correctly)
§  Workflow-based: IT Process Automation, Orchestration,
Run Book Automation
§  Built-in: Purpose-built application or feature (e.g. HA)
§  Policy/Event based: Define rules without code in UI (e.g. vMotion)
§  Related concepts: APIs, Integration
VMware Automation Cheat Sheet
Provisioning Operations Maintenance
Datacenter Infrastructure
Virtual Datacenter
VMs
Applications
Workloads
Desktops
Detection of failures
Availability
Health
Scaling/Rightsizing
Capacity
Remediation
Resource Allocation
Failover
Administrative tasks
Updates / Upgrades
Reporting
Ongoing
Configuration
Areas of Automation
Provisioning Operations Maintenance
Datacenter Infrastructure
vCAC/VCO/PowerCLI
Virtual Datacenter
vCD/VCNS
VMs
AppD/vCAC/vCO/PowerCLI/vCenter
Applications
AppD/vCAC/vCO/PowerCLI
Workloads
vCAC/vCO/PowerCLI
Desktops
vCAC/View
Detection of failures
vCOps Mgr/PowerCLI
Availability
vCOps
Health
vCOps Mgr/PowerCLI
Scaling/Rightsizing
vCOps/vCO/PowerCLI/vCAC/AppD
Capacity
vCOps Mgr/PowerCLI
Remediation
vCO/PowerCLI
Resource Allocation
vSphere DRS/SDRS
Failover
vSphere HA/SRM
Administrative tasks
vCO/PowerCLI
Updates / Upgrades
VUM/VCM/VCO/PowerCLI
Reporting
PowerCLI/vCOps Mgr
Ongoing Configuration
VCM/AppD/vCAC
What VMware Products COULD you Use?
Provisioning Operations Maintenance
Datacenter Infrastructure
vCAC/vCO/PowerCLI
Virtual Datacenter
vCD/VCNS
VMs
AppD/vCAC/VCO/PowerCLI/vCenter
Applications
AppD/vCAC/vCO/PowerCLI
Workloads
vCAC/vCO/PowerCLI
Desktops
vCAC/View
Detection of failures
vCOps Mgr/PowerCLI
Availability
vCOps Mgr
Health
vCOps Mgr/PowerCLI
Scaling/Rightsizing
vCOps/vCO/PowerCLI/vCAC/AppD
Capacity
vCOps Mgr/PowerCLI
Remediation
vCO/PowerCLI
Resource Allocation
vSphere DRS/SDRS
Failover
vSphere HA/SRM
Administrative tasks
vCO/PowerCLI
Updates / Upgrades
VUM/VCM/vCO/PowerCLI
Reporting
PowerCLI/vCOpsMgr
Ongoing Configuration
VCM/AppD/vCAC
What VMware Products ARE Recommended?
(If you use something else and it works, great!)
vCloud Automation Center
vCloud Automation Center - QUICK FACTS
§  Automation Technology
•  Built-in & policy based
§  Target User
•  Cloud Administrator
•  Service Architect
•  Consumers of IT services
§  Particularly good for…
•  Self-service
•  Service lifecycle management
vCAC – Self Service Automation
vCenter
Operations
Mgmt
IT
Business
Mgmt
vCloud Automation Center
IaaS PaaS DaaS
vCloud Director (optional)
Software
Defined
Networking &
Security
Software
Defined
Storage &
Availability
vSphere
Hardware
vCloud
Service
Providers
Other
Hyper-
visors
Other
Service
Providers
vCloud Automation Center
IaaS
CMDB
DNS
IPAM
Load
balancers
Service Desk
Monitoring
Databases
Etc.
Other
Management
Systems
vCenter
Orchestrator
DaaS PaaS XaaS
Approvals Security Service Tiers Policies Service Blueprints
Extensible to new
services
Request any IT service via a unified portal
App store
experience
Service category
Custom Service
Flexible and
powerful
Entitlements and
Approvals policies
Perform basic management tasks via the portal
Context specific actions on
resources provisioned for this
user. Controlled by entitlements.
Extensible with new services.
vCenter Orchestrator
vCenter Orchestrator - QUICK FACTS
§  Automation Technology
•  Workflow
§  Target User
•  Automation Specialist
•  Integration Engineer
•  vSphere Administrator
§  Particularly good for…
•  Multi-system automation
•  3rd party integration
Features
vCenter Orchestrator Overview
Drag-&-drop
design
•  Create powerful workflows
easily by drop-&-dragging pre-
built actions
Cloud
scalability
•  Execute hundreds of workflows
in parallel to meet Cloud scale
Flexible
triggers
•  Launch workflows from the
vSphere Web Client, vCAC,
web browser, schedule, event,
and API
Automate
VMware
•  100% coverage of vSphere and
vCloud Director APIs
•  Unmatched VMware content
Included with
vCenter
Server
•  Included with vSphere at no
extra cost
•  Installed with vCenter
•  Integrate VMware solutions into your IT
environment and processes
•  Reduce IT OpEx and total cost of ownership of
VMware solutions
•  Automate your cloud and accelerate transition
to “IT as a Service” model
Platform
Plug-insEcosystem
vSphere
Features
•  vCenter Server 4.0, 4.1, 5.0,5.1,5.5
•  vCloud Director 1.0, 1.5, 5.1 & 5.5
•  vCloud Automation Center 5.1, 5.2
•  vCenter Update Manager 4.1, 5.0 & 5.1
•  vCenter Chargeback 2.0
•  vCenter Configuration Manager 5.5
•  vCenter Operations Manager Package
•  vCenter Orchestrator Multinode 5.0 & 5.1
•  vSphere Auto Deploy
•  VMware Service Manager 9.1
•  VMware Service Elasticity
•  AMQP / RabbitMQ
•  Email (POP3 and SMTP)
•  HTTP-REST
•  JDBC
•  SOAP
•  SNMP v1, v2c and v3
•  SQL
•  SSH
•  Telnet
•  XML
Standard Protocols
•  Bluecat Networks
•  BMC Atrium CMDB & Remedy
•  Cisco UCS Manager 1.3
•  EMC Unified Infrastructure Manager
•  EMC ViPR
•  Egenera PAN Manager
•  F5 Networks
•  Infoblox NIOS
•  Microsoft Active Directory
•  Microsoft Windows PowerShell
•  NetApp WFA
•  Radware vDirect
•  ServiceNow
•  Up.time Software
Partner Applications
•  Cisco UCS Manager 2.x (beta available)
•  Hitachi Unified Compute Platform
•  HP ServiceManager
•  VMware vCNS and NSX
•  VMware Site Recovery Manager
•  And more to come…
Under development !!!
VMware Applications
Thousands of out of the box workflows & actions
vSphere PowerCLI
PowerCLI - QUICK FACTS
§  Automation Technology
•  Scripting
§  Target User
•  vSphere Administrator
•  Automation Specialist
§  Particularly good for…
•  Quick Administrative tasks
•  Fire and fix
•  Reporting
•  Prototyping
PowerCLI - Overview
§  PowerCLI Overview
•  Integrated into Windows PowerShell
•  Designed towards system administrators not developers
•  Installed by default from Windows 2008/2012 Windows 7
•  (XP/2003 requires download)
•  Extending the existing PowerShell knowledge of Windows Admin
•  Easily integrated with other Microsoft, VMware and 3rd Party Snapins
•  PowerCLI is a free product containing over 410+ cmdlets (PowerShell Commands)
•  Manage every public aspect of:
•  VMware vSphere
•  VMware vCenter Server
•  VMware vCloud Director (PowerCLI 5.0.1 onwards)
•  VMware View
•  VMware Update Manager
•  vSphere Site Recovery Manager (New in 5.5 R2)
PowerCLI is backward compatible all the way to
ESX 4.1 U3 / Virtual Center 4.1 U3
PowerCLI Command sets (Snap-in’s)
§  Core
• Managing vSphere and SRM
§  Image Builder
• Working with Image Profiles
§  Auto Deploy
• Deploying ESXi via PXE
§  License
• Working with vSphere Licensing
§  Cloud
• vCloud Director Providers
§  Tenant
• vCloud Director Tenants
§  VDS
• vSphere Distributed Switches
Image
BuilderAuto Deploy
License
vCloud
Director
vCloud
Tenant
vSphere
Distributed
Switch
Site
Recovery
Manager
vSphere
Core
Where does PowerCLI fit in ?
vSphere Client / Web Client PowerCLI
Virtual Center APIs
PowerCLI - Overview
§  PowerCLI Cmdlet syntax
•  All cmdlets use a Verb-Noun syntax, examples are:
Get-VM (Lists all VMs) Get-Datastore (Lists all Datastores)
New-VM (Creates new VMs) Start-VM (Powers on VMs)
New-VMHost (Adds Hosts) Stop-VM (Powers off a VMs)
Set-Snapshot (alters snapshot information) Remove-VMHost (Removes Hosts)
New-Datatsore (Creates new Datastores) Remove-Cluster (Removes Clusters)
§  Built-in cmdlet help and examples
•  Available from the PowerCLI prompt via Get-Help and online
•  Examples of common tasks by using Get-Help cmdletname –Examples
§  “Piping”
•  Allows the output of one cmdlet to be used by another
•  Powerful one-line code solutions
Get-­‐Cluster	
  Cluster1	
  |	
  Get-­‐VM	
  
Where do I start ?
Learning PowerCLI is very easy !
•  Get-Help
•  Get-Command
Where do I start ?
Learning PowerCLI is very easy !
•  Examples
Integration
•  One script can work with many products
•  PowerShell Snapins
•  Compute/Storage/Networking/Applications
•  PowerShell Modules
•  Compute/Storage/Networking/Applications
•  COM Connections
•  REST API
•  Internet Explorer
•  Database connections
PowerCLI - Reporting
PowerCLI - Reporting
Export a list of all VMs to a csv file
Get-­‐VM	
  |	
  Export-­‐CSV	
  –File	
  C:ExportsAllVMs.csv	
  
Export all hosts in ClusterA details to a html file
Get-­‐Cluster	
  ClusterA	
  |	
  Get-­‐VMHost	
  |	
  ConvertTo-­‐Html	
  |	
  Out-­‐File	
  C:
ExportsHostsinClusterA.html	
  
Export Datastore Information to Excel Spreadsheet (requires extra function)
	
  
•  “Get-” cmdlets retrieve data
•  Safe place to start with PowerCLI as your only retrieving data
•  Use built in PowerShell cmdlets to export the data
Get-­‐Datastore	
  |	
  Export-­‐Xls	
  Datastores.xls	
  …	
  
PowerCLI - Reporting
-
2.00
4.00
6.00
8.00
10.00
12.00
14.00 CpuLimitGhz
CpuUsedGhz
0
20000
40000
60000
80000
100000
120000
140000 MemoryLimitMB
MemoryUsedMB
0
50000
100000
150000
200000
250000
300000
350000 StorageLimitMB
StorageUsedMB
•  Monitor Organization vDCs in a specific Provider vDC for opportunities to
upgrade them to higher service level
Get-­‐OrgvDC	
  -­‐ProviderVdcName	
  "Development"`	
  	
  
|	
  Select	
  Name,	
  CpuLimitGhz,	
  CpuUsedGhz,	
  MemoryLimitMB,	
  
MemoryUsedMB,	
  StorageLimitMB,	
  StorageUsedMB	
  
|	
  Export-­‐Xls	
  Development_Threshold.xls	
  …	
  
Demo
How to draw out your complete environment…
PowerCLI - Provisioning
PowerCLI - Provisioning
Create a new VM from template and apply a customization specification
New-­‐VM	
  -­‐Name	
  VM2	
  -­‐Template	
  “Windows2008”	
  -­‐VMHost	
  ESX01	
  -­‐
OSCustomizationSpec	
  “Spec1”	
  
§  Easily provision new VMs/Hosts/Datastores/Clusters/Datacenters/Clouds
Create 100,1000 or 1000000 new VMs from template and put on a random host
1..100	
  |	
  Foreach	
  {	
  New-­‐VM	
  -­‐Name	
  VM$_	
  -­‐Template	
  “Windows2008”	
  –VMHost	
  
(Get-­‐VMHost	
  |	
  Get-­‐Random)	
  -­‐OSCustomizationSpec	
  “Spec1”	
  }	
  
Add a new Cluster
New-­‐Cluster	
  -­‐Location	
  (Get-­‐Datacenter	
  DC01)	
  -­‐Name	
  Cluster01	
  -­‐DRSEnabled	
  
-­‐DRSMode	
  FullyAutomated	
  –HAEnabled	
  –HAFailoverLevel	
  1	
  
Create a snapshot on all VMs in a Cluster before patching
Get-­‐Cluster	
  Cluster01	
  |	
  Get-­‐VM	
  |	
  New-­‐Snapshot	
  –Name	
  “Before	
  Patching.”	
  
-­‐Description	
  “Created	
  on	
  $date	
  before	
  patching	
  the	
  VM”	
  
PowerCLI – In Guest Operations
PowerCLI – In Guest operations
§  Use VMware VIX (part of VMTools) to perform in guest operations
List the directory entries inside the guest OS
Invoke-­‐VMScript	
  -­‐VM	
  VM	
  -­‐ScriptText	
  "dir“	
  -­‐GuestUser	
  administrator	
  	
  	
  	
  	
  	
  
-­‐GuestPassword	
  pass2	
  
Copy files from the local machine into the guest file system
Get-­‐Item	
  "c:FolderToCopy*.*"	
  |	
  Copy-­‐VMGuestFile	
  -­‐Destination	
  
"c:MyFolder"	
  -­‐VM	
  $vm	
  -­‐LocalToGuest	
  -­‐GuestUser	
  administrator	
  	
  
-­‐GuestPassword	
  pass2	
  
Backup a file on a linux guest
Invoke-­‐VMScript	
  -­‐VM	
  VM1	
  -­‐ScriptText	
  "mv	
  /common/configs/file.conf	
  /
common/configs/file.conf.bak"	
  -­‐ScriptType	
  Bash	
  -­‐GuestUser	
  GuestUser	
  	
  	
  -­‐
GuestPassword	
  GuestPass	
  
• Retrieve data from the guest operating system
• Run scripts inside the guest operating system
• Works with both Windows and Linux	
  
PowerCLI – What's New in 5.5 R2?
PowerCLI 5.5 R2 – What’s New
• Manage vCenter Site Recovery Manager
• Create and remove tags and tag categories
• Retrieve information and configure Enhanced vMotion Compatibility (EVC) mode on clusters.
• Manage security policies for vSphere standard switches and port groups.
• Support for Windows PowerShell 4.0.
• Support for vSphere servers configured with IPv6.
• Specify the priority of a VM migration
• Provide a Hard Disk object to the RelatedObject of Get-Datastore
• Get-Datastore cmdlet to allow filtering by cluster.
• Get-Stat and Get-StatType now works with all types
• Added support for e1000e network adapter type.
• Specify all values for DiskStorageFormat when cloning a virtual machine
• 64-Bit Support for New-OSCustomizationSpec and Set-OSCustomizationSpec
• ToolsVersion property to VMGuest that shows the version as a string.
• Provide a virtual portgroup to the RelatedObject of the Get-VirtualSwitch and Get-DVSwitch
• Retrieve virtual machines by virtual switches.
• Other bug fixes and general performance enhancements have been made to various PowerCLI cmdlets.
PowerCLI - Advanced
PowerCLI – Advanced Scripts
§  Advanced scripts have been created by the PowerCLI community and are free to download…
vCheck – A script to make you aware of any issues in your infrastructure	
  
PowerCLI – Advanced Scripts
§  Advanced scripts have been created by the PowerCLI community and are free to download…
Name that hardware – A script for detailed hardware information (lucd.info)
Type of Cmdlets
CONFIDENTIAL 41
Low Level
High Level
$spec	
  =	
  new-­‐object	
  VMware.Vim.VirtualMachineConfigSpec	
  
$spec.MemoryAllocation	
  =	
  New-­‐Object	
  VMware.Vim.ResourceAllocationInfo	
  
$spec.MemoryAllocation.Limit	
  =	
  -­‐1	
  
$vm	
  =	
  get-­‐view	
  -­‐ViewType	
  VirtualMachine	
  -­‐Filter	
  @{"Name"="VM001"}	
  
$vm.ReconfigVM_Task($spec)
Get-­‐VM	
  VM001	
  |	
  Get-­‐VMResourceConfiguration	
  |	
  Set-­‐VMResourceConfiguration	
  -­‐
MemLimitMB	
  $null
How the SRM Cmdlets relate to the API
Connect-­‐SRMServer	
   -> Connects to the SRM Server attached to vCenter and creates $Global:defaultSRMServers
$defaultSRMServers	
   -> Stores an array of connected SRM Servers which we can use for our scripts
How the SRM Cmdlets relate to the API
$defaultSRMServers[0].extensiondata	
   -> SRM API
LoginLocale()
LoginSites()
LogoutLocale()
Method = Turn Right
Property = Red
Authentication
RetrieveContent()
ServiceInstance
Protection
Recovery
.
.
ListProtectionGroups()
ListInventoryMappings()
ListReplicatedDatastores()
MoRef
ListPlans()
GetHistory()
MoRef
Check out the Site Recovery Manager API Developers Guide
https://www.vmware.com/support/developer/srm-api/srm_50_api.pdf
..more
..more
..more
..more
Site Recovery Manager – Example
Connect-SrmServer
$SRMAPI = $DefaultSRMServers[0].Extensiondata
$protectionGroups = $srmApi.Protection.ListProtectionGroups()
$protectionGroups | Foreach {
$protectionGroup = $_
$protectionGroupInfo = $protectionGroup.GetInfo()
$protectedVms = $protectionGroup.ListProtectedVms()
$protectedVms | Foreach { $_.Vm.UpdateViewData() }
$protectedVms | Foreach {
$output = "" | select VmName, PgName
$output.VmName = $_.Vm.Name
$output.PgName = $protectionGroupInfo.Name
$output
}
} | Format-Table @{L="VM Name"; E={$_.VmName} }, @{L="Protection group name"; E={$_.PgName} }
PowerCLI – Launching Scripts
•  PowerShell console
•  Script Editors
•  PowerShell Plus (Free)
•  PowerGUI (Free)
•  PowerSE (Free)
•  PowerShell ISE (Free)
•  Scheduled tasks
•  VMware vCO PowerShell Plugin
•  vCenter Alarms
Demo
Launch your scripts from vCenter…
PowerCLI Summary
§  Additional Resources
•  PowerCLI Blog - http://blogs.vmware.com/PowerCLI/
•  PowerCLI Download - http://vmware.com/go/PowerCLI
•  PowerCLI Documentation, Cmdlet Reference, Release Notes and more -
http://vmware.com/support/developer/PowerCLI/
•  PowerCLI Community -
http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli?view=discussions
•  vSphere Automation Blog - http://blogs.vmware.com/vsphere/automation/
•  Luc Dekens Blog – http://Lucd.info
•  My Blog – http://virtu-al.net
•  Google ”PowerCLI”
Further Reading
Thank You
Alan Renouf – Product Manager, VMware
Email Me - renoufa@vmware.com
VMware Blog: http://blogs.vmware.com/PowerCLI/
Personal Blog: http://virtu-al.net/
Twitter: @alanrenouf

Más contenido relacionado

La actualidad más candente

Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualizationAhmad Hafeezi
 
Presentation v mware virtual san 6.0
Presentation   v mware virtual san 6.0Presentation   v mware virtual san 6.0
Presentation v mware virtual san 6.0solarisyougood
 
Virtualization using VMWare Workstation
Virtualization using VMWare WorkstationVirtualization using VMWare Workstation
Virtualization using VMWare WorkstationHitesh Gupta
 
VDI/ VMware Horizon View
VDI/ VMware Horizon ViewVDI/ VMware Horizon View
VDI/ VMware Horizon ViewSumeraHangi
 
VMware vSphere 6.0 - Troubleshooting Training - Day 1
VMware vSphere 6.0 - Troubleshooting Training - Day 1VMware vSphere 6.0 - Troubleshooting Training - Day 1
VMware vSphere 6.0 - Troubleshooting Training - Day 1Sanjeev Kumar
 
VMware Virtual SAN Presentation
VMware Virtual SAN PresentationVMware Virtual SAN Presentation
VMware Virtual SAN Presentationvirtualsouthwest
 
VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4Sanjeev Kumar
 
Introduction to Hyper-V
Introduction to Hyper-VIntroduction to Hyper-V
Introduction to Hyper-VMark Wilson
 
Alphorm.com Support de la Formation VMware vSphere 6, Les machines virtuelles
Alphorm.com Support de la Formation VMware vSphere 6, Les machines virtuellesAlphorm.com Support de la Formation VMware vSphere 6, Les machines virtuelles
Alphorm.com Support de la Formation VMware vSphere 6, Les machines virtuellesAlphorm
 
Managing ESXi - Tools and Techniques
Managing ESXi - Tools and TechniquesManaging ESXi - Tools and Techniques
Managing ESXi - Tools and TechniquesChristopher Janoch
 
Vdi how-it-works618
Vdi how-it-works618Vdi how-it-works618
Vdi how-it-works618shiva2shetty
 
VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2Sanjeev Kumar
 
VMware vSphere vsan EN.pptx
VMware vSphere vsan EN.pptxVMware vSphere vsan EN.pptx
VMware vSphere vsan EN.pptxCH431
 
VxRail Appliance - Modernize your infrastructure and accelerate IT transforma...
VxRail Appliance - Modernize your infrastructure and accelerate IT transforma...VxRail Appliance - Modernize your infrastructure and accelerate IT transforma...
VxRail Appliance - Modernize your infrastructure and accelerate IT transforma...Maichino Sepede
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshootingglbsolutions
 
Server virtualization by VMWare
Server virtualization by VMWareServer virtualization by VMWare
Server virtualization by VMWaresgurnam73
 
Apache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex HuangApache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex Huangbuildacloud
 

La actualidad más candente (20)

Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
 
Presentation v mware virtual san 6.0
Presentation   v mware virtual san 6.0Presentation   v mware virtual san 6.0
Presentation v mware virtual san 6.0
 
Virtualization using VMWare Workstation
Virtualization using VMWare WorkstationVirtualization using VMWare Workstation
Virtualization using VMWare Workstation
 
VDI/ VMware Horizon View
VDI/ VMware Horizon ViewVDI/ VMware Horizon View
VDI/ VMware Horizon View
 
VMware vSphere 6.0 - Troubleshooting Training - Day 1
VMware vSphere 6.0 - Troubleshooting Training - Day 1VMware vSphere 6.0 - Troubleshooting Training - Day 1
VMware vSphere 6.0 - Troubleshooting Training - Day 1
 
VMware Virtual SAN Presentation
VMware Virtual SAN PresentationVMware Virtual SAN Presentation
VMware Virtual SAN Presentation
 
VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4
 
Introduction to Hyper-V
Introduction to Hyper-VIntroduction to Hyper-V
Introduction to Hyper-V
 
Alphorm.com Support de la Formation VMware vSphere 6, Les machines virtuelles
Alphorm.com Support de la Formation VMware vSphere 6, Les machines virtuellesAlphorm.com Support de la Formation VMware vSphere 6, Les machines virtuelles
Alphorm.com Support de la Formation VMware vSphere 6, Les machines virtuelles
 
What is Virtualization
What is VirtualizationWhat is Virtualization
What is Virtualization
 
Managing ESXi - Tools and Techniques
Managing ESXi - Tools and TechniquesManaging ESXi - Tools and Techniques
Managing ESXi - Tools and Techniques
 
Vdi how-it-works618
Vdi how-it-works618Vdi how-it-works618
Vdi how-it-works618
 
PowerCLI Workshop
PowerCLI WorkshopPowerCLI Workshop
PowerCLI Workshop
 
VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2
 
VMware vSphere vsan EN.pptx
VMware vSphere vsan EN.pptxVMware vSphere vsan EN.pptx
VMware vSphere vsan EN.pptx
 
Virtualization
VirtualizationVirtualization
Virtualization
 
VxRail Appliance - Modernize your infrastructure and accelerate IT transforma...
VxRail Appliance - Modernize your infrastructure and accelerate IT transforma...VxRail Appliance - Modernize your infrastructure and accelerate IT transforma...
VxRail Appliance - Modernize your infrastructure and accelerate IT transforma...
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
 
Server virtualization by VMWare
Server virtualization by VMWareServer virtualization by VMWare
Server virtualization by VMWare
 
Apache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex HuangApache CloudStack Architecture by Alex Huang
Apache CloudStack Architecture by Alex Huang
 

Destacado

HotLink DR Express
HotLink DR ExpressHotLink DR Express
HotLink DR Expressdean1609
 
Introduction to vSphere APIs Using pyVmomi
Introduction to vSphere APIs Using pyVmomiIntroduction to vSphere APIs Using pyVmomi
Introduction to vSphere APIs Using pyVmomiMichael Rice
 
How to Adopt Infrastructure as Code
How to Adopt Infrastructure as CodeHow to Adopt Infrastructure as Code
How to Adopt Infrastructure as CodeNGINX, Inc.
 
VMworld 2013: PowerCLI Best Practices - A Deep Dive
VMworld 2013: PowerCLI Best Practices - A Deep DiveVMworld 2013: PowerCLI Best Practices - A Deep Dive
VMworld 2013: PowerCLI Best Practices - A Deep DiveVMworld
 
Exploring VMware APIs by Preetham Gopalaswamy
Exploring VMware APIs by Preetham GopalaswamyExploring VMware APIs by Preetham Gopalaswamy
Exploring VMware APIs by Preetham GopalaswamyAlan Renouf
 
Dutch VMUG 2010 PowerCLI Presentation
Dutch VMUG 2010 PowerCLI PresentationDutch VMUG 2010 PowerCLI Presentation
Dutch VMUG 2010 PowerCLI PresentationAlan Renouf
 
Building vSphere Perf Monitoring Tools
Building vSphere Perf Monitoring ToolsBuilding vSphere Perf Monitoring Tools
Building vSphere Perf Monitoring ToolsPablo Roesch
 
TA6944 PowerCLI is for Administrators!
TA6944 PowerCLI is for Administrators!TA6944 PowerCLI is for Administrators!
TA6944 PowerCLI is for Administrators!Alan Renouf
 
vSphere APIs for performance monitoring
vSphere APIs for performance monitoringvSphere APIs for performance monitoring
vSphere APIs for performance monitoringAlan Renouf
 
VMworld 2016 - INF8036 - enforcing a vSphere cluster design with powercli aut...
VMworld 2016 - INF8036 - enforcing a vSphere cluster design with powercli aut...VMworld 2016 - INF8036 - enforcing a vSphere cluster design with powercli aut...
VMworld 2016 - INF8036 - enforcing a vSphere cluster design with powercli aut...Duncan Epping
 

Destacado (11)

HotLink DR Express
HotLink DR ExpressHotLink DR Express
HotLink DR Express
 
Introduction to vSphere APIs Using pyVmomi
Introduction to vSphere APIs Using pyVmomiIntroduction to vSphere APIs Using pyVmomi
Introduction to vSphere APIs Using pyVmomi
 
How to Adopt Infrastructure as Code
How to Adopt Infrastructure as CodeHow to Adopt Infrastructure as Code
How to Adopt Infrastructure as Code
 
VMworld 2013: PowerCLI Best Practices - A Deep Dive
VMworld 2013: PowerCLI Best Practices - A Deep DiveVMworld 2013: PowerCLI Best Practices - A Deep Dive
VMworld 2013: PowerCLI Best Practices - A Deep Dive
 
Exploring VMware APIs by Preetham Gopalaswamy
Exploring VMware APIs by Preetham GopalaswamyExploring VMware APIs by Preetham Gopalaswamy
Exploring VMware APIs by Preetham Gopalaswamy
 
Dutch VMUG 2010 PowerCLI Presentation
Dutch VMUG 2010 PowerCLI PresentationDutch VMUG 2010 PowerCLI Presentation
Dutch VMUG 2010 PowerCLI Presentation
 
Building vSphere Perf Monitoring Tools
Building vSphere Perf Monitoring ToolsBuilding vSphere Perf Monitoring Tools
Building vSphere Perf Monitoring Tools
 
TA6944 PowerCLI is for Administrators!
TA6944 PowerCLI is for Administrators!TA6944 PowerCLI is for Administrators!
TA6944 PowerCLI is for Administrators!
 
vSphere APIs for performance monitoring
vSphere APIs for performance monitoringvSphere APIs for performance monitoring
vSphere APIs for performance monitoring
 
VMworld 2016 - INF8036 - enforcing a vSphere cluster design with powercli aut...
VMworld 2016 - INF8036 - enforcing a vSphere cluster design with powercli aut...VMworld 2016 - INF8036 - enforcing a vSphere cluster design with powercli aut...
VMworld 2016 - INF8036 - enforcing a vSphere cluster design with powercli aut...
 
The new Netflix API
The new Netflix APIThe new Netflix API
The new Netflix API
 

Similar a VMware Automation, PowerCLI presented at the Northern California PSUG

VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...VMworld
 
V mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kitV mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kitsolarisyougood
 
V mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kitV mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kitsolarisyougood
 
V mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kitV mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kitsolarisyougood
 
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator VMworld
 
Presentation desarrollos cloud con oracle virtualization
Presentation   desarrollos cloud con oracle virtualizationPresentation   desarrollos cloud con oracle virtualization
Presentation desarrollos cloud con oracle virtualizationxKinAnx
 
V mware v realize automation 6.2 knowledge transfer kit
V mware v realize  automation 6.2 knowledge transfer kitV mware v realize  automation 6.2 knowledge transfer kit
V mware v realize automation 6.2 knowledge transfer kitsolarisyougood
 
2.13.14 v mware software defined data center (sddc) in 2014 slide deck
2.13.14 v mware software defined data center (sddc) in 2014 slide deck2.13.14 v mware software defined data center (sddc) in 2014 slide deck
2.13.14 v mware software defined data center (sddc) in 2014 slide deckMcOWLMarketing
 
VMworld 2013: vSphere Web Client - Technical Walkthrough
VMworld 2013: vSphere Web Client - Technical WalkthroughVMworld 2013: vSphere Web Client - Technical Walkthrough
VMworld 2013: vSphere Web Client - Technical WalkthroughVMworld
 
Containerisation Hack of a Legacy Software Solution - Alex Carter - CodeMill ...
Containerisation Hack of a Legacy Software Solution - Alex Carter - CodeMill ...Containerisation Hack of a Legacy Software Solution - Alex Carter - CodeMill ...
Containerisation Hack of a Legacy Software Solution - Alex Carter - CodeMill ...CodeMill digital skills
 
VMworld 2013: Automated Management of Tier-1 Applications on VMware
VMworld 2013: Automated Management of Tier-1 Applications on VMware VMworld 2013: Automated Management of Tier-1 Applications on VMware
VMworld 2013: Automated Management of Tier-1 Applications on VMware VMworld
 
Introducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platformIntroducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platformAmazon Web Services
 
MT46 Virtualization Integration with Unity
MT46 Virtualization Integration with UnityMT46 Virtualization Integration with Unity
MT46 Virtualization Integration with UnityDell EMC World
 
IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudAndrew Coleman
 
Say Bye to VMware PowerCLI ! Time to "GOVC"
Say Bye to VMware PowerCLI ! Time to "GOVC"Say Bye to VMware PowerCLI ! Time to "GOVC"
Say Bye to VMware PowerCLI ! Time to "GOVC"Ajeet Singh Raina
 
A First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon PlatformA First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon PlatformDan Wendlandt
 
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...VMworld
 
Cloud Computing vs Virtualization From Desktop to Server
Cloud Computing vs Virtualization From Desktop to ServerCloud Computing vs Virtualization From Desktop to Server
Cloud Computing vs Virtualization From Desktop to ServerFadly Rizal Ahmad Fadzil
 

Similar a VMware Automation, PowerCLI presented at the Northern California PSUG (20)

VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
VMworld 2013: Keep it Simple and Integrated - Out-of the Box Cross-System Aut...
 
V mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kitV mware v center orchestrator 5.5 knowledge transfer kit
V mware v center orchestrator 5.5 knowledge transfer kit
 
V mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kitV mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kit
 
V mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kitV mware v realize orchestrator 6.0 knowledge transfer kit
V mware v realize orchestrator 6.0 knowledge transfer kit
 
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
VMworld 2013: Part 1: Getting Started with vCenter Orchestrator
 
Presentation desarrollos cloud con oracle virtualization
Presentation   desarrollos cloud con oracle virtualizationPresentation   desarrollos cloud con oracle virtualization
Presentation desarrollos cloud con oracle virtualization
 
V mware v realize automation 6.2 knowledge transfer kit
V mware v realize  automation 6.2 knowledge transfer kitV mware v realize  automation 6.2 knowledge transfer kit
V mware v realize automation 6.2 knowledge transfer kit
 
2.13.14 v mware software defined data center (sddc) in 2014 slide deck
2.13.14 v mware software defined data center (sddc) in 2014 slide deck2.13.14 v mware software defined data center (sddc) in 2014 slide deck
2.13.14 v mware software defined data center (sddc) in 2014 slide deck
 
VMworld 2013: vSphere Web Client - Technical Walkthrough
VMworld 2013: vSphere Web Client - Technical WalkthroughVMworld 2013: vSphere Web Client - Technical Walkthrough
VMworld 2013: vSphere Web Client - Technical Walkthrough
 
Containerisation Hack of a Legacy Software Solution - Alex Carter - CodeMill ...
Containerisation Hack of a Legacy Software Solution - Alex Carter - CodeMill ...Containerisation Hack of a Legacy Software Solution - Alex Carter - CodeMill ...
Containerisation Hack of a Legacy Software Solution - Alex Carter - CodeMill ...
 
VMworld 2013: Automated Management of Tier-1 Applications on VMware
VMworld 2013: Automated Management of Tier-1 Applications on VMware VMworld 2013: Automated Management of Tier-1 Applications on VMware
VMworld 2013: Automated Management of Tier-1 Applications on VMware
 
Introducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platformIntroducing AWS OpsWorks, a DevOps application management platform
Introducing AWS OpsWorks, a DevOps application management platform
 
MT46 Virtualization Integration with Unity
MT46 Virtualization Integration with UnityMT46 Virtualization Integration with Unity
MT46 Virtualization Integration with Unity
 
IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the Cloud
 
Say Bye to VMware PowerCLI ! Time to "GOVC"
Say Bye to VMware PowerCLI ! Time to "GOVC"Say Bye to VMware PowerCLI ! Time to "GOVC"
Say Bye to VMware PowerCLI ! Time to "GOVC"
 
A First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon PlatformA First Look at vSphere Integrated Containers and Photon Platform
A First Look at vSphere Integrated Containers and Photon Platform
 
Lets vRealize level -100 Presentation
Lets vRealize level -100 PresentationLets vRealize level -100 Presentation
Lets vRealize level -100 Presentation
 
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
VMworld 2015: Day to Day Automation of VMware Products to Increase Productivi...
 
Oracle VM - the Heart of Oracle Cloud
Oracle VM - the Heart of Oracle CloudOracle VM - the Heart of Oracle Cloud
Oracle VM - the Heart of Oracle Cloud
 
Cloud Computing vs Virtualization From Desktop to Server
Cloud Computing vs Virtualization From Desktop to ServerCloud Computing vs Virtualization From Desktop to Server
Cloud Computing vs Virtualization From Desktop to Server
 

Último

SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 

Último (20)

SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 

VMware Automation, PowerCLI presented at the Northern California PSUG

  • 1. © 2014 VMware Inc. All rights reserved. VMware Automation - PowerCLI Alan Renouf Product Manager CLIs and Automation Frameworks
  • 2. Introduction Alan Renouf – Product Manager, VMware VMware Blog: http://blogs.vmware.com/PowerCLI/ Personal Blog: http://virtu-al.net/ Twitter: @alanrenouf “My Job is to make automation easier for you”
  • 3. What is this VMware stuff?
  • 4. Question §  Do you wish you could hand off menial tasks to others? §  Do you perform the same task day in, day out? §  Do you have a check list each morning ? §  Do you need to perform tasks on mass ? §  Do you wish you could export vCenter Information? §  Do you love documentation ?
  • 5. Automation Definitions §  Automation: §  Scripts-based: Need to type text (correctly) §  Workflow-based: IT Process Automation, Orchestration, Run Book Automation §  Built-in: Purpose-built application or feature (e.g. HA) §  Policy/Event based: Define rules without code in UI (e.g. vMotion) §  Related concepts: APIs, Integration
  • 7. Provisioning Operations Maintenance Datacenter Infrastructure Virtual Datacenter VMs Applications Workloads Desktops Detection of failures Availability Health Scaling/Rightsizing Capacity Remediation Resource Allocation Failover Administrative tasks Updates / Upgrades Reporting Ongoing Configuration Areas of Automation
  • 8. Provisioning Operations Maintenance Datacenter Infrastructure vCAC/VCO/PowerCLI Virtual Datacenter vCD/VCNS VMs AppD/vCAC/vCO/PowerCLI/vCenter Applications AppD/vCAC/vCO/PowerCLI Workloads vCAC/vCO/PowerCLI Desktops vCAC/View Detection of failures vCOps Mgr/PowerCLI Availability vCOps Health vCOps Mgr/PowerCLI Scaling/Rightsizing vCOps/vCO/PowerCLI/vCAC/AppD Capacity vCOps Mgr/PowerCLI Remediation vCO/PowerCLI Resource Allocation vSphere DRS/SDRS Failover vSphere HA/SRM Administrative tasks vCO/PowerCLI Updates / Upgrades VUM/VCM/VCO/PowerCLI Reporting PowerCLI/vCOps Mgr Ongoing Configuration VCM/AppD/vCAC What VMware Products COULD you Use?
  • 9. Provisioning Operations Maintenance Datacenter Infrastructure vCAC/vCO/PowerCLI Virtual Datacenter vCD/VCNS VMs AppD/vCAC/VCO/PowerCLI/vCenter Applications AppD/vCAC/vCO/PowerCLI Workloads vCAC/vCO/PowerCLI Desktops vCAC/View Detection of failures vCOps Mgr/PowerCLI Availability vCOps Mgr Health vCOps Mgr/PowerCLI Scaling/Rightsizing vCOps/vCO/PowerCLI/vCAC/AppD Capacity vCOps Mgr/PowerCLI Remediation vCO/PowerCLI Resource Allocation vSphere DRS/SDRS Failover vSphere HA/SRM Administrative tasks vCO/PowerCLI Updates / Upgrades VUM/VCM/vCO/PowerCLI Reporting PowerCLI/vCOpsMgr Ongoing Configuration VCM/AppD/vCAC What VMware Products ARE Recommended? (If you use something else and it works, great!)
  • 11. vCloud Automation Center - QUICK FACTS §  Automation Technology •  Built-in & policy based §  Target User •  Cloud Administrator •  Service Architect •  Consumers of IT services §  Particularly good for… •  Self-service •  Service lifecycle management
  • 12. vCAC – Self Service Automation vCenter Operations Mgmt IT Business Mgmt vCloud Automation Center IaaS PaaS DaaS vCloud Director (optional) Software Defined Networking & Security Software Defined Storage & Availability vSphere Hardware vCloud Service Providers Other Hyper- visors Other Service Providers vCloud Automation Center IaaS CMDB DNS IPAM Load balancers Service Desk Monitoring Databases Etc. Other Management Systems vCenter Orchestrator DaaS PaaS XaaS Approvals Security Service Tiers Policies Service Blueprints
  • 13. Extensible to new services Request any IT service via a unified portal App store experience Service category Custom Service Flexible and powerful Entitlements and Approvals policies
  • 14. Perform basic management tasks via the portal Context specific actions on resources provisioned for this user. Controlled by entitlements. Extensible with new services.
  • 16. vCenter Orchestrator - QUICK FACTS §  Automation Technology •  Workflow §  Target User •  Automation Specialist •  Integration Engineer •  vSphere Administrator §  Particularly good for… •  Multi-system automation •  3rd party integration
  • 17. Features vCenter Orchestrator Overview Drag-&-drop design •  Create powerful workflows easily by drop-&-dragging pre- built actions Cloud scalability •  Execute hundreds of workflows in parallel to meet Cloud scale Flexible triggers •  Launch workflows from the vSphere Web Client, vCAC, web browser, schedule, event, and API Automate VMware •  100% coverage of vSphere and vCloud Director APIs •  Unmatched VMware content Included with vCenter Server •  Included with vSphere at no extra cost •  Installed with vCenter •  Integrate VMware solutions into your IT environment and processes •  Reduce IT OpEx and total cost of ownership of VMware solutions •  Automate your cloud and accelerate transition to “IT as a Service” model Platform Plug-insEcosystem vSphere Features
  • 18. •  vCenter Server 4.0, 4.1, 5.0,5.1,5.5 •  vCloud Director 1.0, 1.5, 5.1 & 5.5 •  vCloud Automation Center 5.1, 5.2 •  vCenter Update Manager 4.1, 5.0 & 5.1 •  vCenter Chargeback 2.0 •  vCenter Configuration Manager 5.5 •  vCenter Operations Manager Package •  vCenter Orchestrator Multinode 5.0 & 5.1 •  vSphere Auto Deploy •  VMware Service Manager 9.1 •  VMware Service Elasticity •  AMQP / RabbitMQ •  Email (POP3 and SMTP) •  HTTP-REST •  JDBC •  SOAP •  SNMP v1, v2c and v3 •  SQL •  SSH •  Telnet •  XML Standard Protocols •  Bluecat Networks •  BMC Atrium CMDB & Remedy •  Cisco UCS Manager 1.3 •  EMC Unified Infrastructure Manager •  EMC ViPR •  Egenera PAN Manager •  F5 Networks •  Infoblox NIOS •  Microsoft Active Directory •  Microsoft Windows PowerShell •  NetApp WFA •  Radware vDirect •  ServiceNow •  Up.time Software Partner Applications •  Cisco UCS Manager 2.x (beta available) •  Hitachi Unified Compute Platform •  HP ServiceManager •  VMware vCNS and NSX •  VMware Site Recovery Manager •  And more to come… Under development !!! VMware Applications Thousands of out of the box workflows & actions
  • 20. PowerCLI - QUICK FACTS §  Automation Technology •  Scripting §  Target User •  vSphere Administrator •  Automation Specialist §  Particularly good for… •  Quick Administrative tasks •  Fire and fix •  Reporting •  Prototyping
  • 21. PowerCLI - Overview §  PowerCLI Overview •  Integrated into Windows PowerShell •  Designed towards system administrators not developers •  Installed by default from Windows 2008/2012 Windows 7 •  (XP/2003 requires download) •  Extending the existing PowerShell knowledge of Windows Admin •  Easily integrated with other Microsoft, VMware and 3rd Party Snapins •  PowerCLI is a free product containing over 410+ cmdlets (PowerShell Commands) •  Manage every public aspect of: •  VMware vSphere •  VMware vCenter Server •  VMware vCloud Director (PowerCLI 5.0.1 onwards) •  VMware View •  VMware Update Manager •  vSphere Site Recovery Manager (New in 5.5 R2) PowerCLI is backward compatible all the way to ESX 4.1 U3 / Virtual Center 4.1 U3
  • 22. PowerCLI Command sets (Snap-in’s) §  Core • Managing vSphere and SRM §  Image Builder • Working with Image Profiles §  Auto Deploy • Deploying ESXi via PXE §  License • Working with vSphere Licensing §  Cloud • vCloud Director Providers §  Tenant • vCloud Director Tenants §  VDS • vSphere Distributed Switches Image BuilderAuto Deploy License vCloud Director vCloud Tenant vSphere Distributed Switch Site Recovery Manager vSphere Core
  • 23. Where does PowerCLI fit in ? vSphere Client / Web Client PowerCLI Virtual Center APIs
  • 24. PowerCLI - Overview §  PowerCLI Cmdlet syntax •  All cmdlets use a Verb-Noun syntax, examples are: Get-VM (Lists all VMs) Get-Datastore (Lists all Datastores) New-VM (Creates new VMs) Start-VM (Powers on VMs) New-VMHost (Adds Hosts) Stop-VM (Powers off a VMs) Set-Snapshot (alters snapshot information) Remove-VMHost (Removes Hosts) New-Datatsore (Creates new Datastores) Remove-Cluster (Removes Clusters) §  Built-in cmdlet help and examples •  Available from the PowerCLI prompt via Get-Help and online •  Examples of common tasks by using Get-Help cmdletname –Examples §  “Piping” •  Allows the output of one cmdlet to be used by another •  Powerful one-line code solutions Get-­‐Cluster  Cluster1  |  Get-­‐VM  
  • 25. Where do I start ? Learning PowerCLI is very easy ! •  Get-Help •  Get-Command
  • 26. Where do I start ? Learning PowerCLI is very easy ! •  Examples
  • 27. Integration •  One script can work with many products •  PowerShell Snapins •  Compute/Storage/Networking/Applications •  PowerShell Modules •  Compute/Storage/Networking/Applications •  COM Connections •  REST API •  Internet Explorer •  Database connections
  • 29. PowerCLI - Reporting Export a list of all VMs to a csv file Get-­‐VM  |  Export-­‐CSV  –File  C:ExportsAllVMs.csv   Export all hosts in ClusterA details to a html file Get-­‐Cluster  ClusterA  |  Get-­‐VMHost  |  ConvertTo-­‐Html  |  Out-­‐File  C: ExportsHostsinClusterA.html   Export Datastore Information to Excel Spreadsheet (requires extra function)   •  “Get-” cmdlets retrieve data •  Safe place to start with PowerCLI as your only retrieving data •  Use built in PowerShell cmdlets to export the data Get-­‐Datastore  |  Export-­‐Xls  Datastores.xls  …  
  • 30. PowerCLI - Reporting - 2.00 4.00 6.00 8.00 10.00 12.00 14.00 CpuLimitGhz CpuUsedGhz 0 20000 40000 60000 80000 100000 120000 140000 MemoryLimitMB MemoryUsedMB 0 50000 100000 150000 200000 250000 300000 350000 StorageLimitMB StorageUsedMB •  Monitor Organization vDCs in a specific Provider vDC for opportunities to upgrade them to higher service level Get-­‐OrgvDC  -­‐ProviderVdcName  "Development"`     |  Select  Name,  CpuLimitGhz,  CpuUsedGhz,  MemoryLimitMB,   MemoryUsedMB,  StorageLimitMB,  StorageUsedMB   |  Export-­‐Xls  Development_Threshold.xls  …  
  • 31. Demo How to draw out your complete environment…
  • 33. PowerCLI - Provisioning Create a new VM from template and apply a customization specification New-­‐VM  -­‐Name  VM2  -­‐Template  “Windows2008”  -­‐VMHost  ESX01  -­‐ OSCustomizationSpec  “Spec1”   §  Easily provision new VMs/Hosts/Datastores/Clusters/Datacenters/Clouds Create 100,1000 or 1000000 new VMs from template and put on a random host 1..100  |  Foreach  {  New-­‐VM  -­‐Name  VM$_  -­‐Template  “Windows2008”  –VMHost   (Get-­‐VMHost  |  Get-­‐Random)  -­‐OSCustomizationSpec  “Spec1”  }   Add a new Cluster New-­‐Cluster  -­‐Location  (Get-­‐Datacenter  DC01)  -­‐Name  Cluster01  -­‐DRSEnabled   -­‐DRSMode  FullyAutomated  –HAEnabled  –HAFailoverLevel  1   Create a snapshot on all VMs in a Cluster before patching Get-­‐Cluster  Cluster01  |  Get-­‐VM  |  New-­‐Snapshot  –Name  “Before  Patching.”   -­‐Description  “Created  on  $date  before  patching  the  VM”  
  • 34. PowerCLI – In Guest Operations
  • 35. PowerCLI – In Guest operations §  Use VMware VIX (part of VMTools) to perform in guest operations List the directory entries inside the guest OS Invoke-­‐VMScript  -­‐VM  VM  -­‐ScriptText  "dir“  -­‐GuestUser  administrator             -­‐GuestPassword  pass2   Copy files from the local machine into the guest file system Get-­‐Item  "c:FolderToCopy*.*"  |  Copy-­‐VMGuestFile  -­‐Destination   "c:MyFolder"  -­‐VM  $vm  -­‐LocalToGuest  -­‐GuestUser  administrator     -­‐GuestPassword  pass2   Backup a file on a linux guest Invoke-­‐VMScript  -­‐VM  VM1  -­‐ScriptText  "mv  /common/configs/file.conf  / common/configs/file.conf.bak"  -­‐ScriptType  Bash  -­‐GuestUser  GuestUser      -­‐ GuestPassword  GuestPass   • Retrieve data from the guest operating system • Run scripts inside the guest operating system • Works with both Windows and Linux  
  • 36. PowerCLI – What's New in 5.5 R2?
  • 37. PowerCLI 5.5 R2 – What’s New • Manage vCenter Site Recovery Manager • Create and remove tags and tag categories • Retrieve information and configure Enhanced vMotion Compatibility (EVC) mode on clusters. • Manage security policies for vSphere standard switches and port groups. • Support for Windows PowerShell 4.0. • Support for vSphere servers configured with IPv6. • Specify the priority of a VM migration • Provide a Hard Disk object to the RelatedObject of Get-Datastore • Get-Datastore cmdlet to allow filtering by cluster. • Get-Stat and Get-StatType now works with all types • Added support for e1000e network adapter type. • Specify all values for DiskStorageFormat when cloning a virtual machine • 64-Bit Support for New-OSCustomizationSpec and Set-OSCustomizationSpec • ToolsVersion property to VMGuest that shows the version as a string. • Provide a virtual portgroup to the RelatedObject of the Get-VirtualSwitch and Get-DVSwitch • Retrieve virtual machines by virtual switches. • Other bug fixes and general performance enhancements have been made to various PowerCLI cmdlets.
  • 39. PowerCLI – Advanced Scripts §  Advanced scripts have been created by the PowerCLI community and are free to download… vCheck – A script to make you aware of any issues in your infrastructure  
  • 40. PowerCLI – Advanced Scripts §  Advanced scripts have been created by the PowerCLI community and are free to download… Name that hardware – A script for detailed hardware information (lucd.info)
  • 41. Type of Cmdlets CONFIDENTIAL 41 Low Level High Level $spec  =  new-­‐object  VMware.Vim.VirtualMachineConfigSpec   $spec.MemoryAllocation  =  New-­‐Object  VMware.Vim.ResourceAllocationInfo   $spec.MemoryAllocation.Limit  =  -­‐1   $vm  =  get-­‐view  -­‐ViewType  VirtualMachine  -­‐Filter  @{"Name"="VM001"}   $vm.ReconfigVM_Task($spec) Get-­‐VM  VM001  |  Get-­‐VMResourceConfiguration  |  Set-­‐VMResourceConfiguration  -­‐ MemLimitMB  $null
  • 42. How the SRM Cmdlets relate to the API Connect-­‐SRMServer   -> Connects to the SRM Server attached to vCenter and creates $Global:defaultSRMServers $defaultSRMServers   -> Stores an array of connected SRM Servers which we can use for our scripts
  • 43. How the SRM Cmdlets relate to the API $defaultSRMServers[0].extensiondata   -> SRM API LoginLocale() LoginSites() LogoutLocale() Method = Turn Right Property = Red Authentication RetrieveContent() ServiceInstance Protection Recovery . . ListProtectionGroups() ListInventoryMappings() ListReplicatedDatastores() MoRef ListPlans() GetHistory() MoRef Check out the Site Recovery Manager API Developers Guide https://www.vmware.com/support/developer/srm-api/srm_50_api.pdf ..more ..more ..more ..more
  • 44. Site Recovery Manager – Example Connect-SrmServer $SRMAPI = $DefaultSRMServers[0].Extensiondata $protectionGroups = $srmApi.Protection.ListProtectionGroups() $protectionGroups | Foreach { $protectionGroup = $_ $protectionGroupInfo = $protectionGroup.GetInfo() $protectedVms = $protectionGroup.ListProtectedVms() $protectedVms | Foreach { $_.Vm.UpdateViewData() } $protectedVms | Foreach { $output = "" | select VmName, PgName $output.VmName = $_.Vm.Name $output.PgName = $protectionGroupInfo.Name $output } } | Format-Table @{L="VM Name"; E={$_.VmName} }, @{L="Protection group name"; E={$_.PgName} }
  • 45. PowerCLI – Launching Scripts •  PowerShell console •  Script Editors •  PowerShell Plus (Free) •  PowerGUI (Free) •  PowerSE (Free) •  PowerShell ISE (Free) •  Scheduled tasks •  VMware vCO PowerShell Plugin •  vCenter Alarms
  • 46. Demo Launch your scripts from vCenter…
  • 47. PowerCLI Summary §  Additional Resources •  PowerCLI Blog - http://blogs.vmware.com/PowerCLI/ •  PowerCLI Download - http://vmware.com/go/PowerCLI •  PowerCLI Documentation, Cmdlet Reference, Release Notes and more - http://vmware.com/support/developer/PowerCLI/ •  PowerCLI Community - http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli?view=discussions •  vSphere Automation Blog - http://blogs.vmware.com/vsphere/automation/ •  Luc Dekens Blog – http://Lucd.info •  My Blog – http://virtu-al.net •  Google ”PowerCLI”
  • 49. Thank You Alan Renouf – Product Manager, VMware Email Me - renoufa@vmware.com VMware Blog: http://blogs.vmware.com/PowerCLI/ Personal Blog: http://virtu-al.net/ Twitter: @alanrenouf