您好,欢迎访问三七文档
Oracle11gRelease1RACOnLinuxUsingVMwareServer上一篇/下一篇2010-04-0622:44:41/个人分类:Installation&Configuration查看(13)/评论(0)/评分(0/0)Oracle11gRelease1RACOnLinuxUsingVMwareServerReferenceby:(11.132-bit)RAConLinux(OracleEnterpriseLinux532-bit)usingVMwareServerwithnoadditionalshareddiskdevices.IntroductionDownloadSoftwareVMwareServerInstallationVirtualMachineSetupGuestOperatingSystemInstallationOracleInstallationPrerequisitesInstallVMwareClientToolsCreateSharedDisksClonetheVirtualMachineInstalltheClusterwareSoftwareInstalltheDatabaseSoftwareandCreateanASMInstanceCreateaDatabaseusingtheDBCATNSConfigurationChecktheStatusoftheRACIntroductionOneofthebiggestobstaclespreventingpeoplefromsettinguptestRACenvironmentsistherequirementforsharedstorage.Inaproductionenvironment,sharedstorageisoftenprovidedbyaSANorhigh-endNASdevice,butbothoftheseoptionsareveryexpensivewhenallyouwanttodoisgetsomeexperienceinstallingandusingRAC.AcheaperalternativeistouseaFireWirediskenclosuretoallowtwomachinestoaccessthesamedisk(s),butthatstillcostsmoneyandrequirestwoservers.AthirdoptionistouseVMwareServertofakethesharedstorage.UsingVMwareServeryoucanrunmultipleVirtualMachines(VMs)onasingleserver,allowingyoutorunbothRACnodesonasinglemachine.Inadditon,itallowsyoutosetupsharedvirtualdisks,overcomingtheobstacleofexpensivesharedstorage.Beforeyoulaunchintothisinstallation,hereareafewthingstoconsider.Thefinishedsystemincludesthehostoperatingsystem,twoguestoperatingsystems,twosetsofOracleClusterware,twoASMinstancesandtwoDatabaseinstancesallonasingleserver.Asyoucanimagine,thisrequiresasignificantamountofdiskspace,CPUandmemory.Iwasabletocompletethisinstallationona3.4GPentium4with3Gofmemory,butitwasextremelyslow.ThisprocedureprovidesabarebonesinstallationtogettheRACworking.ThereisnoredundancyintheClusterwareinstallationortheASMinstallation.Toaddthis,simplycreatedoubletheamountofshareddisksandselecttheNormalredundancyoptionwhenitisoffered.Ofcourse,thiswilltakemorediskspace.Duringthevirtualdiskcreation,Ialwayschoosenottopreallocatethediskspace.Thismakesvirtualdiskaccessslowerduringtheinstallation,butsavesonwasteddiskspace.Thisisnot,andshouldnotbeconsidered,aproduction-readysystem.It'ssimplytoallowyoutogetusedtoinstallingandusingRAC.DownloadSoftwareDownloadthefollowingsoftware.OracleEnterpriseLinux5VMwareServerOracle11gRelease1(11.1)ClusterwareandDBsoftwareVMwareServerInstallationRegardlessofthehostOS,thesetupofthevirtualmachinesshouldbesimilar.First,installtheVMwareServersoftware.OnLinuxyoudothiswiththefollowingcommandastherootuser.#rpm-UvhVMware-server-*.rpmPreparing...###########################################[100%]1:VMware-server###########################################[100%]#Thenfinishtheconfigurationbyrunningthevmware-config.plscript.astherootuser.Mostofthequestionscanbeansweredwiththedefaultresponsebypressingthereturnkey.Theoutputbelowshowsmyresponsestothequestions.#vmware-config.plMakingsureservicesforVMwareServerarestopped.StoppingVMwareservices:Virtualmachinemonitor[OK]YoumustreadandaccepttheEndUserLicenseAgreementtocontinue.Pressentertodisplayit.VMWARE,INC.SOFTWAREBETATESTAGREEMENT***Editiedoutlicenseagreement***Doyouaccept?(yes/no)yesThankyou.ConfiguringfallbackGTK+2.4libraries.Inwhichdirectorydoyouwanttoinstallthemimetypeicons?[/usr/share/icons]Whatdirectorycontainsyourdesktopmenuentryfiles?Thesefileshavea.desktopfileextension.[/usr/share/applications]Inwhichdirectorydoyouwanttoinstalltheapplication'sicon?[/usr/share/pixmaps]Tryingtofindasuitablevmmonmoduleforyourrunningkernel.Themodulebld-2.6.9-5.EL-i686smp-RHEL4loadsperfectlyintherunningkernel.Doyouwantnetworkingforyourvirtualmachines?(yes/no/help)[yes]Configuringabridgednetworkforvmnet0.Thefollowingbridgednetworkshavebeendefined:.vmnet0isbridgedtoeth0Allyourethernetinterfacesarealreadybridged.DoyouwanttobeabletouseNATnetworkinginyourvirtualmachines?(yes/no)[yes]ConfiguringaNATnetworkforvmnet8.Doyouwantthisprogramtoprobeforanunusedprivatesubnet?(yes/no/help)[yes]Probingforanunusedprivatesubnet(thiscantakesometime)...Thesubnet172.16.210.0/255.255.255.0appearstobeunused.ThefollowingNATnetworkshavebeendefined:.vmnet8isaNATnetworkonprivatesubnet172.16.210.0.DoyouwishtoconfigureanotherNATnetwork?(yes/no)[no]Doyouwanttobeabletousehost-onlynetworkinginyourvirtualmachines?[yes]noTryingtofindasuitablevmnetmoduleforyourrunningkernel.Themodulebld-2.6.9-5.EL-i686smp-RHEL4loadsperfectlyintherunningkernel.Pleasespecifyaportforremoteconsoleconnectionstouse[902]Stoppingxinetd:[OK]Startingxinetd:[OK]ConfiguringtheVMwareVmPerlScriptingAPI.BuildingtheVMwareVmPerlScriptingAPI.Usingcompiler/usr/bin/gcc.UseenvironmentvariableCCtooverride.TheinstallationoftheVMwareVmPerlScriptingAPIsucceeded.Doyouwantthisprogramtosetuppermissionsforyourregisteredvirtualmachines?Thiswillbedonebysettingnewpermissionsonallfilesfoundinthe/etc/vmware/vm-listfile.[no]yesGeneratingSSL
本文标题:Oracle 11g Release 1 RAC On Linux Using VMware Ser
链接地址:https://www.777doc.com/doc-4868252 .html