Documente Academic
Documente Profesional
Documente Cultură
Resource
Management
Module 8
ESX ServerInstallation
VirtualCenter Installation
• Importance
• VMotion is a valuable tool for availability and resource
management
• Resource pools allow you to define resource policies that are
enforceable regardless of server heterogeneity, VMotion activity, or
VMware HA activity
• Objectives for the learner
• To use standalone resource pools for single-host resource policy
control
• To create and configure a DRS cluster
• To build child resource pools in a DRS cluster and use them to
manage resource policies across hosts
• Change number of
shares
• Power on VM
• Power off VM
• An object in the
VirtualCenter inventory
• A pool of CPU and memory
for VMs
• Can have associated
access control and
permissions
• Can be used on a stand-
alone host or in a cluster
Cluster
(group of hosts)
Resource
pool
CPU Shares: 1000 CPU Shares: 2000 CPU Shares: 1000 CPU Shares: 2000
Engineering Finance
CPU Shares: 1000 CPU Shares: 2000
~33% of PCPU ~67% of PCPU
22%
45%
22%
No Expandable Yes
reservation?
No Succeed No
Fail
• VMotion migration
• VMotion compatibility requirements
• Topology maps
VMotion
Network
Production
Network
Memory
Bitmap
VMotion Memory
Network
Production
Network
Memory
Bitmap
VMotion
Network
Production
Network
Memory
Bitmap
VMotion
Network
Production
Network
CPU
Exact Match Required? Why or why not?
Characteristics
Clock speeds, cache No Virtualized away by VMkernel
sizes, hyper-
threading, and
number of cores
Manufacturer Yes Instruction sets contain many small
(Intel or AMD) differences
Family
(P3, P4, Opteron)
Presence or absence Yes Multimedia instructions usable
of SSE3 instructions directly by applications
Choose between
Nx/xD security features
or broadest VMotion
compatibility
= vSwitch
= VM
= Managed host
lower-numbered team
• Goals of DRS
• Balance virtual machine load across hosts in cluster
• Enforce resource policies accurately (reservations, limits, shares)
• Respect placement constraints
• Affinity and anti-affinity rules
• VMotion compatibility (CPU type, SAN and LAN connectivity)
Partially-
Automatic Manual
automated
Fully-
Automatic Automatic
automated
• Affinity rules
• Run virtual machines on
same host
• Use for multi-VM systems
where performance benefits
• Anti-affinity rules
• Run virtual machines on
different hosts
• Use for multi-VM systems
that load balance or require
high availability
Cluster Team
VM VM
VM VM VM
CPU Shares: 1000 CPU Shares: 3000
Reservation: 0 Reservation: 1 GHz
Limit: 16 GHz Limit: 2 GHz
Cluster
(Root Resource Pool)
Pools created by us VM VM VM
Resource Resource
for use by our customers Pool 3 Pool 4
ER = No ER = No
VM VM VM VM
When adding
the host, choose
to create a new
resource pool
for this host’s
virtual
machines and
resource pools.
• When removing a host from a DRS Cluster, you must first place
the host in maintenance mode
• Maintenance mode protects virtual machines from changes in
ESX Server state
Normal mode
You can power on VMs as needed, and
VMs can be migrated to this host
Cluster Team