HP BL680c XenServer Administrator's Guide 4.1.0 - Page 22

Shared NetApp Storage

Page 22 highlights

Storage The sr-probe command should be used to list the LUN-backed SCSI devices present on the host, and will force a scan for new LUN-backed SCSI devices each time it is run. The path value returned by sr-probe for a LUN-backed SCSI device will be consistent across all hosts with access to the LUN, and therefore must be used when creating shared SRs accessible by all hosts in a resource pool. The same features apply to QLogic iSCSI HBAs. See Section 3.3.1, "Creating Storage Repositories" for details on creating shared HBA-based FC and iSCSI SRs. Note XenServer Host support for Fibre Channel has the following restrictions: • Dual Multipath is not supported • Direct mapping of a LUN to a VM is not supported. HBA-based LUNs must be mapped to the host and specified for use in an SR. VDIs within the SR are exposed to VMs as standard block devices. 3.2.6. Shared NetApp Storage If you have access to a Network Appliance™ (NetApp) filer with sufficient disk space, running a version of Data ONTAP 7G (version 7.0 or greater), you can configure a custom NetApp storage repository for VM storage on your XenServer deployment. The XenServer driver uses the ZAPI interface to the filer to create a group of FlexVols which correspond to an SR. VDIs are created as virtual LUNs on the filer, and attached to XenServer Hosts using an iSCSI data path. There is a direct mapping between a VDI and a raw LUN without requiring any additional volume metadata. Thus, at a logical level, the NetApp SR is a managed volume and the VDIs are the LUNs within the volume. VM cloning uses the snapshotting and cloning capabilities of the filer for data efficiency and performance and to ensure compatibility with existing ONTAP filer management tools. As with the iSCSI-based SR type, the NetApp driver also uses the built-in software initiator and its assigned server IQN, which can be modified by changing the value shown on the General tab when the storage repository is selected in XenCenter. The simplest way to create NetApp SRs is with XenCenter. See XenCenter Help for details. They can also be created using xe CLI commands. See Section 3.3.8, "Creating a shared NetApp SR over iSCSI " for an example. FlexVols NetApp introduces a notion of FlexVol as the basic unit of manageable data. It is important to note that there are limitations that constrain the design of NetApp-based SRs. These are: • maximum number of FlexVols per filer • maximum number of LUNs per network port • maximum number of snapshots per FlexVol Precise system limits vary per Filer type, however as a general guide, a FlexVol may contain up to 200 LUNs, and provides up to 255 snapshots. Since there is a one-to-one mapping of LUNs to VDIs, and often a VM will have more than one VDI, it is apparent that the resource limitations of a single FlexVol can easily be reached. Also consider that the act of taking a snapshot includes snapshotting all the LUNs within a FlexVol and that the VM clone operation indirectly relies on snapshots in the background as well as the CLI-based VDI snapshot operation for backup purposes. 16

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108

Storage
16
The
sr-probe
command should be used to list the LUN-backed SCSI devices present on the host, and will
force a scan for new LUN-backed SCSI devices each time it is run. The path value returned by
sr-probe
for
a LUN-backed SCSI device will be consistent across all hosts with access to the LUN, and therefore must
be used when creating shared SRs accessible by all hosts in a resource pool.
The same features apply to QLogic iSCSI HBAs.
See Section 3.3.1, “Creating Storage Repositories” for details on creating shared HBA-based FC and iSCSI
SRs.
Note
XenServer Host support for Fibre Channel has the following restrictions:
Dual Multipath is not supported
Direct mapping of a LUN to a VM is not supported. HBA-based LUNs must be mapped to the host
and specified for use in an SR. VDIs within the SR are exposed to VMs as standard block devices.
3.2.6. Shared NetApp Storage
If you have access to a Network Appliance
(NetApp) filer with sufficient disk space, running a version
of Data ONTAP 7G (version 7.0 or greater), you can configure a custom NetApp storage repository for
VM storage on your XenServer deployment. The XenServer driver uses the ZAPI interface to the filer to
create a group of
FlexVols
which correspond to an SR. VDIs are created as virtual LUNs on the filer, and
attached to XenServer Hosts using an iSCSI data path. There is a direct mapping between a VDI and a
raw LUN without requiring any additional volume metadata. Thus, at a logical level, the NetApp SR is a
managed volume and the VDIs are the LUNs within the volume. VM cloning uses the snapshotting and
cloning capabilities of the filer for data efficiency and performance and to ensure compatibility with existing
ONTAP filer management tools.
As with the iSCSI-based SR type, the NetApp driver also uses the built-in software initiator and its assigned
server IQN, which can be modified by changing the value shown on the General tab when the storage
repository is selected in XenCenter.
The simplest way to create NetApp SRs is with XenCenter. See XenCenter Help for details. They can also
be created using xe CLI commands. See Section 3.3.8, “Creating a shared NetApp SR over iSCSI ” for
an example.
FlexVols
NetApp introduces a notion of FlexVol as the basic unit of manageable data. It is important to note that there
are limitations that constrain the design of NetApp-based SRs. These are:
maximum number of FlexVols per filer
maximum number of LUNs per network port
maximum number of snapshots per FlexVol
Precise system limits vary per Filer type, however as a general guide, a FlexVol may contain up to 200
LUNs, and provides up to 255 snapshots. Since there is a one-to-one mapping of LUNs to VDIs, and often a
VM will have more than one VDI, it is apparent that the resource limitations of a single FlexVol can easily be
reached. Also consider that the act of taking a snapshot includes snapshotting all the LUNs within a FlexVol
and that the VM clone operation indirectly relies on snapshots in the background as well as the CLI-based
VDI snapshot operation for backup purposes.