1IBMV系统存储hyperswap实施手册2文档信息(文档编号IBMSVC-70)文挡名称作者电话QQIBMV系统存储hyperswap实施手册朱亚铭13951968365150111099文档修订记录编号修订内容简述修订日期修订前版本号V1.0整体文档的编写2016.12.23注:技术交流邮箱ymzhu2005@163.com3一、ConfiguringanIBMHyperSwaptopologysystemAHyperSwap®topologysystemassistswithhighavailabilityandsitedisasterrecovery.AHyperSwaptopologysystemcanbeconfiguredthroughsiteallocationandtopologychangecommand-line(CLI)commands.ThemanagementGUIconfiguresaHyperSwaptopologywiththeModifySystemTopologywizard,whichguidesyouthroughallthestepseasily.1.1AboutthistaskToaccesstheModifySystemTopologywizard,selectMonitoringSystem.IntheActionsmenu,selectModifySystemTopology.ConfiguringsiteinformationforthesystemToconfigureaHyperSwapsystemtopology,youmustassignenclosures,externalstoragesystems,andhoststoaspecificsite.CreatingHyperSwapvolumesYoucanusethemanagementGUIorthecommand-lineinterface(CLI)tocreateHyperSwapvolumes.AHyperSwapvolumehasonecopyoneachsite.ConvertinganexistingvolumetoaHyperSwapvolumeYoucanusethemanagementGUIorthecommand-lineinterfacetoconvertabasicvolumetoaHyperSwapvolume.Youconvertthebasicvolumebyaddinganothercopyofthevolumeinasecondsite.二、ConfiguringsiteinformationforthesystemToconfigureaHyperSwap®systemtopology,youmustassignenclosures,externalstoragesystems,andhoststoaspecificsite.42.1UsingthemanagementGUIYoucanusetheModifySystemTopologywizardinthemanagementGUItoeasilyconfigurethesitenamesandassignobjectsonyoursystemtoasite.TheModifyTopologywizardautomaticallydetectsanyFibreChannel-attachedstorage,butiSCSIstoragemustbeaddedmanuallybeforethesiteassignmentscanbeconfigured.YoucanuseeitherthemanagementGUIorthecommand-lineinterfacetoaddStorwizesystems.DellEqualLogficsystemscanbeconfiguredwiththecommand-lineinterfaceonly.CompletethefollowingstepstoconfigurethetopologyforthesystemandtooptionallyaddiSCSI-attachedstorage:1.InthemanagementGUI,selectMonitoringSystem.IntheActionsmenu,selectModifySystemTopology.2.FollowthewizardtocompletetheconfigurationoftheHyperSwaptopology.3.IfyouareusingiSCSI-attachedexternalstorage,youmustaddthestoragetothesystemandspecifythesiteusingtheAddiSCSIExternalStoragewizard.Toaccessthewizard,selectPoolsExternalStorageAddiSCSIExternalStorage.4.SelectIBMStorwizeastheexternalstoragesystemthatyouareadding.ThesystemsupportsiSCSIconnectionstoStorwizefamilyproductsandtoDellEquallogicsystems,butyoumustconfigureDellEqualLogicsystemswiththecommand-lineinterface.5.EntertheinformationforthesourceandtargetportsfortheiSCSIconnectionandspecifythesitefortheiSCSI-attachedstorage.2.2UsingtheCLIYoucanalsousethecommand-lineinterfacetoconfiguresiteinformationandconfigurethesystemasaHyperSwaptopology.Separatecommandsareusedforeachconfiguringsitedefinitionsforthenecessaryobjectsonthesystem.Althoughyoudonotneedtonamesites,creatingnamesthatarebasedonthelocationoruseofthesitesimplifiesmanagementoftheHyperSwaptopology.CompletethefollowingstepstoconfiguresiteinformationandsetthesystemasaHyperSwaptopology:1.ForeasiermanagementoftheHyperSwaptopology,createspecificnamesforeachsiteonthesystem.Ifnamesarenotspecified,sitescanbereferredtobytheirdefaultnameornumericID.Enterthefollowingcommandtocreatespecificnamesforeachsite.chsite-namelosangeles15Inthisexample,site1isnownamedlosangeles.TorenametheothersitesintheHyperSwaptopology,issuethesamecommandwithnamesfortheothersites:chsite-namesandiego2chsite-namequorum3Inthisexample,site2isnownamedsandiegoandsite3isnamedquorum.Note:IPquorumapplicationscanbeusedatathirdsitetoprovideatie-breakifthereisalossofconnectivitybetweensite1andsite2.Formoreinformation,seetheIPquorumconfigurationinformation.2.Enterthefollowingcommandstoassignexistingnodecanistersineachcontrolenclosure(I/Ogroup)tosites:chnodecanister-sitelosangelescanister1chnodecanister-sitelosangelescanister2Bothnodecanistersinacontrolenclosuremustbeassignedtothesamesite.Inthisexample,theI/Ogroupthatcontainscanister1andcanister2areassignedtothesitelosangeles.ToassignthenodecanistersinanotherI/Ogrouptotheothersite,enterthefollowingcommands:chnodecanister-sitesandiegocanister3chnodecanister-sitesandiegocanister4Inthisexample,theI/Ogroupthatcontainscanister3andcanister4areassignedtothesitesandiego.Youmustassignasiteforallnodecanistersinthesystem.3.Enterthefollowingcommandtoassignexistingexternalstoragesystemstosites:chcontroller–sitelosangelesstoragesystem1Inthisexample,storagesystem1isassignedtositelosangeles.Toassignastoragesystemtotheothersite,enterthefollowingcommand:chcontroller–sitesandiegostoragesystem2Inthisexample,storagesystem2isassignedtositesandiego.6Ifyouplantouseanexternalstoragesystemtoprovidequorum,thenyoumustassignthattothethirdsite.Alternatively,anIPquorumapplicationcanbeusedtoprovidequorum.Formoreinformation,seetheIPquorumconfigurationinformation.Toassignanexternalstoragesystemtothethirdsite,enterthefollowingcommand:chcontroller–sitequorumstoragesystem3Inthisexample,storagesystem3isassignedtositequorum.Youmustassignasiteforallstoragesystemsthatarepresentintheconfiguration.4.Enterthefollowingcommandtoassignexistinghoststosites:chhost-sitelosang