Title | Module 9 Implementing Local Storage |
---|---|
Author | baye desalew |
Course | Information marketing |
Institution | Jimma University |
Pages | 57 |
File Size | 3.8 MB |
File Type | |
Total Downloads | 113 |
Total Views | 145 |
lac...
Module9:ImplementingLocalStorage Contents: ModuleOverview Lesson1:
OverviewofStorage
Lesson2:
ManagingDisksandVolumes
Lesson3:
ImplementingStorageSpaces
Lab:
ImplementingLocalStorage ModuleReviewandTakeaways
ModuleOverview Storageisoneofthekeycomponentsthatyoumustconsiderwhenplanninganddeployinga WindowsServer®2012operatingsystem.Mostorganizationsrequireagreatdealofstorage, becauseusersworkregularlywithappsthatcreatenewfilesthatrequirestorageinacentral location.Whenuserskeeptheirfilesforlongerperiodsoftime,storagedemandsincrease. Everytimeauserlogsontoaserver,anaudittrailiscreatedinaneventlog.This,too,uses storage.Evenasfilesarecreated,copied,andmoved,storageisrequired. Thismoduleintroducesyoutodifferentstoragetechnologies.Itdiscusseshowtoimplement thestoragesolutionsinWindowsServer2012,andhowtousethenewStorageSpaces feature,whichenablesyoutocombinedisksintopoolsthatyoucanconfigureforautomatic management.
Objectives Aftercompletingthismoduleyouwillbeableto: • Describevariousstoragetechnologies. • Explainhowtomanagedisksandvolumes. • ExplainhowtoimplementStorageSpaces.
Lesson1:OverviewofStorage Whenyouplanaserverdeployment,oneofthekeycomponentsthatyourequireisstorage. Therearevarioustypesofstoragethatyoucanutilize,suchaslocallyattachedstorage, storagethatisremotelyaccessedviaEthernet,orstorageconnectedwithopticalfiber.You shouldbeawareofeachsolution’sbenefitsandlimitations. Asyoupreparetodeploystorageforyourenvironment,youneedtomakesomeimportant decisions.Thislessonaddressesquestionstoconsider,suchas: • Doesthestorageneedtobefast? • Doesthestorageneedtobehighlyavailable? • Howmuchstoragedoesyourdeploymentactuallyrequire? • Howmuchresiliencedoyouneedtoaddtotheinitialstoragerequirementtoensurethat yourinvestmentremainssecureinthefuture?
LessonObjectives Aftercompletingthislesson,youwillbeableto:
• Describedisktypesandperformance. • Describedirectattachedstorage. • Describenetworkattachedstorage. • Describeastorageareanetwork(SAN). • DescribeRedundantArrayofIndependentDisks(RAID). • DescribeRAIDlevels. • DescribethenewfileandstorageservicefeaturesinWindowsServer2012andWindows Server2012R2.
DiskTypesandPerformance
Therearevarioustypesofdisksavailablethatyoucanusetoprovidestoragetoserverand clientsystems.ThespeedofdisksismeasuredinInput/OutputsOperationsPerSecond (IOPS).Themostcommontypesofdisksare: • EnhancedIntegratedDriveElectronics(EIDE). EIDEisbasedonstandardsthatwerecreatedin1986.Theintegrateddriveelectronics (IDE)interfacesupportsboththeAdvancedTechnologyAttachment2(ATA2)and AdvancedTechnologyAttachmentPacketInterface(ATAPI)standards.Enhancedrefersto theATA2(FastATA)standard.Duetotheaddressingstandardsofthistechnology,there
isa128gigabyte(GB)limitationonstorageusingEIDE.Also,thespeedofanEIDEdrive islimitedtoamaximumof133megabytes(MB)persecond.EIDEdrivesarealmostnever usedonserverstoday. • SerialAdvancedTechnologyAttachment(SATA).Introducedin2003,SATAisa computerbusinterface,orchannel,forconnectingthemotherboardordeviceadaptersto massstoragedevicessuchasharddiskdrivesandopticaldrives.SATAwasdesignedto replaceEIDE.ItisabletousethesamelowlevelcommandsasEIDE,butSATAhost adaptersanddevicescommunicateviaahighspeedserialcableovertwopairsof conductors.Itcanoperateatspeedsof1.5,3.0,and6.0GBpersecond,dependingonthe SATArevision(1,2or3respectively).SATAdisksaregenerallylowcostdisksthat providemassstorage.BecauseSATAdrivesarelessexpensivethanotherdriveoptions, butalsoprovidelessperformance,organizationsmightchoosetodeploySATAdrives whentheyrequirelargeamountsofstoragebutnothighperformance.SATAdisksarealso lessreliablecomparedtoserialattachedSCSI(SAS)disks. AvariationontheSATAinterfaceiseSATA,whichisdesignedtoenablehighspeed accesstoexternallyattachedSATAdrives. • Smallcomputersysteminterface(SCSI).SCSIisasetofstandardsforphysically connectingandtransferringdatabetweencomputersandperipheraldevices.SCSIwas originallyintroducedin1978andbecameastandardin1986.SimilartoEIDE,SCSIwas designedtorunoverparallelcables;however,recentlytheusagehasbeenexpandedtorun overothermediums.The1986parallelspecificationofSCSIhadinitialspeedtransfersof5 MBpersecond.Themorerecent2003implementation,Ultra640SCSI,alsoknownas Ultra5,cantransferdataatspeedsof640MBpersecond.SCSIdisksprovidehigher performancethanSATAdisks,butarealsomoreexpensive. • SAS.SASisafurtherimplementationoftheSCSIstandard.SASdependsonapointto pointserialprotocolthatreplacestheparallelSCSIbustechnology,andusesthestandard SCSIcommandset.SASoffersbackwardcompatibilitywithsecondgenerationSATA drives.SASdrivesarereliableandmadefor24hoursaday,sevendaysaweek(24/7) operationindatacenters.Withupto15,000rotationsperminute,thesedisksarealsothe fastesttraditionalharddisks.
• Solidstatedrives(SSDs).SSDsaredatastoragedevicesthatusesolidstatememoryto storedataratherthanusingthespinningdisksandmovableread/writeheadsthatareused inotherdisks.SSDsusemicrochipstostorethedataanddonotcontainanymovingparts. SSDsprovidefastdiskaccess,uselesspower,andarelesssusceptibletofailurefrombeing droppedthantraditionalharddisks,suchasSASdrives,butalsoaremuchmoreexpensive perGBofstorage.SSDstypicallyuseaSATAinterface,soyoutypicallycanreplacehard diskdriveswithSSDswithoutanymodifications.
Note:FibreChannel,FireWire,orUSBattacheddisksarealsoavailablestorage options.Theydefineeitherthetransportbusorthedisktype.Forexample, universalserialbus(USB)attacheddisksusemostlywithSATAorSSDdrivesto storedata.
WhatIsDirectAttachedStorage?
Almostallserversprovidesomebuiltinstorage. Thistypeofstorageisreferredtoasdirectattachedstorage(DAS).DAScanincludedisks thatarephysicallylocatedinsidetheserverorconnectdirectlywithanexternalarray,ordisks thatconnecttotheserverwithaUSBcableoranalternativemethod.BecauseDASstorageis connectedtotheserverphysically,thestoragebecomesunavailableiftheserversuffersa powerfailure.DAScomesinvariousdisktypessuchasSATA,SASorSSD,whichaffectthe
speedandtheperformanceofthestorage,andhasbothadvantagesanddisadvantages.
AdvantagesofUsingDAS AtypicalDASsystemismadeupofadatastoragedevicethatincludesanumberofharddisk drivesthatconnectdirectlytoacomputerthroughahostbusadapter(HBA).Betweenthe DASandthecomputer,therearenonetworkdevicessuchashubs,switches,orrouters. Instead,thestorageisconnecteddirectlytotheserverthatutilizesit,makingDAStheeasiest storagesystemtodeployandmaintain. DASisalsousuallytheleastexpensivestorageavailabletoday,andiswidelyavailablein variousspeedsandsizestoaccommodatevariousinstallations.Inadditiontobeing inexpensive,DASisveryeasytoconfigure.Inmostinstances,youwouldsimplypluginthe device,ensurethattherunningWindows®operatingsystemrecognizesit,andthenusethe DiskManagementfeaturetoconfigurethedisks.
DisadvantagesofUsingDAS StoringdatalocallyonDASmakesdatacentralizationmoredifficultbecausethedatais locatedonmultipleservers.Thiscanmakeitmorecomplextobackupthedataand,forusers moredifficulttolocatethedatatheywanttofind.Furthermore,ifanyonedevicethathas DASconnectedtoitsuffersapoweroutage,thestorageonthatcomputerbecomes unavailable. DASalsohasdrawbacksinitsaccessmethodologies.Duetothewayreadsandwritesare handledbytheserveroperatingsystem,DAScanbeslowerthanotherstoragetechnologies. AnotherdrawbackisthatDASsharestheprocessingpowerandservermemoryoftheserver towhichitisconnected.Thismeansthat,onverybusyservers,diskaccessmightbecome slowwhentheoperatingsystemisoverloaded.
WhatIsNetworkAttachedStorage?
Networkattachedstorage(NAS)isstoragethatisconnectedtoadedicatedstoragedeviceand thenaccessedoverthenetwork.NASisdifferentfromDASinthatthestorageisnotdirectly attachedtoeachindividualserver,butratherisaccessibleacrossthenetworktomanyservers NAShastwodistinctsolutions:alowendappliance(NASonly),andanenterpriseclassNAS thatintegrateswithstorageareanetwork(SAN). EachNASdevicehasadedicatedoperatingsystemthatsolelycontrolstheaccesstothedata onthedevice,whichreducestheoverheadassociatedwithsharingthestoragedevicewith otherserverservices.AnexampleofNASsoftwareisWindowsStorageServer,afeatureof WindowsServer2012. NASdevicestypicallyprovidefilelevelaccesstothestorage.Thismeansthatthedataonthe storageisaccessibleonlyasfiles,andyoumustuseprotocolslikeCommonInternetFiles System(CIFS),ServerMessageBlock(SMB),orNetworkFileSystem(NFS)toaccessthe files. ToenableNASstorage,youneedastoragedevice.Frequently,thesedevicesdonothaveany serverinterfacessuchaskeyboards,mice,andmonitors.Toconfigurethedevice,youneedto provideanetworkconfigurationandthenaccessthedeviceacrossthenetwork.Youcanthen createnetworksharesonthedevicebyusingthenameoftheNASandthesharecreated. Thesesharesthenareaccessibletothenetwork’susers.
AdvantagesofUsingNAS
NASisanidealchoicefororganizationsthatarelookingforasimpleandcosteffectiveway toachievefastdataaccessformultipleclientsatthefilelevel.UsersofNASbenefitfrom performanceandproductivitygainsbecausetheprocessingpoweroftheNASdeviceis dedicatedsolelytothedistributionofthefiles. NASalsofitsnicelyintothemarketasamidpricedsolution.Itisnotexpensive,butitsuits moreneedsthanDASinthefollowingways: • NASstorageisusuallymuchlargerthanDAS. • NASoffersasinglelocationforallcriticalfiles,ratherthandispersingthemonvarious serversordeviceswithDAS. • NASofferscentralizedstorageatanaffordableprice. • NASunitsareaccessiblefromanyoperatingsystem.Theyoftenhavemultiprotocol supportandcanserveupdataviaCIFSandNFSsimultaneously.Forexample,Windows andLinuxhostscansimultaneouslyaccessaNASunit.
NAScanalsobeconsideredaPlugandPlaysolutionthatiseasytoinstall,deploy,and manage,withorwithoutITstaffonsite.
DisadvantagesofUsingNAS NASisslowerthanSANtechnologies.NASisfrequentlyaccessedviaEthernetprotocols. Becauseofthis,itreliesheavilyonthenetworksupportingtheNASsolution.Forthisreason, NASiscommonlyusedasafilesharing/storagesolutionandcannot(andshouldnot)beused withdataintensiveprogramssuchasMicrosoft®ExchangeServerandMicrosoftSQL Server®. NASisaffordableforsmalltomidsizebusinesses,butprovideslessperformanceandmaybe lessreliablethanaSAN.Forthisreason,mostlargeenterprisesuseSANsratherthanNAS.
AdditionalReading:FormoreinformationaboutWindowsStorageServer2012R2, referto“WindowsServer2012R2”athttp://go.microsoft.com/fwlink/? LinkID=199647.
WhatIsaSAN?
ThethirdtypeofstorageisaSAN,whichisahighspeednetworkthatconnectscomputer systemsorhostserverstohighperformancestoragesubsystems.ASANusuallyincludes variouscomponentssuchasHBAs,specialswitchestohelproutetraffic,andstoragedisk arrayswithlogicalunitnumbers(LUNs)forstorage. ASANenablesmultipleserverstoaccessapoolofstorageinwhichanyservercan potentiallyaccessanystorageunit.BecauseaSANusesanetwork,youcanuseaSANto connectmanydifferentdevicesandhostsandprovideaccesstoanyconnecteddevicefrom anywhere. SANsprovideblocklevelaccess.Thismeansthat,ratherthanaccessingthecontentonthe disksasfilesbyusingafileaccessprotocol,SANswriteblocksofdatadirectlytothedisks usingprotocolssuchasFibreChanneloverEthernetorInternetSmallComputerSystem Interface(iSCSI). Today,mostSANsolutionsofferSANandNAStogether.Thebackendheadunits,disks,and technologiesareidentical;theaccessmethodistheonlythingthatchanges.Enterprisesoften provisionblockstoragefromtheSANtotheserversusingFibreChanneloverEthernetor
iSCSI,whereasNASservicesaremadeavailableviaCIFSandNFS.
AdvantagesofUsingSAN SANtechnologiesreadandwriteatblocklevels,makingdataaccessmuchfaster.For example,withmostDASandNASsolutions,ifyouwriteafileof8GB,theentirefilehasto beread/writtenanditschecksumcalculated.WithaSAN,thefileiswrittentothediskbased ontheblocksizeforwhichtheSANissetup.Thisspeedisaccomplishedbyusingfiber channelandblocklevelwriting,insteadofhavingtoread/writeanentirefilebyusinga checksum. SANsalsoprovide: • Centralizationofstorageintoasinglepool,whichenablesstorageresourcesandserver resourcestogrowindependently.Theyalsoenablestoragetobedynamicallyassignedfrom thepoolwhenitisrequired.Storageonagivenservercanbeincreasedordecreasedas neededwithoutcomplexreconfiguringorrecablingofdevices. • Commoninfrastructureforattachingstorage,whichenablesasinglecommonmanagement modelforconfigurationanddeployment. • Storagedevicesthatareinherentlysharedbymultiplesystems. • Datatransferdirectlyfromdevicetodevicewithoutserverintervention. • Ahighlevelofredundancy.MostSANsaredeployedwithmultiplenetworkdevicesand pathsthroughthenetwork.Aswell,thestoragedevicecontainsredundantcomponentssuch aspowersuppliesandharddisks.
DisadvantagesofUsingSAN ThemaindrawbacktoSANtechnologyisthatduetothecomplexitiesintheconfiguration, SANoftenrequiresmanagementtoolsandexpertskills.Itisalsoconsiderablymore expensivethanDASorNAS.AnentrylevelSANoftencostsasmuchasafullyloadedserve
withaDASoranNASdevice,andthatiswithoutanySANdisksorconfiguration. TomanageaSAN,youoftenusecommandlinetools.Youmusthaveafirmunderstandingo theunderlyingtechnology,includingtheLUNsetup,theFibreChannelnetwork,theblock sizing,andotherfactors.Additionally,eachstoragevendoroftenimplementsSANsusing differenttoolsandfeatures.Becauseofthis,organizationsoftenhavededicatedpersonnel whoseonlyjobistomanagetheSANdeployment.
Note:YoucanimplementSANsbyusingavarietyoftechnologies.Themost commonoptionsareFibreChannelandiSCSI.
WhatIsRAID?
RAIDisatechnologythatyoucanusetoconfigurestoragesystemstoprovidehighreliability and(potentially)highperformance. RAIDimplementsstoragesystemsbycombiningmultipledisksintoasinglelogicalunit calledaRAIDarray.Dependingontheconfiguration,aRAIDarraycanwithstandthefailure ofoneormoreofthephysicalharddiskscontainedinthearray,and/orprovidehigher performancethanisavailablebyusingasingledisk. RAIDprovidesredundancy,whichisanimportantcomponentthatyoucanusewhenplanning anddeployingWindowsServer2012servers.Inmostorganizations,itisimportantthatthe
serversareavailableallofthetime.Mostserversprovidehighlyredundantcomponentssuch asredundantpowersuppliesandredundantnetworkadapters.Thegoalofthisredundancyis toensurethattheserverremainsavailableevenwhenasinglecomponentontheserverfails. ByimplementingRAID,youcanprovidethesamelevelofredundancyforthestorage system.
HowRAIDWorks RAIDenablesfaulttolerancebyusingadditionaldiskstoensurethatthedisksubsystemcan continuetofunctionevenifoneormoredisksinthesubsystemfail.RAIDusestwooptions forenablingfaulttolerance: • Diskmirroring.Withdiskmirroring,alloftheinformationthatiswrittentoonediskisalso writtentoanotherdisk.Ifoneofthedisksfails,theotherdiskisstillavailable. • Parityinformation.Parityinformationisusedintheeventofadiskfailuretocalculatethe informationthatwasstoredonadisk.Ifyouusethisoption,theserverorRAIDcontroller calculatestheparityinformationforeachblockofdatathatiswrittentothedisks,andthen storesthisinformationonanotherdiskoracrossmultipledisks.Ifoneofthedisksinthe RAIDarrayfails,theservercanusethedatathatisstillavailableonthefunctionaldisks alongwiththeparityinformationtorecreatethedatathatwasstoredonthefaileddisk.
RAIDsubsystemscanalsoprovidepotentiallybetterperformancethansingledisksby distributingdiskreadsandwritesacrossmultipledisks.Forexample,whenimplementingdisk striping,theservercanreadinformationfromallharddisksinthestripeset.Whencombined withmultiplediskcontrollers,thiscanprovidesignificantimprovementsindiskperformance.
Note:AlthoughRAIDcanprovideagreaterleveloftolerancefordiskfailure,you shouldnotuseRAIDtoreplacetraditionalbackups.Ifaserverhasapowersurgeor catastrophicfailureandallofthedisksfail,thenyouwouldneedtorelyonstandard backups.
HardwareRAIDvs.SoftwareRAID ImplementhardwareRAIDbyinstallingaRAIDcontrollerintheserver,andthenconfigurei byusingtheRAIDcontrollerconfigurationtool.Whenyouusethisimplementation,the RAIDconfigurationishiddenfromtheoperatingsystem.However,theRAIDarraysare exposedtotheoperatingsystemassingledisks.Theonlyconfigurationthatyouneedto performintheoperatingsystemistocreatevolumesonthedisks. YoucanimplementsoftwareRAIDbyexposingallofthedisksthatareavailableonthe servertotheoperatingsystem.YouthenconfigureRAIDfromwithintheoperatingsystem. WindowsServer2012supportstheuseofsoftwareRAID,andyoucanuseDiskManagement toconfigureseveraldifferentlevelsofRAID. WhenchoosingtoimplementhardwareorsoftwareRAID,considerthefollowing: • HardwareRAIDrequiresdiskcontrollersthatareRAIDcapable.Mostdiskcontrollers shippedwithnewservershavethisfunctionality. • ToconfigurehardwareRAID,youneedtoaccessthediskcontrollermanagementprogram Normally,youcanaccessthisduringtheserverbootprocessorbyusingawebpagethat runsmanagementsoftware. • Implementingdiskmirroringforthediskcontainingthesystemandbootvolumewith softwareRAIDcanrequireadditionalconfigurationwhenadiskfails.BecausetheRAID configurationismanagedbytheoperatingsystem,youmustconfigureoneofthedisksin themirrorasthebootdisk.Ifthatdiskfails,youmayneedtomodifythebootconfiguration fortheservertostarttheserver.ThisisnotanissuewithhardwareRAID,becausethedisk controlleraccessestheavailablediskandexposesittotheoperatingsystem. • Inolderservers,youmaygetbetterperformancewithsoftwareRAIDwhenusingparity, becausetheserverprocessorcancalculateparitymorequicklythanthediskcontrollercan. Thisisnotanissuewithnewerservers,whereyoumaygetbetterperformanceonthe s...