iStorage Server: iSCSI SAN for Windows Server 2008 Clustering

Embed Size (px)

DESCRIPTION

In this white paper you can read how to set up a cluster using iStorage Server on Windows Server 2008.High-availability clusters (also knows as HA Clusters or Failover Clusters) are computer clusters that are implemented primarily for purpose of providing high availability of services which the cluster provides. They operate by having redundant computers or nodes which are then used to provide service when system components fail.

Citation preview

  • 1.iStorageServer:iSCSISANforWindowsServer2008Clustering Friday,May28,2010KernSafeTechnologies,Inc.www.kernsafe.comCopyrightKernSafeTechnologies20062010.Allrightreserved.

2. TableofContentsOverview ......................................................................................................................................................3.ConfiguringonDomainController...............................................................................................................5NetworkAdapter......................................................................................................................................5InstallActiveDirectory.............................................................................................................................6InstallDNS..............................................................................................................................................16ConfiguringoniStorageServer..................................................................................................................28NetworkAdapter....................................................................................................................................28PreparingQuorumVolume....................................................................................................................29PreparingGenericVolume.....................................................................................................................36ConfiguringonClusterNode1...................................................................................................................43NetworkAdapter....................................................................................................................................43Jointothedomain.................................................................................................................................45LogintoiSCSIdisks................................................................................................................................49InstallingFailoverClusteringService.....................................................................................................58ConfiguringonClusterNode2...................................................................................................................64NetworkAdapter....................................................................................................................................64Jointothedomain.................................................................................................................................66LogintoiSCSIdisks................................................................................................................................70InstallingFailoverClusteringService.....................................................................................................78ConfiguringFailoverClustering..................................................................................................................84ValidateaConfiguration........................................................................................................................84CreateaFailoverCluster........................................................................................................................93Contact......................................................................................................................................................102 3. OverviewKernSafeiStorageServerisanadvancedandpowerful,fullfeaturedsoftwareonlyiSCSITargetthatfullyconformstothelatestiSCSIStandard1.0(formerDraft20).ItisanIPSANsolutionallowingyoutoquicklyexportexistingstoragessuchasdiskimages,VHDfiles,physicaldisks,partitions,CD/DVDROMs,tapesoranyothertypeofSCSIbaseddevicesandevenavarietyofpopularCD/DVDimagestotheclientmachines.Thesoftwarethusdeliversimmediatebenefits,asitallowsstoragetobeconsolidated,virtualizedandcentrallymanaged.iStorageServeralsoprovidesRAID1(mirror)featureenablingyoutocreatetwoiSCSIdevicesformirrorbackup.Furthermore,iStorageServeralsosupportsalotoffeaturessuchas:VHD(VirtualHardDisk)target,snapshots,STPI,RAID1andfailover,thesefeaturesareveryimportantandpoplarinstorageindustryworldandmakeiStorageServerissuitableforanysizeofbusiness.Highavailabilityclusters(alsoknownasHAClustersorFailoverClusters)arecomputerclustersthatareimplementedprimarilyforthepurposeofprovidinghighavailabilityofserviceswhichtheclusterprovides.Theyoperatebyhavingredundantcomputersornodeswhicharethenusedtoprovideservicewhensystemcomponentsfail.Normally,ifaserverwithaparticularapplicationcrashes,theapplicationwillbeunavailableuntilsomeonefixesthecrashedserver.HAclusteringremediesthissituationbydetectinghardware/softwarefaults,andimmediatelyrestartingtheapplicationonanothersystemwithoutrequiringadministrativeintervention,aprocessknownasFailover.Aspartofthisprocess,clusteringsoftwaremayconfigurethenodebeforestartingtheapplicationonit.Forexample,appropriatefilesystemsmayneedtobeimportedandmounted,networkhardwaremayhavetobeconfigured,andsomesupportingapplicationsmayneedtoberunningaswell.AfteriStorageServer2.0,itsupportsserversidemirroring,synchronousreplicationandfailoverwhichallowsusertocreateahighavailabilityiSCSISANforWindowsServer2008clusteringandHyperv. 4. ThisdocumentgivesyoudetailedstepbystepinstructionsonKernSafeiStorageServerconfiguringforWindowsServer2008orWindowsServer2008R2failoverclusters.Beforetodoso,preparethefollowingthreecomputersorvirtualmachineinHyperv:NameIPAddress Detail08DC192.168.1.2DomainController08Node1 192.168.1.101FailoverNode108Node2 192.168.1.102FailoverNode2KernStorage 192.168.0.2iStorageServer 5. ConfiguringonDomainControllerNetworkAdapterForworkinginclusteringenvironment,thenetworkadaptermustbeassignedastaticIPaddress.SelecttheInternetProtocolVersion4(TCP/IPv4)andthenpressthePropertiesbutton,theInternetProtocolVersion4(TCP/IPv4)dialogisshown.AsActiveDirectoryrequiresDNS,anaddressmustbeprovided,inthiscasewecanspecifyitselfIPaddress.DNSwillbeinstalledlaterafterinstalledActiveDirectory. TypetheIPaddressandDNSserveraddress.PresstheOKbuttontocontinue. 6. InstallActiveDirectorySelectStart>RunandtypedcpromointheOpeninputbox.PresstheOKbuttontocontinue.TheActiveDirectoryDomainServicesInstallationWizardisshown. 7. PresstheNextbuttontocontinue.TheActiveDirectoryDomainServicesInstallationWizardisshown,beforetodonext,pleasereadtheintroducinginstructionscarefully. 8. PresstheNextbuttontocontinue.BecausewearecreatingActiveDirectory,SelecttheCreateanewdomaininanewforestoption. 9. PresstheNextbuttontocontinue.SpecifythenameofForestRootDomain. 10. PresstheNextbuttontocontinue.SelecttheForestfunctionallevel. 11. SelectWindowsServer2008orWindowsServer2008R2ifbuildingWindowsServer2008R2clustering.PresstheNextbuttontocontinue.Selecttheadditionaloptionsforthisdomaincontroller. 12. KeeptheselectionoftheDNSServer.PresstheNextbuttontocontinue.TheActiveDirectoryDomainServicesInstallationWizardisshown. 13. PresstheYesbuttontocontinue.CustomizethedirectoriesforDatabasefolder,LogfilesfolderandSYSVOLfolder.PresstheNextbuttontocontinue.SpecifytheDirectoryServicesRestoreModeAdministratorPassword. 14. PresstheNextbuttontocontinue.Checkalloftheparametersarecorrect;presstheBackbuttonifanychangeisrequired. 15. PresstheNextbuttontocontinue.Afterawhile,ActiveDirectoryDomainServicesInstallationiscompleted. 16. PresstheFinishButtontoclosethewizard.Restartisrequired.PresstheRestartNowbuttontorestartthecomputer.InstallDNSUseadministratorroletologontotheDomaincontrollermachineandlaunchtheDNSManager. 17. RightclickontheReverseLookupZoneinthelefttreeviewandthenselectNewZonemenuitem.TheNewZoneWizardisshown. 18. PresstheNextbuttontocontinue.Selectzonetype. 19. SelectthePrimaryzoneandkeeptheselectionofStorethezoneinActiveDirectory.PresstheNextbuttontocontinue.Selectzonereplicationscope. 20. Keepthedefaultselection.PresstheNextbuttontocontinue.Choosereverselookupzonename. 21. SelectIPv4ReverseLookupZone.PresstheNextbuttontocontinue.TypethenetworkIDorzonename. 22. SelecttheNetworkIDandthentypeIPaddressintheNetworkID.PresstheNextbuttontocontinue.Specifydynamicupdateoptions. 23. PresstheNextbuttontocontinue.Checkalltheparametersallrequired,presstheBackbuttonifanychangeisrequired. 24. PresstheFinishbuttontoclosetheNewZoneWizard.RightclickontheKernSafe.LocalinthelefttreeviewofDNSManager,thenselectNewHost(AorAAA)menuitem. 25. TheNewHostdialogisshown. 26. TypehostnameintheNameandIPaddressintheIPaddressfieldforthe08Node1machine.ChecktheCreateassociatedpointer(PTR)recordcheckbox.PresstheAddHostbuttontoadd08Node1DNSrecord. TypehostnameintheNameandIPaddressintheIPaddressfieldforthe08Node2machine.ChecktheCreateassociatedpointer(PTR)recordcheckbox.PresstheAddHostbuttontoadd08Node2DNSrecord.PresstheDonebuttontocloseNewHostdialog.NowwewillseethetworecordsintheDNSManager. 27. 28. ConfiguringoniStorageServerNetworkAdapterForworkinginclusteringenvironment,thenetworkadaptermustbeassignedastaticIPaddress.SelecttheInternetProtocolVersion4(TCP/IPv4)andthenpressthePropertiesbutton,theInternetProtocolVersion4(TCP/IPv4)dialogisshown. 29. SetthesecondnetworkadapterofDomainControllerasshowninthefigure.IPaddressissetas192.168.2.1andSubnetmaskissetas255.255.255.0.PreparingQuorumVolumeLaunchtheiStorageServermanagementconsolle,presstheCreatebuttononthetoolbarofiStorageServermanagementconsole,theCreateDeviceWizardisshown.Selectadevicetype 30. ChooseHardDisk.PresstheNextbuttontocontinue. 31. ChooseImageFileiniSCSIMediumTypepage.ThenpressNextbuttontocontinue. 32. WechooseStandardImageFileandthenpresstheNextbuttontocontinue.Specifyimagefilepathandsize. 33. SelectCreateanewimagefileorUseexistingimagefileifyoualreadyhaveaone.Specifythedevicesize.PresstheNextbuttontocontinue.Setauthorizationmode. 34. Specifyauthorizationmodeasyourequired,wetakeIPFilterasanexample.PresstheNextbuttontocontinue.FinishcreatingiSCSITarget 35. TypeatargetnameintheTargetNamefield,orusethedefault.ChecktheEnablemultipleinitiatorswithfullaccessconnected(sharingandclustering)checkbox.PresstheFinishbuttontocontinue.Maketargetwritable.PresstheViewbuttononthetoolbarofiStorageServerManagementConsole,thenchangetoIPFilterview. 36. Rightclickonthe0.0.0.0item,andthenselectAccess>FullAccess.PreparingGenericVolumeLaunchtheiStorageServermanagementconsolle,presstheCreatebuttononthetoolbarofiStorageServermanagementconsole,theCreateDeviceWizardisshown.Selectadevicetype 37. ChooseHardDisk.PresstheNextbuttontocontinue. 38. ChooseImageFileiniSCSIMediumTypewindow.ThenpressNextbuttontocontinue. 39. WechooseStandardImageFileandthenpressNextbutton.Specifyimagefilepathandsize. 40. SelectCreateanewimagefileorUseexistingimagefileifyoualreadyhaveaone.Specifythedevicesize.PresstheNextbuttontocontinue.Setauthorizationmode. 41. Specifyauthorizationmodeasyourequired,hereweuseIPFilter.PresstheNextbuttontocontinue.FinishcreatingiSCSITarget 42. TypeatargetnameintheTargetNamefield,orusethedefault.ChecktheEnablemultipleinitiatorswithfullaccessconnected(sharingandclustering)checkbox.PresstheFinishbutton.NowthesampleimagesisshownintheiStorageServermanagementconsoleifsuccessful. 43. ConfiguringonClusterNode1NetworkAdapterForworkinginclusteringenvironment,thenetworkadaptermustbeassignedastaticIPaddress.SelecttheInternetProtocolVersion4(TCP/IPv4)andthenpressthePropertiesbutton,theInternetProtocol 44. Version4(TCP/IPv4)dialogisshown. TypeintheIPaddress,Subnetmask,DefaultgatewayandPreferredNDSserver.Setthesecondnetworkadapterof08Node. 45. TypeintheIPaddressandSubnetmask.PresstheOKbuttontochangeIPaddress.JointothedomainPresstheOKbuttontochangeIPaddress.OpenSystemPropertiespage. 46. ClickontheChangesettingslink,theSystemPropertiesDialogisshown. 47. PresstheChangebutton. 48. Type08Node1intheComputernameandkernsafe.localintheDomain.PresstheOKbuttontochangecomputernameandjointhedomain.Domaincontrolleraccountisrequiredtojointhedomain.Typeyourusernameandpassword.PresstheOKbuttontocontinue. 49. Ifsuccessful,theComputerName/DomainChangesnotificationdialogisshownasbelow. PresstheOKbuttontocontinue.Restartisrequired.PresstheRestartNowbuttontorestartthecomputer.LogintoiSCSIdisksLunchtheAdministrativeTools>MicrosoftiSCSIinitiator. 50. SelecttheDiscoverypage. 51. PresstheDiscoveryPortalbutton,theDiscoveryTargetPortaldialogisshown. 52. TypeIPaddressorNDSnameandPortoftheiStorageServerintherequiredfields.PresstheOKbuttontoadd.SelecttheTargetspage. 53. SelectthetargetsjustaddedandthenpresstheConnectbutton. 54. KeepselectionoftheAddthisconnectiontothelistofFavoriteTargets.PresstheOKbuttontocontinue.Ifsuccessful,theloggedontargetsareshowninthefigure. 55. LaunchtheWindowsComputerManagementConsole.AnInitializeDiskdialogisshown. 56. Keeptheselectionofthetowdisks.Selectpartitionstylefortheselecteddisks.PresstheOKbuttontocontinue. 57. RightclickontheDisksandthenselectNewSimpleVolume,partitionandformatthetwodisksfollowedbywizard.Ifsuccessful,thenewvolumescreatedareshowninthefigurebelow. 58. InstallingFailoverClusteringServiceLaunchtheWindowsServermanagerConsole. 59. SelecttheFeaturesnodefromthelefttreeview. 60. ClicktheAddFeatureslink,theAddFeaturesWizardisshown. 61. SelecttheFailoverClustering.PresstheNextbuttontocontinue. 62. PresstheInstallbuttontoinstalltheFailoverClusteringfeature.TheinstallationoftheFailoverClusteringisgoingon. 63. Ifsuccessful,thewizardwillcompleteandshowasthefigurebelow. 64. PresstheClosebutton.ConfiguringonClusterNode2NetworkAdapterForworkinginclusteringenvironment,thenetworkadaptermustbeassignedastaticIPaddress.SelecttheInternetProtocolVersion4(TCP/IPv4)andthenpressthePropertiesbutton,theInternetProtocol 65. Version4(TCP/IPv4)dialogisshown. TypeintheIPaddress,Subnetmask,DefaultgatewayandPreferredNDSserver.Setthesecondnetworkadapterof08Node. 66. TypeintheIPaddressandSubnetmask.PresstheOKbuttontochangeIPaddress.JointothedomainPresstheOKbuttontochangeIPaddress.OpenSystemPropertiespage. 67. ClickontheChangesettingslink,theSystemPropertiesDialogisshown. 68. PresstheChangebutton. 69. Type08Node2intheComputernameandkernsafe.localintheDomain.PresstheOKbuttontochangecomputernameandjointhedomain.Domaincontrolleraccountisrequiredtojointhedomain.Typeyourusernameandpassword.PresstheOKbuttontocontinue. 70. Ifsuccessful,theComputerName/DomainChangesnotificationdialogisshownasbelow. PresstheOKbuttontocontinue.Restartisrequired.PresstheRestartNowbuttontorestartthecomputer.LogintoiSCSIdisksLunchtheAdministrativeTools>MicrosoftiSCSIinitiator. 71. SelecttheDiscoverypage. 72. PresstheDiscoveryPortalbutton,theDiscoveryTargetPortaldialogisshown. 73. TypeIPaddressorNDSnameandPortoftheiStorageServerintherequiredfields.PresstheOKbuttontoadd.SelecttheTargetspage. 74. SelectthetargetsjustaddedandthenpresstheConnectbutton. 75. KeepselectionoftheAddthisconnectiontothelistofFavoriteTargets.PresstheOKbuttontocontinue.Ifsuccessful,theloggedontargetsareshowninthefigure. 76. LaunchtheWindowsComputerManagementConsole. 77. RightclickontheDisk1andthenselecttheOnlinemenuitem,bringDisk1online.RightclickontheDisk2andthenselecttheOnlinemenuitem,bringsDisk2online. 78. RightontheDisk1andthenselecttheChangeDriverLetterandPathsmenuitem,changetheletterofDisk1toG:.RightontheDisk2andthenselecttheChangeDriverLetterandPathsmenuitem,changetheletterofDisk2toQ:.InstallingFailoverClusteringServiceLaunchtheWindowsServermanagerConsole. 79. SelecttheFeaturesnodefromthelefttreeview. 80. ClicktheAddFeatureslink,theAddFeaturesWizardisshown. 81. SelecttheFailoverClustering.PresstheNextbuttontocontinue. 82. PresstheInstallbuttontoinstalltheFailoverClusteringfeature.TheinstallationoftheFailoverClusteringisgoingon. 83. Ifsuccessful,thewizardwillcompleteandshowasthefigurebelow. 84. PresstheClosebutton.ConfiguringFailoverClusteringValidateaConfigurationNodethatthisstepisnotnecessaryforcreatingacluster,butitensuresthattheconfigurationissuitableforfailoverclustering.LaunchtotheWindowsFailoverClusterManagerconsoleinnode1ornode2machines. 85. ClickontheValidateaConfigurationlink.TheValidateaConfigurationWizardisshown. 86. PresstheNextbuttontocontinue.Addnodestothecluster. 87. PresstheBrowsebutton,theSelectComputersdialogisshown.PresstheAdvancedbutton. 88. Selectthe08NODE1itemandthenpresstheOKbuttontoadd. 89. PresstheOKbutton. PresstheBrowsebuttonandadd08NODE2bythroughthesameway. 90. PresstheNextbuttontocontinue. 91. SelectRunalltests(recommended).PresstheNextbuttontocontinue. 92. PresstheNextbuttontocontinue.Ifsuccessful,allthetestsincludeSCSI3PersistentReservationarevalidandshownasthefigurebelow. 93. PresstheFinishbuttontocompleteconfigurationvalidation.CreateaFailoverClusterClickontheCreateaClusteritemintheActionspanelofFailoverClusterManager. 94. TheCreateClusterWizardisshown. 95. PresstheNextbuttontocontinue. 96. PresstheBrowsebuttonandtheAddbuttontoaddnodestothiscluster. 97. PresstheNextbuttontocontinue.SpecifyIPaddressforthecluster. 98. TypeanIPaddressintheAddressfield.PresstheNextbuttontocontinue. 99. PresstheNextbuttontocontinueorpressthePerviousbuttonifanychangesareneeded.Ifsuccessful,theCreateClusterWizardcompleteasshowninthefigurebelow. 100. PresstheFinishbuttontocontinue. 101. Nowthecreationoftheclusteriscompleted,expandtheclusternodeandselecttheStoragenode,itwillshownasthefigurebelow,bothclusterdiskareshownonline. 102. ContactSupport: [email protected]:[email protected]:http://www.kernsafe.com/ProductPage: http://www.kernsafe.com/product.aspx?id=5Licenseshttp://www.kernsafe.com/product.aspx?id=5&name=License+TypesForum: http://www.kernsafe.com/forum/ KernSafeTechnologies,Inc.www.kernsafe.comCopyrightKernSafeTechnologies20062010.Allrightreserved.