Oracle 11g Release 1 RAC On Linux Using VMware Ser

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Oracle11gRelease1RACOnLinuxUsingVMwareServer上一篇/下一篇2010-04-0622:44:41/个人分类:Installation&Configuration查看(13)/评论(0)/评分(0/0)Oracle11gRelease1RACOnLinuxUsingVMwareServerReferenceby:(11.132-bit)RAConLinux(OracleEnterpriseLinux532-bit)usingVMwareServerwithnoadditionalshareddiskdevices.IntroductionDownloadSoftwareVMwareServerInstallationVirtualMachineSetupGuestOperatingSystemInstallationOracleInstallationPrerequisitesInstallVMwareClientToolsCreateSharedDisksClonetheVirtualMachineInstalltheClusterwareSoftwareInstalltheDatabaseSoftwareandCreateanASMInstanceCreateaDatabaseusingtheDBCATNSConfigurationChecktheStatusoftheRACIntroductionOneofthebiggestobstaclespreventingpeoplefromsettinguptestRACenvironmentsistherequirementforsharedstorage.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.OracleEnterpriseLinux5VMwareServerOracle11gRelease1(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

1 / 92
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功