Professional Documents
Culture Documents
V100R005C00
Storage Virtualization
www.huawei.com
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 2
Contents
Storage Models
Storage Models
Storage Concepts
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 3
Storage Models (1)
Storage resources
Storage resources are physical storage devices, such as Internet Protocol storage area
network (IP SAN), Advanced SAN, and network attached storage (NAS) devices.
Storage devices
Storage devices are the management units of storage resources, for example, the logical
unit number (LUN), storage pool of Advanced SAN devices, and shared directory of NAS
devices.
Data stores
Data stores are the manageable and operable logical storage units.
Data stores are used to provide VM-related services, for example, creating virtual disks.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 4
Storage Models (2)
Logical objects Physical objects
Volume Volume
Storage
Storage Storage Shared
resource LUN Local disk
device device directory
pool
Fusion
Storage resources SAN NAS
Storage
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 5
Storage Resources
Storage resources provided by FusionCompute include IP SAN, FC SAN, Advanced SAN,
FusionStorage, and NAS resources.
IP SAN devices communicate with hosts using Internet Small Computer Systems Interface (iSCSI). Fiber
channel (FC) SAN devices communicate with hosts using the fiber channel. After SAN devices are
connected to hosts, storage devices (LUNs) can be used.
If the advanced SAN storage is used, the management node scans and manages disks through Storage
Management Initiative – Specification (SMI-S) ports.
If the NAS storage is used, hosts scan and attach shared directories over the NFS protocol.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 6
Storage Resource Comparison
Connected Storage Device Virtualization Storage Offload
Using... Type
IP SAN storage TCP/IP LUN Yes No
Storage offload: Some storage operations, such as VM deployment from templates and disk
data deletion zero-out, are performed on the storage devices, which not only saves host
resources but also improves operation efficiency.
Virtualization: LUNs and local disks that do not support virtualization do not support advanced
features, such as snapshots and linked cloning. However, the volumes created based on these
LUNs and local disks possess high performance. The virtualized data stores, although support
various advanced features and diverse volume formats, have inferior performance to non-
virtualized storage devices.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 7
Storage Devices
Storage devices provided by FusionCompute include LUNs, local disks,
Advanced SAN storage resource pools, FusionStorage resource pools,
and NAS shared directories.
LUNs must be configured on the storage device or switch before being used.
This configuration may vary depending on vendors and the specific storage
device or switch in use.
Each host can discover its associated storage devices and the shared storage
devices.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 8
Data Stores
A data store is the logical storage management unit created on a storage
device.
Data stores must be created on the specified storage devices. Only one data store can be
created on each storage device.
Data stores are associated with hosts to provide storage resources for hosts. A data store
can be associated with multiple hosts, and a host can use multiple data stores.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 9
Contents
Storage Models
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 10
Virtualized Storage Stack
The storage virtualization technology can format different storage devices, thereby hiding their differences, such
as their capacities and interface protocols, and transforming these storage devices into uniformly managed data
storage resources. These resources can be used to store VM disks, VM configuration, and snapshots,
facilitating unified management over storage devices.
File system
Drive layer
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 11
File Systems
File systems are used to provide interfaces for performing operations on files,
hide the specifics of storage devices, and store virtual volume files.
Currently, VIMS, EXT4, and NFS file systems are used by FusionCompute.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 12
Contents
Storage Models
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 13
VHDs
Types of VHDs
Only logical volumes are supported in versions earlier than V100R003C00.
Format of VHDs
Fixed VHD
Dynamic VHD
Differencing VHD
Fixed VHD Common volumes Close to the Close to the Close to the Close to the Low, requiring
storage device storage device storage device storage device a zero-out of
performance performance performance performance the entire disk
Dynamic VHD Thin provisioned Low, requiring a Close to the High, returning Close to the High
volumes and thick zero-out before storage device data read storage device Only metadata
provisioning lazy data writes performance results performance needs to be
zeroed volumes immediately written.
Differencing Nonpersistent Low, requiring a Close to the Depending on Close to the High
VHD volumes, zero-out before storage device the parent storage device Only metadata
snapshots, and data writes performance mirror performance needs to be
linked clones written.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 14
Fixed VHDs
Data remaining on the physical device is zeroed out when a fixed VHD is created. It might take
much longer time to create fixed VHDs than to create disks of other formats. However, the
fixed VHD offers best performance among all types of VHDs.
Space required for the fixed VHD is allocated at the creation time. After a fixed VHD is created,
the space on the disk does not change.
When a fixed VHD has available space, the space is filled with zeros, which results in high data
redundancy.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 15
Dynamic VHDs
Space required only for storing the header and footer of the disk is allocated when a dynamic
VHD is created. The creation takes less time than that of other disks, but the I/O performance
is also poor.
If data is written to the VHD, required space is dynamically allocated to the VHD for storing the
data. However, if the stored data is deleted, the space storing the data can only be manually
reclaimed.
Conversion between dynamic VHDs and fixed VHDs can be implemented using tools. For
example, you can use a template containing a thin provisioned disk to deploy a VM with a thick
provisioned disk.
Sector Sector
1 2 ... n0 ... n1 ... ... Last sector
0 m
Data Data
Attributes BAT 0 BAT 0
block 1
... Attributes
block 0
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 16
Differencing VHDs
The structure of a differencing VHD is the same as that of a dynamic VHD. Only
the header of the differencing VHD records the pathname of the parent VHD.
A differencing VHD is dependent on a parent VHD to be fully functional.
A differencing VHD can also be the parent VHD of another differencing VHD.
A differencing VHD is similar to a dynamic VHD. However, differencing VHD has a
lot of application limitations.
The differencing VHD stores only the differences compared to the parent VHD in
the form of data blocks.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 17
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 18
Thin Provisioning and Space Reclamation
Functions
Thin provisioning of virtual disks allows disk space to be allocated on demand
with data written to the disk.
Space reclamation can be used to release the space that stores deleted data
to data stores.
Application
Thin provisioning can be used in the initial phase of a system when disk
utilization is low to reduce investment on storage devices and the maintenance
costs. Only data is stored on storage devices, and no additional space is
reserved. Thin provisioning improves storage utilization.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 19
Thin Provisioning Principles
Principles
A data store functions as a storage resource pool. Each time when a
user writes data into a virtual disk, space in the resource pool is
allocated to the disk.
If data on a VM disk is deleted, the disk size does not decrease. The
next time when data is written into the disk, the idle space is used to
store the data.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 20
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 21
Snapshot
Functions
A snapshot records the VM status and content at a specific time point.
A snapshot can be used to revert a VM to the state when the snapshot was created for
multiple times.
A snapshot consists of the disk content, VM configuration information, and memory data.
Only incremental data is stored for snapshots created for the same VM, thereby saving
storage space.
Application
Before performing critical operations, such as system patch installation, upgrade, and
destructive tests, VM users are advised to take snapshots for quick restoration.
Users can create snapshots as required and restore VMs using snapshots.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 22
Snapshots in Storage Virtualization
When a snapshot is created, a delta volume is generated and attached to the VM.
Read requests for the VM are redirected to the parent volume.
The redirect-on-write (ROW) technology is used for creating snapshots. After a
snapshot is created, all data writes are redirected to the delta volume. Only the
legacy data is stored on the read-only parent volume.
Snapshots Snapshots
not used used
VM VM
Snapshots VHD
VHD
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 23
Snapshot Chain
A snapshot chain is generated after multiple snapshots are created for the
disk.
The VM volume is always attached to the end of the snapshot chain.
VOL SNAP2
VOL
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 24
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 25
Linked Cloning
Functions
Linked cloning is a technology that mirrors the parent volume and delta volume
to a cloned volume for VMs to use.
A cloned template can be used to create multiple delta volumes for creating
multiple linked clones.
A newly created delta volume occupies small space. The size of the volume
increases with the use of VMs.
Application
Create VMs quickly in batches.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 26
Linked Cloning Principles
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 27
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 28
Nonpersistent Disks
Functions
A differencing disk is created for the VM disks during the VM startup. All
changes to the VM disks are redirected to the differencing disk.
After the VM stops, the differencing disk is deleted, and all data stored in the
differencing disk is discarded.
If a user starts the VM again, the disk content is restored to the state before the
differencing disk is created.
Application
Nonpersistent disks can be used for public VMs to implement content
protection and quick restoration.
The disk content can be updated and the restoration point can be set by
configuring parameters related to a nonpersistent disk.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 29
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 30
Storage Migration
Functions
Storage virtualization allows VM disks to be
migrated from one data store to another.
VM VM VM
Disks belonging to a VM can be migrated as
Application
Data store 1
Reduce data store capacity after all disks in
Data store 2
the data store are migrated.
Implement load balancing among data
stores.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 31
Storage Live Migration
Source Storage Type (Source Destination Storage Type Configuration Configuration Mode After Migration
Configuration Mode) Mode
Changed
Block storage Virtualized storage Yes Select thick provisioning lazy zeroed
(not supported by NAS storage) or thin
provisioning during migration
Virtualized storage Virtualized storage Yes Select thick provisioning lazy zeroed
(common disk) (not supported by NAS storage) or thin
provisioning during migration
Virtualized storage Virtualized storage No Unchanged
(thick provisioning lazy zeroed disk) (non-NAS)
Virtualized storage Virtualized storage Yes Thin provisioning
(thick provisioning lazy zeroed disk) (NAS)
Virtualized storage Virtualized storage No Unchanged
(thin provisioned disk)
Storage live migration does not support snapshot migration. You can set either of the live migration rate on the portal:
Medium: The maximum migration rate is 20 Mbit/s. This migration rate applies to the scenarios with heavy storage I/O pressure and
reduces the adverse impacts on user VMs.
High: The maximum migration rate is 30 Mbit/s. This migration rate applies to the scenarios with acceptable storage I/O pressure and
reduces the adverse impacts on user VMs to a certain extent while ensuring proper migration.
Unlimited: The maximum migration rate is 1024 Mbit/s. This migration rate applies to the scenarios in which the user VM services have
low priorities.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 32
Storage Cold Migration
Source Storage Type (Source Destination Configuration Configuration Snapshot
Configuration Mode) Storage Type Mode Changed Mode After Migration
Migration
Virtualized storage Virtualized storage No Unchanged Yes
(common, thick provisioning lazy (non-NAS)
zeroed, and thin provisioning)
Virtualized storage Virtualized storage Yes Thin provisioning Yes
(thick provisioning lazy zeroed (NAS)
disk)
Virtualized storage Block storage Yes Common No
(thick provisioning lazy zeroed
and thin provisioning)
Virtualized storage Block storage No Common No
(common)
Block storage Virtualized storage No Unchanged No
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 33
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 34
Disk Capacity Expansion
Functions
The VM disk capacity can be expanded without any impact on existing data on the disk.
Capacity expansion of both system and user disks are supported. However, to merge
partitions, ensure that the operating system supports partition merging or a third-party tool
is required. The Windows XP and Windows 7 operating systems support partition merging
for user disks.
Some operating systems support disk capacity expansion when the VM is running.
Application
Allocate disk space on demand during initial disk allocation. If the disk space is
insufficient, the disk capacity can be expanded. This helps improve storage
device utilization.
Differences
If virtual storage is used, you can expand the disk capacity to increase the VM storage
space.
If non-virtual storage is used, you can only add separate disks.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 35
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 36
Raw Device Mapping
Functions
The physical raw device is mapped directly to VMs.
The passthrough VM disks can process SCSI commands.
Application
This feature ensures the proper running of Oracle RAC cluster services on VMs.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 37
Raw Device Mapping Configuration
Step 1: Add the target LUN as the raw device mapping (RDM) data stores.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 38
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 39
I/O Upper Limit Setting for a Disk
Functions
You can query the real-time I/O data of
each disk on the VM.
Application
Set the I/O upper limit for the disks of unimportant VMs to ensure that these VMs do
not compete resources with important VMs in service peak hours.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 40
I/O Upper Limit Setting Principles
Block fronted driver:
Guest 1 (VM) Guest 2 (VM) Guest 3 (VM) Indicates the front-end driver of a block device.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 41
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 42
Data Store Capacity Expansion
Functions
The system automatically identifies whether a data store supports capacity expansion.
The system automatically searches for the storage devices that can be expanded under a
site.
Application
Add several physical storage devices providing the same functions into one data store,
which significantly facilitates storage management.
Add more physical storage devices if the storage space of a data store becomes
insufficient, thereby expanding the capacity of the data store.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 43
Contents
Storage Models
Snapshot
Linked Cloning
Nonpersistent Disk
Storage Migration
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 44
Data Store Restoration
Functions
The system automatically detects data store faults and generates alarms to protect
resources.
The system supports in-service data store restoration, significantly shortening the
restoration duration.
Application
If a data store is faulty, administrators can easily restore the data store on the portal.
If a data store is faulty, the system denies new services, thereby preventing damages on
normal data.
Copyright © 2010 Huawei Technologies Co., Ltd. All rights reserved. Page 45
Thank you
www.huawei.com