Citrix XenServer and NetApp

  • View
    24

  • Download
    0

Embed Size (px)

DESCRIPTION

Citrix XenServer and NetApp

Text of Citrix XenServer and NetApp

  • Citrix XenServer and NetApp Storage Best Practices

    Citrix Systems, Inc. and NetApp, Inc.

    February 2014 | TR-3732 | Rev 5.3

    www.citrix.com

  • Citrix XenServer and NetApp Storage Best Practices

    2

    Contents

    Chapter 1: Getting Started ................................................................................................................................ 8

    Overview of Citrix XenServer ...................................................................................................................... 8

    Overview of NetApp Storage Solutions ..................................................................................................... 8

    Assumptions ................................................................................................................................................... 9

    Configuration Requirements ........................................................................................................................ 9

    NetApp Storage Requirements ................................................................................................................................. 9

    XenServer Requirements ........................................................................................................................................... 9

    Chapter 2: Overview of XenServer Storage .................................................................................................11

    Configuring Access to Storage ...................................................................................................................11

    Virtual Disk Images (VDIs) ........................................................................................................................12

    Configuring Storage Repositories Using XenCenter ..............................................................................12

    Shared iSCSI Storage ................................................................................................................................................ 13

    Shared Fibre Channel Storage ................................................................................................................................ 14

    Shared NAS using NFS ........................................................................................................................................... 14

    Chapter 3: NetApp Configuration and Setup ..............................................................................................15

    Configuring the NetApp Management Network ....................................................................................15

    Obtaining the IP address for a NetApp Storage Controller ..................................................................16

    Configuring a NetApp VIF ........................................................................................................................16

    Configuring a NetApp Aggregate ..............................................................................................................20

    Configuring a Volume .................................................................................................................................23

    Choosing Thin Provisioning or Thick Provisioning ........................................................................................... 24

    Reclaiming Space with NetApp Deduplication ................................................................................................... 25

    Creating a Volume .................................................................................................................................................... 27

    Creating an Initiator Group ........................................................................................................................28

    Chapter 4: XenServer Storage Best Practices ..............................................................................................31

    Overview .......................................................................................................................................................31

  • Citrix XenServer and NetApp Storage Best Practices

    3

    Best Practices for IP-Based Storage Networks ........................................................................................31

    Creating a Separate Network for IP-based Storage Traffic ............................................................................... 32

    Chapter 5: XenServer NFS Storage Configuration and Setup ..................................................................39

    Overall Process .............................................................................................................................................39

    Enabling the NFS Service on the NetApp ...............................................................................................40

    Exporting the NFS Volume .......................................................................................................................40

    Creating an NFS SR in XenCenter ............................................................................................................42

    Creating an NFS Virtual Disk in the SR ...................................................................................................44

    Chapter 6: XenServer iSCSI Software Initiator Configuration .................................................................45

    Configuring iSCSI Software Initiator Storage ..........................................................................................45

    Retrieving and Changing the IQN in a XenServer Host ................................................................................... 46

    Enabling the iSCSI service on the NetApp storage ............................................................................................ 47

    Creating a LUN for iSCSI Software Initiator ....................................................................................................... 47

    Creating an iSCSI Software Initiator SR Using XenCenter ............................................................................... 50

    Chapter 7: Creating an iSCSI Hardware SR .................................................................................................54

    Overview .......................................................................................................................................................54

    Overall Process for iSCSI Hardware SRs .................................................................................................55

    XenServer HBA Support ........................................................................................................................................ 55

    Configuring an HBA ................................................................................................................................................ 55

    Creating a LUN for iSCSI Hardware .................................................................................................................... 58

    Adding a Persistent Target to the HBA Ports ..................................................................................................... 60

    Creating an iSCSI SR over HBA ............................................................................................................................ 64

    Chapter 8: XenServer Fibre Channel Storage Configuration ....................................................................67

    Overview .......................................................................................................................................................67

    Configuring the Fibre Channel Ports as Targets .....................................................................................68

    Configuring a Fibre Channel Storage Repository....................................................................................68

    Retrieving the WWPN for an HBA using XenCenter ....................................................................................... 69

    Creating the LUN in System Manager .................................................................................................................. 69

  • Citrix XenServer and NetApp Storage Best Practices

    4

    Creating an SR for Fibre Channel .......................................................................................................................... 72

    Fibre Channel over Ethernet ......................................................................................................................74

    Chapter 9: Configuring Storage with StorageLink ......................................................................................75

    Overview .......................................................................................................................................................75

    StorageLink Requirements ...................................................................................................................................... 75

    Configuring StorageLink Storage Repositories ........................................................................................76

    Methods of Creating StorageLink SRs .................................................................................................................. 77

    Upgrading StorageLink and StorageLink Gateway SRs .........................................................................78