• Aucun résultat trouvé

XenServer Storage Integration Deep Dive

N/A
N/A
Protected

Academic year: 2022

Partager "XenServer Storage Integration Deep Dive"

Copied!
47
0
0

Texte intégral

(1)

XenServer

Storage Integration Deep Dive XenServer

Storage Integration Deep Dive

(2)

Agenda

XenServer 5.5 Storage Architecture Multipathing

Vendor Integration

StorageLink

(3)

3

© 2009 Citrix Systems, Inc. — All rights reserved

Enterprise Edition Platinum

Edition

Edition Free

XenServer Essentials

Shared Storage (iSCSI, FC, NFS) XenCenter Management 64bit, Windows, Linux Workloads

Live Migration (XenMotion)

No socket restriction High Availability

StorageLink

TM

Provisioning Services (p+v) Lab Management

Performance Monitoring

Citrix XenServer & Essentials 5.5 Family

Active Directory Integration Generic Storage Snapshotting Provisioning Services (virtual)

Stage Management

Workload Balancing

Workflow Studio Orchestration

NEW NEW

NEW

(4)

XenServer 5.5

Storage Architecture XenServer 5.5

Storage Architecture

(5)

5

© 2009 Citrix Systems, Inc. — All rights reserved

Expanded Backup Support

(6)

Storage Technologies

Storage Repository LUN

LVM Volume Group

LVM Logical Volume

LVM Logical Volume

Storage Repository Filesystem

.VHD file

.VHD file

Storage Repository LUN

LVM Volume Group

LVM Logical Volume

LVM Logical Volume

VHD header VHD header

XenServer 5.0 / 5.5 NFS / EXT3

XenServer 5.0 iSCSI / FC

XenServer 5.5 iSCSI / FC

VM virtual disk

(7)

7

© 2009 Citrix Systems, Inc. — All rights reserved

LVM XenServer 5.5 (LVHD)

• Replaces LVM for SRs

• Hosts VHD files directly on LVM volumes

• Best of both worlds

• Features of VHD

• Performance of LVM

• Adds Advanced Storage features

• Fast Cloning

• Snapshots

• Fast and simple upgrade

• Backwards compatible

(8)

Multipathing

Multipathing

(9)

11

© 2009 Citrix Systems, Inc. — All rights reserved

Why using Multipathing?

• Path redundancy to storage

• Performance increase by load sharing algorithms

• Many fibre channel environments by default have multiple paths

FC HBA 2

FC HBA 1

XenServer FC Switches Storage Subsystem

LUN 1

LUN 1

Storage controller 1

Storage controller 2

LUN 1

LUN 1

LUN 1

(10)

Enabling Multipathing

• xe host-param-set other- config:multipathing=true uuid=host_uuid

• xe host-param-set other-

config:multipathhandle=dmp uuid=host_uuid

• Note: Do not enable

multipathing by other ways

(e.g. CLI)!!!

(11)

13

© 2009 Citrix Systems, Inc. — All rights reserved

XenServer supports 2 multipathing technologies

Device Mapper Multipathing (DMP) RDAC MPP (mppVhba)

Default yes no

XenServer version >= 5.0

4.1 CLI >= 5.0 Update 2

Management by XenCenter yes no

Support wide storage range only LSI controller based storage

Driver / Daemon multipathd mppVhba driver

CLI path check multipath –ll mpputil

Configuration /etc/multipath-enabled.conf /etc/mpp.conf

(requires execution of

/opt/xensource/bin/update-initrd)

See details: http://support.citrix.com/article/ctx118791

(12)

DMP vs RDAC MPP

• Check if RDAC MPP is running

• lsmod | grep mppVhba

• „multipath –ll“ would show MD device as output (if DMP is active)

• Use only 1 technology

• When RDAP MPP is running use it

• Otherwise use DMP

(13)

15

© 2009 Citrix Systems, Inc. — All rights reserved

MPP RDAC: Path check

• mpputil

Lun #0 - WWN: 600a0b80001fdf0800001d9c49b0caa1 ---

LunObject: present DevState: OPTIMAL Controller 'A' Path

---

Path #1: LunPathDevice: present

DevState: OPTIMAL Path #2: LunPathDevice: present

DevState: OPTIMAL Controller 'B' Path

---

Path #1: LunPathDevice: present

DevState: OPTIMAL Path #2: LunPathDevice: present

DevState: OPTIMAL

(14)

DMP: Path check

• Monitoring using XenCenter

• Monitoring using CLI

Command: multipath -ll

(15)

Multipathing & Software iSCSI

Multipathing & Software iSCSI

(16)

iSCSI with Software Initiator

• IP addressing to be done by XenServer Dom-0

• Multipathing also to be done by XenServer Dom-0

• Dom-0 IP configuration is essential

NIC 1

XenServer Switches Storage Subsystem

LUN 1 Storage

LAN Ctrl 1

IP

LUN 1

XenServer Dom-0

LUN

IP

1 LUN

IP

1

(17)

19

© 2009 Citrix Systems, Inc. — All rights reserved

Best practice configuration:

iSCSI storage with multipathing

• Separation of subnets also on IP base

NIC 2 NIC 1

XenServer FC Switches Storage Subsystem

LUN 1 Storage

LAN Adapter 1

Storage LAN Adapter 2 Port 1 IP:

192.168.1.201 Port 2 IP:

192.168.2.201

Port 1 IP:

192.168.1.202 Port 2 IP:

192.168.2.202 NIC 1 IP:

192.168.1.10

NIC 2 IP:

192.168.2.10

Subnet:

255.255.255.0

Subnet 1

Subnet 2

(18)

Subnet 1

Not recommended configurations for multipathing and iSCSI:

NIC 2 NIC 1

XenServer

NIC 1 IP:

192.168.1.10

NIC 2 IP:

192.168.1.11

Both server NICs in same subnet

Subnet 1

NIC 2 NIC 1

XenServer

Team IP:

192.168.1.10

Mixing of NIC teaming and multipathing

(19)

21

© 2009 Citrix Systems, Inc. — All rights reserved

Multipathing with Software Initiator XenServer 5

• XenServer 5 supports Multipathing with iSCSI software initiator

• Prerequisites are:

• iSCSI target uses same IQN on all ports

• iSCSI target ports operate in portal mode

• Multipathing reliability has been enhanced

massively in XenServer 5.5

(20)

How to check if iSCSI target operates in portal mode?

• Execute

iscsiadm -m discovery --type sendtargets --portal <ip address of 1 target>

• Output must show alls IPs of the target ports with identical IQN

• Example:

192.168.0.161:3260,1 iqn.strawberry:litchie 192.168.0.204:3260,2 iqn.strawberry:litchie

• When connecting to iSCSI target using XenCenter Storage

Repository Wizard, also all target

IPs should show up after Discovery

(21)

NetApp Integration

NetApp Integration

(22)

NetApp Storage

• NetApp Storage supports Multipathing

• For configuring NetApp storage and modification of multipath.conf see whitepaper

http://support.citrix.com/article/CTX118842

• NetApp typically supports portal mode for iSCSI

 multipathing for iSCSI SW Initiator is supported

• Especially for low-end NetApp storage (e.g. FAS2020) with

limited LAN adapters special considerations take place

(23)

25

© 2009 Citrix Systems, Inc. — All rights reserved

NetApp low-end storage (iSCSI)

• Often limited by NIC configuration

• Example: 2 NICs per head

• 1 aggregate / LUN is represented by 1 head at a time (other head for fault tolerance)

• Thus: 2 NICs effectively can be used for storage connection

• Typically Filer delivers non-block-based protocols (e.g. CIFS) which also require redundancy as well as block based

protocols (e.g. iSCSI)

(24)

iSCSI Network

NIC 1 NIC 0

NIC 0 NIC 1

Controller 0

(active)

CIFS Network

NIC 0 NIC 1

Controller 1

(fault tolerance)

Example FAS2020: Scenario 1

no network reduncancy for iSCSI and CIFS

separation of networks

(25)

27

© 2009 Citrix Systems, Inc. — All rights reserved

Example FAS2020: Scenario 2

network redundancy for iSCSI and CIFS no separation of networks

NIC 1 NIC 0

NIC 0 NIC 1

Controller 0

(active)

CIFS & iSCSI Network

NIC Bond vif /

bond

NIC 0 NIC 1

Controller 1

(fault tolerance)

vif /

bond

(26)

Example FAS2020: Scenario 3

network redundancy for iSCSI (multipathing) and CIFS separation of networks

NIC 1 NIC 0

NIC 0 NIC 1

Ctrl 1

(active) NIC Bond

Vif / bond Controller 1

(fault tolerance) Same configuration

CIFS VLAN iSCSI VLAN

NIC 3 NIC 2 Multipathing

CIFS VLAN

iSCSI VLAN

(27)

Dell / Equalogic Integration

Dell / Equalogic Integration

(28)

Dell Equalogic Support

• XenServer 5.5 includes Adapter (min. firmware 4.0.1 required)

• Redundant path configuration does not depend on using adapter or not

• All PS series are supported as running same OS

• StorageLink Gateway support

planned

(29)

31

© 2009 Citrix Systems, Inc. — All rights reserved

Dell / Equalogic

• See whitepaper for Dell / Equalogic storage http://support.citrix.com/article/CTX118841

• Each Equalogic has two controllers

• Only 1 controller is active

• Uses „Group ID“ address on storage side (similar to bonding / teaming on server side)

• Only connection over group ID, no direct connection to the iSCSI ports possible

• Therefore multipathing cannot be used  bonding on XenServer side

(30)

Datacore Integration

Datacore Integration

(31)

33

© 2009 Citrix Systems, Inc. — All rights reserved

Multipathing architecture with Datacore

• Different IQNs for targets – no portal mode possible!!

NIC 2 NIC 1

XenServer Switches

LUN 1 Storage

Controller 1

Storage Controller

2 Port 1 IP:

192.168.1.201

Port 2 IP:

192.168.2.202 NIC 1 IP:

192.168.1.10

NIC 2 IP:

192.168.2.10

Subnet:

255.255.255.0

Subnet 1

Subnet 2

IQN 1

IQN 2

(32)

Datacore hints

• Special attention for software iSCSI

• Follow Datacore technical bulletin: TB15

ftp://support.datacore.com/psp/tech_bulletins/Tec

hBulletinsAll/TB15b_Citrix%20XenServer_config_501 .pdf

• Datacore in VM

• O.k. when not using HA

• Configuration possible, but take care about booting the whole environment

• Take care when updating XenServer

(33)

StorageLink

StorageLink

(34)

Logical advancement of XenServer integrated storage adapters

Netapp & Equalogic

Storage adapter

(35)

37

© 2009 Citrix Systems, Inc. — All rights reserved

Citrix StorageLink Overview (XenServer)

Guest

Snap-in for XenServer

XenServer

StorageLink

Data Path Control Path

iSCSI / FC

(36)

Leveraging the best of virtualization and

storage

(37)

39

© 2009 Citrix Systems, Inc. — All rights reserved

StorageLink Overview

XenServer

Netapp EqualLogic VSM

Bridge

Hyper-V

Hyper-V

VDS

SAN/NAS

Virtual Storage Manager

Parent Partition DOM0

XenServer

Data Path Data Path

Control Path

(38)

StorageLink Gateway Overview

Vendor-specific VSM Storage Adapters run in separate processes

SMI-S is the preferred method of integration as it requires no custom

development work

Dell Dell

XenServer

(39)

41

© 2009 Citrix Systems, Inc. — All rights reserved

Storage Technologies

Storage Repository LUN

LVM Volume Group

LVM Logical Volume

LVM Logical Volume

VHD header VHD header

XenServer 5.5 iSCSI / FC

VM virtual disk

LUN

Storage Repository XenServer 5.5

iSCSI / FC +

LUN

(40)

Snapshot types

XenServer (free) Essentials Enterprise Snapshot type Software based snapshot Hardware based snapshot

(also software based snapshot possible when not using StorageLink)

LUN access model LVM (1 LUN=x times VDI) LUN-per-VDI (1 LUN = 1 VDI)

Performance Good Superior

Utilization On XenServer host On storage subsystem

Overhead Low lowest

(41)

44

© 2009 Citrix Systems, Inc. — All rights reserved

StorageLink: Microsoft look-and-feel

(42)

Essentials: Example usage scenario

Effective creation of VMs from template

VM

Template

LUN

VM clone 1x

1. Copy of LUN

2. Modification of Zoning 3. Creation of VM

4. Assignment of LUN to VM

VM clone 3x

1. Copy of LUN

2. Modification of Zoning 3. Creation of VM

4. Assignment of LUN to VM 1. Copy of LUN

2. Modification of Zoning 3. Creation of VM

4. Assignment of LUN to VM 1. Copy of LUN

2. Modification of Zoning 3. Creation of VM

4. Assignment of LUN to VM

Effectiveness:

• Fast-Cloning using Storage Snapshots

• Fully automated storage and SAN configuration

• for FC and iSCSI

(43)

46

© 2009 Citrix Systems, Inc. — All rights reserved

StorageLink: Supported Storages

• StorageLink HCL

http://hcl.vmd.citrix.com/SLG-HCLHome.aspx

(44)

Références

Documents relatifs

If you dump traffic on your XenServer host and see that there are issues with checksumming not matching, causing checksum errors, and or if you notice a drop in network

Note: If a Native VLAN is used on the switch trunk port, then you cannot assign that VLAN number to a Virtual Machine on the XenServer. Refer to the following example for a

Select the OpenFiler VM in XenCenter, select the ―Storage‖ tab, and click ―Add.‖ Name the disk ―ISO File Storage‖, size the disk sufficiently large for the storage of

• The default XenServer block device-based storage inserts a Logical Volume manager on a disk.. VDIs are represented as volumes within the

When using xsiostat (see section “Monitoring components usage with xsiostat”), it is possible to ob- serve cases where blkback will not consume requests from the

Even though the QA-System is set to start all of the virtual machines on the pool master, the workload balancing system is automatically switching the new virtual machines to run on

Launch PuTTY from the Landing Desktop by loading the saved session information (xenserver) and click Open... Login with the

Citrix XenServer is the only enterprise-class, cloud-proven virtualization platform that delivers all of the critical features needed for any server and datacenter