版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
OracleRAC群集配置及恢复手册
RAC配置及存储崩溃恢复示例
环境介绍
创建虚拟机
安装操作系统
创建共享存储
安装RAC前的准备工作
1.创建用户组和目录
2.修改oracle用户的环境变量
3.修改系统参数
4.配置两节点的时间同步
5.配置用户等效性
6.配置裸设备
7.创建ASM磁盘
8.为归档配置NFS
安装配置oracleclusterware
安装clusterware软件
执行脚本
安装数据库软件
安装1020.4补丁
升级clusterware
升级database
创建侦听
创建数据库
创建数据表空间
1.创建表空间
2.创建用户
3.创建表并插入数据
4.强制产生归档
备份数据
关闭RAC集群
备份VOTEDISK
备份OCR
备份数据设备文件
删除oraclerac共享存储分区,执行恢复
启动crs和群集
检查数据
结论
・环境介绍
本次试验是以windows7平台下的vmware8虚拟环境来实现的,信息如下表:
表一:基本信息I中I
节点一节点二
主机名rhellrhel2
公用ip1095.3610.9537
心跳ip10.111.111.11110.111.111.112
vip10.9.5.3810.9.5.39
操作系统Rhel5.5x64
数据库版本Oracle10.2.0.4
Windows虚机文件夹E:AIDlmux_seriasrhel5_rac1E:MUlmux_seriasrhel5_racl
共享存储文件夹E:Amlmux_seriasshare5
表二:共享存储娓划
磁盘分区设备连接文件容量数据文件
/devsdbl/devrawl/uOl.CISOCT.CIS300MNULL
/devsdb2/devraw2/u01/crsvote,crs300MNULL
/devsdcl-FLASH1GUndotbsl
/devsdc2-DATA4GUndotbs2
/devsddl节点一archl1G
/devsdd2节点二/arch21G
・创建虚拟机
创建rhel5类型的虚拟机,过程略,虚拟机配置如下
・安装操作系统
安装centos5.6操作系统,ip和主机名等信息按照规划表配置,过程略
・创建共享存储
由于oraclerac环境需要共享存储,因此我们要开辟一个新的文件夹来方法共享磁盘文件
(E:\vm\linux_serias\share5)。
节点一:
1.关闭虚拟机操作系统,打开虚拟机编辑页面,点击"add"
VirtualMachineSettings
IOK|CaxelHdp
2.在弹出的添加硬件向导的对话框中,选择harddisk
3.选择创建一个新的磁盘
AddHardwareWizard
SelectaDisk
Whkhdiskdoycxjwanttouse?
Disk
o越?.巨.¥生亚运L画^
AvirtualdiskiscomposedofoneormorufilesoAthehostfilesystem,which
wiappearasasingleharddisktotheguestoperatingsystem.Virtualdisks
caneasiybecopiedormovedonthesamehostorbetweenhosts.
Useanexistingvirtualdsk
Choosethisoptiontoreuseapreviouslyconfigureddisk.
Useaehyscal&$k(foradvancedusers)
Choosethisoptiontogivethevirtualmachinedrectaccesstoalocalhard
disk.
Cancel
4.按图中所示,勾选参数。
AddHardwareWizard
SelectaDtskType
Whatkindofdtskdoyouwanttocreate?
Virtualdisktype
Cpe
QSCSI(Recommended)
〈Backfcjext〉Cancel
5.磁盘大小选为1G,选择立即分配空间。
AddHardwareWizard
SpecifyDiskCapacity
Howlargedoyouwantthisdsktobe?
Maxmumdisksize(G8):1:
RecommendedsizeforWindowsServer2003EnterpriseEdition:40GB
过盲aldaknow]
ARocabngthefulcapaotycanenhanceperformancebutrequresallofthe
physicaldiskspacetobeavailablerightnow.IfyoudonotaBocatealthe
spacenow,thevirtualdiskstartssmallandgrowsasyouadddatatoit.
Storevirtualdiskasasriglef8e
。Spktvirtualdtskintomultiplefiles
Sptttmgthediskmakesiteasiertomovethevrtualmadwietoanother
computerbutmayreduceperformancewithverylargedisks.
vfiadcfcjext>Cancel
6.共享磁盘文件的位置选择与系统文件夹不同的位置,点击完成。
AddHardwareWizard
SpecifyDiskFile
Wherewouldyouliketostorethediskfile?
Diskfile
Thisvrtuaidiskfitewillstoretheconfioiratiooytafcofthephysicalctsk.
E:\vmVinux_senas^hare5^da.vmdkBrowse…
<gackAntshj|Cancel
7.选择刚刚创建的磁盘,点击右侧的高级选项,在弹出的对话框中,将其该为1:0
VirtualMachineSettings
8.以相同的方法,添加其他的几块共享磁盘,添加完全后如下
DeviceSummary
Memory
口Processors1
□HardDisk(SCSQ20G6
口HardDisk2(SCSI)1GB
nHardDtsk3(SCSI)716MB(Persistent)
「HardDisk4(SCSD1.5GB(Persistent)
HHardDisk5(SCSI)614MB(Persistent)
L^HardDt$k6(SCSI)512MB(Persistent)
HardDisk7(SCSI)512MB(Persistent)
二HardDisk8(SCSI)1GB(Persistent)
>CDA)VD(IDE)UsingfileE:Vso\CentOS・5,6<…
蹲NetworkAdapterBridged
齿NetworkAdapter2Host-only
QuSBControlef
Present
©SoundCardAutodetect
&PnnterPresent
事DisplayAutodetect
9.使用记事本打开虚拟机文件winsqll.vmx,将以下内容加入
disk.locking="FALSE"
diskLib.dataCacheMaxSize="0"
scsil.sharedBus="virtual"
scsil:O.deviceType="disk"
节点二:
在创建磁盘时注意选择使用已存在的磁盘选项,其他操作和节点一相同。
AddHardwareWizard
SelectaDisk
Whichdiskdoyouwanttouse?
Disk
Createanewvrtualcfcsk
Avirtualdisktscomposedofoneormorefilesonthehostfilesystem,whkh
vdlappearasasrgleharddisktotheguestoperabngsystem.Virtualdisks
caneasrfybecopiedormovedonthesamehostorbetweenhosts.
°图色?.生庄S9.Y3L去出
Choosethisoptiontoreuseapreviouslyconfigureddisk.
Useaphysicdldisk(foradvancedusers)
Choosethisopbontogivethevrtualmachinedrectaccesstoalocalhard
disk.
・安装RAC前的准备工作
L创建用户组和目录
两个节点都执行
[root@rhellchkconfigsendmailoff
[root@rhellgroupaddoinstall
[rootgrhellgroupadddba
[rootgrhelluseradd-goinstall-Gdbaoracle
[rcx)t@rhellpasswdoracle
Changingpasswordforuseroracle.
NewUNIXpassword:
BADPASSWORD:itisbasedonadictionaryword
RetypenewUNIXpassword:
passwd:allauthenticationtokensupdatedsuccessfully.
[root@rhellusermod-Gdba,diskoracle
[root@rhellmkdir-p.uOlbracle
[rootgrhell〜]#mkdir-p/uOlcrs
[root@rhellchown-Roraclezoinstall/uOl
2.修改oracle用户的环境变量
两个节点均执行,执行完毕后退出用户再次登录。
[root@rhel2〜]#su-oracle
[oracle@rhel2vi_bash_profile
exportPS1="'binhostname-s'->w
exportEDITOR=vi
exportORACLE_SID=rhel2
exportORACLE_BASE=uOl
exportORACLE_HOME=$ORACLE_BASEoracle
exportORA_CRS_HOME=$ORACLE_BASEcrs
exportLD_UBRARY_PATH=$ORACLE_HOMEHb
exportPATH=$ORACLE_HOMEbin:$ORA_CRS_HON!Ebin:SPATH
umask022
[oracle@rhel2~]$exit
logout
[root@rhel2su-oracle
rhel2->env|grepORA
ORA_OG_HONfE=u01/crs
ORACLE_SID=rhel2
ORACLE_BASE=uOl
ORACLE_HOXIE=uO1bracle
rhel2->
3.修改系统参数
以root用户修改,两个节点均执行
[root@rhell-]#vi.etc.s>rsctl.conf
kernel,shmall=2097152
kemel.shmmax=2147483648
kernel,shmnmi=4096
kemel.sem=25032000100128
fs.file-max=65536
net.ipv4.ip_local_port_range=102465000
net.core.rmem_default=1048576
net.core.rmem_max=1048576
net.core.u?mem_default=262144
net.core.\\'mem_max=262144
[rootgrhell~]#sysctl-p
[rootgrhellvi/etcsecuritylimits.conf
oraclesoftnproc2047
oraclehardnproc16384
oraclesoftnofile1024
oraclehardnofile65536
[root@rhellvi.etcpam.dlogin
sessionrequired/libsecuritypam_limits.so
sessionrequiredpam_limits.so
[rootgrhell~]#vietcprofile
if[$USER="oracle」;then
if[SSHELL="binksh"];then
ulimit-p16384
ulimit-n65536
else
ulimit-u16384-n65536
[rootgrhell~]#vi.etc.modprobe.conf
optionshangcheck-timerhangcheck_tick=30hangcheck_margin=180
[rootgrhellmodprobe-vhangcheck-timer
insmod/libmcxiules2.6.18-238.el5kerneldriverscharhangcheck-timer.kohangcheck_tick=30
hangcheck_margm=180
[root@rhellvi/etchosts
4.配置两节点的时间同步
A.开启节点一的时间服务
[rootgrhellchkconfigntpdon
[root@rhellservicentpdstart
Startingntpd:[OK]
B.将同步脚本写入节点二的开机自启动
[root@rhe12etcrc.local
while[1];dontpdaterhell1>.devhull2>&1:sleep2:done&
5.配置用户等效性
两节点均以oracle用户执行
rhell->mkdir~/.ssh
rhell->chmod700~/.ssh
rhell->ssh-keygen-tdsa
Generatingpublicprivatedsakeypair.
Enterfileinwhichtosavethekey(/homeoracle.sshid_dsa):
Enterpassphrase(emptyfornopassphrase):
Entersamepassphraseagain:
Youridentificationhasbeensavedinhomeoracle\sshid_dsa.
Yburpublickeyhasbeensavedinhomebracle'.ssh.id_dsa.pub.
Thekeyfingerprintis:
2c:28:f6:c7:72:ba:ab:d4:51:70:b6:4c:c4:ae:el:19oracle@rhell
rhell->cat-/.sshiddsa.pub»-/.sshauthorizedke>rs
节点一执行
rhell->sshrhel2cat-/.ssh.id_dsa.pub»~/.sshauthorized_ke)rs
TheauthenticityofhostYhel2(192.168.0.82)'cantbeestablished.
RSAke\^fingerprintis09:19:57:56:e5:88:c4:ec:5d:2d:42:5e:cf:fc:50:7b.
Areyousureyouwanttocontinueconnecting(yesno)?yes
Warning:Permanentlyadded'rhel2?192.168.0.82'(RSA)tothelistofknownhosts.
orade@rhe!2'spassword:
节点二执行
rhel2->sshrhellcat-/.sshid_dsa.pub»-/.sshauthorized_ke>rs
Theauthenticityofhost'rhell(192.168.0.81)'can'tbeestablished.
RSAkeyfingerprintisfc:98:93:c0:41:0a:3e:85:cc:f8:de:38:24:9c:be:aa.
Areyousureyouwanttocontinueconnecting(yesno)?yes
Warning:PermanentlyaddedYhell,192.168081'(RSA)tothelistofknownhosts
等效性测试
rhell->date:sshrhel2date
SunMar422:35:15CST2012
SunMar422:35:15CST2012
rhell->date:sshrhel2-privdate
SunMar422:35:18CST2012
SunMar422:35:18CST2012
rhel2->date;sshrhelldate
SunMar422:36:18CST2012
SunMar422:36:18CST2012
rhel2->date:sshrhell-privdate
SimMar422:36:22CST2012d
SunMar422:36:22CST2012r
6.配置裸设备
6.1.将识别到的共享磁盘使用fdisk命令进行分区,分区信息依照表二,过程略
[root@rhel2〜]#fdisk-1
Diskdevsda:128.8GB,128849018880b>tes
255heads,63sectorstrack,15665cylinders
Units=cylindersof16065*512=8225280bytes
DeviceBootStartEndBlocksIdSystem
devsdal*12520078183Linux
devsda22625752048287583Linux
devsda3257651252048287583Linux
devsda4512615665846625505Extended
devsda55126716516386268+82LinuxswapSolaris
devsda671661566568276218-83Linux
Diskdevsdb:1073MB:1073741824bytes
255heads,63sectorstract130cylinders
Units=cylindersof16065*512=8225280bytes
DeviceBootStartEndBlocksIdSystem
devsdbinux
devsdb23874297202+83Linux
devsdb375992008»83Linux
devsdb4100130249007*83Linux
Diskdevsdc:5368MB:5368709120bytes
255heads,63sectorstrack652cylinders
Units=cylindersof16065*512=8225280bytes
DeviceBootStartEndBlcxrksIdSystem
/dev/sdcl1125100403183Linux
devsdc21266524233127+83Linux
Diskdwsdd:1073MB,1073741824bytes
255heads,63sectorstrack,130cylinders
Units=cvlindersof16065*512=8225280bvtes
DeviceBootStartEndBlocksIdSystem。
/dev.sddl16350601683Linux^
,dev.sdd264130538177+83Linux/
6.2修改/etc/udev/rules.d/60-raw.rules文件,来配置裸设备信息,两个节点都运行
[rootgrhellvi/etcudeviules.d60・raw.rules
ACTION="add,\KERNEL="sdbl”,RUN+="binrawdevrawrawl%N”
ACTION=,'add'\KERNEL="sdb2”,RUN+="binrawdevrawraw2%N”
ACnON=,'add,\KERNEL=,,raw[l-2],\OWNER="root”,GROUP士'oinstalT,MODE="660”
6.3重启月员udev务
[root@rhellstart_udev
Startingudev:[OK]
6.4查看裸设备
[root@rhellIs-1/devraw
total0
crw・rw——1rootoinstall162,1Mar421:31rawl
crw・rw——1rootoinstall162,2Mar421:31raw2
6.5创建数据文件软连接,两个节点均执行
[root@rhell-]#In-sdevrawrawluOlcrsocr.crs
[root@rhellIn-sdevrawraw2uO1.crsvote,crs
[root@rhellchown-Rrootzoinstall/uOl/crs*
6.6.查看软连接
[root@rhellIs-1/uOlcrs
total0
Invxrwxrwx1rootoinstall13Mar500:33ocr.crs->devlawrawl
Irwxrwxrwx1rootoinstall13Mar500:33vote.crs->devrawraw2
7.创建ASM磁盘
A.检查asm包是否安装
[root@rhel2Server]#rpm-qa|grepasm
oracleasm-2.6.18-194.el5debug-2.05-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-2.6.18-194.el5-2.0.5-l.el5
oracleasm-2.6.18-194.el5xen-2.0.5-l.el5
B.两个节点都配置ASMIib
I[root@rhelletcinit.doracleasmconfigure
ConfiguringtheOracleASMlibrarydriver.
Thiswillconfiguretheon-bootpropertiesoftheOracleASMlibrary
driver.Thefollowingquestionswilldeterminewhetherthedriveris
loadedonbootandwhatpermissionsitwillhave.Thecurrentvalues
willbeshowninbrackets('口)Hitting<ENTER>withouttypingan
answerwillkeepthatcurrentvalue.Ctrl-Cwillabort.
Defaultusertoownthedriverinterface[]:oracle
Defaultgrouptoownthedriverinterface[]:dba
StartOracleASMlibrarydriveronboot(yn)[n]:y
ScanforOracleASMdisksonboot(y/n)[y]:
^TitingOracleASN4Hbiarydriverconfiguration:done
InitializingtheOracleASMLibdriver:[OK]
ScanningthesystemfbrOracleASNILibdisks:[OK]
c.在节点一创建asm磁盘
[root@rhell-]#,'etcinit.doracleasmVOL1devsdcl
Usage:/etcinit.doracleasm
{start|stop|restart|enable|disable|configure|createdisk|deletediskjquenrdisk|listdisks|scandisks|status
)
[rcx)t@rhell-]#,'etcinit.doracleasmcreatediskVOL1devsdcl
Markingdisk"VOL1"asanASMdisk:[OK]
[rootgrhell-]#/etcinit.doracleasmcreatediskVOL2devsdc2
Markingdisk"VOL2"asanASMdisk:[OK]
[rcx)t@rhell/etcinit.doracleasmlistdisks
VOL1
VOL2
D.在节点二扫描并识别磁盘
[root@rhel2Server]#etcinit.doracleasmscandisks
ScanningthesystemforOracleASNILibdisks:[OK]
[root@rhel2Senrer]#etcinit.doracleasmlistdisks
VOL1
VOL2
8.为归档配置NFS
由于。raclerac环境下的归档不能放在裸设备上,为了方便备份,我们在每个节点上都配
置了一个单独的归档目录,并在两个节点间将这两个目录互为NFS
1.确认两个节点都安装了nfs的包
[root@rhell〜]#rpm-qa|grepnfs
nfs-utils-lib-1.0.8-7.6.d5
nfs-utils-1.0.9-50.el5
2.酉己置NFS
节点一配置导出
[root@rhellvi/etcexports
archl192.168.0.0/255.255.255.0(fw,sync,no_root_squash)
[root@rhellexportfs-nr
exporting192.168.0.0/255.255.255.0:/archl
[root@rhellservicenfsrestart
ShuttingdownNFSmountd:[FAILED]
ShuttingdownNFSdaemon:[FAILED]
ShuttingdownNFSquotas:[FAILED]
ShuttingdounNFSsenices:[OK]
StartingNFSsendees:[OK]
StartingNFSquotas:[OK]
StartingNFSdaemon:[OK]
StartingNFSmountd:[OK]
[root@rhellchkconfignfson
节点二识别并挂载:
[root@rhel2〜]#showmount・erhell
Exportlistfbrrhell:
/archl192.168.0.0/255.255.255.0
[rcx)t@rhel2〜]#mount-tnfs-o
,
nv?bg?hardJnomtrJrsize=32768,wsize=32768:tq)Jvers=3;timeo=600Jactiineo=0rhelljarchlarchl
[root@rhel2df-Th
FilesystemTypeSizeUsedAvailUse%Mountedon
devmapperXblGroupOO-LogXblOO
ext317G5.8G9.8G38%/
/devsdalext399M13M82M13%/boot
tmpfstmpfs748M0748M0%/devshm
/devsdhlext31004M18M936M2%arch2
rhell:archlnfs1004M18M936M2%/archl
节点二配置导出
[root@rhel2vi/etcexports
/arch2192.16800255.255.255.0(rw,sync:no_n>ot_squash)
[root@rhel2〜]#exportfs-rv
exporting192.168.0.0,255.255.255.0:arch2
[root@rhel2〜]#servicenfsrestart
ShuttingdownNFSmountd:[FAILED]
ShuttingdownNFSdaemon:[FAILED]
ShuttingdownNFSquotas:[FAILED]
ShuttingdownNFSservices:[OK]
StartingNFSsendees:[OK]
StartingNFSquotas:[OK]
StartingNFSdaemon:[OK]
StartingNFSmountd:[OK]
[root@rhel2chkconfignfson
节点一配置并识别:
[root@rhellshowmount・erhel2
Exportlistfbrrhel2:
arch2192.168.0.0/255.255.255.0
[root@rhellmount-tnfs-o
rwJbgJhardJnomtr?rsize=32768Jwsize=32768Jtq)5vers=3stimeo=6005actimeo=0rhel2:arch2arch2
[rcx)t@rhell〜]#df-hT
FilesystemI\peSizeUsedAvailUse%Mountedon
/devmapperXblGroupOO-LogXblOO
ext317G8.5G7.2G55%/
/devsdalext399M13M82M13%/boot
tmpfstmpfs748M0748M0%/devshm
/devsdhlext31004M18M936M2%archl
rhel2:/arch2nfs1004M18M936M2%/arch2
3.写入/etc/fstab文件,配置开机自动挂载
节点一
[root@rhell~]#vi.etcfstab
192.168.0.82:/arch2arch2nfs
nvJbg;hardrrsize=327685wsize=32768;tq),vers=3;tiineo=600:actimeo=000
节点二
[root@rhel2vietcfstab
192.168.0.81:/archlarchlnfs
rw,bg,hard:rsize=3276&wsize=32768,tcp,vers=3:timeo=600:actimeo=000
•安装配置oracleclusterware
安装clusterware软件
1.编辑/etc/redhat-release文件,将如下内容写入,否则自检过不去
redhat-4
2.切换到clusterware安装目录,执行."uninstaller开始安装
-X
Welcome
TheOracleUniversalInstallerguidesyouthroughtheinstallationandconfigurationof
yourOracleproducts.
Click"InstalledProducts../toseeallinstalledproducts.
DeinstallProducts...
AboutQradeUniversalInstaller...
HelpInstalledproducts..Rack画匚:)installCancel
ORACLE
3.安装清单目录和安装组默认,下一步
UniversalInstaller:SpeedyInventorydirectoryandcredentials-X
SpecifyInventorydirectoryandcredentials
Youarestartingyourfirstinstallationonthishost.Aspanofthisinstallyouneedtospecifya
directoryforinstallerfilesThisiscalledtheinventorydirectory*,Withintheinventorydirectonzthe
installerautomaticallysetsupsubdirectoriesforeachproducttocontaininventorydataandwill
consumetypically150Kilotr/esperproduct.
Enterthefullpathoftheinventoryflirectory
|/uOl/oralnventoivBrowse...
YoucanspecifyanOperatingSystemgroupthathaswritepermissiontotheaboveinventorydirectory.
YoucanleavethefieldblankifyouwanttoperformtheaboveoperationsasaSuperuser.
SpecifyOperatingSystemgroupname.
FjelpInstalledproducts...iBackInstallCancel
ORACLE
4.通过浏览按钮更正ers的目录,点击下一步
^OracleUniversalInstallerSpeedyHomeDetailsX
SpecifyHomeDetails
Destination
Enterorselectanamefortheinstallationandthefullpathwhereyouwanttoinstalltheproduct.
Name|oraCrslOg.home-
Path:||uOl/crBrowse...
ProductLanguages.
HelpInstalledProducts...)Backh|extInstallCancel
ORACLe
5.忽略系统警告,下一步
MOracleUniversalInstaller:Product-SpecificPrerequisiteChecks
6.点击add添加节点二信息
;yOracleUniversalInstallerSpecifyClusterConfiguration-X
SpecifyClusterConfiguration
EnteranamefortheclusterandselectthenodestobemanagedbytheOracleClusterware.Foreach
node,specifythenameforthepublicIPaddress,thenamefortheprivateinterconnect,andthename
fortheMrtualIPaddressonthenode.
YoucanuseaclusterconfigurationfileioconfigureyourclusterbyclickingUseClusterConfiguration
FileinsteadofcompletingtheClusterNodesbox.TheUseClusterConfigurationFileoptionishelpfulif
youhavemanynodes.
ClusterName:[crs
ClusterNodes
HelpInstalledproductsInstallCancel
ORACLE
■Addanewnodetotheexistingcluster一口X
SpecifythenameforthepublicIPaddress,thenamefortheprivate
interconnect,andthenameforthevirtualIPaddressonthenodethat
youareadding.EnsurethattherearenopreviousversionsofOracle
ClusterReadyServicesorOracleClustenvareinstalledonthenodethat
youareadding.
PublicNodeName:rhel2
PrivateNodeName.rhel2-priv
VirtualHostName:rhel2-vip
QK|Cancel|
UniversalInstallerSpecifyClusterConfigurationX
SpecifyClusterConfiguration
EmeranamefortheclusterandselectthenodestobemanagedbytheOracleClusterware.Foreach
node,specifythenameforthepublicIPaddress,thenamefortheprivateinterconnectandthename
forthevirtualIPaddressonthenode.
YoucanuseaclusterconfigurationfiletoconfigureyourclusterbyclickingUseClusterConfiguration
FileinsteadofcompletingtheClusterNodesboxTheUseClusterConfigurationFileoptionishelpfulif
youhavemanynodes.
ClusterName[cr$
HelpInstalledproducts..BackNextjInstallCancel
ORACL6
7.修改两个网卡的作用
8.选择单路模式的集群注册信息,并填入路径
x<<OracleUniversalInstallerSpecifyOracleClusterRegistry(OCR)LocationX
SpecifyOracleClusterRegistry(OCR)Location
TheOracleClusterRegistry(OCR)storesdusteranddatabaseconfigurationInformation.Specifya
clusterfilesystemfileorasharedrawdevicecontainingatleast1OOMBoffreespacethatIsaccessible
fromallofthenodesinthecluster
OCRConfiguration
「NormalRedundancy
ChoosethisoptiontoenabletheOracleClusterwaretomanageOCRmirroring.Youwillneedanadditional
100MBofdiskspaceforthemirroredcopy.
.ExternalRedundancy
ChoosethisoptionifyouareusingyourdiskmanagementsystemtoprovideOCRredundancy.
SpecifyQCRLocation:|/uOl/crs/ocr.crs
SpecifyOCRMirrorLocation(
HelpjInstalledproducts...)RackyextiInstilCancel
ORACLE
9.表决盘选择外部方式并写入路径
OracleUniversalinstallerSpecifyVotingDiskLocationX
10.确认细心无误,点击安装
^OracleUniversalInstallerSummaryX
Summary
OracleClusterware10.2.0.1.0
平GlobalSettings
-Source:/tmp/dusterware/stage/products.xml
-OracleHome:/u01/cr$(OraCrslOg.home)
©►ClusterNodes
*-lnstaJlationT\pe:Complete.
GProductLanguages
L-English
。SpateRequirements
卜/Required530MB(includes28MBtemporary)Available995GB
RemoteNodes
&NewInstallations(36products)
-AgentRequiredSupportFiles102.0.1.0
BaliShare11180.0
BuildtoolsCommonFiles10.2.0.1.0
Help,iInstalledProducts.眦k(」而31,)Cancelj
ORACLe
X
Install
InstallingOracleClusterware10.2.0.L0
InstallationinprogressOracleDatabase10g:
Linkpending...讣©DatabasefortheGrid
Setuppending...•Virtu>lte«tk>natlayer
Remoteoperationspending...1Polkyb^wdprovisioning
Configurationpending..'R**ou,c,P°ohn«
Extractingfilesto7u01/crs*.
!■8%
(.opInWjjguon…)
Youcanfindalogofthisinstallsessionat:
/uOl/oralnventory/logs/installActions2012-03-05-01-12-40AM.log
Help1iris*--jiipdPTE:,yext
执行脚本
1.安装过程中会出现运行脚本提示
口X
Thefollowingconfigurationscriptsneedtobeexecutedasthe"root"userineachcluster
node.
Scriptstobeexecuted:
NumberScriptLocationNodes
1/uO1/oralnventory/orainstRoot.shrhell.rhel2
2/uOl/crs/root.shrhel1,11)612
Toexecutetheconfigurationscripts:
1Openaterminalwindow
2.Loginas"roof
3.Runthescriptsineachclusternode
4.Returntothiswindowanddick"OK"tocontinue
Note:Donotrunthescriptssimultaneouslyonthelistednodes.
HelpifOK
2.以root用户依次执行所提示脚本
节点一执行orainstRoot.sh
[root@rhellZuO1,oraInventoryTorainstRoot.sh
Changingpermissionsof.uO1oralnventoryto770.
Changinggroupnameof.uOl/oralnventorytooinstall.
Theexecutionofthescriptiscomplete
节点二执行orainstRoot.sh
[root@
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 班组安全工作目标及措施计划培训课件
- 2025年教育评估模型的评估方法比较研究
- 账务往来解协议书
- 质量索赔协议书模板
- 购房合同解约协议书
- 20T燃气热水锅炉维护与检修规程培训
- 莱姆病性神经病护理查房
- 颈部皮肤恶性肿瘤护理查房
- 阔韧带恶性肿瘤护理查房
- 骨髓抑制护理查房
- 2026广东广州南方投资集团有限公司社会招聘49人备考题库附答案详解(研优卷)
- 【时政解读】从美式斩杀线看中国温度与制度力量 课件
- 2026年广州市黄埔区事业单位招聘笔试参考题库及答案解析
- 油漆车间安全培训
- 第25讲-理解为王:化学反应原理综合题解法策略
- 2025多学科共识:慢性阻塞性肺病患者心肺风险的识别和管理课件
- 2026年共青团入团积极分子考试测试试卷题库及答案
- 2025学年河北省名校协作体高三语文上学期12月考试卷附答案解析
- 2025湖南大学出版社有限责任公司招聘笔试历年常考点试题专练附带答案详解试卷2套
- 制造业产品研发流程优化方案
- 某法律服务公司车辆调度管理细则
评论
0/150
提交评论