Kern safe istorage server-high-availability-iscsi-target-san-for-vm-ware-esx-esxi - white paper

download Kern safe istorage server-high-availability-iscsi-target-san-for-vm-ware-esx-esxi - white paper

If you can't read please download the document

  • date post

    16-May-2015
  • Category

    Technology

  • view

    841
  • download

    3

Embed Size (px)

description

This document gives you detailed step-by-step instructions on KernSafe iStorage Server configuring for Windows Server 2008. We need at least two servers and one client to establish High-Availability on VMWare ESX and ESXi

Transcript of Kern safe istorage server-high-availability-iscsi-target-san-for-vm-ware-esx-esxi - white paper

  • 1. iStorageServer:HighAvailabilityiSCSISANfor VMWareESX/ESXiServer Monday,Aug16,2010KernSafeTechnologies,Inc.www.kernsafe.comCopyrightKernSafeTechnologies20062010.Allrightreserved.

2. TableofContentsOverview ......................................................................................................................................................3.InstallESXServer..........................................................................................................................................4ConfiguringoniStorageServer1..................................................................................................................4ChoosetheAuthenticationMechanism..................................................................................................4CreateTarget............................................................................................................................................4ConfiguringoniStorageServer2................................................................................................................11CreateTarget..........................................................................................................................................11CreatingApplicationonserver1................................................................................................................18CreatingApplicationonserver2................................................................................................................23ConfigureVMwareESXServer...................................................................................................................28InstallVMwareInfrastructureClient4.0...............................................................................................28LogontoESXServer...............................................................................................................................30ConfigureESXServersnetworking.......................................................................................................31ConfigureiSCSIStorage..........................................................................................................................38ConfigureStoragedevice.......................................................................................................................45Contact........................................................................................................................................................65 3. OverviewiStorageServerisanetworkbasedstoragevirtualizationsoftwarepoweredbyKernSafeTechnologies,Inc.Beingapowerful,fullfeaturedandsoftwareonlyiSCSITargetSANsolution,thatcanquicklyconvertexistingWindowscomputerintoIPSAN.StoragemediaofiSCSITargetcanincludeexistingstoragedevicessuchastheentireharddisksorpartitions,CDRWs,tapesandUSBstoragedevices,aswellasdiskimagefileorCDimagefilesincludingISO9660(,iso),.bin,.mdf,.cdi,.b5i,.nrg,.ccd,.sub,.img,.rawandotherimagefileformats.Furthermore,iStorageServeralsosupportsalotoffeaturessuchas:VHD(VirtualHardDisk)target,snapshots,STPI,RAID1andfailover,thesefeaturesareveryimportantandpoplarinstorageindustryworldandmakeiStorageServerissuitableforanysizeofbusiness.VMwareESXandVMwareESXiarebaremetalhypervisors,meaningtheyinstalldirectlyontopofthephysicalserverandpartitionitintomultiplevirtualmachinesthatcanrunsimultaneously,sharingthephysicalresourcesoftheunderlyingserver.Eachvirtualmachinerepresentsacompletesystem,withprocessors,memory,networking,storageandBIOS,andcanrunanunmodifiedoperatingsystemandapplications.ThefunctionalityandperformanceofVMwareESXandESXiarethesame;thedifferencebetweenthetwohypervisorsresidesintheirarchitectureandoperationalmanagement.VMwareESXiisthelatesthypervisorarchitecturefromVMware.IthasanultrathinfootprintwithnorelianceonageneralpurposeOS,settinganewbarforsecurityandreliability.ThesmallfootprintandhardwarelikereliabilityofVMwareESXienableittoalsobeavailablepreinstalledonindustrystandardx86servers.Highavailabilityistheimplementationoftechnologysothatifacomponentfails,anothercantakeoverforit.Byusinghighlyavailableplatforms,thedowntimeforasystemcanbereduced,and,inmanycases,itcanbereducedtoashortenoughtimethattheusersofthesystemdonotseethefailure.AfteriStorageServer2.0,itsupportsserversidemirroring,synchronousreplicationandfailoverwhichallowsusertocreateahighavailabilityiSCSISANforESXServer.ThisarticledemonstrateshowHighavailiabilityworksunderVMwareESXServer,Weneedtwotargetswhichhasthesamesizeontwoservers,inthisdocument,weusedserver1192.168.0.195andserver2192.168.0.111. 4. InstallESXServerYouneedaserverrunningESXServer.ESXServermustfirstbeinstalledontoasuitablemachinethatwillbeusedtocreatethevirtualenvironment.ForlearninghowtoobtainorinstallVMwareESXServer,pleasecontacttheVMwaresupplier.ConfiguringoniStorageServer1ChoosetheAuthenticationMechanismDecidewhichauthenticationmechanismsyouwouldwanttouse:Anonymous,CHAP,IPaddressorMixedauthentication.1),Anonymous:Allinitiatorswillgetfullaccesspermissionwithoutanyauthorizationrequired.2)CHAP(Challengehandshakeauthenticationprotocol)AllinitiatorsneedtospecifyaCHAPuserandsecrettoconnecttothetarget.iStorageServerhasabuiltinusercalledGuest,whichisusedforinitiatorswithoutCHAPsecretspecified.3)IPFiltersAllinitiatorswillbeauthorizedbytheincomingIPaddressdefinedbyIPFilterroles.4)MixedSecuritypolicyisdeterminedbybothCHAPandIPFilters.CreateTargetOpeniStorageServerManagementConsole. 5. LaunchtheiStorageServermanagementconsolle,presstheCreatebuttononthetoolbar,theCreateDeviceWizardisshown.Selectdevicetype 6. ChooseHardDisk.PresstheNextbuttontocontinue.Selectamediumtype. 7. ChooseImageFileiniSCSIMediumTypewindow.ThenpressNextbuttontocontinue.SelectanImagetype. 8. ChooseStandardImageFile.PresstheNextbuttontocontinue.Specifyimagefilepathandsize. 9. ChooseCreateanewimagefiletocreateanewimagefileorchooseUseexistingimagefileifyouhaveaone.Specifyimagefilefullnamepath.Specifythedevicesize.IfyoucheckUsesparsefileonNTFSfilesystem,thesizeofdiskimagefileonlydependonitscontentused,itcansaveyourharddiskspace.PresstheNextbuttontocontinue.Setauthorizationmode. 10. ChooseAnonymousAuthorization.PresstheNextbuttontocontinue.FinishcreatingiSCSITarget. 11. TypeatargetnameintheTargetNamefield.CheckEnablemultipleinitiatorswithfullaccessconnected(sharingandclusting).PresstheFinishbuttontocontinue.ConfiguringoniStorageServer2CreateTargetOpeniStorageServerManagementConsole. 12. LaunchtheiStorageServermanagementconsolle,presstheCreatebuttononthetoolbar,theCreateDeviceWizardisshown.Selectdevicetype 13. ChooseHardDisk.PresstheNextbuttontocontinue.Selectamediumtype. 14. ChooseImageFileiniSCSIMediumTypewindow.ThenpressNextbuttontocontinue.SelectanImagetype. 15. ChooseStandardImageFile.PresstheNextbuttontocontinue.Specifyimagefilepathandsize. 16. ChooseCreateanewimagefiletocreateanewimagefileorchooseUseexistingimagefileifyouhaveaone.Specifyimagefilefullnamepath.Specifythedevicesize.IfyoucheckUsesparsefileonNTFSfilesystem,thesizeofdiskimagefileonlydependonitscontentused,itcansaveyourharddiskspace.PresstheNextbuttontocontinue.Setauthorizationmode. 17. ChooseAnonymousAuthorization.PresstheNextbuttontocontinue.FinishcreatingiSCSITarget. 18. TypeatargetnameintheTargetNamefield.CheckEnablemultipleinitiatorswithfullaccessconnected(sharingandclusting).PresstheFinishbuttontocontinue.CreatingApplicationonserver1OnServer1,rightclickApplicationsonthelefttreeofthemaininterface,chooseCreateApplicationonthepopupmenu,theCreateApplicationWizardwidowwillbeshown. 19. ChooseFailoveriSCSISANNode.ThenpressNexttocontinue. 20. ChecktheKernSafe.ESXTargetstorageandclickEdittofindthemirrortarget. 21. InputtheIPandportofserver2iniSCSISourcetab,thenclickDiscoveryonthebottomofthewindowtofindthemirrortarget,choosetheKernSafe.ESXTargetpartnerinthedownlist.PressOKbuttontocontinue.Note:IfthetargetneedsCHAPauthorization,youshouldprovideUsernameandsecrettologon. Themirrortargetwillbeaddedtothewindow,thenclickNextbuttontocontinue. 22. Now,themirrortargetshouldbesynchronizationtothebasetarget,ifthetwotargetsareboththenewoneanddonotbeinitialized,wecanchooseCreatemirrordevicewithoutsynchronization(ManualInitialization),otherwise,wemustchooseCreatemirrordevicewithfullsynchronizationfrombaseiSCSItarget.PressOKbuttontocontinue. 23. ClickFinishbuttontocompletetheapplicationcreation.CreatingApplicationonserver2OnServer2,rightclickApplicationsonthelefttreeofthemaininterface,chooseCreateApplicationonthepopupmenu,theCreateApplicationWizardwidowwillbeshown. 24. ChooseFailoveriSCSISANNode.ThenpressNexttocontinue. 25. ChecktheKernSafe.ESXTargetpartnerstorageandclickEdittofindthemirrortarget. 26. InputtheIPandportofserver1iniSCSISourcetab,thenclickDiscoveryonthebottomofthewindowtofindthemirrortarget,choosetheKernSafe.ESXTargetinthedownlist.PressOKbuttontocontinue.Note:IfthetargetneedsCHAPauthorization,youshouldprovideUsernameandsecrettologon. Themirrortargetwillbeaddedtothewindow,thenclickNextbuttontocontinue. 27. Now,themirrortargetshouldbesynchronizationtothebasetarget,ifthetwotargetsareboththenewoneanddonotbeinitialized,wecanchooseCreatemirrordevicewithoutsynchronization(ManualInitialization),otherwise,wemustchooseCreatemirrordevicewithfullsynchronizationfrombaseiSCSItarget.PressOKbuttontocontinue. 28. ClickFinishbuttontocompletetheapplicationcreation.ConfigureVMwareESXServerInstallVMwareInfrastructureClient4.0RunVMwareInfrastructureClientinstallation,thefollowinginterfaceisshown. 29. PresstheNextbuttontocontinue.InstallVMwareInfrastructureClient. 30. Aftercopingfilesiscompleted,presstheFinishbuttontocompleteVMwareInfrastructureClientinstallation.LogontoESXServerRunVMwareInfrastructureClient,VMwareInfrastructureClientLogondialogisshown. 31. TypeIPaddress/NamewithwhichrunningESXServer.Typeusernameandpassword.Presstheloginbuttontocontinue.ConfigureESXServersnetworkingOpenVMwareInfrastructureClient. 32. ClickNetworki