33
ViPR Controller implementation VNX and VPLEX run-book Vasily Pantyukhin http://oldhenhut.com Contents 1. Infrastructure covered by the ViPR Controller .................................................................... 4 2. VNX Distributed volume provisioning to a host .................................................................. 4 2.1. Configuration .................................................................................................................................................................... 4 2.2. ViPR view ........................................................................................................................................................................... 4 2.3. VNX view ............................................................................................................................................................................ 8 2.4. VPLEX view...................................................................................................................................................................... 11 3. Export HA leg of VNX Distributed volume to a host .......................................................... 16 3.1. Configuration .................................................................................................................................................................. 16 3.2. Different pathing characteristics ........................................................................................................................... 16 3.3. Same pathing characteristics ................................................................................................................................... 17 4. Migrate VNX volume under VPLEX ................................................................................... 19 4.1. Source VPool and volume ......................................................................................................................................... 19 4.2. Target VPool ................................................................................................................................................................... 21 4.3. ViPR view ......................................................................................................................................................................... 22 4.4. VNX and VPLEX views ................................................................................................................................................ 23 5. Migrate VPLEX Local to Distributed .................................................................................. 27 5.1. Source VPool ................................................................................................................................................................... 27 5.2. Target VPool ................................................................................................................................................................... 28 5.3. ViPR view ......................................................................................................................................................................... 28 5.4. VNX view .......................................................................................................................................................................... 30 5.5. VPLEX view...................................................................................................................................................................... 31 5.6. Change Auto-tiering policy ....................................................................................................................................... 32 5.7. VNX view (before) ........................................................................................................................................................ 32 5.8. Target VPool ................................................................................................................................................................... 33 5.9. ViPR view ......................................................................................................................................................................... 34 5.10. VNX view (after) ......................................................................................................................................................... 35

ViPR VNX and VPLEX-2 Controller implementation VNX and VPLEX run-book Vasily Pantyukhin Contents 1. Infrastructure covered by the ViPR Controller 4 2. VNX Distributed volume provisioning

Embed Size (px)

Citation preview

ViPR Controller implementation VNX and VPLEX

run-book VasilyPantyukhin

http://oldhenhut.com

Contents

1. InfrastructurecoveredbytheViPRController....................................................................4

2. VNXDistributedvolumeprovisioningtoahost..................................................................42.1. Configuration....................................................................................................................................................................42.2. ViPRview...........................................................................................................................................................................42.3. VNXview............................................................................................................................................................................82.4. VPLEXview......................................................................................................................................................................11

3. ExportHAlegofVNXDistributedvolumetoahost..........................................................163.1. Configuration..................................................................................................................................................................163.2. Differentpathingcharacteristics...........................................................................................................................163.3. Samepathingcharacteristics...................................................................................................................................174. MigrateVNXvolumeunderVPLEX...................................................................................194.1. SourceVPoolandvolume.........................................................................................................................................194.2. TargetVPool...................................................................................................................................................................214.3. ViPRview.........................................................................................................................................................................224.4. VNXandVPLEXviews................................................................................................................................................235. MigrateVPLEXLocaltoDistributed..................................................................................275.1. SourceVPool...................................................................................................................................................................275.2. TargetVPool...................................................................................................................................................................285.3. ViPRview.........................................................................................................................................................................285.4. VNXview..........................................................................................................................................................................305.5. VPLEXview......................................................................................................................................................................315.6. ChangeAuto-tieringpolicy.......................................................................................................................................325.7. VNXview(before)........................................................................................................................................................325.8. TargetVPool...................................................................................................................................................................335.9. ViPRview.........................................................................................................................................................................345.10. VNXview(after).........................................................................................................................................................35

4

1. InfrastructurecoveredbytheViPRController

ViPRControllercoverstheinfrastructurethatconsistsof:

• 2xVNXdiskarrays

• 2xVPLEXcluster

• FCSANbasedonBrocade

• Physicalhosts

Figure1Physicalinfrastructure

2. VNXDistributedvolumeprovisioningtoahost

2.1. Configuration

• VPool

o Systemtype–VNX

o Volumetype-thick

o Multi-volumeconsistency–yes

o AutomaticCross-connect–no

o MaximumPaths–4

o PathsperInitiator–2

o HighAvailability–VPLEXDistributed

2.2. ViPRview

• NavigatetoServiceCatalog>BlockStorageServices>CreateBlockVolumeforahost

service

• ConsistencyGroup–notassigned

• Volumename–win_host-4_vol_first

• #ofvolumes–1

• Volumesize–3GB

• Project–ESX_proj_test

• Host–win_host4

5

Figure2VNXDistributedvolumeprovisioningtoahostrequest

• TaskCreateVolumecontainsseveralsteps:

o CreatevolumeonbothVNXarrays

o CreatezonesandaddvolumestoExportMaskofbothVPLEXs

o CreateVirtualVolume

o CreateVPLEXCG

6

Figure3TaskCreateVolumeforVNXDistributedvolume

• DistributedVolumeexportedtoahost:

o AddvolumetotheVPLEXStorageView

o CreatezonesforVPLEXFEportsandHBAs

Figure4TaskExportVolumeforXIODistributedvolume

7

Figure5VNXvolumeproperties

• VolumesareaddedintotheHost’sExportGroup

Figure6VNXvolumeExportGroup

8

2.3. VNXview

• ThickvolumeiscreatedinVNX(persite)

Figure7NewvolumesinVNX

Figure8VNXvolumeGeneralproperties

9

• VolumewascreatedonVPoolwith“StartHighthenAuto-Tier”defaulttieringoption

Figure9VNXvolumeGeneralproperties

• VolumeisexportedtoVPLEX

Figure10VNXvolumeexporttoahostinformation

10

Figure11VNXStorageGroup

Figure12VNXStorageGroupLUNsproperties

11

Figure13VNXStorageGroupHostsproperties

2.4. VPLEXview

• VolumeispresentedfromVNXtoVPLEX

Figure14VNXVolumesareexportedtoVPLEX(percluster)

• VPLEXstructureiscreated:

o Extents(percluster)

o Devices(Distributed)

o VirtualVolumes(Distributed)

12

Figure15VPLEXExtentsofVNXvolumes

Figure16VPLEXExtentproperties

Figure17VPLEXDevicesofVNXDistributedvolumes

Figure18VPLEXVirtualVolumes

13

Figure19VirtualVolumesproperties

Figure20VirtualVolumestopology

14

• VPLEXCGisNotcreatedcauseitwasn’tspecifiedduringtheservicerequest.SoWitness

doesn’tcontrolourvolumes.

Figure21VPLEXCG

• WinningsiteistheonewhichwasspecifiedbyVArrayintheservicerequest.Cluster-1in

thatcase.

Figure22VPLEXDetachruleinDistributedDeviceproperties

• VirtualVolumeisexportedto2xHBAs

Figure23VPLEXStorageViewInitiators

Figure24StorageViewVPLEXPorts

15

Figure25DistributedVolumesinStorageView

• AutomaticCross-connectionoptionwasunchecked.SoDistributedvolumeisnotexported

tothehostfromthecluster-2.

Figure26Cluster-2VPLEXStorageViewInitiators

• Detailsofvolumes’exportarevisibleonamappingdiagram

Figure27MapofStorageViewdiagram

16

3. ExportHAlegofVNXDistributedvolumetoahost

3.1. Configuration

• NavigatetoServiceCatalog>BlockStorageServices>ExportVPLEXVolumeservice

• VArray(alreadyexported)–includesVPLEXcluster-1ports

• VArray(tobeexported)–includesVPLEXcluster-2ports

• VPool

o Systemtype–VNX

o Volumetype-thick

o Multi-volumeconsistency–yes

o AutomaticCross-connect–no

o MaximumPaths–4

o PathsperInitiator-2

• ConsistencyGroup–notassigned

• Volumename–win_host-4_vol_first

• #ofvolumes–1

• Volumesize–3GB

• Project–ESX_proj_test

• Host–win_host4

3.2. Differentpathingcharacteristics

• LetsfirsttrytoexporttheHAlegoftheDistributedvolumewithotherpathing

characteristics

o MaximumPaths–2

o PathsperInitiator-1

17

Figure28Distributedvolumeexportwithotherpathingcharacteristicsrequest

• Asexpected,theservicerequestfailed.BothlegsofDistributedvolumehavetobeexported

withthesamepathingcharacteristics.

Figure29Distributedvolumeexportwithotherpathingcharacteristicsfailed

3.3. Samepathingcharacteristics

• LetsexporttheHAlegoftheDistributedvolumewiththesamepathingcharacteristics

o MaximumPaths–4

o PathsperInitiator-2

18

Figure30Distributedvolumeexporttoahostrequest

• DistributedVolumeexportedtoahosttask:

o AddvolumetotheVPLEXStorageView

o CreatezonesforVPLEXFEportsandHBAs

Figure31TaskExportVolumeforDistributedvolume

19

• VolumesareaddedintotheHost’sExportGroupfortheVArraywhichrepresentstheHAleg

ofthedistributedvolume.NowwehavetwoExportgroupsforthehost–oneperVArray.

Figure32VNXvolumeExportGroup

4. MigrateVNXvolumeunderVPLEX

4.1. SourceVPoolandvolume

• VPool

o Systemtype–VNX

o Volumetype-thin

o Multi-volumeconsistency–yes

o HighAvailability-none

20

Figure33NoHAVPoolcharacteristics

• NavigatetoServiceCatalog>BlockStorageServices>CreateBlockVolumeservice

• ConsistencyGroup–notassigned

• Volumename–test_vol

• #ofvolumes–1

• Volumesize–2GB

• Project–projet_test

Figure34CreatenonHAvolumerequest

21

Figure35NonHAvolumeproperties

4.2. TargetVPool

• VArray–sameassource

• VPool

o Systemtype–VNX

o Volumetype-thin

o Multi-volumeconsistency–yes

o HighAvailability–VPLEXLocal(theonlydifferencefromtheSourceVPool)

Figure36VPLEXLocalVPoolcharacteristics

22

4.3. ViPRview

• NavigatetoServiceCatalog>BlockStorageServices>ChangeVolumeVirtualPoolwith

MoveintoVPLEXoption.

Figure37ChangeVolumeVirtualPoolwithMoveintoVPLEXoptionservicerequest

• Serviceisdonein1minute

Figure38ChangeVolumeVirtualPoolservicestatus

• TaskChangeVolumeVPoolcontainsseveralsteps:

o ExportvolumetoVPLEX

o CreateVPLEXVirtualVolume

23

Figure39TaskChangeVolumeVPool

4.4. VNXandVPLEXviews

• ThevolumeisexportedtoVPLEX

Figure40VNXvolumeexportedtoVPLEX(VNXview)

• VolumeispresentedfromVNXtoVPLEX

24

Figure41VNXvolumeexportedtoVPLEX(VPLEXview)

Figure42VNXvolumeproperties

• VPLEXstructureiscreated:

o Extents(percluster)

o Devices(Local)

o VirtualVolumes(Local)

25

Figure43VPLEXExtentsofVNXvolumes

Figure44VPLEXExtentproperties

Figure45VPLEXDevicesofVNXLocalvolumes

26

Figure46VPLEXDeviceproperties

Figure47VPLEXVirtualVolumes

• VPLEXLocalVirtualVolumeiscreated.Soitisnotvisiblebythecluster-1.

Figure48VirtualVolumestopology

27

Figure49VPLEXLocalvolumeisnotavailableonthe2ndcluster

5. MigrateVPLEXLocaltoDistributed

5.1. SourceVPool

• VPool

o Systemtype–VNX

o Volumetype-thin

o Multi-volumeconsistency–yes

o HighAvailability–VPLEXLocal

Figure50VPLEXLocalVPoolcharacteristics

28

5.2. TargetVPool

• VArray–VPLEXcluster-2

• VPool

o Systemtype–VNX

o Volumetype-thin

o Multi-volumeconsistency–yes

o HighAvailability–VPLEXDistributed

o HighAvailabilityVArray-VPLEXcluster-1

Figure51VPLEXLocalVPoolcharacteristics

5.3. ViPRview

• NavigatetoServiceCatalog>BlockStorageServices>ChangeVolumeVirtualPoolwith

ChangefromVPLEXLocaltoVPLEXDistributedoption.

29

Figure52ChangeVolumeVirtualPoolwithChangefromVPLEXLocaltoVPLEXDistributedoptionservicerequest

• Serviceisdonein7minutes

Figure53ChangeVolumeVirtualPoolservicestatus

• TaskChangeVolumeVPoolcontainsseveralsteps:

o CreatevolumeontheremoteVNX

o ExportvolumetoVPLEXontheremoteVNX

o CreateandrebuildVPLEXVirtualVolume

30

Figure54TaskChangeVolumeVPool

5.4. VNXview

• VolumeiscreatedonbothVNXs

Figure55VolumeonthelocalVNX

• VolumeontheremoteVNXishas“-1”suffix

31

Figure56VolumeontheremoteVNX

5.5. VPLEXview

• WhenVPLEXVirtualVolumeiscreating,itsstateisDegraded

Figure57VPLEXVirtualvolumeintransition

Figure58VPLEXVirtualvolumeinDegradedstate

32

• FinallyVPLEXVirtualVolumeiscreated

Figure59VNXvolumeexportedtoVPLEX(VNXview)

Figure60VPLEXDistributedvolume

5.6. ChangeAuto-tieringpolicy

5.7. VNXview(before)

• VolumewascreatedwithStartHighthanAuto-tierpolicy

33

Figure61VNXvolumewithStartHighthanAuto-tierpolicy

5.8. TargetVPool

• TheonlydifferencewiththeSourcevolumeisAuto-tieringpolicy–Nomovement

Figure62VPLEXDistributedVPoolwithmodifiedAuto-tieringpolicycharacteristic

34

5.9. ViPRview

• NavigatetoServiceCatalog>BlockStorageServices>ChangeVolumeVirtualPoolwith

ChangeAuto-tieringPolicyorHostIOLimitoption.

Figure63ChangeVolumeVirtualPoolwithChangeAuto-tieringPolicyorHostIOLimitoptionservicerequest

• Serviceisdonein31seconds

Figure64ChangeVolumeVirtualPoolservicestatus

• TaskChangeVolumeVPool:

o ChangeAuto-tieringPolicyonbothvolumesoftheDistributeddevice

35

Figure65TaskChangeVolumeVPool

5.10. VNXview(after)

• VolumewascreatedwithStartHighthanAuto-tierpolicy

Figure66VNXvolumewithNomovementpolicy