Day4 VMware6
Day4 VMware6
VM Management
Day 4
VMware vSphere:
Install, Configure, Manage
Content
• Virtual Storage
• NFS
• iSCSI
• Clone, Template, Snapshot
• vApp
• Content Library
Virtual Storage
Module Lessons
Storage Concepts
iSCSI Storage
NFS Datastores
VMFS Datastores
Virtual SAN Datastores
Virtual Volumes
Storage Concepts
Learner Objectives
By the end of this lesson, you should be able to meet the following
objectives:
• Describe VMware vSphere® storage technologies and datastores
• Describe the storage device naming convention
Basic Storage Overview
ESXi
Hosts
File
System
Fibre ● ● ● ● ●
Channel
FCoE ● ● ● ● ●
iSCSI ● ● ● ● ●
NFS ● ● ●
DAS ● ●
Virtual ● ● ●
Volumes
Virtual SAN ● ● ●
About Datastores
A datastore is a logical storage unit
that can use disk space on one
physical device or span several
physical devices.
Datastores are used to hold virtual
machine files, templates, and ISO Host Host
images.
Types of datastores:
• VMFS
• NFS
• Virtual SAN
• Virtual Volumes
Datastore
About VMFS6
About VMFS6
About NFS
NFS:
• Is storage shared over the
network at the file system level
• Supports NFS version 3 and
4.1 over TCP/IP
Host Host
NFS Datastore
Virtual SAN Overview
Virtual SAN™ is hypervisor-converged, software-defined storage for
virtual environments.
By clustering host-attached hard disks (HDDs) and/or solid state drives
(SSDs), Virtual SAN creates an aggregated datastore shared by virtual
machines.
Virtual SAN
vSphere
3-64
HDD/Flash/SSD
Overview
vSphere • Native representation of VMDKs on
.vmdk Raw
.vmdk
-flat.vmdk -rdm.vmdk LUN
192.168.81.33
192.168.81.72
ESXi Host with
VMkernel Port
NIC Mapped to
Defined on Virtual
Virtual Switch
Switch
Configuring an NFS Datastore
Create a VMkernel port:
• For better performance and security, separate your NFS network from the
iSCSI network.
Provide the following information:
• NFS version: v3 or v4.1
• Datastore name
• NFS server names or IP addresses
• Folder on the NFS server, for example, /templates and /nfs_share
• Select hosts that will mount the datastore
• Whether to mount the NFS file system read-only
• Authentication parameters
NFS v3 and NFS v4.1
NFS v3: NFS v4.1:
• ESXi managed multipathing • Native multipathing and session
• AUTH_SYS (root) authentication trunking
• VMware proprietary file locking • Optional Kerberos authentication
ESXi Host
VMFS Datastores
Learner Objectives
By the end of this lesson, you should be able to meet the following
objectives:
• Create a VMFS datastore
• Increase the size of a VMFS datastore
• Delete a VMFS datastore
Using VMFS Datastores with ESXi Hosts
Use VMFS datastores whenever possible:
• VMFS is optimized for storing and accessing large files.
• A VMFS datastore can have a maximum volume size of 64 TB.
Use RDMs if the following conditions are true of your virtual machine:
• It is taking storage array-level snapshots.
• It is clustered to a physical machine.
• It has large amounts of data that you do not want to convert into a virtual disk.
Increasing the Size of a VMFS Datastore
In general, before making any
changes to your storage
allocation:
• Perform a rescan to ensure that
all hosts see the most current
storage.
• Record the unique identifier.
Virtual SAN
vSphere
3-64
Dynamically increase a
virtual disk from, for
example, 2 GB to 20 GB.
Inflating a Thin-Provisioned Disk
Thin-provisioned virtual disks can be converted to a thick, eager-zeroed
format.
To inflate a thin-provisioned disk:
• The virtual machine must be powered off.
• Right-click the virtual machine’s .vmdk file and select Inflate.
Or you can use VMware vSphere® Storage vMotion® and select a thick-
provisioned disk as the destination.
Virtual Machine Options
On the VM Options tab, you can set or change virtual machine options
to run VMware Tools™ scripts, control user access to the remote
console, configure startup behavior, and more.
VM Display Name
VM Directory
Guest Operating
System Type
VMware Tools Options
Customize power
button actions.
Schedule VMware
Tools scripts.
Update checks
Boot Options
Retry after
failed boot.
Creating Virtual
Machine Snapshots
Learner Objectives
By the end of this lesson, you should be able to meet the following
objectives:
• Take a snapshot of a virtual machine and manage multiple snapshots
• Delete virtual machine snapshots
• Consolidate snapshots
Virtual Machine Snapshots
Snapshots enable you to preserve the state of the virtual machine so
that you can repeatedly return to the same state.
Virtual Machine Snapshot Files
A snapshot consists of a set of files: the memory state file (.vmsn), the
description file (-00000#.vmdk), and the delta file (-00000#-
delta.vmdk).
The snapshot list file (.vmsd) keeps track of the virtual machine’s
snapshots.
Taking a Snapshot
You can take a snapshot while a virtual machine is powered on, powered
off, or suspended.
A snapshot captures the state of the virtual machine: memory state,
settings state, and disk state.
Virtual machine snapshots are not recommended as a virtual machine
backup strategy.
committed to
transactions
Pending
disk
.vmdk
Managing Snapshots
The Snapshot Manager enables you
to review all snapshots for the active
virtual machine and act on them
directly.
Actions you can perform:
• Revert to a snapshot.
• Delete one or all snapshots.
Deleting a Virtual Machine Snapshot (1)
If you delete a snapshot one or more levels above You Are Here, the
snapshot state is deleted. The snap01 data is committed into the
previous state (base disk) and the foundation for snap02 is retained.
snap01You are
delta here.
(1GB)