Oracle RAC群集配置及恢復(fù)手冊_第1頁
Oracle RAC群集配置及恢復(fù)手冊_第2頁
Oracle RAC群集配置及恢復(fù)手冊_第3頁
Oracle RAC群集配置及恢復(fù)手冊_第4頁
Oracle RAC群集配置及恢復(fù)手冊_第5頁
已閱讀5頁,還剩101頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

OracleRAC群集配置及恢復(fù)手冊

RAC配置及存儲崩潰恢復(fù)示例

環(huán)境介紹

創(chuàng)建虛擬機

安裝操作系統(tǒng)

創(chuàng)建共享存儲

安裝RAC前的準備工作

1.創(chuàng)建用戶組和目錄

2.修改oracle用戶的環(huán)境變量

3.修改系統(tǒng)參數(shù)

4.配置兩節(jié)點的時間同步

5.配置用戶等效性

6.配置裸設(shè)備

7.創(chuàng)建ASM磁盤

8.為歸檔配置NFS

安裝配置oracleclusterware

安裝clusterware軟件

執(zhí)行腳本

安裝數(shù)據(jù)庫軟件

安裝1020.4補丁

升級clusterware

升級database

創(chuàng)建偵聽

創(chuàng)建數(shù)據(jù)庫

創(chuàng)建數(shù)據(jù)表空間

1.創(chuàng)建表空間

2.創(chuàng)建用戶

3.創(chuàng)建表并插入數(shù)據(jù)

4.強制產(chǎn)生歸檔

備份數(shù)據(jù)

關(guān)閉RAC集群

備份VOTEDISK

備份OCR

備份數(shù)據(jù)設(shè)備文件

刪除oraclerac共享存儲分區(qū),執(zhí)行恢復(fù)

啟動crs和群集

檢查數(shù)據(jù)

結(jié)論

?環(huán)境介紹

本次試驗是以windows7平臺下的vmware8虛擬環(huán)境來實現(xiàn)的,信息如下表:

表一:基本信息I中I

節(jié)點一節(jié)點二

主機名rhellrhel2

公用ip1095.3610.9537

心跳ip10.111.111.11110.111.111.112

vip10.9.5.3810.9.5.39

操作系統(tǒng)Rhel5.5x64

數(shù)據(jù)庫版本Oracle10.2.0.4

Windows虛機文件夾E:AIDlmux_seriasrhel5_rac1E:MUlmux_seriasrhel5_racl

共享存儲文件夾E:Amlmux_seriasshare5

表二:共享存儲娓劃

磁盤分區(qū)設(shè)備連接文件容量數(shù)據(jù)文件

/devsdbl/devrawl/uOl.CISOCT.CIS300MNULL

/devsdb2/devraw2/u01/crsvote,crs300MNULL

/devsdcl-FLASH1GUndotbsl

/devsdc2-DATA4GUndotbs2

/devsddl節(jié)點一archl1G

/devsdd2節(jié)點二/arch21G

?創(chuàng)建虛擬機

創(chuàng)建rhel5類型的虛擬機,過程略,虛擬機配置如下

?安裝操作系統(tǒng)

安裝centos5.6操作系統(tǒng),ip和主機名等信息按照規(guī)劃表配置,過程略

?創(chuàng)建共享存儲

由于oraclerac環(huán)境需要共享存儲,因此我們要開辟一個新的文件夾來方法共享磁盤文件

(E:\vm\linux_serias\share5)。

節(jié)點一:

1.關(guān)閉虛擬機操作系統(tǒng),打開虛擬機編輯頁面,點擊"add"

VirtualMachineSettings

IOK|CaxelHdp

2.在彈出的添加硬件向?qū)У膶υ捒蛑?,選擇harddisk

3.選擇創(chuàng)建一個新的磁盤

AddHardwareWizard

SelectaDisk

Whkhdiskdoycxjwanttouse?

Disk

o越?.巨.¥生亞運L畫^

AvirtualdiskiscomposedofoneormorufilesoAthehostfilesystem,which

wiappearasasingleharddisktotheguestoperatingsystem.Virtualdisks

caneasiybecopiedormovedonthesamehostorbetweenhosts.

Useanexistingvirtualdsk

Choosethisoptiontoreuseapreviouslyconfigureddisk.

Useaehyscal&$k(foradvancedusers)

Choosethisoptiontogivethevirtualmachinedrectaccesstoalocalhard

disk.

Cancel

4.按圖中所示,勾選參數(shù)。

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.共享磁盤文件的位置選擇與系統(tǒng)文件夾不同的位置,點擊完成。

AddHardwareWizard

SpecifyDiskFile

Wherewouldyouliketostorethediskfile?

Diskfile

Thisvrtuaidiskfitewillstoretheconfioiratiooytafcofthephysicalctsk.

E:\vmVinux_senas^hare5^da.vmdkBrowse…

<gackAntshj|Cancel

7.選擇剛剛創(chuàng)建的磁盤,點擊右側(cè)的高級選項,在彈出的對話框中,將其該為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,將以下內(nèi)容加入

disk.locking="FALSE"

diskLib.dataCacheMaxSize="0"

scsil.sharedBus="virtual"

scsil:O.deviceType="disk"

節(jié)點二:

在創(chuàng)建磁盤時注意選擇使用已存在的磁盤選項,其他操作和節(jié)點一相同。

AddHardwareWizard

SelectaDisk

Whichdiskdoyouwanttouse?

Disk

Createanewvrtualcfcsk

Avirtualdisktscomposedofoneormorefilesonthehostfilesystem,whkh

vdlappearasasrgleharddisktotheguestoperabngsystem.Virtualdisks

caneasrfybecopiedormovedonthesamehostorbetweenhosts.

°圖色?.生莊S9.Y3L去出

Choosethisoptiontoreuseapreviouslyconfigureddisk.

Useaphysicdldisk(foradvancedusers)

Choosethisopbontogivethevrtualmachinedrectaccesstoalocalhard

disk.

?安裝RAC前的準備工作

L創(chuàng)建用戶組和目錄

兩個節(jié)點都執(zhí)行

[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用戶的環(huán)境變量

兩個節(jié)點均執(zhí)行,執(zhí)行完畢后退出用戶再次登錄。

[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.修改系統(tǒng)參數(shù)

以root用戶修改,兩個節(jié)點均執(zhí)行

[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.配置兩節(jié)點的時間同步

A.開啟節(jié)點一的時間服務(wù)

[rootgrhellchkconfigntpdon

[root@rhellservicentpdstart

Startingntpd:[OK]

B.將同步腳本寫入節(jié)點二的開機自啟動

[root@rhe12etcrc.local

while[1];dontpdaterhell1>.devhull2>&1:sleep2:done&

5.配置用戶等效性

兩節(jié)點均以oracle用戶執(zhí)行

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

節(jié)點一執(zhí)行

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:

節(jié)點二執(zhí)行

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.配置裸設(shè)備

6.1.將識別到的共享磁盤使用fdisk命令進行分區(qū),分區(qū)信息依照表二,過程略

[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文件,來配置裸設(shè)備信息,兩個節(jié)點都運行

[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務(wù)

[root@rhellstart_udev

Startingudev:[OK]

6.4查看裸設(shè)備

[root@rhellIs-1/devraw

total0

crw?rw——1rootoinstall162,1Mar421:31rawl

crw?rw——1rootoinstall162,2Mar421:31raw2

6.5創(chuàng)建數(shù)據(jù)文件軟連接,兩個節(jié)點均執(zhí)行

[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.創(chuàng)建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.兩個節(jié)點都配置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.在節(jié)點一創(chuàng)建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.在節(jié)點二掃描并識別磁盤

[root@rhel2Server]#etcinit.doracleasmscandisks

ScanningthesystemforOracleASNILibdisks:[OK]

[root@rhel2Senrer]#etcinit.doracleasmlistdisks

VOL1

VOL2

8.為歸檔配置NFS

由于。raclerac環(huán)境下的歸檔不能放在裸設(shè)備上,為了方便備份,我們在每個節(jié)點上都配

置了一個單獨的歸檔目錄,并在兩個節(jié)點間將這兩個目錄互為NFS

1.確認兩個節(jié)點都安裝了nfs的包

[root@rhell?]#rpm-qa|grepnfs

nfs-utils-lib-1.0.8-7.6.d5

nfs-utils-1.0.9-50.el5

2.酉己置NFS

節(jié)點一配置導(dǎo)出

[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

節(jié)點二識別并掛載:

[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

節(jié)點二配置導(dǎo)出

[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

節(jié)點一配置并識別:

[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文件,配置開機自動掛載

節(jié)點一

[root@rhell~]#vi.etcfstab

192.168.0.82:/arch2arch2nfs

nvJbg;hardrrsize=327685wsize=32768;tq),vers=3;tiineo=600:actimeo=000

節(jié)點二

[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文件,將如下內(nèi)容寫入,否則自檢過不去

redhat-4

2.切換到clusterware安裝目錄,執(zhí)行."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.忽略系統(tǒng)警告,下一步

MOracleUniversalInstaller:Product-SpecificPrerequisiteChecks

6.點擊add添加節(jié)點二信息

;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.修改兩個網(wǎng)卡的作用

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

執(zhí)行腳本

1.安裝過程中會出現(xiàn)運行腳本提示

口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用戶依次執(zhí)行所提示腳本

節(jié)點一執(zhí)行orainstRoot.sh

[root@rhellZuO1,oraInventoryTorainstRoot.sh

Changingpermissionsof.uO1oralnventoryto770.

Changinggroupnameof.uOl/oralnventorytooinstall.

Theexecutionofthescriptiscomplete

節(jié)點二執(zhí)行orainstRoot.sh

[root@

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論