SlideShare une entreprise Scribd logo
1  sur  43
Storage Lunch

Cédric Mégroz
Architect




22.11.2012
Agenda

                                          Why IP Storage
                             IP storage NFS iSCSI SMB3
                                             iSCSI concept
                                        iSCSI architecture
                                                iSCSI name
                                     hba or software iscsi
                 iSCSI dependant independant hardware
                                      iSCSI Configuration
                Binding or not binding that is the question
               Stacked or not stacked that is the question
                             Masking on the array with iqn
    Multipathing, Policy & Pluggable Storage Architecture
                                                    VMFS 5
                                             Miscellaneous
                                                      ALUA
                                              Jumbo Frame
                                                  Delay Ack
                                                  Equallogic
                                 Equallogic configurations
                                Host Software for VMware
                               Host Software for Windows
                                                Questions ?
Why IP Storage

• Low cost infrastructure with 1 GB Ethernet
• No switch and special connectivity to
  implement it

• For small infrastructure with less 50 VMs

• BUT not so easy to implement (a lot of best
  practice to find perf and throughput)
IP Storage NFS iSCSI SMB3

• Two storage family

• Block (SCSI, iSCSI, FC, FCoE, AoE)

• NAS Network Attached storage ( NFS,
  SMB3 => Hyper-V)
Storage with VMware



VMware
vSphere®
ESXi™ hosts


Datastore           VMware vSphere® VMFS           NFS
types

                                                     file
                                                   system

Storage        direct     Fibre
technology                         FCoE    iSCSI   NAS
              attached   Channel
iSCSI – What is it?

                        • iSCSI specifies a way to “encapsulate”
                          SCSI commands in a TCP/IP network
                          connection:

          IP         TCP      iSCSI
Gigabit Header      Header                     SCSI commands and data
                              Header
Ethernet
                                                     Explains how to extract
                                                     SCSI commands and data

                                    Provides information necessary to
Provides Link
                                    guarantee delivery
Addressing, large
frame sizes, and    Contains “routing” information
flow control        so the message can find its
                    way through the network
iSCSI concept

• Internet Small Computer Systems Interface
  (iSCSI)
• Physical network isolation (dedicated sw)
  Logical network isolation (VLAN)
• Default Port Number: 3260
• An optional CHAP Secret (e.g.,
  "secretsarefun") do not use for masking
• LUN (Logical unit number)
iSCSI architecture
ISCSI name

iSCSI target name:
iqn.1992-08.com.mycompany:stor1-47cf3c25
or
eui.fedcba9876543210
iSCSI alias: stor1
IP address: 192.168.36.101



   iSCSI initiator name:
   iqn.1998-01.com.vmware:train1-64ad4c29
   or
   eui.1234567890abcdef
   iSCSI alias: train1
   IP address: 192.168.36.88
LUN Masking
HBA or software iSCSI initiator
Network software iSCSI Configuration
• A VMkernel port must be created for ESXi to access software
  iSCSI.
   – The same port can be used to access NAS/NFS storage.




• To optimize your vSphere networking setup:
 Separate iSCSI networks from NAS/NFS networks.
      • Physical separation is preferred.
      • If physical separation is not possible, use VLANs.
iSCSI Target-Discovery Methods
• Two discovery methods are
  supported:
  • Static
  • Dynamic (also known as
    SendTargets)

     By default Dynamic

     This functionality is used by
     Equallogic to redirect the host to                 192.168.36.101:3260
     the right target
iSCSI Security: CHAP
• iSCSI initiators use CHAP for                    Software iSCSI properties > General tab
  authentication purposes.
  • By default, CHAP is not
    configured.
• ESXi supports two types of
  CHAP authentication:
  • Unidirectional
  • Bidirectional:
     – Software iSCSI only
                                     Target
                                  authenticates
                                      host.

• CHAP is not masking !!!!




                                                                                    Host
                                                                                authenticates
                                                                                   target.
Multipathing with iSCSI
• Hardware iSCSI:
   • Use two or more hardware iSCSI
     adapters.
• Software or dependent hardware
  iSCSI:
   • Use multiple network interface
     cards (NICs).
   • Connect each NIC to a separate
     VMkernel port.
   • Associate VMkernel ports with
     iSCSI initiator.
Configuration iSCSI 1/4

• Create a
  dedicated vSwitch
  with 2 VMKernel
  and 2 VMNIC
  connected on the
  IP storage network

• If same subnet
  dedicate a VMNIC
  per VMKernel
• If not do nothing
Configuration iSCSI 2/4

• vmk_iscsi1 with
  VMNIC5
• vmk_iscsi2 with
  VMNIC4

• Idem for DVS
Configuration iSCSI 3/4
Configuration iSCSI 4/4
Binding or not binding VMKernel on iSCSI sw
Binding or not binding VMKernel on iSCSI sw




• Rescan times take longer than usual Incorrect
• number of paths are seen per device
• Unable to see any storage from the storage device
• CISCO NEXUS with LACP impose this config. with AA array without ALUA
Stacked or not stacked that is the question


The architecture of the array can have two
developement

Multi target: for each Ethernet port you have
a iSCSI target => do not stack the switch like
the FC word. (HDS or VNX)

Uni target: only one target is generated for
all the Ethernet port => stack the switch to
have a failover in case of lost connectivity
(NetApp, Equallogic)
Dedicated network or not …

For small network yes it’s better

Think IOS update

With 10GB and Nexus… no choice

Generaly network infrastructure is
stacked and it’s not a good thinks in case
of lost of the master (old switch 15 sec
without network)
Pluggable Storage Architecture
Multipathing, Policy




esxcli nmp satp setdefaultpsp -P VMW_SATP_ALUA -S VMW_PSP_RR

for esxi 5
esxcli storage nmp satp set –P VMW_PSP_RR –s VMW_SATP_ALUA
What is Asymmetric Logical Unit
(ALUA)?



ALUA Allows for paths to be
profiled
Active (optimized)
Active (non-optimized)
Le VMFS 5

• VMFS-5:
  • Allows concurrent access to shared storage
  • Can be dynamically expanded
  • Uses a 1MB block size, good for storing large virtual disk files
  • Uses subblock addressing, good for storing small files:
     – The subblock size is 8KB.
  • Provides on-disk, block-level locking



                                                                       host            host




                                                                          VMFS datastore
VAAI

• vStorage APIs for Array Integration is a
  feature introduced ESX/ESXi 4.1 that
  provides hardware acceleration
  functionality.
• It enables your host to offload specific
  virtual machine and storage management
  operations to compliant storage hardware.
• Used for lock file, clone & copie, svMotion
• NFS is supported with a ESXi agent
• Need license Ent & Ent +
Datastore size

• Updating the metadata of VMFS requires a
  SCSI reserve and release
•   1. Starting and stopping a VM
•   2. vMotioning a VM
•   3. Using VMware snapshots
•   4. Using vAPI Dataprotection (use VMware snapshots)

• . => 15 VMs / block datastore
• VMware Best Practice 300 – 700 GB
• But actually with VAAI => no limit
•   Use Large capacity datastores Avoid RDMs
•   NFS: 16TB
•   VMFS: vSphere 5 = 64TB
•   vSphere 4 = 2TB
•   Avoid extents
Miscellaneous

•   Never route network IP storage !!! Warning with the loop
    !!!!
•   Ask for compliant subnets with the Network team

•   Use always the vCenter Plug-In to apply the best practice
    on the ESXi host
•   Use always the vCenter Plug-In to create and mount the
    datastore
Jumbo Frame

•   What is an Ethernet Jumbo Frame? Ethernet frames with
    more than 1500 bytes of payload (9000 is common – FCoE
    is 2240)
•   Commonly ‘thought of’ as having better performance
•   Should I use Jumbo Frames?

•   Adds complexity & performance gains (while existent) are
    relatively marginal with common block sizes
•   Stick with the defaults when you can
Delayed Ack mandatory (EMC et HDS hyper-V)


TCP delayed acknowledgment is a technique used by some implementations of
the Transmission Control Protocol in an effort to improve network performance. In
essence, several ACK responses may be combined together into a single
response, reducing protocol overhead. However, in some circumstances, the
technique can reduce application performance.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1
002598

http://support.microsoft.com/kb/981482

http://www.axiomdynamics.com/it-tweaks-and-tricks/iSCSI-best-practices/html/iSCSI-Best-Practices-
VMware-EMC-Microsoft.html
Advanced network configurations

•   Enable Rapid spanning-tree (portfast)
•   Enable flow control on all ports in the switch and array
•   Disable port storm control (broadcast- unicast)
•   Enable jumbo frames if possible
Alignment is Optimal I/O
Misalignment of filesystems results in additional work on storage controller to
satisfy IO request

Affects every protocol, and every storage array VMFS & NFS Datastores

VMDKs & RDMs with NTFS, EXT3, LUN, etc

Filesystems exist in the datastore and VMDK

    Create VMFS with GUI not vCLI
    Windows NT, 2000, 2003, & XP (use diskpart to set to 1MB)
    Linux (use fdisk expert mode and align on 2048 = 1MB)
Fixing Misalignment

Guest OS filesystem is misaligned

• Step 1: Take an array snapshot/backup
• Step 2: Use offline tools to realign EMC
  UBERAlign (open, works with all, scheduler, and in-
  guest reclaim)
   vSphere Migrator

   Alternate: Use online tool to align NetApp
   Migrate & Optimize (VSC feature)
SIOC NIOC SDRS

•   QoS on storage and network dVS

•   NIOC offert QoS compatible 802.1p for Virtual machine
    traffic, Management traffic, iSCSI traffic, NFS traffic, Fault-
    tolerant traffic, VMware vMotion traffic, User-defined
    traffic, vSphere replication traffic

•   SIOC use queue depth to manage contention. SIOC
    monitors the latency of I/Os to datastores at each ESX
    host sharing that device. When the average normalized
    datastore latency exceeds a set threshold (30ms by
    default), the datastore is considered to be congested, and
    SIOC kicks in to distribute the available storage resources
    to virtual machines in proportion to their shares.

•   Need license Ent+ …
iSCSI Storage array

iSCSI Storage   Switch    Multi target     Jumbo Frame     10GB      ALUA
    array       stacked
EMC VNX          no           yes             yes          yes       yes
                depend    Need different
NetApp                       subnet
                                              yes          yes      FC only
HDS HUS          no           yes            1GB ?         yes        AA
HDS AMS          no           yes           1GB no       Only AMS     AA
                                                           2500
Equallogic       yes          no              yes          yes         -
Equallogic

• Can be combined with other EqualLogic PS
  Series arrays in the same SAN group,
  online. Up to 16 total members per group
• Automatic RAID 5, RAID 6, RAID 10 and
  RAID 50
• 1 mgmt target per SAN Group but each
  stack has these own tragets.
• The mgmt target redirect to the target with
  the LUN
• Need to use de MPIO of Dell Equallogic for
  Windows
Equallogic configurations

• There are three load balancers that operate within
  a pool:
• The NLB (Network Load Balancer) manages the
  assignment of individual iSCSI connections to
  Ethernet ports on the pool members
• The CLB (Capacity Load Balancer) manages the
  utilization of the disk capacity in the pool
• The APLB (Automatic Performance Load
  Balancer) manages the distribution of high I/O
  data within the pool.
Host Software for VMware

• Host Integration Tools for VMware®
• Auto-Snapshot Manager/VMware Edition (ASM/VE): Integrates with
  VMware VirtualCenter and PS Series snapshots to allow administrators to
  enable Smart Copy protection of VirtualCenter folders, datastores, and
  virtual machines.
• EqualLogic Datastore Manager: Allows administrators to create and
  manage datastores on EqualLogic PS Series arrays from within vCenter.
• Virtual Desktop Deployment Utility: Automates the deployment of virtual
  desktops in a VMware View™ environment.
• Storage Adapter for Site Recovery Manager (SRM): Allows SRM to
  understand and recognize PS Series replication for full SRM integration.
• Multipathing Extension Module for VMware® vSphere™: Provides
  connection awareness enhancements to the existing VMware multipathing
  functionality that understands PS Series network load balancing and
  facilitates host connections to PS Series volumes.
Host Software for Windows

• Host Integration Tools for Microsoft®
• Remote Setup Wizard (RSW): Initializes new PS Series arrays, configures
  host connections to PS Series SANs, and configures and manages
  multipathing.
• Multipath I/O Device Specific Module (MPIO DSM): Includes a connection
  awareness-module that understands PS Series network load balancing and
  facilitates host connections to PS Series volumes.
• VSS and VDS Provider Services: Allows 3rd party backup software
  vendors to perform off-host backups.
• Auto-Snapshot Manager/Microsoft Edition (ASM/ME): Provides point-in-
  time SAN protection of critical application data using PS Series snapshots,
  clones, and replicas of supported applications such as SQL Server®,
  Exchange Server®, Hyper-V™, and NTFS file shares.
• PowerShell Tools: Provides a comprehensive set of PowerShell cmdlets for
  managing one or many PS Series groups.
Questions ?
links
http://www.vmware.com/files/pdf/techpaper/vmware-multipathing-configuration-software-iSCSI-port-binding.pdf

http://blogs.vmware.com/vsphere/2011/08/vsphere-50-storage-features-part-12-iscsi-multipathing-enhancements.html

binding or not
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2038869

PSA
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1011375

Equallogic
http://docs.danielkassner.com/dell/ISCSI_optimization_EQL.pdf


iSCSI best practice
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002598

http://support.microsoft.com/kb/981482

http://www.axiomdynamics.com/it-tweaks-and-tricks/iSCSI-best-practices/html/iSCSI-Best-Practices-VMware-EMC-
Microsoft.html

NetApp & EMC VMworld session Best Practice
http://download3.vmware.com/vmworld/2012/top10/sto2980.pdf

Contenu connexe

Tendances

Building a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on XenBuilding a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on Xen
The Linux Foundation
 
333 vnx unifiedimp_m02 block storage provisioning and management
333 vnx unifiedimp_m02 block storage provisioning and management333 vnx unifiedimp_m02 block storage provisioning and management
333 vnx unifiedimp_m02 block storage provisioning and management
xigua_521
 

Tendances (17)

NVMe Over Fabrics Support in Linux
NVMe Over Fabrics Support in LinuxNVMe Over Fabrics Support in Linux
NVMe Over Fabrics Support in Linux
 
VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5
 
VMware Advance Troubleshooting Workshop - Day 3
VMware Advance Troubleshooting Workshop - Day 3VMware Advance Troubleshooting Workshop - Day 3
VMware Advance Troubleshooting Workshop - Day 3
 
Oracle VM 3 hard partitioning
Oracle VM 3 hard partitioningOracle VM 3 hard partitioning
Oracle VM 3 hard partitioning
 
EMC - Copaco Cloud Event 2015 (break-out 3)
EMC - Copaco Cloud Event 2015 (break-out 3)EMC - Copaco Cloud Event 2015 (break-out 3)
EMC - Copaco Cloud Event 2015 (break-out 3)
 
Building a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on XenBuilding a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on Xen
 
Vsphere 4-partner-training180
Vsphere 4-partner-training180Vsphere 4-partner-training180
Vsphere 4-partner-training180
 
333 vnx unifiedimp_m02 block storage provisioning and management
333 vnx unifiedimp_m02 block storage provisioning and management333 vnx unifiedimp_m02 block storage provisioning and management
333 vnx unifiedimp_m02 block storage provisioning and management
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshooting
 
Road show 2015 triangle meetup
Road show 2015 triangle meetupRoad show 2015 triangle meetup
Road show 2015 triangle meetup
 
Salt Cloud vmware-orchestration
Salt Cloud vmware-orchestrationSalt Cloud vmware-orchestration
Salt Cloud vmware-orchestration
 
SM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstackSM16 - Can i move my stuff to openstack
SM16 - Can i move my stuff to openstack
 
Oracle VM 3.4.1 Installation
Oracle VM 3.4.1 InstallationOracle VM 3.4.1 Installation
Oracle VM 3.4.1 Installation
 
Cisco prime network 4
Cisco prime network 4Cisco prime network 4
Cisco prime network 4
 
Iaas on xcp
Iaas on xcpIaas on xcp
Iaas on xcp
 
Xen ATG case study
Xen ATG case studyXen ATG case study
Xen ATG case study
 
OSDC 2014 ONIE by Nat Morris
OSDC 2014 ONIE by Nat MorrisOSDC 2014 ONIE by Nat Morris
OSDC 2014 ONIE by Nat Morris
 

En vedette

Vsphere esxi-vcenter-server-50-storage-guide
Vsphere esxi-vcenter-server-50-storage-guideVsphere esxi-vcenter-server-50-storage-guide
Vsphere esxi-vcenter-server-50-storage-guide
Conrad Cruz
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
glbsolutions
 

En vedette (19)

The Great IT Migration
The Great IT MigrationThe Great IT Migration
The Great IT Migration
 
Converged Networks: FCoE, iSCSI and the Future of Storage Networking
Converged Networks: FCoE, iSCSI and the Future of Storage NetworkingConverged Networks: FCoE, iSCSI and the Future of Storage Networking
Converged Networks: FCoE, iSCSI and the Future of Storage Networking
 
ProfessionalVMware BrownBag VCP5 Section3: Storage
ProfessionalVMware BrownBag VCP5 Section3: StorageProfessionalVMware BrownBag VCP5 Section3: Storage
ProfessionalVMware BrownBag VCP5 Section3: Storage
 
Vsphere esxi-vcenter-server-50-storage-guide
Vsphere esxi-vcenter-server-50-storage-guideVsphere esxi-vcenter-server-50-storage-guide
Vsphere esxi-vcenter-server-50-storage-guide
 
Network policies
Network policiesNetwork policies
Network policies
 
Mastering VMware Datacenter Part-1
Mastering VMware Datacenter Part-1Mastering VMware Datacenter Part-1
Mastering VMware Datacenter Part-1
 
Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...
Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...
Reliable Python REST API (by Volodymyr Hotsyk) - Web Back-End Tech Hangout - ...
 
Advanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtopAdvanced performance troubleshooting using esxtop
Advanced performance troubleshooting using esxtop
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
 
"FCoE vs. iSCSI - Making the Choice" from Interop Las Vegas 2011
"FCoE vs. iSCSI - Making the Choice" from Interop Las Vegas 2011"FCoE vs. iSCSI - Making the Choice" from Interop Las Vegas 2011
"FCoE vs. iSCSI - Making the Choice" from Interop Las Vegas 2011
 
Rest api with Python
Rest api with PythonRest api with Python
Rest api with Python
 
Python programming advance lab api npr 2
Python programming advance lab api npr  2Python programming advance lab api npr  2
Python programming advance lab api npr 2
 
iSCSI Protocol and Functionality
iSCSI Protocol and FunctionalityiSCSI Protocol and Functionality
iSCSI Protocol and Functionality
 
Python RESTful webservices with Python: Flask and Django solutions
Python RESTful webservices with Python: Flask and Django solutionsPython RESTful webservices with Python: Flask and Django solutions
Python RESTful webservices with Python: Flask and Django solutions
 
A day in the life of a VSAN I/O - STO7875
A day in the life of a VSAN I/O - STO7875A day in the life of a VSAN I/O - STO7875
A day in the life of a VSAN I/O - STO7875
 
VMware VSAN Technical Deep Dive - March 2014
VMware VSAN Technical Deep Dive - March 2014VMware VSAN Technical Deep Dive - March 2014
VMware VSAN Technical Deep Dive - March 2014
 
VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6
 
Building Automated REST APIs with Python
Building Automated REST APIs with PythonBuilding Automated REST APIs with Python
Building Automated REST APIs with Python
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
 

Similaire à Lxp storage iSCSI Best Practice

Introduction to storage
Introduction to storageIntroduction to storage
Introduction to storage
sagaroceanic11
 
Pm 01 bradley stone_openstorage_openstack
Pm 01 bradley stone_openstorage_openstackPm 01 bradley stone_openstorage_openstack
Pm 01 bradley stone_openstorage_openstack
OpenCity Community
 
Rearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server VirtualizationRearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server Virtualization
Stephen Foskett
 
Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloads
pittmantony
 

Similaire à Lxp storage iSCSI Best Practice (20)

iSCSI for better or worse
iSCSI for better or worseiSCSI for better or worse
iSCSI for better or worse
 
Cloud computing and storage
Cloud computing and storageCloud computing and storage
Cloud computing and storage
 
Introduction to storage
Introduction to storageIntroduction to storage
Introduction to storage
 
Openstorage with OpenStack, by Bradley
Openstorage with OpenStack, by BradleyOpenstorage with OpenStack, by Bradley
Openstorage with OpenStack, by Bradley
 
Pm 01 bradley stone_openstorage_openstack
Pm 01 bradley stone_openstorage_openstackPm 01 bradley stone_openstorage_openstack
Pm 01 bradley stone_openstorage_openstack
 
Planning and Designing Virtual UC Solutions on UCS Platform- Joseph Bassaly
Planning and Designing Virtual UC Solutions on UCS Platform- Joseph BassalyPlanning and Designing Virtual UC Solutions on UCS Platform- Joseph Bassaly
Planning and Designing Virtual UC Solutions on UCS Platform- Joseph Bassaly
 
VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4VMware vSphere 6.0 - Troubleshooting Training - Day 4
VMware vSphere 6.0 - Troubleshooting Training - Day 4
 
Rearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server VirtualizationRearchitecting Storage for Server Virtualization
Rearchitecting Storage for Server Virtualization
 
Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloads
 
An introduction into Oracle VM V3.x
An introduction into Oracle VM V3.xAn introduction into Oracle VM V3.x
An introduction into Oracle VM V3.x
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
Denver VMUG nov 2011
Denver VMUG nov 2011Denver VMUG nov 2011
Denver VMUG nov 2011
 
2017 VMUG Storage Policy Based Management
2017 VMUG Storage Policy Based Management2017 VMUG Storage Policy Based Management
2017 VMUG Storage Policy Based Management
 
Benefits of NexentaStor 3.0 in a Virtualized Enviroment
Benefits of NexentaStor 3.0 in a Virtualized EnviromentBenefits of NexentaStor 3.0 in a Virtualized Enviroment
Benefits of NexentaStor 3.0 in a Virtualized Enviroment
 
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise
 
Openstorage Openstack
Openstorage OpenstackOpenstorage Openstack
Openstorage Openstack
 
Module 06 (1).pdf
Module 06 (1).pdfModule 06 (1).pdf
Module 06 (1).pdf
 
Storage Area networking and upcoming trends
Storage Area networking and upcoming trendsStorage Area networking and upcoming trends
Storage Area networking and upcoming trends
 
0 foundation update__final - Mendy Furmanek
0 foundation update__final - Mendy Furmanek0 foundation update__final - Mendy Furmanek
0 foundation update__final - Mendy Furmanek
 
StarWind Virtual SAN Overview
StarWind Virtual SAN OverviewStarWind Virtual SAN Overview
StarWind Virtual SAN Overview
 

Lxp storage iSCSI Best Practice

  • 2. Agenda Why IP Storage IP storage NFS iSCSI SMB3 iSCSI concept iSCSI architecture iSCSI name hba or software iscsi iSCSI dependant independant hardware iSCSI Configuration Binding or not binding that is the question Stacked or not stacked that is the question Masking on the array with iqn Multipathing, Policy & Pluggable Storage Architecture VMFS 5 Miscellaneous ALUA Jumbo Frame Delay Ack Equallogic Equallogic configurations Host Software for VMware Host Software for Windows Questions ?
  • 3. Why IP Storage • Low cost infrastructure with 1 GB Ethernet • No switch and special connectivity to implement it • For small infrastructure with less 50 VMs • BUT not so easy to implement (a lot of best practice to find perf and throughput)
  • 4. IP Storage NFS iSCSI SMB3 • Two storage family • Block (SCSI, iSCSI, FC, FCoE, AoE) • NAS Network Attached storage ( NFS, SMB3 => Hyper-V)
  • 5. Storage with VMware VMware vSphere® ESXi™ hosts Datastore VMware vSphere® VMFS NFS types file system Storage direct Fibre technology FCoE iSCSI NAS attached Channel
  • 6. iSCSI – What is it? • iSCSI specifies a way to “encapsulate” SCSI commands in a TCP/IP network connection: IP TCP iSCSI Gigabit Header Header SCSI commands and data Header Ethernet Explains how to extract SCSI commands and data Provides information necessary to Provides Link guarantee delivery Addressing, large frame sizes, and Contains “routing” information flow control so the message can find its way through the network
  • 7. iSCSI concept • Internet Small Computer Systems Interface (iSCSI) • Physical network isolation (dedicated sw) Logical network isolation (VLAN) • Default Port Number: 3260 • An optional CHAP Secret (e.g., "secretsarefun") do not use for masking • LUN (Logical unit number)
  • 9. ISCSI name iSCSI target name: iqn.1992-08.com.mycompany:stor1-47cf3c25 or eui.fedcba9876543210 iSCSI alias: stor1 IP address: 192.168.36.101 iSCSI initiator name: iqn.1998-01.com.vmware:train1-64ad4c29 or eui.1234567890abcdef iSCSI alias: train1 IP address: 192.168.36.88
  • 11. HBA or software iSCSI initiator
  • 12. Network software iSCSI Configuration • A VMkernel port must be created for ESXi to access software iSCSI. – The same port can be used to access NAS/NFS storage. • To optimize your vSphere networking setup:  Separate iSCSI networks from NAS/NFS networks. • Physical separation is preferred. • If physical separation is not possible, use VLANs.
  • 13. iSCSI Target-Discovery Methods • Two discovery methods are supported: • Static • Dynamic (also known as SendTargets) By default Dynamic This functionality is used by Equallogic to redirect the host to 192.168.36.101:3260 the right target
  • 14. iSCSI Security: CHAP • iSCSI initiators use CHAP for Software iSCSI properties > General tab authentication purposes. • By default, CHAP is not configured. • ESXi supports two types of CHAP authentication: • Unidirectional • Bidirectional: – Software iSCSI only Target authenticates host. • CHAP is not masking !!!! Host authenticates target.
  • 15. Multipathing with iSCSI • Hardware iSCSI: • Use two or more hardware iSCSI adapters. • Software or dependent hardware iSCSI: • Use multiple network interface cards (NICs). • Connect each NIC to a separate VMkernel port. • Associate VMkernel ports with iSCSI initiator.
  • 16. Configuration iSCSI 1/4 • Create a dedicated vSwitch with 2 VMKernel and 2 VMNIC connected on the IP storage network • If same subnet dedicate a VMNIC per VMKernel • If not do nothing
  • 17. Configuration iSCSI 2/4 • vmk_iscsi1 with VMNIC5 • vmk_iscsi2 with VMNIC4 • Idem for DVS
  • 20. Binding or not binding VMKernel on iSCSI sw
  • 21. Binding or not binding VMKernel on iSCSI sw • Rescan times take longer than usual Incorrect • number of paths are seen per device • Unable to see any storage from the storage device • CISCO NEXUS with LACP impose this config. with AA array without ALUA
  • 22. Stacked or not stacked that is the question The architecture of the array can have two developement Multi target: for each Ethernet port you have a iSCSI target => do not stack the switch like the FC word. (HDS or VNX) Uni target: only one target is generated for all the Ethernet port => stack the switch to have a failover in case of lost connectivity (NetApp, Equallogic)
  • 23. Dedicated network or not … For small network yes it’s better Think IOS update With 10GB and Nexus… no choice Generaly network infrastructure is stacked and it’s not a good thinks in case of lost of the master (old switch 15 sec without network)
  • 25. Multipathing, Policy esxcli nmp satp setdefaultpsp -P VMW_SATP_ALUA -S VMW_PSP_RR for esxi 5 esxcli storage nmp satp set –P VMW_PSP_RR –s VMW_SATP_ALUA
  • 26. What is Asymmetric Logical Unit (ALUA)? ALUA Allows for paths to be profiled Active (optimized) Active (non-optimized)
  • 27. Le VMFS 5 • VMFS-5: • Allows concurrent access to shared storage • Can be dynamically expanded • Uses a 1MB block size, good for storing large virtual disk files • Uses subblock addressing, good for storing small files: – The subblock size is 8KB. • Provides on-disk, block-level locking host host VMFS datastore
  • 28. VAAI • vStorage APIs for Array Integration is a feature introduced ESX/ESXi 4.1 that provides hardware acceleration functionality. • It enables your host to offload specific virtual machine and storage management operations to compliant storage hardware. • Used for lock file, clone & copie, svMotion • NFS is supported with a ESXi agent • Need license Ent & Ent +
  • 29. Datastore size • Updating the metadata of VMFS requires a SCSI reserve and release • 1. Starting and stopping a VM • 2. vMotioning a VM • 3. Using VMware snapshots • 4. Using vAPI Dataprotection (use VMware snapshots) • . => 15 VMs / block datastore • VMware Best Practice 300 – 700 GB • But actually with VAAI => no limit • Use Large capacity datastores Avoid RDMs • NFS: 16TB • VMFS: vSphere 5 = 64TB • vSphere 4 = 2TB • Avoid extents
  • 30. Miscellaneous • Never route network IP storage !!! Warning with the loop !!!! • Ask for compliant subnets with the Network team • Use always the vCenter Plug-In to apply the best practice on the ESXi host • Use always the vCenter Plug-In to create and mount the datastore
  • 31. Jumbo Frame • What is an Ethernet Jumbo Frame? Ethernet frames with more than 1500 bytes of payload (9000 is common – FCoE is 2240) • Commonly ‘thought of’ as having better performance • Should I use Jumbo Frames? • Adds complexity & performance gains (while existent) are relatively marginal with common block sizes • Stick with the defaults when you can
  • 32. Delayed Ack mandatory (EMC et HDS hyper-V) TCP delayed acknowledgment is a technique used by some implementations of the Transmission Control Protocol in an effort to improve network performance. In essence, several ACK responses may be combined together into a single response, reducing protocol overhead. However, in some circumstances, the technique can reduce application performance. http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1 002598 http://support.microsoft.com/kb/981482 http://www.axiomdynamics.com/it-tweaks-and-tricks/iSCSI-best-practices/html/iSCSI-Best-Practices- VMware-EMC-Microsoft.html
  • 33. Advanced network configurations • Enable Rapid spanning-tree (portfast) • Enable flow control on all ports in the switch and array • Disable port storm control (broadcast- unicast) • Enable jumbo frames if possible
  • 34. Alignment is Optimal I/O Misalignment of filesystems results in additional work on storage controller to satisfy IO request Affects every protocol, and every storage array VMFS & NFS Datastores VMDKs & RDMs with NTFS, EXT3, LUN, etc Filesystems exist in the datastore and VMDK Create VMFS with GUI not vCLI Windows NT, 2000, 2003, & XP (use diskpart to set to 1MB) Linux (use fdisk expert mode and align on 2048 = 1MB)
  • 35. Fixing Misalignment Guest OS filesystem is misaligned • Step 1: Take an array snapshot/backup • Step 2: Use offline tools to realign EMC UBERAlign (open, works with all, scheduler, and in- guest reclaim) vSphere Migrator Alternate: Use online tool to align NetApp Migrate & Optimize (VSC feature)
  • 36. SIOC NIOC SDRS • QoS on storage and network dVS • NIOC offert QoS compatible 802.1p for Virtual machine traffic, Management traffic, iSCSI traffic, NFS traffic, Fault- tolerant traffic, VMware vMotion traffic, User-defined traffic, vSphere replication traffic • SIOC use queue depth to manage contention. SIOC monitors the latency of I/Os to datastores at each ESX host sharing that device. When the average normalized datastore latency exceeds a set threshold (30ms by default), the datastore is considered to be congested, and SIOC kicks in to distribute the available storage resources to virtual machines in proportion to their shares. • Need license Ent+ …
  • 37. iSCSI Storage array iSCSI Storage Switch Multi target Jumbo Frame 10GB ALUA array stacked EMC VNX no yes yes yes yes depend Need different NetApp subnet yes yes FC only HDS HUS no yes 1GB ? yes AA HDS AMS no yes 1GB no Only AMS AA 2500 Equallogic yes no yes yes -
  • 38. Equallogic • Can be combined with other EqualLogic PS Series arrays in the same SAN group, online. Up to 16 total members per group • Automatic RAID 5, RAID 6, RAID 10 and RAID 50 • 1 mgmt target per SAN Group but each stack has these own tragets. • The mgmt target redirect to the target with the LUN • Need to use de MPIO of Dell Equallogic for Windows
  • 39. Equallogic configurations • There are three load balancers that operate within a pool: • The NLB (Network Load Balancer) manages the assignment of individual iSCSI connections to Ethernet ports on the pool members • The CLB (Capacity Load Balancer) manages the utilization of the disk capacity in the pool • The APLB (Automatic Performance Load Balancer) manages the distribution of high I/O data within the pool.
  • 40. Host Software for VMware • Host Integration Tools for VMware® • Auto-Snapshot Manager/VMware Edition (ASM/VE): Integrates with VMware VirtualCenter and PS Series snapshots to allow administrators to enable Smart Copy protection of VirtualCenter folders, datastores, and virtual machines. • EqualLogic Datastore Manager: Allows administrators to create and manage datastores on EqualLogic PS Series arrays from within vCenter. • Virtual Desktop Deployment Utility: Automates the deployment of virtual desktops in a VMware View™ environment. • Storage Adapter for Site Recovery Manager (SRM): Allows SRM to understand and recognize PS Series replication for full SRM integration. • Multipathing Extension Module for VMware® vSphere™: Provides connection awareness enhancements to the existing VMware multipathing functionality that understands PS Series network load balancing and facilitates host connections to PS Series volumes.
  • 41. Host Software for Windows • Host Integration Tools for Microsoft® • Remote Setup Wizard (RSW): Initializes new PS Series arrays, configures host connections to PS Series SANs, and configures and manages multipathing. • Multipath I/O Device Specific Module (MPIO DSM): Includes a connection awareness-module that understands PS Series network load balancing and facilitates host connections to PS Series volumes. • VSS and VDS Provider Services: Allows 3rd party backup software vendors to perform off-host backups. • Auto-Snapshot Manager/Microsoft Edition (ASM/ME): Provides point-in- time SAN protection of critical application data using PS Series snapshots, clones, and replicas of supported applications such as SQL Server®, Exchange Server®, Hyper-V™, and NTFS file shares. • PowerShell Tools: Provides a comprehensive set of PowerShell cmdlets for managing one or many PS Series groups.
  • 43. links http://www.vmware.com/files/pdf/techpaper/vmware-multipathing-configuration-software-iSCSI-port-binding.pdf http://blogs.vmware.com/vsphere/2011/08/vsphere-50-storage-features-part-12-iscsi-multipathing-enhancements.html binding or not http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2038869 PSA http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1011375 Equallogic http://docs.danielkassner.com/dell/ISCSI_optimization_EQL.pdf iSCSI best practice http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002598 http://support.microsoft.com/kb/981482 http://www.axiomdynamics.com/it-tweaks-and-tricks/iSCSI-best-practices/html/iSCSI-Best-Practices-VMware-EMC- Microsoft.html NetApp & EMC VMworld session Best Practice http://download3.vmware.com/vmworld/2012/top10/sto2980.pdf