You are on page 1of 11

Slide 1

Overview of XenServer Storage

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

Slide 2

Objectives

Introduce basic types of storage used on XenServer. Identify each storage type. Describe how each storage type is accessed by XenServer.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

Slide 3

Summary This training describes the type of storage available: Local Network Fiber

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

Slide 4

Why use storage?


Storage for XenServer is required to create a storage repository (SR) for the repository of virtual machine (VM) disks called VDIs. XenServer SR Storage Attributes are:

SR Storage can be local. SR Storage can be on another server. SR Storage can be on a SAN.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

Slide 5

Storage Repositories are Volumes Groups

Physical Volumes (PV1 + PV2 + PV3) create a Volume Group (VG1) Volume Group contains Logical Volumes You create a SR on a Volume Group
2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

Slide 6
Storage Repositories have a Physical Block Device (PBD)

A Physical Block Device (PBD) contains configuration from XenServer to SR. A virtual block device (VBD) is configuration of VDI to VM. Both PBD and VBDs are configurations only and can be recreated.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

Slide 7
There are seven common storage types: 1- Local LVM 2- Local EXT 3- iSCSI 4- NFS 5- LVHD 6- Fiber Channel (FC) 7- Connector (Dell EqualLogic and NetApp)
New!

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

Slide 8

Type 1 is Local LVM


It is default when installing XenServer on local disk. Is logical volume format (LVM). VDIs stored as logical volumes. Max size of a VDI is 2TB. Can be spanned across multiple disks (Not Recommended) Note: Default local disk is formatted with 4GB partition for XenServer Dom0, 4GB partition for backups and upgrades, and remaining space for local SR.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

Slide 9

An example of LVM on Local Disk

/dev/sda

Disk Internal
Primary (4GB) /dev/sda1 Backup (4GB) /dev/sda2

SR(#GB) /dev/sda3
LVM

Note: LVM stands for Logical Volume Manager

Primary Disk Partitioned

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

Slide 10
Connectivity Requirements for local LVM are: Having a local disk or LUN presented to a XenServer machine. Disk or LUN available via SCSI bus. You can see LVM disks with fdisk l command.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

10

Slide 11

Type 2 is Local EXT (Extended File System) The EXT type is a Linux EXT formatted file system. It has a similar file system structure like NFS. Virtual Machine VDIs are stored as files. Advantage is VDIs can be backed up like files.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

11

Slide 12

An example of EXT type on a Local Disk

/dev/sda

Disk Internal
Primary (4GB) /dev/sda1 Backup (4GB) /dev/sda2

SR(#GB) /dev/sda3 EXT

Primary Disk Partitioned

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

12

Slide 13

Connectivity Requirements for EXT are: Having a local disk or LUN presented to a XenServer machine. Disk or LUN available via SCSI bus. You are required to manually format disk to be EXT when you create the an SR. Advantage of EXT is that it supports thin provisioning.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

13

Slide 14

Type 3 is iSCSI iSCSI stands for (Internet Small Computer System Interface) Typical on Network Attached Storage (NAS) device. Carries SCSI commands over IP networks. Transmits data over local area networks (LANs). Less expensive than fiber channel. Supports multi-pathing. Currently iSCSI runs at 1GB/s speed.
2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

14

Slide 15

iSCSI comes in Two Types: Hardware and Software


Software iSCSI is built into XenServer. It uses a software initiator. The software processing of iSCSI over TCP/IP data is handled in XenServer software and is much slower. Gig Ethernet networks have a half-duplex rate of 115 MB/s. Hardware iSCSI has to be added with hardware device. Hardware device is called a HBA. Hardware has better performance due SCSI over TCP/IP offloading done on hardware.
2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

15

Slide 16

Software iSCSI Connectivity Requirements are: Dedicating a NIC for storage on XenServer. Assign an IP to NIC separate from management for iSCSI traffic. XenServer storage NIC and iSCSI NAS on same network. Generating an IQN (iSCSI Qualified Name) on XenServer. Enabling iSCSI software initiator on XenServer.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

16

Slide 17

Hardware iSCSI Connectivity Requirements are: Installing iSCSI HBA (Host Bus Adapter) on XenServer. Configuring iSCSI HBA to target. Configure target with LUN to present to XenServer. A iSCSI target controller on SAN.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

17

Slide 18

An example of iSCSI Software Type

SAN

iS C S I T arget

N etw ork S w itc h

N IC A da pter

C itrix X enS erve r

Note: For Hardware iSCSI the NIC will be an HBA.

X enS ever S erve r

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

18

Slide 19

Type 4 is NFS Type NFS stands for Network File System Must be formatted NFS Version 3. File system is mounted. It is accessed through network. Supports thin provisioning. Advantage is VDIs are stored as files. Downfall is VDI disk size cannot be increased. You can see location of NFS SR with mount command.
2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

19

Slide 20

Connectivity Requirements for NFS are: Dedicate a NIC for storage on XenServer. Assign an IP to NIC separate from management for NFS traffic. XenServer storage NIC and NFS NAS must be on same network. Configure a Share on the NFS Server. Properly configure permissions to access share.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

20

Slide 21

A Type 4 NFS Sample Setup

TCP/IP Network

XenServer

Share

NFS File System

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

21

Slide 22

Type 5 is LVHD or VHD on LVM


New!

It is new format for XenServer 5.5. It is intended to replace LVM as the default local SR type. Supports snapshots. Hosts VHD files directly on LVM volumes. LVHD supports two VDI formats: Raw volumes and VHD volumes. VHD is the default VDI format for LVHD SRs. VHD VDIs are LVM volumes formatted with VHD metadata

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

22

Slide 23

Connectivity Requirements for LVHD are: LVHD SRs can reside on local, network or fiber disks. Disk will have to be upgraded or formatted LVHD. You can use the command /opt/xensource/bin/xelvm-upgrade <SR UUID> to upgrade disk.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

23

Slide 24

A Type 5 LVHD Sample Setup on Local Disk

/dev/sda

Disk Internal
Primary (4GB) /dev/sda1 Backup (4GB) /dev/sda2

SR(#GB) /dev/sda3 LVHD

Note: LVHD can be installed on local, iSCSI, or FC storage.

Primary Disk Partitioned

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

24

Slide 25

Type 6 is Fiber Channel (FC) Natively LVM format. Accessed through a Fiber Channel HBA. Supports multi-pathing. Currently runs at 2 GB/s. A properly configured 2GB/s Fiber Channel SAN is capable of sustaining in excess of 380MB/sec speed. Fiber Channel is more reliable than iSCSI storage.
2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

25

Slide 26

Connectivity Requirements for FC Install a Hardware HBA on the XenServer


(Two or more for Multi-Pathing)

Configure SAN with LUN to present to HBA. Connect Fiber Channel Optic Cables. Configure FC Switch with appropriate Zoning.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

26

Slide 27

A FC Sample Setup

S A N

F C

S A N

F ib e r C h a n n e l S w itc h e s

H o st B u s A d a p te rs (H B A s )

( L o c a l D is k P r e s e n t a ti o n )

( L o c a l D i s k P r e s e n ta t io n )

C itr ix X e n S e rv e rs

X e n S e v e r S e rv e r

X e n S e v e r S e rv e r

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

27

Slide 28

Type 7 is Connector Type The two connectors available are the Dell Equal Logic and the NetApp plug-in. Connectors are specific for third party vendors. Uses software iSCSI for connectivity. Alleviates administrative access to backend. Support backend snapshots.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

28

Slide 29

Connectivity Requirements for Type 7 are: Dedicating a NIC for storage on XenServer. Assign an IP to NIC separate from management . XenServer storage NIC and iSCSI NAS must be on same network. Administrative access to the backend is necessary.

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

29

Slide 30

Additional NetApp Plug-in Requirements are:


ONTAP 7G version. 7.0 or greater can be used as custom SR. XenServer supports the following NetApp features: Thick Provisioning Thin Provisioning A-SIS data de-duplication Snapshotting that uses FlexVol technology
VirtualizationEZ.com

2008 Citrix Systems, Inc. All rights reserved

30

Slide 31

Example of XenServer Storage GUI:

2008 Citrix Systems, Inc. All rights reserved

VirtualizationEZ.com

31

You might also like