managing vmware with power cli

56
© 2011 VMware Inc. All rights reserved Managing VMware with PowerCLI North UK VMUG Alan Renouf

Upload: subtitle

Post on 11-Apr-2017

1.540 views

Category:

Technology


2 download

TRANSCRIPT

© 2011 VMware Inc. All rights reserved

Managing VMware with PowerCLI

North UK VMUG Alan Renouf

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Introduction

Why PowerCLI

New with PowerCLI 5.0

Deploying ESXi

• Image Builder

• Auto Deploy

No more Service Console

• Where will you go ?

• vCLI / ESXCLI -> PowerCLI

Configuration ESXi with PowerCLI

Reporting of ESXi & vCenter

What you can not do with PowerCLI (Yet)

Conclusion

Alan Renouf

• VMware Technical Marketing

• From South UK (Passport checked at M4)

• vExpert 2009 / 2010 / 2011

• Blog http://www.virtu-al.net/

• Podcast http://get-scripting.blogspot.com/

• Author of vSphere 4.0 Quick Start Guide

• Author of VMware vSphere PowerCLI Ref

WHO AM I ?

Ask a question – I have free stuff

to give away !

SWAG !

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Why PowerCLI ?

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Why PowerCLI ?

• PowerCLI is for all your vSphere administration tasks

• PowerCLI is extended with each release

• PowerCLI is build on the vSphere APIs

• Easy to call other public APIs

• PowerShell is the ‘lingua franca’ for Windows

datacenters

• Active Community: PowerShell and PowerCLI

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Why PowerCLI ?

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Why PowerCLI ?

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

VMware vSphereТМ PowerCLI

PowerCLI will save you a ton of time.

PowerCLI is the easiest way to automate.

PowerCLI will help you identify problems

before they become crises.

PowerCLI can automate anything you care

about in your virtual environment.

PowerCLI lets you make large scale changes

in a consistent and auditable way.

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Where does PowerCLI fit in ?

10 Confidential

vSphere Client PowerCLI

Virtual Center (vCenter)

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Microsoft® PowerShell™ - Overview

Microsoft PowerShell is the foundation of PowerCLI

The best shell today for Windows Environments

•Easy to learn and understand •Built for system administrators, not for programmers

•Object Orientated •Extended to the entire Datacenter

Microsoft is serious about it

•So are VMware PowerCLI

Update Manager

View

More……

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Microsoft PowerShell – A Taste Of

Get-VM

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Microsoft PowerShell – A Taste Of

Get-VM -Name "Web*"

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Microsoft PowerShell – A Taste Of

$ds = Get-Datastore -Name "San01"

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Microsoft PowerShell – A Taste Of

Get-VM -Datastore $ds | Start-VM

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Where do I start ?

Learning PowerCLI is very easy !

• Get-Command

• Get-VICommand

• Get-Help

Common use cases

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Common use cases

Reporting •Reviewing my VMs •Basic Capacity Information •vCheck

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Reviewing My VMs

# Retrieve current inventory of VMs with a particular

properties that are of interest

Get-VM | Select-Object Name, NumCPU, MemoryMB, PowerState,

Host

| Export-CSV Simple_Inventory.csv -NoTypeInformation

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Basic Capacity Information

# Total number of hosts

$TotalVMHosts = (Get-VMHost).Count

Write-Host "There are $TotalVMHosts Hosts in

$DefaultVIServer“

# Total number of guests

$TotalVMs = (Get-VM).Count

Write-Host "There are $TotalVMs Virtual Machines in

$DefaultVIServer"

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

vCheck

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Common use cases

Useful one-liners/short scripts

•Deploying Virtual Machines from a Template •Storage vMotion

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Deploying Virtual Machines from a Template

$vms = Import-CSV C:\NewVMs.csv

foreach ($vm in $vms){

$Template = Get-Template $vm.Template

$VMHost = Get-VMHost $vm.Host

$Datastore = Get-Datastore $vm.Datastore

$OSCustomization = Get-OSCustomizationSpec $vm.Customization

New-VM -Name $vm.Name -Template $Template -VMHost

$VMHost -Datastore $Datastore -OSCustomizationSpec

$OSCustomization -RunAsync

}

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Storage vMotion

$vms = Import-CSV C:\StorageVMotion.csv

foreach ($vm in $vms){

Get-VM $vm.Name | Move-VM -Datastore $vm.TargetDatastore

}

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Snapshot Reporting

PowerCLI Script for Snapshot Reporting by computingbee

• http://blog.axiomdynamics.com/

SnapReminder by Alan Renouf

• http://www.virtu-al.net/

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Datastore Reporting

Datastore Size Reporting via PowerCLI Script by James Bowling

• http://vsential.com/

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

PowerCLI and Statistics

PowerCLI & vSphere statistics – Part 1 – The basics

PowerCLI & vSphere statistics – Part 2 – Come together

PowerCLI & vSphere statistics – Part 3 – Instances

PowerCLI & vSphere statistics – Part 4 – Grouping

PowerCLI & vSphere statistics – Part 5 – Rollup Types by Luc Dekens

• http://www.lucd.info/

PowerCLI: Stats One-liner by Alan Renouf • http://www.virtu-al.net/

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Who CRUD That VM?

Who Created That VM? by Alan Renouf

http://www.virtu-al.net/

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Who CRUD That VM?

Who Deleted That VM? by the PowerCLI community

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Who CRUD That VM?

How many VMs you are creating a month?

• By Carter Shanklin and the PowerCLI community

http://blogs.vmware.com/viPowerShell

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Reporting the Cloud

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Reporting Your vCloud Infrastructure

# Retrieve current inventory of vApps from the Cloud

owned by a specific user with particular properties that

are of interest

Get-CloudVApp -Owner "John Doe"`

| Select Owner, Organization, Name, CpuAllocationMhz,` MemoryAllocationMB, SizeMB`

| Export-CSV John_Doe_Inventory.csv -NoTypeInformation

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Reporting Your vCloud Infrastructure

# Monitor Organization vDCs in a specific Provider vDC

for opportunities to upgrade them to higher service level

Get-CloudOrganizationVdc -ProviderVdcName "Development"`

| Select Name, CpuLimitGhz, CpuUsedGhz, MemoryLimitMB,` MemoryUsedMB, StorageLimitMB, StorageUsedMB

| Export-Xls Development_Threshold.xls

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Reporting Your vCloud Infrastructure

# Monitor Organization vDCs in a specific Provider vDC

for opportunities to upgrade them to higher service level

Get-CloudOrganizationVdc -ProviderVdcName "Development"`

| Select Name, CpuLimitGhz, CpuUsedGhz, MemoryLimitMB,` MemoryUsedMB, StorageLimitMB, StorageUsedMB`

| Export-Xls Development_Threshold.xls …

| Where {

$CpuRemaining = 100-($_.CpuUsageGhz*100/$_.CpuLimitGhz);

$MemoryRemaining = …;

$StorageRemaining = …;

return ( ($CpuRemaining -le 10) or … )

} `

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Reporting Your vCloud Infrastructure

# Monitor Organization vDCs in a specific Provider vDC

for opportunities to upgrade them to higher service level

Get-CloudOrganizationVdc -ProviderVdcName "Development"`

| Select Name, CpuLimitGhz, CpuUsedGhz, MemoryLimitMB, MemoryUsedMB, StorageLimitMB, StorageUsedMB`

| Export-Xls Development_Threshold.xls …

| Where {

$CpuRemaining = 100-($_.CpuUsageGhz*100/$_.CpuLimitGhz);

$MemoryRemaining = …;

$StorageRemaining = …;

return ( ($CpuRemaining -le 10) or … )

} `

36 Confidential

Reporting Your vCloud Infrastructure

# Monitor Organization vDCs in a specific Provider vDC

for opportunities to upgrade them to higher service level

Get-CloudOrganizationVdc -ProviderVdcName "Development"`

| Select Name, CpuLimitGhz, CpuUsedGhz, MemoryLimitMB, MemoryUsedMB, StorageLimitMB, StorageUsedMB

| Export-Xls Development_Threshold.xls …

- 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

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Reporting Your vCloud Infrastructure

Get-CloudCatalog

Get-CloudExternalNetwork

Get-CloudMedia

Get-CloudNetworkPool

Get-CloudOrganization

Get-CloudOrganizationNetwork

Get-CloudOrganizationVDC

Get-CloudProviderVDC

Get-CloudUserGroup

Get-CloudUserRole

Get-CloudUser

Get-CloudVApp

Get-CloudVAppTemplate

Get-CloudVM

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

More for Your vCloud Infrastructure

Connect-Cloud

Disconnect-Cloud

Search-Cloud

Get-CloudView

Get-ViewByCloudView

Import-CloudVApp

Import-CloudVAppTemplate

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

VMware PowerCLI

Reporting with PowerCLI is facile

Reporting with PowerCLI is fast

Reporting with PowerCLI is fun

PowerCLI is the ultimate tool for reporting of the entire virtual stack

Ready to give it a shot?

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

New with PowerCLI 5.0

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

New with PowerCLI 5.0

Installed with PowerCLI

• Core vSphere PowerCLI Snap-in

•Manage your vSphere Infrastructure

• License Snap-in

•Manage your Licenses (vRAM ?)

• Image Builder Snap-in

•Manage your ESXi ISO and Software Depots

• Auto Deploy Snap-in

•Deploy your Software Depot via PXE

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Deploying ESXi

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Deploying ESXi

Current Methods

• CD ROM

• USB Key / SD Card

• Internal Disk

• Boot from SAN

New to V5.0

• Diskless

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Managing Customized ESXi Images

Image Builder CLI: a set of command line utilities for…

• Creating and managing image profiles

• Building ESXi customized boot images, e.g.

Installable ISO

Bundle suitable for PXE installation or Flash

• Initial version is based on PowerCLI

Snap-in component bundled as part of VMware’s PowerCLI tools

Depot

• A repository containing

Image profiles

VIBs

• Can have multiple depots, with two types

On a web server

Encapsulated in a .ZIP file

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Start PowerCLI session

Windows Host with PowerCLI

and Image Builder Snap-in

Building an Image

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Activate Image Builder Snap-in

Windows Host with PowerCLI

and Image Builder Snap-in

Image

Builder

Building an Image

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

OEM VIBs

ESXi

VIBs

Depots

Connect to depot(s)

Windows Host with PowerCLI

and Image Builder Snap-in

Image

Builder

Image

Profile

Driver

VIBs

Building an Image

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Depots

OEM VIBs

ESXi

VIBs

Clone and modify

existing Image Profile

Windows Host with PowerCLI

and Image Builder Snap-in

Image

Profile

Driver

VIBs

Image

Builder

Building an Image

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

ISO Image

Depots

OEM VIBs

ESXi

VIBs

Generate new image

Windows Host with PowerCLI

and Image Builder Snap-in

Driver

VIBs

PXE-bootable

Image

Image

Builder

Image

Profile

Building an Image

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

How do we deploy our image ?

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

New host deployment method introduced in vSphere 5.0

• Based on PXE Boot

• Works with Image Builder, vCenter Server, and Host Profiles

• How it works:

• PXE boot the server

• ESXi image profile loaded into host memory via Auto Deploy Server

• Configuration applied using Answer File / Host Profile

• Host placed/connected in vCenter

• Benefits

• No boot disk

• Quickly and easily deploy large numbers of ESXi hosts

• Share a standard ESXi image across many hosts

• Host image decoupled from the physical server

• Recover host w/out recovering hardware or having to restore from backup

• Update of Image is just a reboot

What Is Auto Deploy

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

No Boot Disk? Where does it go?

Boot Disk

Image Profile

Host Profile

vCenter Server

Add-on Components

Platform Composition: ESXi base,

drivers, CIM providers, …

Configuration: networking, storage,

date/time, firewall, admin password, …

Running State: VM Inventory,

HA state, License, DPM configuration

Event Recording: log files, core dump

What Is Auto Deploy

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Auto Deploy cmdlets

53 Confidential

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Auto Deploy Demo

Copyright © 2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.

VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

PowerCLI for Update Manager

55 Confidential

VMware PowerCLI Be your organisations

Super Hero