Download - Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Transcript
Page 1: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

David J Young

Page 2: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

AgendaVirtualizationvSphereESXivSphere ClientvCenterStorageImplementationBenefitsLessons LearnedDemo?

Page 3: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Virtualization

Page 4: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Hosted vs Native

Page 5: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Hypervisor

Page 6: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere

Page 7: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Evolution of vSphere

Page 8: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere Essentials for SMB

Page 9: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere for Enterprises

Page 10: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere Architecture

Page 11: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

ESXi Host

Hypervisor running VMsOrganized into ClustersAccesses shared storage datastores

Page 12: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

ESXi Console

Page 13: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

ESXi Licensing

ESXi -> VMware vSphere Hypervisor ESXi / VMware vSphere Hypervisor is freeMust be registered to remove nagmsgCan be seamlessly upgraded to take advantage of advanced vSphere features

Page 14: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

3rd Generation Hypervisor

Page 15: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vCenter Server

Centralized manager of ESX/ESXi hosts Runs as Windows services on physical or virtual server Connects with:

vCenter database (SQL Server or Oracle) Windows Active Directory (required for Linked Mode)

Integrates with optional server/client plug-ins

Page 16: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vCenter Licensing

Page 17: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere ClientPrimary interface for administration Runs locally on a Windows machine Connects to vCenter Server or directly to an ESX/ESXi host

Page 18: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere Client

Page 19: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere Client Home Menu

Page 20: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Inventory: Hosts & Clusters

Page 21: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Inventory: VMs & Templates

Page 22: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Inventory: Datastores

Page 23: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Inventory: Networking

Page 24: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere Web Client

Page 25: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Virtual motherboard of a VM

Page 26: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere FeaturesHot Add Virtual Devices

Hot add CPU Memory

Hot add or remove Storage devices Network devices

Page 27: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Virtual hard disk options

Page 28: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

VM Snapshot

Page 29: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSphere Templates

Page 30: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

VM Cloning

Page 31: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Virtual Networking

Page 32: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Network Terminology

vmnic: physical NIC in host computervswitch: virtual switchvnic: virtual NIC in the virtual machinevmhba: virtual host bus adaptor for SANvirtual machine port group: a unique concept in a virtual environment. Roughly a port on a virtual switch, but multiple vnics can connect to the same port groupvmknic: virtual NIC in the VMkernel. Used by vMotion, NFS & iSCSI

Page 33: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vSwitch: Virtual Switch

Page 34: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Distributed Switch

Aggregated datacenter-level virtual networking (vs. per-host) Simplified management Network statistics follow VMs

Page 35: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vDS: Virtual Distributed Switch

Page 36: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Centralized Network Management

Page 37: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Datastores

VMFSNFSDAS

Page 38: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

VMFS Datastore

Shared VM file system Block-level access by ESX/ESXi Supported devices

Local disk (not shared storage) Fibre Channel SAN iSCSI SAN

HBA ESX/ESXi software initiator via VMkernel network port Formats

.vmdk RDM (raw device mapping) to underlying LUN

Page 39: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

NFS Datastore

Shared directory on NFS server File-level access by ESX/ESXi Limitations

No RDM

Page 40: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vMotion

Common StorageNetworking

Page 41: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vMotion

Page 42: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

vMotion

Page 43: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Storage vMotion

Relocate running VM from one datastore to another datastore with zero downtime Relocate across different storage types Change VM disk format (thick or thin)

Page 44: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Implementation

3 Dell R610 Servers2 x Quad Core 2.4GHz Xenon CPUs16GB RAM4 Gigabit NICs2 x 160GB SAS Drives

1 Force10 S50V 48 port POE GigE layer 2/3 switch1 NetApp FAS2040

Dual active-active controllers16 x 600GB SAS drives (4.8TB)16 x 1TB SATA drives (8TB)CIFS/NFS/iSCSI (HTTP/FTP/SSH)

vSphere Essentials Plus

Page 45: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

VMS2

Implementation

VMS1 VMS2

Force 10 GigEStorage Network

POS2000

TimeForceFlexLM PDC

BarTenderNDS AdminDNC

SAV

GigE LAN

VMS2FlexLM PDC

BarTenderNDS Admin

SATASAS FAS1 FAS2

NIC Team

Multi-Path

NetApp 2040

Page 46: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Virtual Machines

12 Production VMs5 Admin VMs5 Retired VMs3 Development VMs3 Test VMs1 Misc VMs

Page 47: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

BenefitsSnapshots:

Contingency plan for software upgradesEasy to create development machines

Lower Expenses:OpEx – Less power and cooling costsCapEx – Fewer physical servers required

Deployment – Easier/Faster to deploy machinesEasy to support Legacy Hardware/Apps

Huge Performance BoostUpgrade resources (memory, disk, CPU)

Quality vs Quantity

Page 48: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Lessons Learned

Terminology can be a problemLink Agregation

NetApp: trunkingForce10: port-channelCisco: EtherChannelvSphere: NIC teaming

NICNetApp: vif (virtual interface)vSphere: vnic, vmnic, vmknic, vmhba

Can’t do everything in GUI

Bind HBAs to vmnicsChange MTU for Jumbo frames

Link Aggregation doesn’t work like you thinkDidn’t understand how vLANs really workBlock alignment is very important

Page 49: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

File System MisalignmentRead Block 0

Reads 2 VMFS blocksEach VMFS block needs to read 2 LUN blocks

Page 50: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

File System Alignment

Page 51: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

OS Misalignments

All versions of windows misalign filesystem, except:

Vista/Win7Windows 2008 Server +

All versions of RHEL, except:

RHEL 6 +

Best Practices for File System Alignment in Virtual Environments NetApp TR-3747 January 2011

Page 52: Implementing vSphere David J Young. Implementing vSphere Agenda Virtualization vSphere ESXi vSphere Client vCenter Storage Implementation Benefits Lessons.

Implementing vSphere

Technology Learned

FTOSLink AggregationMulti-pathingiSCSIvLANsLACPvSphere