Oracle 12cR1 12101 2node RAC on CentOS 64 on VMware Workstation 9Part 9Word格式.docx
- 文档编号:19044786
- 上传时间:2023-01-03
- 格式:DOCX
- 页数:10
- 大小:793.87KB
Oracle 12cR1 12101 2node RAC on CentOS 64 on VMware Workstation 9Part 9Word格式.docx
《Oracle 12cR1 12101 2node RAC on CentOS 64 on VMware Workstation 9Part 9Word格式.docx》由会员分享,可在线阅读,更多相关《Oracle 12cR1 12101 2node RAC on CentOS 64 on VMware Workstation 9Part 9Word格式.docx(10页珍藏版)》请在冰豆网上搜索。
Nowthatwehavecompletedallthepreparationstepsandthegridpre-installsteps,wecaninstallthe12cOracleGridInfrastructuresoftware.
TheGridInfrastructurewillprovidetheClustersoftwarethatallowstheRACnodestocommunicate,aswellastheASMsoftwaretomanagetheshareddisks.
InthepreviousstepweunzippedtheinstallationfilesdownloadedfromOracle,soweshouldalreadyhaveagridinstalldirectory.
WewillnowlaunchtheGridinstallerasfollows:
[oracle@ruggerogrid]$./runInstaller&
Thiswillstartthegraphicalinstallerandpresenttheinitialmenu.Selecttheoption;
Skipsoftwareupdates.ThenclickNext.
AtthenextscreenselectInstallandConfigureOracleGridInfrastructureforaClusterandclickNext.
AtthenextscreenIselectedConfigureaStandardCluster.IwillplaywiththeFlexClusteroptionsanothertime.ClickNext.
AtthenextscreenselectAdvancedInstallationandclickNext.
AtthenextscreenselectselectthelangaugesyouwanttoinstallandclickNext.
Atthenextscreenenteryourclusterinformation.IhavenamedmyclusterlarondineandsettheSCANaddresstotheoneIdefinedearlierintheDNSinstallstep–larondine-scan.hadesnet.
IamnotconfiguringGNS.
EntertheclusterandSCANnameforyourclusterandclickNext.
AtthenextscreenclickAddandenterthehostIPandVIPoftheadditionalnodes.InmyexampleIamaddingoneextranodeIcalledmagdawithaVIPofmagda-vip.ClickNext.
Atthenextscreensetthepublicandprivatenetworksforthecluster.Inmyexampleeth0isaDHCPmanagednetworktotheoutsideworld,sonotsuitableforclusteruse.
Myclusterpublicnetworkisonsubnet10.10.1.xsoIsetthatnetworktoPublic.
Myclusterprivatenetworkisonsubnet10.10.2.xsoIsetthatnetworktoPrivate.ImayalsosetittoPrivateandASMifIintendtouseanew12cfeaturewherebyIhaveasingleASMforallnodestoconnect,butagainIamgoingtoleavethatfornow.
AtthenextscreenIchoosetoconfiguretheGridInfrastructureManagementRepository.Thisfeatureallowsseveralnew12coptions,including:
∙ClusterHealthMonitor.
∙QoS(QualityofService)Management.
∙MemoryGuard.
∙RapidHomeProvisioning.
Note:
Inmytesting,selecttoconfiguretheGridInfrastructureManagementRepositoryinvariablyleadstoanINS-20802errorduringclusterverification.Althoughtheerrorcanbeignored,ifyouwantacompletelycleaninstallandyoudonotplantousetheabovefeatures,youmaychoosetonotconfiguretherepository.
Atthenextscreen,selectUseStandardASMforstorage.IfyousetyourprivateclusterNICtoPrivateandASMinapreviousstep,thenyoumightchoosetoexperimentwithFlexASM.
AtthenextscreenwechoosethediskforASMtouse.Thedefaultdiscoverypathis/dev/sd*,whichaswechangedthatthroughUDEVrulestodev/oracleasm/asm-disk1isnotgoingtoworkforus.
ClickChangeDiscoveryPathandchangethepathto/dev/oracleasm*andclickOK.
Changingthediscoverypathshouldallowtheinstallertoseethediskwepreparedasacandidatedisk.
SettheredundancytoExternalandselectthecandidatedisk.ThenclickNext.
Atthenextscreen,selectUsesamepasswordsfortheseaccountsandenterasimplepasswordfortheSYSandASMSNMPaccounts.
SincethisisasandboxItendtousesomethinglike“oracle”.
Atthenextscreen,selectDonotuseIntelligentPlatformManagementInterface(IPMI).ClickNext.
Atthenextscreen,settheOracleASMAdministrator(OSASM)GrouptoasmadminandtheOracleASMDBA(OSDBAforASM)Grouptoasmdba.
LeavetheOracleASMOperator(OSOPERforASM)Groupblank.
ClickNext
AtthenextscreensetthelocationsfortheOraclebaseandthegridinstall.
Inmyexampletheseare:
Component
Location
OracleBase
/u01/app/oracle
GridInfrastructure
/u01/app/12.1.0/grid
AtthenextscreensetthelocationsfortheOracleinventory.
Atthenextscreenisoneofmyfavouritenewfeatureofthe12cinstallprocess.Theinstallernowallowsustoautomaticallyruntherootscriptsattheendofprocess,insteadofhavingtodothatmanually.
ThereasonIlikethissomuch,isthatIhavetaughtRACtechnologyacrosstheUnitedStates,andineverysingleclass,someonealwaystriestoruntheroot.shonthesecondnodebeforeithascompletedonthefirstwhichwreakshavocontheinstallandsometimeswehavetostartalloveragain.
CheckAutomaticallyrunconfigurationscriptsandentertherootpasswordintothedialogbox.
Thenextscreenwillverifyourconfigurationandreportback.
TheSingleClientAccessName(SCAN)failureisduetousonlyhavetwoIPaddresseslisted.Wecanignorethat.
TheDeviceChecksforASMisduetoabugintheexecutable/tmp/CVU_12.1.0.1.0_oracle/exectaskwhichtriestodetermineisourASMdiskissuitableforaninstall.
Oneofthethingsthatthisprocessdoesisexecutethefollowingpieceofcode:
/bin/grepKERNEL==/etc/udev/rules.d/*.rules|grepGROUP|grepMODE|sed-e'
/^#/d'
-e'
s/\*/.*/g'
s/\(.*\)KERNEL=="
\([^\"
]*\)\(.*\)/\2@\1KERNEL=="
\2\3/'
|awk'
{if("
asm-disk1"
~$1)print$3,$4,$5,$6,$7,$8,$9,$10,$11,$12}'
|sed-e'
s/:
//'
s/\.\*/\*/g'
Mysedandawkskillsareadmittedlyrusty,butasfarasIcansee,theonlywayforthatscripttosucceediswhenthedevicenamewehaveselectedforinstall–inourcase/dev/oracleasm/asm-disk1matchestheoriginaldevicenameintheUDEVrule,whichis/dev/sdb1.
ButsinceweuseUDEVtoinsulateourselvesfromLinuxrenamingdevicesasitdiscoversthemontheSCSIbus,doingsowouldnotonlyignoreoneofthechiefreasonsforusingUDEV,butalsoopenourselvesuptofailurelateronifsomeoneaddednewdevicestotheSCSIbusonanynodeinourcluster.
Therefore,wewillignorethiserror.
ClickIgnoreAllandclickNext.
Theinstallerwillwarnusthatweareignoringpotentialproblems.ClickOKandthenreviewtheoptionswehaveselected.
Ifeverythinglookokay,clickInstall.
Theinstallprocesscantakesometimesorelax.Itcaneasilytake45minutesonmyCorei7laptopwith16GBofRAM,sodon’tbesurprisedifyourstakesawhiletoo.
Whentheinstallerreaches79%itwillpromptusifwewanttoruntherootscripts.JustclickYes.
IfyouselectedtocreatetheGridInfrastructureManagementRepository,thenastheinstallnearscompletionyouwillgetanerror:
[INS-20802]OracleClusterVerificationUtilityfailed.
ScanthroughthelogforanythingthatdoesnotrefertoSCANaddressesorUDEVdevices.Inalllikelihoodtheinstallisfine.
ClickOK
Thenextscreenshowsacompletedinstall.ClickSkip.
Theinstallisnowcomplete.
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Oracle 12cR1 12101 2node RAC on CentOS 64 VMware Workstation Part 12 cR1 node
链接地址:https://www.bdocx.com/doc/19044786.html