10gR2RHEL4RAC.docx

上传人:b****5 文档编号:7691452 上传时间:2023-01-25 格式:DOCX 页数:17 大小:1.22MB
下载 相关 举报
10gR2RHEL4RAC.docx_第1页
第1页 / 共17页
10gR2RHEL4RAC.docx_第2页
第2页 / 共17页
10gR2RHEL4RAC.docx_第3页
第3页 / 共17页
10gR2RHEL4RAC.docx_第4页
第4页 / 共17页
10gR2RHEL4RAC.docx_第5页
第5页 / 共17页
点击查看更多>>
下载资源
资源描述

10gR2RHEL4RAC.docx

《10gR2RHEL4RAC.docx》由会员分享,可在线阅读,更多相关《10gR2RHEL4RAC.docx(17页珍藏版)》请在冰豆网上搜索。

10gR2RHEL4RAC.docx

10gR2RHEL4RAC

July6,2006

Installing10gR2ClusterwareonRedhat4.2AdvancedServer

ByTarrySingh

ABriefPeptalk:

ChoosingaperfectOracleRACconfiguration

WehavedonethepreparationandgoneaboutinstallingtheOCFS2andASMonourRHEL4.2servers.OracleRACisgrowinginpopularityandIlikedthispageatOraclemyself.Here,youcangetpre-tested,documentedbestpracticesofinstallingOracleonLinuxbasedsystems.Inaddition,somegoodrecommendations,fromthisauthoronInfostor,willhelpcompaniesdecidewhattogofor.IlikethequoteinwhichhesaysthatyoucanalsodeployRAConsystemsbesidesLinux(whichIwillbedocumentinghereasanongoingefforttodemoRAConSolaris,HP-UXandAIXserversaswell).

GettingtheOracleRACsoftware

Wehavegonethroughthisseveraltimes,butjusttokeepyouintheloop,gotoPart6togetallthenecessarysoftwareyouneed.

Nowgoaheadandunzipallthefiles,whileloggedonasan"Oracle"user,into/tmp/orasoftdirectory(youarefreetochoosethedirectory,Inameitorasofttoavoidanyconfusionwhenlookingforthefiles).

Wearetalkingaboutthesethreefilesandwillgoaheadandunziptheminthe/tmp/orasoftfolder

∙OracleCompleteDatabaseRelease2

∙OracleDatabase10gCompanionCDRelease2(10.2.0.1.0)forLinuxx86

∙OracleClusterwareRelease2(10.2.0.1.0)forLinuxx86

ExtracttheClusterwarepackageasfollows:

#su-oracle

$cd~tmp/orasoft

$unzip10201_clusterware_linux32.zip

$unzip10201_database_linux32.zip

$unzip10201_companion_linux32.zip

OKnowmakesurethatyouareloggedinasuser"Oracle,"andhaveunsetacoupleofparameterssuchasORACLE_HOME,etc.andallowforxserverconnectionsforaccessfromanyconsole.

Afterbeingloggedinasroot,dothefollowing:

#xhost+

ThenlogonasOracleandfollowthestepsasdetailedoutintheprintscreens:

Welcomescreen,clicknext.

Specifyinventorydirectoryandcredentials.Wechoose/u01/app/oracle/oraInventoryandspecify"dba"astheoperatingsystemusername.

Specifyhomedetails.

Productspecificpre-requisitechecks.

Addanewnode:

Theprimarynodewhereyouarerunningtheinstallerwillbepickedupbytheinstallerandyouwillhavetospecifytheadditionalnode(s)byclickingthe"Add"button:

Wewillleavetheclusternameas"crs",youcanhoweverchooseanamethatfitsyourinstallationtemplate.

YourEthernetinterfacesarepresentedtoyou:

SpecifytheOracleCRSlocation:

Rememberwecreatedthreefiles,whichweformattedwithOCFS.

SpecifyVotingDiskLocation:

Youarepresentedwithasummary.Ifallissatisfactoryclickoninstall:

Installerruns:

Whentheinstallationisalmostdone,youwillbepromptedtorunorainstRoot.shandroot.shscripts.Youwillhavetoopenanewconsole(donotdoitinthesameconsoleasyourinstaller!

)beginningfromtheprimarynodewhereyouarecarryingtheinstallationandloggedinas"root"runthescript.

Nowgothethe/u01/app/oracle/oraInventorydirectoryandrunorainstRoot.sh.YouhavetodothisonALLNODES!

Asyoucansee,itchangesthepermissionsoftheoraInventoryandassignsDBAthegroupnameofthesamedirectory.

Therearemanydiscussionsaboutmiscounts,specificallytotheVMwareenvironment(likeVMwareServerORWorkstation),wheretheoverheadmightjustnotbesupportiveenoughtoallowforafullandrobustfunctioningofourRAC.ThisisalsonecessarywhenrunningDBCAinordertoinstallourdatabase.Notdoingsomightresultinanora-03113error.

Whatactuallyistheproblemthen?

InVMwareyoumightencounterslowerdiskresponsiveness(dependingonhowfastandwhatconfigurationyouhaveforyourdisks,IhadsuccessonanoldserverwithRAID0andproblemswithaRAID5/SANdisk).However,thisdoesnothavetobethecaseforVMwareRACtestbed,itcanalsooccurinapoorlyselectedhardwareconfiguration.TheCSSmiscounthasadefaultvalueof60andhappenstobeabittoosmallfortheCSStomisstheheartbeatandeventuallyendingupevictingthenodeandthusthrowingtheora-03113error.BeginningwiththeOracle10gR1series,thealgorithmhaschangedtoallowalengthiertimeout.Ihavehadsuccesswith300,butyoucangoashighas600.Sonow,thequestionarisesofhowtodoit.Ifyouhaven’tdoneit,doitnowbydoing:

Queryyournodes:

$ORA_CRS_HOME/bin/crsctlgetcssmisscount

60

Queryagain:

$ORA_CRS_HOME/bin/crsctlgetcssmisscount

360

Nowwegoaboutinstallingtheroot.shscript:

Youdoseethattheclscfgcomplainsthatthemiscountmustbebelow360andthatiswhenIwentlookingforthetradeoff,tryingtosetitjustbelow300.Moreover,afterdoingsoyouwillneedtorunthisroot.shonALLNODES!

DespitetheerrorofthatONS(NotificationServicesdaemon),Iwasabletosuccessfullyconcludetheinstallation.ThelastnoderunstheVIPCA(VIPConfigurationAgent).

Asyoucansee,theconfigurationstarts:

Andcompletessuccessfully.

Doingaquickcheckontheclusternodes:

Andalsocheckingifallthedaemonswillstartautomatically:

Conclusion:

Inthisarticle,wetookourfirststepstowardsinstallingtheOracleClusterwareandasyousawyourself,theinstallationwentfine.Thatwasduetothepainstakingandyetrewardingpreparatoryeffortsthatweputinthebeginningofourseries.Inournextarticle,wewillgoaheadandinstallOraclesoftwareandtheCompanionCD.ThenwewilltakeonourDBCA(DatabaseCreationAssistant).InourOracleRACadministrationseries,wewillgoaheadandadministertheclusterwarecomponents.AlthoughIhadstartedthisseriestodoaWindowsandLinuxRACinstallation,IamtemptedtolookatHP-UX,AIXandSolaristoo,hopefullymyVMwareserverwillgetoutofbetaandIcangetonwiththeseconfigurationsaswell.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 农林牧渔 > 林学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1