Professional Documents
Culture Documents
07 VirtualMachines
07 VirtualMachines
Module 7
vmware-#.log
(where # is number starting Files containing old virtual machine log entries
with 1)
Additional files can exist if snapshots are taken or raw disk mappings are added (to
be discussed later).
Up to
255GB
RAM
VM chipset
1 CPU (up to 8
CPUs 1–10 NICs
with VMware
SMP) 1–4 SCSI adapters;
1–15 devices per adapter
Datastore
Virtual
Machine
CD-ROM drive
Connect to CD-ROM or
ISO image.
Floppy drive
Connect to floppy or
floppy image.
Generic SCSI devices
(such as tape libraries)
Can be connected to
additional SCSI
adapters
Install the
guest
operating
system
into the
virtual
machine.
Install VMware
Tools.
Right-click virtual
machine in the
inventory, then
choose Guest >
Install/Update
VMware Tools.
Create a template
Deploy a virtual machine from a template
Clone a virtual machine
Allow guest operating system customization by vCenter
Server
To update a template:
Convert the
template to a virtual
machine.
Place the virtual
machine on an
isolated network to
prevent user
access.
Make appropriate
changes to the
virtual machine.
Convert the virtual
machine back to a
template.
Cloning is an
alternative to
deploying a
virtual machine.
A clone is an
exact copy of the
virtual machine.
The virtual
machine being
cloned can either
be powered on or
powered off.
Virtual machine
deployment is
allowed across
datacenters.
Clone a virtual
machine from one
datacenter to
another.
Deploy from a
template located in
one datacenter to a
virtual machine in a
different datacenter.
VMware vSphere™
Clients with vCenter
Converter client
plug-in
running
physical machine
agent
VM
snapshot Host
source
volumes volumes
source
destination
vCenter
vCenter vCenter
Converter agent
Converter
vCenter
vCenter
Converter
vCenter Converter
customizes
agent
Converter
Server
agent Server
installs
copies
Converteragent the
creates
agent installs
virtual
required
removes
volumes
atakes
new the
machine
drivers
avirtual
from
all agent
traces
the
snapshot ofon
(for
to allow
machine
source
from source
example,
OS
the
theon to
machine
the machine
changing
boot
source
source in the
destination
to
machine.
volumes. IP
virtual information)
machine
destination
machine
Stage 4:
1: Cleaning
2:
3: PreparingUp
Completingthe
the
Virtual
Source
Conversion
Machine
Machine
Process
on
Image
the Destination Machine
Host managed by
vCenter Server
physical machine
vCenter Converter
VM
boot CD
Converter volumes
source
destination
volumes
image in
RAM disk
source
vCenter
vCenter
User
vCenter
User removes
vCenter Converter
Converter
boots
vCenter
the
Converter
boot
Converter
CD and copies
sourcecreates
Converter
installs the
customizes
reboots volumes
machineathe
new
copies
from
required
the sourcevirtual
from
the the the
machine
source
Boot
drivers
virtual
physical source
to
machineallowon
volumes
CD machine
and
machine.
(forOSthetodestination
uses
into tochanging
aboot
example,
The the
vCenter
RAM destination
machine
in disk
virtual Converter
amachine
virtual
IPmachine
config)
is ready to run.
Disk-based cloning
Transfers all sectors from all disks and preserves all volume
metadata. It supports all basic and dynamic disks.
Used for cold cloning and importing existing virtual machines
Volume-based cloning
Creates all volumes in the destination virtual machine as
basic volumes, regardless of type of corresponding source
volume
Used for hot and cold cloning and for importing existing
virtual machines
Performed at the file or block level, depending on your size
selections
A virtual machine’s
configuration can be
modified using its
Properties dialog box.
Add virtual hardware.
Some hardware can be
added while the virtual
machine is powered on.
Remove virtual hardware.
Set virtual machine options.
Control a virtual machine’s
CPU and memory
resources.
Hot-pluggable
devices are USB
controllers,
Ethernet adapters,
hard disks, and
SCSI devices.
CPU and memory
can also be added
while the virtual
machine is
powered on.
Hot Extend
Is used to increase the size of a virtual disk
Is supported for vStorage VMFS flat virtual disks in persistent
mode and without any virtual machine snapshots.
Using appropriate tools, the guest operating system
can dynamically grow the file system to use this new
allocated disk space.
Increased from
2GB to 20GB
To create an RDM,
go to the virtual
machine’s Properties
dialog box and add a hard
disk device of type raw
device mappings. ext3 or
NFS
General Options
vApp Options
VMware Tools
Power Management
Advanced
VM display name
VM directory
Guest operating
system type
Customize power
button actions.
When to run
VMware Tools
scripts
Update checks
and time sync.
Suspend or standby
the guest operating
system gracefully.
Wake on LAN.
The Snapshot
Manager lets you
review all
snapshots for
the active virtual
machine and act
on them directly.
Revert to a
snapshot.
Delete one or
all snapshots.
OVF Descriptor
Resource Pool
Change
Across Shared
Migration Power host/
datacenters storage CPU compatibility?
type state datastore
? required?
?
Host or
Different CPU
Cold Off datastore Yes No
families allowed
or both
Host or Must meet CPU
Suspended
Suspended datastore Yes No compatibility
VM
or both requirements
Must meet CPU
VMotion On Host No Yes compatibility
requirements
Storage
On Datastore No No N/A
VMotion
2 5 3
1
Source Destination
Storage VMotion
Available when
virtual machine
is powered off
Guidelines:
Spend time planning and coordinating with administrators.
Perform during off-peak hours.
Ensure that source host has access both to source and target
datastores.
Limitations:
Virtual machines with snapshots cannot be migrated.
The virtual machine must be powered off to concurrently
migrate to another host and datastore.
Up to four concurrent Storage VMotion migrations can occur.