Upload
others
View
8
Download
0
Embed Size (px)
Citation preview
©2015 QNAP Systems, Inc. All Rights Reserved. 1
QNAPESNASApplicationNotes
DeployingVMwarevCenterSiteRecoveryManager
withQNAPES1640dc
©2015 QNAP Systems, Inc. All Rights Reserved. 2
Contents1.Overview...............................................................................................................................4
1.1Architecture.....................................................................................................................4
1.2Systemconfiguration.......................................................................................................5
2.Configuringyourstorage.......................................................................................................6
2.1CreatethestoragepoolandiSCSILUN...........................................................................6
2.3ConfigurestoragereplicationwithSNAPSYNC................................................................9
2.3.1ConfigureSnapsyncServer.......................................................................................9
2.3.2CreateSnapsyncJob...............................................................................................11
2.3.3AttachdestinationLUNtoiSCSItarget...................................................................13
3.SRMInstallation..................................................................................................................14
3.1InstallSRMsoftwareforbothsites...................................................................................14
3.2ConfigureSRMSites......................................................................................................27
3.2.1ConnecttheSiteRecoveryManagerServerInstances...........................................27
3.2.2ConfigureSitesResourceMappings.......................................................................31
3.2.3ConfigureSitesFolderMappings............................................................................32
3.2.4ConfigureSitesNetworkMappings........................................................................34
3.2.5ConfigureSitesPlaceholderDatastores.................................................................37
3.3ConfigureArrayManagers............................................................................................38
3.3.1SRAplug-ininstallation...........................................................................................38
3.3.2AddArrayManagers...............................................................................................39
3.3.3CreateProtectionGroup........................................................................................44
3.3.4CreateRecoveryPlan.............................................................................................46
4.SiteRecoveryScenarios.......................................................................................................49
4.1TestRecovery................................................................................................................49
©2015 QNAP Systems, Inc. All Rights Reserved. 3
4.2Plannedmigration.........................................................................................................53
4.3Disasterrecovery...........................................................................................................59
©2015 QNAP Systems, Inc. All Rights Reserved. 4
1.Overview
TheQNAPES1640dcisanenterprisestoragesystem;itprovidesaredundantpowersupplyanddualsystemcontrollermodules.Thisdocumentisastep-bystepguideforbuildingDisasterRecoveryenvironmentonQNAPES1640dcstoragesystemwithVMwareSiteRecoveryManager(SRM).
1.1Architecture
Inthearchitecturediagram,therearetwosites.SiteAontheleftisprimarysystemandbeingprotected.SiteBontherightistherecoverysiteandwillbeusedwhensiteAfails.
VMware
vCenter Site
vCenter Site
VMware
SiteA(Primary) SiteB(Recovery)
Servers Servers
Snapsync
SRA SRA
ES1640dc ES1640dc
©2015 QNAP Systems, Inc. All Rights Reserved. 5
1.2Systemconfiguration
ServerNetworkSettings(SiteA)Setting Value DescriptionvCenterServerA(PSC)IP 192.168.200.10 vCenterServerwithPSCatsiteASRMServerAIP 192.168.200.13 SRMServeratsiteAESXi1serverIP 192.168.200.1 ESXiServerincluster1ESXi2serverIP 192.168.200.2 ESXiServerincluster1
ServerNetworkSettings(SiteB)Setting Value DescriptionvCenterServerB(PSC)IP 192.168.201.10 vCenterserverwithPSCatsiteBSRMServerAIP 192.168.201.13 SRMServeratsiteBESXi3serverIP 192.168.201.1 ESXiServerincluster2ESXi4serverIP 192.168.201.2 ESXiServerincluster2
StorageNetworkSettings(SiteA)Setting Value DescriptionSCAManagementIP 192.168.200.101 ManagementIPofcontrollerASCAEthernet(1+2)IP 10.1.1.101 DataportIPofcontrollerASCBManagementIP 192.168.200.102 ManagementIPofcontrollerBSCBEthernet(1+2)IP 10.1.1.102 DataportIPofcontrollerBPoolatSCA Pool1 RAID10poolatcontrollerAiSCSILUN iSCSIlunonPool1
StorageNetworkSettings(SiteB)Setting Value DescriptionSCAManagementIP 192.168.201.101 ManagementIPofcontrollerASCAEthernet(1+2)IP 10.1.2.101 DataportIPofcontrollerASCBManagementIP 192.168.200.102 ManagementIPofcontrollerBSCBEthernet(1+2)IP 10.1.2.102 DataportIPofcontrollerBPoolatSCA Pool1 RAID10poolatcontrollerAiSCSILUN iSCSIlunonPool1
©2015 QNAP Systems, Inc. All Rights Reserved. 6
2.Configuringyourstorage
Beforestartingtosetupthedisasterrecoverysystems,youneedtoconfigureyourstoragesettings.
2.1CreatethestoragepoolandiSCSILUN
ForthedetailabouthowtocreatestoragepoolandiSCSILUN,youcanrefertotheES1640dcusermanual.Astoragepool,Pool1iscreatedoncontrollerSCAwithRAID10typeasbelow.
TherearefourLUNscreatedandattachedtotheiSCSItarget.- vdi_0isusedforstoringyourvirtualmachines(VMs).- placeholderisusedforVMwareSRM.
©2015 QNAP Systems, Inc. All Rights Reserved. 7
2.2ConnectingstoragefromtheserversTherecommendedconnectionfromtheservertothestorageistouseMultipathI/O(MPIO).Pleasefollowthestepsbelowtocompletethisprocess.Choose[Configuration]tabàStorageAdaptersàRightclickoniSCSISoftwareAdaptertoselectProperties.
Selectthe[DynamicDiscovery]tabandentertheiSCSIServerIPClickOKandclosethetabtorescaniSCSItargets.
©2015 QNAP Systems, Inc. All Rights Reserved. 8
RepeattheabovestepstoaddalltheiSCSIServerLocationIPaddressesintotheDynamicDiscoverytabtoseethetargets
©2015 QNAP Systems, Inc. All Rights Reserved. 9
2.3ConfigurestoragereplicationwithSnapsync
Snapsyncprovidesablock-basedstoragereplicationfunctionontheES1640dc.FordisasterrecoverywithVMwareSRM,itisoneoftheoptionstoreplicatestorage.
2.3.1ConfigureSnapsyncServer
Toconfiguresnapsyncfunction,logintotheNASwebpageandclickontheBackupStationicononthepanel.
SelectSnapsyncServerintheleftpaneltoconfigureit.
©2015 QNAP Systems, Inc. All Rights Reserved. 10
SelecttheEnableSnapsyncServercheckboxandleavethePortNumberandMaximumdownloadratewiththeirdefaultsettings.ClickontheCreateHostbuttontocreateahost.EnterthestorageIPandtheadminloginandpasswordoftheremoteES1640dcstoragesystem.ClickApplytocreateit.
Theremotehostiscreated.
©2015 QNAP Systems, Inc. All Rights Reserved. 11
2.3.2CreateaSnapsyncJob
ClickonSnapsyncinleftpanelandclickontheCreateaReplicationJobbuttonintherightpanel.
Enterfollowinginformationtocreateajob- aRemoteReplicationJobName.- SelectandassignaRemoteHost- SelectandassigntheSourcePool- SelectandassigntheSourceSharedFolder/Lun- SelectandassigntheDestinationPool- ClickontheNewbuttontoassignandcreatetheDestinationSharedFolder/Lun.- ClicktheOKbuttontocreatetheReplicationJob.
©2015 QNAP Systems, Inc. All Rights Reserved. 12
Thesnapsyncjobcreationiscompletedanditwillstartthefirstsyncautomatically.
Afterthefirstsyncisdonethestatuswillchangetoupdated.
©2015 QNAP Systems, Inc. All Rights Reserved. 13
2.3.3AttachadestinationLUNtoaniSCSItarget
Afterthesnapsyncjobisdone,atSiteB,youwillfindanewiSCSIintheUn-MappediSCSILUNListatthebottom.SelecttheLUNthenclickontheActionbutton.SelectMaptomapthisLUNtotheiSCSItarget.
ThedestinationLUNismappedtotheiSCSItarget.
©2015 QNAP Systems, Inc. All Rights Reserved. 14
3.SRMInstallation
BeforeinstallingaSiteRecoveryManager(SRM)server,thefollowingstepsarerequired:--DownloadVMwarevCenterSRMsoftware--PrepareadatabaseandloginuserforSRMtoaccessatvCenter--InstallSQLServerNativeClientdriveratSRMservertoaccessdatabase--AddaWindows2012ServerVMtoinstallSRMindividually
3.1InstallSRMsoftwareforbothsites
OpentheSRMsoftware,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 15
ClickNext.
AccepttheEULAandclickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 16
ClickNext
SelectthedestinationfoldertoinstallandclickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 17
EnterPlatformServiceController(PSC)information,clickNext.
ClickAccepttoacceptthePSCcertificate.
©2015 QNAP Systems, Inc. All Rights Reserved. 18
SelectthevCenterAddress
EnterinformationtoregistertheVMwarevCenterSRMandclickNext.
SelectDefaultSiteRecoveryManagerPlug-inIdentifier,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 19
SelectAutomaticallygenerateacertificate,clickNext.
EntertheCertificateInformation,clickNext.
SelectUseacustomdatabaseserver,andthenclickDSNSetup.
©2015 QNAP Systems, Inc. All Rights Reserved. 20
©2015 QNAP Systems, Inc. All Rights Reserved. 21
SelectSystemDSNtabandclicktheAddbutton.
SelectSQLServerNativeClientandclickFinish.
EntertheDSNName,Description,andSQLserveraddressandclickNext
©2015 QNAP Systems, Inc. All Rights Reserved. 22
SelectWithSQLServerauthenticationusingaloginIDandpasswordenteredbytheuser,andenterlogintheusercredentialsaddedduringthevCentersetup,andclickNext.
ChangethedefaultdatabasetoSRM,thenclickNext.
ClickontheFinishbutton.
©2015 QNAP Systems, Inc. All Rights Reserved. 23
TheDatasourceisnowcreated.ClickonTestDataSourcetotestthedatabasesettings.
Oncethetesthascompleted,clickOKtoclosedialog.
©2015 QNAP Systems, Inc. All Rights Reserved. 24
ThenewSystemDSNisalsocreated.ClickOKtofinishtheDSNsetup.
Apop-upwindowrequeststheusertoentertheDSNdetailsmanually.
EntertheSRM,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 25
EntertheSRMDatabaseloginusercredentials,clickNext.
EnterthelocaladmincredentialstoruntheSRMservice,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 26
ClickInstall.
WhentheInstallationhascompleted,clickFinsh.
©2015 QNAP Systems, Inc. All Rights Reserved. 27
3.2ConfiguringSRMSites
BeforeconfiguringSRM,ensuresurebothsite’sSRMandvCentercanaccesseachother.
3.2.1ConnecttotheSiteRecoveryManagerServerInstances
ClickontheSiteRecoveryicononthevSphereWebClienthomepage.
ClickSitesintheleftpanel.
©2015 QNAP Systems, Inc. All Rights Reserved. 28
SelectProtectedSitevCenterintheleftpanelandclickPairsites.
EntertheRecoverySitePSCaddress,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 29
©2015 QNAP Systems, Inc. All Rights Reserved. 30
SelectRecoverySitevCenterandenteritscredentials,thenclickFinish.
ClickYestoconnecttovCenter.
ThesitesarenowPairedsuccessfully.
©2015 QNAP Systems, Inc. All Rights Reserved. 31
3.2.2ConfiguringtheSitesResourceMappings
ClickCreateresourcemappings
Addpairedsitesclustermapping,clickNext
©2015 QNAP Systems, Inc. All Rights Reserved. 32
Createareversemappingforthepairedsite,clickFinish.
3.2.3ConfiguringSitesFolderMappings
ClickCreatefoldermappings
©2015 QNAP Systems, Inc. All Rights Reserved. 33
SelectPreparemappingsmanually,clickNext.
Addthesitesfoldermappings,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 34
Createthereversemappings,clickFinish.
3.2.4ConfiguringSitesNetworkMappings
ClickCreatenetworkmappings
©2015 QNAP Systems, Inc. All Rights Reserved. 35
SelectPreparemappingsmanually,clickNext.
Addthesitesnetworkmappings,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 36
Createreversemappings,clickNext.
Checktheconfiguration,clickFinish.
©2015 QNAP Systems, Inc. All Rights Reserved. 37
3.2.5ConfiguringSitesPlaceholderDatastores
Toenableaplannedmigrationandre-protection,firstselectplaceholderdatastoresatbothsites.Placeholderdatastoresmustmeetcertaincriteria. --Forclusters,theplaceholderdatastoresmustbevisibletoallofthehostsinthecluster. --Itisnotpossibletoselectreplicateddatastoresasplaceholderdatastores.SelectConfigureSitesPlaceholderDatastore
Selectaplaceholder,thenclickOK
©2015 QNAP Systems, Inc. All Rights Reserved. 38
3.3ConfiguringArrayManagers
ToconfigureArrayManagers,theQNAPSRAplug-inmustbeinstalledinadvance.
3.3.1SRAplug-ininstallation
OpentheQNAPSRAsoftwareontheSRMserver,clickNext.
AccepttheEULA.
©2015 QNAP Systems, Inc. All Rights Reserved. 39
ClickFinishtocompletetheinstallation.
3.3.2AddArrayManagers
ClickAddarraymanagerandenablearraypair.
©2015 QNAP Systems, Inc. All Rights Reserved. 40
SelectAddapairofarraymanagers,clickNext.
Selectthepairedsites,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 41
SelectQNAPEnterpriseStorageSRA,clickNext.
ConfiguretheSiteAarraymanager.Enterthedisplaynameandthemanagementinformation,thenclickNext.--ManagementURL:SiteASCAManagementIP--ExtraManagementURL:SiteASCBManagementIP--Username:SiteASCadminusername,defaultisadmin --Password:SiteASCpassword
©2015 QNAP Systems, Inc. All Rights Reserved. 42
CreatingArraymanager,Snapsync’sReplicationJobwillbecheckedatthisstep.
ConfigureSiteBarraymanager,providethedisplaynameandthemanagementinformation,thenclickNext.--ManagementURL:SiteBSCAManagementIP--ExtraManagementURL:SiteBSCBManagementIP--Username:SiteBSCadminusername,defaultisadmin --Password:SiteBSCpassword
©2015 QNAP Systems, Inc. All Rights Reserved. 43
SelectSCArrayPair,clickNext.
ClickFinish.
©2015 QNAP Systems, Inc. All Rights Reserved. 44
3.3.3CreateaProtectionGroup
ClickCreateaProtectionGroup.
Enteragroupname,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 45
SelectthedirectionofprotectionfromSiteAtoSiteB,andselectarray-basedreplication,thenclickNext.
SelectthedatastoreofVMstobeprotectedandclickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 46
ClickFinish.
3.3.4CreateaRecoveryPlan
ClickCreateaRecoveryPlan.
©2015 QNAP Systems, Inc. All Rights Reserved. 47
Enteranamefortheplanandselectalocation,thenclickNext.
SelectSiteBastheRecoverySite,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 48
Selecttheprotectiongroups,clickNext.
SelectatestVMnetwork,clickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 49
TheRecoveryPlanisnowcreated,clickFinish.
4.SiteRecoveryScenarios
VMwareSRMprovidesthefollowingtypesofsiterecovery-TestRecovery-Plannedmigration -Disasterrecovery
4.1TestRecovery
SelectRecoveryPlansfromtherighttabandselectaplanname.
©2015 QNAP Systems, Inc. All Rights Reserved. 50
ClicktheTestRecoveryPlanbutton.
ClickNext.
ClickFinishtorunthetest.
©2015 QNAP Systems, Inc. All Rights Reserved. 51
TheMonitortabshowsthestatusofthetest.
Afterthetestdone,thestatusofthePlanwillchangetoTestcomplete.
ClickontheCleanupRecoveryPlanbuttontocleanthetestenvironment.
©2015 QNAP Systems, Inc. All Rights Reserved. 52
ClickNext.
AftertheTestplanenvironmentiscleaned,thestatusoftheplanwillchangetoReady.
©2015 QNAP Systems, Inc. All Rights Reserved. 53
4.2Plannedmigration
AplannedmigrationwillhelpyoutransferVMdataquicklywithanautotakeoverservicetoarecoverysite.TomigrateVMstoanothersiteforlocalmaintenance,clicktheRunRecoveryPlanbutton.
SelectthecheckboxandchoosePlannedMigrationandclickNext.
©2015 QNAP Systems, Inc. All Rights Reserved. 54
UsetheMonitortabtoseetheprogressoftheplannedmigration.
Theplannedmigrationiscompleted.
©2015 QNAP Systems, Inc. All Rights Reserved. 55
TheVMsattheprotectionsitebecomeinactive.
TheVMsattherecoverysitebecomeactive.
©2015 QNAP Systems, Inc. All Rights Reserved. 56
TheSnapSyncReplicationJobstatuschangestosuspended. Atthispoint,thereisnodatasynchronizationbetweensites.
ClickontheReprotectRecoveryPlanbuttontobegintherolechangesandresumesynchronization.
©2015 QNAP Systems, Inc. All Rights Reserved. 57
SelectthecheckboxandclickNext.
UsetheMonitortabtoseetheprogressoftheReprotectionprocess.
©2015 QNAP Systems, Inc. All Rights Reserved. 58
TheReprotectionprocessiscompleted.
Afterthereprotectprocessiscomplete,theroles(sourceanddestination)oftheSnapSyncReplicationJobarerevertedandthestatesareupdated.
TheplannedmigrationiscompleteanditisnowsafetoshutdownsiteAformaintenance.
©2015 QNAP Systems, Inc. All Rights Reserved. 59
4.3Disasterrecovery
Scenario:theprotectionsiteisdownandtherecoverysiteisrequiredtobringupandresumeserviceassoonaspossible. Therecoverysitewilldisplaythewarningmessagesbelow.
Gototherecoveryplantab,clicktheRunRecoveryPlanbutton.
©2015 QNAP Systems, Inc. All Rights Reserved. 60
SelectthecheckboxandclickNexttoruntheDisasterRecovery.
Thedisasterrecoveryprocesswillbegin.Inthismode,errorstepsareignored.
©2015 QNAP Systems, Inc. All Rights Reserved. 61
Thedisasterrecoveryprocessiscompleted.
TheVMsareupandrunningattherecoverysite.
©2015 QNAP Systems, Inc. All Rights Reserved. 62
Oncemantainenceiscompleted,gotositeAvSphereWebClienttoreconnecttheSRMconnection.ApopupwindowwillaskforSiteBvCentercredentials,entertherequiredcredentialstologin.
TheMonitortaboftheRecoveryPlanwillprompttodotherecoveryagaintore-syncmissingitemsduringtheSiteAdowntime.
Note:PleasebearinmindthatsinceSiteAisdownthereisnoprotection.TheproblematSiteAshouldberesolvedtobringitbackonlineassoonaspossibletoensureadequateprotection.
©2015 QNAP Systems, Inc. All Rights Reserved. 63
ClicktheRunRecoveryPlanbutton.
ClickNext.
Recoveryiscompleted.
©2015 QNAP Systems, Inc. All Rights Reserved. 64
ClickontheReprotectRecoveryPlanbuttontorevertthesyncdirectionandbeginthesyncfromsiteBtositeA.
UsetheMonitortabtoviewtheprogressoftheReprotectionprocess.
OncetheReprotectioniscompleted,thePlanstatuswillchangetoReady.
©2015 QNAP Systems, Inc. All Rights Reserved. 65
Afterthereprotectprocessiscomplete,itwillreversethesourceanddestination.Onthesnapsyncjobpageofthestoragesystem,thesyncdirectionhasbeenchangedfromSiteAàSiteBtoSiteBàSiteA. SiteBbecomestheprotectionsiteandSiteAbecomestherecoverysite.
©2015 QNAP Systems, Inc. All Rights Reserved. 66
Note:TokeepSiteAastheprotectionsiteandSiteBastherecoverysite,performaPlannedmigrationandrunthereprotectprocessagain.