Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf ·...

35
Managing VMware ESXi in the Datacenter Anand Shrivastava Product Marketing Manager, VI October 6, 2008

Transcript of Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf ·...

Page 1: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Managing VMware ESXiin the Datacenter

Anand ShrivastavaProduct Marketing Manager, VIOctober 6, 2008

Page 2: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Disclaimer

This session may contain product features that are currently under development.

This session/overview of the new technology represents no commitment from VMware to deliver these features in any generally available product.

Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind.

Technical feasibility and market demand will affect final delivery.

Pricing and packaging for any new technologies or features discussed or presented have not been determined.

“These features are representative of feature areas under development. Feature commitments are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind. Technical feasibility and market demand will affect final delivery.”

Page 3: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Agenda

VMware ESXi OverviewESXi Getting StartedCase Studies

Page 4: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

VMware ESXi Overview

Page 5: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

What is It ?

VMware ESXi Overview

VMware ESXi

Virtual Machines

Next generation of VMware’s market-leading ESX hypervisor

What does it do?Partitions a server into virtual machinesReduces hardware, power, and cooling with the performance and features of ESX

Who can use it & How do you use it?

What is unique?Plug-and-PlayMinimal configuration. Run VMs in minutes

OS-Independent, thin architectureUnparalleled security and reliability

Full-featuredSuperior consolidation and scalabilityEasy to mange with remote toolsSimple license upgrade to VI3 Enterprise

Page 6: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Vision: Building Block for the Next-generation Datacenter

Plug-and-Play: Power on a new server with ESXi. The new server joins a clusterSelf-optimizing: All VMs in the cluster are automatically rebalanced taking in consideration the newly available resources

Page 7: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Servers Shipping with Embedded ESXiDL360 G5 DL365 G5 DL380 G5 DL385 G2

DL385 G5 DL580 G5 DL585 G2 DL585 G5

BL460c

BL465c

BL465c G5

BL480cBL680c G5

BL685c

BL685c G5

1950 III R905R900R8052950 III2900 III M605M600

HS21x3850 RX 300 S4 RX 330 S1

RS210 RS220 120Bb-m6 120Rj-2

ML370 G5

Page 8: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Servers Qualified for ESXi Installable

HS21x3850 LS21LS41x3455 BX620 S4

90+ Intel ESAA Platforms Variations

Select partners include

Known to work with

� If ESXi is readable by a given server’s CD ROM and installs on the attached hard disk, ESXi (hypervisor) will function on that server

� CIM Provider functionality has not been tested on servers not listed on the ESXiInstallable HCL

DL360 G5 DL365 G5 DL380 G5 DL385 G2

DL385 G5 DL580 G5 DL585 G2 DL585 G5

BL460c

BL465c

BL465c G5

BL480cBL680c G5

BL685c

BL685c G5

ML370 G5

1950 III 2900 III 2950 III R805 R900 R905 M600 M605

Page 9: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

ESXi, ESX Licensing Levels����

�������������� �����

����

VI Foundation(ESX or ESXi)

VI Standard�������������

VI Enterprise�������������

Core hypervisor functionality � � � �

Virtual SMP � � � �

VMFS � � � �

VirtualCenter Agent � � �

Update Manager � � �

Consolidated Backup � � �

High Availability � �

VMotion �

Storage VMotion �

DRS �

DPM �

The hypervisor is to Virtual Infrastructure what the engine is to a car, or the BIOS to a PC – an enabling component but not the whole solution.

Page 10: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

VMware ESXi Getting Started

Page 11: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Hardware NeededServer

CPUMinimum: Single socket, dual coreIdeal: Dual-socket, 4 cores per CPU

Memory:Minimum: 1GBIdeal: 8+GB

NetworkMinimum: one NIC, plus one for Management interfaceIdeal: One for Management Interface plus multiple NICs for VMs

StorageLocal Storage (SATA/SAS):

Minimum: one 80GB driveIdeal:2 mirrored drives (only for ESXi Installable)plus 4 RAID5 drives for VMs

Shared StorageNFS, iSCSI, Fibre Channel: for VM storageESXi Installable requires local disk for the hypervisor

Storage

Network

Memory

CPU

Page 12: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Installing ESXi

VMware ESXi Embedded

Installed via SD flash or USB key internal to the server

Distributed with a new server

No Installation -- Just Turn It On!

VMware ESXi Installable

Load Installer via CD or ISO image

Simple 2-step procedure:1. Accept EULA

2. Select local drive for installation

Page 13: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Start Running VMs in Minutes

1. Power on server and boot into hypervisor

2. Server Console Remote Access is supported with ESXi

HP iLODell DRACIBM RAS

3. Configure Admin Password4. (optional) Modify network

configuration5. Connect VI Client

to IP AddressOr manage with VirtualCenter

3i

����

����

����

����

Page 14: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Importing a virtual appliance

Page 15: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Creating Virtual Machines

Import a Virtual ApplianceHundreds to choose from on the Virtual Appliance MarketplaceDownload directly via VI Client and deploy on host

Use VMware ConverterTransfer existing physical servers into virtual machinesImport existing VMware and 3rd party virtual images

Create from ScratchSpecify CPUs (1-4), Memory (1-64 GB), Disks, Network interfacesLoad OS from ISO image (over 80 supported OSes)

Page 16: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Interacting with Virtual Machines

Virtual Machine Console

Just like the console screen or BIOS of a physical server

Or just use standard remote access, e.g. RDP, ssh, etc.

Page 17: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Architecture of Management Interfaces

RCLI, Toolkits, and SDK use same API as VI Client and VirtualCenter

Same authentication (e.g. Active Directory), roles and privileges, event logging

VI API is secure, optimized for remote environments, firewall-friendly, standards-based

VI API

VI SDK

VI Perl Toolkit Other language bindings

Remote CLI

Other utility scripts

VI Client

Page 18: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Manage Your ESXi Host: VI Client

Page 19: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Common Information Model (CIM)

Key featuresAgent-less, standards based monitoring of hardware resources

Used by VirtualCenter to provide basic hardware status information

CIM providers readable by 3rd party management tools

Page 20: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Manage Individual VMs

Control capabilities

Power on/off

Suspend

Captures state of VM to disk

Can resume back to same state

Snapshot

Makes point-in-time copy of virtual disk(s)

Can have multiple snapshots in a tree

Page 21: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Monitor Individual VMs

Page 22: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Backing up Virtual Machines

Option 1: traditional backup toolsBack up a VM like you would a physical server

Option 2: back up VM as a set of filesCan view and download VM files via VI Client through Datastore Browser (can also do via RCLI), OR

Can download VM files directly from shared storage device

1. Take snapshot of VM

2. Download copies of VM files

3. Remove snapshot

Page 23: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

More Sophisticated Features

Resource PoolsAllows you to divide resources of host in fine-grained way

Create multiple-nested resource pools according to policies, e.g.

By Application

By Department

Page 24: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

More Sophisticated Features

Virtual NetworkingCreate multiple vSwitches and assign one or more NICs to each

Create vSwitches without NICs for internal-only traffic

Make use of VLAN tagging (if your physical network supports it)

Page 25: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Case Studies: VMware ESXi in Large Financial, Large Oil

Page 26: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Case Studies: ESXi Operational DeploymentLarge US Financial Large US Oil

Server Vendor � HP � HP

Why ESXi? (prioritized list)

� No installation; “server is now an appliance”

� Easier patching

� More secure—COS considered an OS by Bank’s security team

� More secure

� No installation required

� Easier patching

� Easier to deploy at remote sites

Deployment Process

� Purchase licensed server for HP

� Apply latest patches with VMware Update Manager

� Add to computation cluster via Virtual Center

� No local disks; all storage on SAN

� Purchase stand-alone, unlicensed ESXi USB keys from HP

� Configure key at central site� Apply latest patch

� Provide IP address

� Set root password

� Install USB key in HP server and ship to installation location

� May use local storage or SAN

Management Practice

� No reliance on HP SIM

� No reliance on third-party agents

� Has developed in-house PERL script that interacts withHP HW directly through iLO

� Script queries HP IML logs

� Reports any item that is not listed at “Informational”or “Repaired”

� Emails report to system administrators

� Relies on HP SIM hooks integrated into ESXi

� Satisfied with ESXi SIM integration

Page 27: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

HP Systems Insight Manager—Working Together with ESXi and VirtualCenter

Page 28: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

HP-SIM—Quickly Diagnose System Issues

Page 29: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Q&A

Anand ShrivastavaProduct Marketing Manager, VIOctober 6, 2008

Page 30: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

ESX, ESXi 3.5 Comparison

� See KB 1006543

Capability VMware ESX VMware ESXi

ServiceConsole

Privileged (unsecure), flexible Linux environment

None. VI Client, RCLI, and APIs for management

Remote CLI Service Console CLISupport for RCLI in ESX 3.5 U2

At this time, the following Service Console CLI commands have not been implemented in RCLI:•ESXcfg-claimrule•ESXcfg-info•ESXcfg-resgrp•ESXcfg-swiscsi

Scriptable Installation

KickStart support Not supported at this time. Support for post installation configuration script using RCLI-based configuration scripts.

Serial Cable Connectivity

Enabled No support at this time

SNMP VMware ESX supports SNMP With VI only

Active Directory Integration

Third-party module in Service Console

Not supported at this time

HW Inst. HW agents in Service Console Monitoring through CIM Providers

Software Patches &Updates

Linux-like patching FW-like upgrades

VI Web Access Supported Not Supported

Page 31: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

What’s Happening to COS?

ESX traditionally included a Service Console (COS)ESX (3.5) continues this tradition

ESXi is a nimble COS-less hypervisorEase of maintainability => there are fewer patches

Performance and scalability is improved => fewer agents are competing for core ESX resources

Greater availability and robustness

Next major ESX release—two versions for the last timeEmbedded ESX continues to be without a COS

ESX will include a significantly stripped-down COS

Subsequent releases—ESXi only

Page 32: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Remote CLI Overview

A set of tools which enable execution of VI management tasks from a remote CLI environment

Commands are run from a remote system

They get executed on an ESX Server

The output is piped back in-line

A replacement for COS-based CLI and scripts

A better way to do CLI-based ESX Server management

User is authenticated

Fine-grained permissions

Auditing of tasks

Page 33: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

Remote Command Line Interface (CLI)

Key featuresSupported in both Windows and Linux

Replaces the scripting execution environment of the Service Console

Uses the same commands and same syntax

Functions to includeHost Configuration (esxcfg-advcfg)

Storage Configuration (esxcfg-nas, esxcfg-swiscsi, esxcfg-mpath, vmkfstools)

Network Configuration (esxcfg-vswitch, esxcfg-vnic)

Maintenance and patch (esxcfg-dumpart)

Backup (VCBMounter, fast copy)

Monitoring (esxtop, vmkuptime under discussion)

Page 34: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

VI Toolkits

VI Perl ToolkitProvides a Perl wrapper around the VMware Infrastructure APIs (VI APIs).Enables automation of a wide variety of administrative, provisioning, and monitoring tasksDownload from http://vmware.com/support/developer/viperltoolkit/

Also comes with RCLI

�����������

Utility Applications and Samples

Virtual Infrastructure API

Runtime Layerinterfaces with the VI API WSDL

maps VMware entities into native objectsprovides a simple API to retrieve objects

Abstraction Layer

VI API

� � � � � � � �

End-user Scripts

Page 35: Managing ESXi Anand - VMwaredownload3.vmware.com › ... › Track_5 › Managing_ESXi_Anand.pdf · 2008-10-27 · Can resume back to same state Snapshot Makes point-in-time copy

VI Toolkits

Snapshot all powered-on VMs in 3 lines

connectget-vm | where {$_.powerstate eq “poweredOn”} | new-snapshotdisconnect

Download beta of VI Toolkit for Windows

http://www.vmware.com/beta/vitk_win/