RHEL54“加”Oracle10GRAC“加”裸設(shè)備安裝_第1頁(yè)
RHEL54“加”Oracle10GRAC“加”裸設(shè)備安裝_第2頁(yè)
RHEL54“加”Oracle10GRAC“加”裸設(shè)備安裝_第3頁(yè)
RHEL54“加”Oracle10GRAC“加”裸設(shè)備安裝_第4頁(yè)
RHEL54“加”Oracle10GRAC“加”裸設(shè)備安裝_第5頁(yè)
已閱讀5頁(yè),還剩73頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡(jiǎn)介

1、RHEL55.4+Oraacle 10G RAC+裸設(shè)備目錄TOC o 1-6 h z u HYPERLINK l _Toc453075354 1 IP地地址規(guī)劃 PAGEREF _Toc453075354 h 3 HYPERLINK l _Toc453075355 2共享磁盤盤存儲(chǔ)(裸設(shè)備)規(guī)劃 PAGEREF _Toc453075355 h 3 HYPERLINK l _Toc453075356 3實(shí)施操作作步驟 PAGEREF _Toc453075356 h 4 HYPERLINK l _Toc453075357 3.1環(huán)境境準(zhǔn)備及檢檢查 PAGEREF _Toc453075357 h

2、4 HYPERLINK l _Toc453075358 1創(chuàng)建虛擬擬主機(jī),規(guī)規(guī)劃IP PAGEREF _Toc453075358 h 4 HYPERLINK l _Toc453075359 2創(chuàng)建共享享磁盤 PAGEREF _Toc453075359 h 4 HYPERLINK l _Toc453075360 3.2系統(tǒng)統(tǒng)及內(nèi)核參參數(shù)配置 PAGEREF _Toc453075360 h 8 HYPERLINK l _Toc453075361 1各主機(jī)編編輯文件 /etcc/reddhat-releease(oraccle不支支持RHEEL5版本本) PAGEREF _Toc453075361

3、h 8 HYPERLINK l _Toc453075362 2各主機(jī)創(chuàng)創(chuàng)建Oraacle用用戶組oiinstaall、dba ;用戶 ooraclle PAGEREF _Toc453075362 h 8 HYPERLINK l _Toc453075363 4各主機(jī)創(chuàng)創(chuàng)建Oraacle安安裝lv以及軟軟件存放目目錄 PAGEREF _Toc453075363 h 8 HYPERLINK l _Toc453075364 3各主機(jī)創(chuàng)創(chuàng)建Oraacle安安裝目錄 PAGEREF _Toc453075364 h 8 HYPERLINK l _Toc453075365 5各主機(jī)編編輯文件 /homme/o

4、rraclee/.baash_pprofiile PAGEREF _Toc453075365 h 9 HYPERLINK l _Toc453075366 6各主機(jī)編編輯文件 /etcc/syssctl.conff PAGEREF _Toc453075366 h 9 HYPERLINK l _Toc453075367 7 各主機(jī)機(jī)編輯文件件 /ettc/hoosts PAGEREF _Toc453075367 h 10 HYPERLINK l _Toc453075368 8各主機(jī)編編輯文件 /etcc/seccuritty/liimitss.connf PAGEREF _Toc453075368

5、 h 10 HYPERLINK l _Toc453075369 9各主機(jī)編編輯文件 /etcc/pamm.d/lloginn PAGEREF _Toc453075369 h 11 HYPERLINK l _Toc453075370 10各主機(jī)機(jī)編輯文件件 /ettc/rcc.loccal PAGEREF _Toc453075370 h 11 HYPERLINK l _Toc453075371 11各主機(jī)機(jī)登錄orraclee用戶,配配置Oraacle SSH互互信: PAGEREF _Toc453075371 h 11 HYPERLINK l _Toc453075372 12配置NNTP(可可

6、選) PAGEREF _Toc453075372 h 12 HYPERLINK l _Toc453075373 13安裝、dataabasee需要的rppm包 PAGEREF _Toc453075373 h 12 HYPERLINK l _Toc453075374 14創(chuàng)建LLVM裸設(shè)設(shè)備 PAGEREF _Toc453075374 h 14 HYPERLINK l _Toc453075375 15配置UUDEV并并且修改裸裸設(shè)備共享享磁盤權(quán)限限 PAGEREF _Toc453075375 h 15 HYPERLINK l _Toc453075376 16建立裸裸設(shè)備的軟軟鏈接。 PAGERE

7、F _Toc453075376 h 17 HYPERLINK l _Toc453075377 17創(chuàng)建裸裸設(shè)備映射射文件 PAGEREF _Toc453075377 h 18 HYPERLINK l _Toc453075378 18禁止IIPTABBLES與與SELIINUX PAGEREF _Toc453075378 h 19 HYPERLINK l _Toc453075379 3.3安裝裝Oraccle100g_RAAC PAGEREF _Toc453075379 h 19 HYPERLINK l _Toc453075380 1上傳安裝裝介質(zhì) PAGEREF _Toc453075380 h

8、 19 HYPERLINK l _Toc453075381 2解壓三個(gè)個(gè)安裝介質(zhì)質(zhì) PAGEREF _Toc453075381 h 20 HYPERLINK l _Toc453075382 3檢查安裝裝環(huán)境 PAGEREF _Toc453075382 h 20 HYPERLINK l _Toc453075383 4安裝cllusteerwarre PAGEREF _Toc453075383 h 21 HYPERLINK l _Toc453075384 5安裝Orraclee Dattabasse PAGEREF _Toc453075384 h 36 HYPERLINK l _Toc453075

9、385 6升級(jí)cllusteerwarre PAGEREF _Toc453075385 h 42 HYPERLINK l _Toc453075386 7升級(jí)daatabaase PAGEREF _Toc453075386 h 44 HYPERLINK l _Toc453075387 8 NETTCA創(chuàng)建建監(jiān)聽(tīng) PAGEREF _Toc453075387 h 46 HYPERLINK l _Toc453075388 9 DBCCA建庫(kù) PAGEREF _Toc453075388 h 53 HYPERLINK l _Toc453075389 10使用裸裸設(shè)備創(chuàng)建建Dataabasee PAGERE

10、F _Toc453075389 h 57 HYPERLINK l _Toc453075390 11導(dǎo)出ddmp數(shù)據(jù)據(jù)庫(kù)文件 PAGEREF _Toc453075390 h 73 HYPERLINK l _Toc453075391 12導(dǎo)入ddmp數(shù)據(jù)據(jù)庫(kù)文件 PAGEREF _Toc453075391 h 73 HYPERLINK l _Toc453075392 13開(kāi)啟數(shù)數(shù)據(jù)庫(kù)歸檔檔模式 PAGEREF _Toc453075392 h 741 IP地地址規(guī)劃IP規(guī)劃示示例:主機(jī)名(不不能大寫)rac1rac2公共IP(eeth0)192.1168.665.1111192.1168.665.1

11、112私有IP(eeth1)192.1168.1100.1111192.1168.1100.1112虛擬IP(eeth0)192.1168.665.1113192.1168.665.1114ORACLLE_SIIDorcl11orcl22全局?jǐn)?shù)據(jù)庫(kù)庫(kù)名orcl2共享磁盤盤存儲(chǔ)(裸裸設(shè)備)規(guī)規(guī)劃存儲(chǔ)磁盤規(guī)規(guī)劃示例:(測(cè)試用)用途lv名裸設(shè)備名字字大小存放集群注注冊(cè)表occr/dev/vgdaata/oorcl_ocr/dev/raw/raw11512M表決磁盤vvotinng diisk/dev/vgdaata/oorcl_vdissk/dev/raw/raw22512Mspfille信息存存放

12、/dev/vgdaata/rrorcll_spffile/dev/raw/raw33128M控制文件/dev/vgdaata/rrorcll_ctll1/dev/raw/raw44128M控制文件/dev/vgdaata/rrorcll_ctll2/dev/raw/raw55128M控制文件/dev/vgdaata/rrorcll_ctll3/dev/raw/raw66128MSysauux表空間間/dev/vgdaata/rrorcll_syssaux/dev/raw/raw771024MMSysteem表空間間/dev/vgdaata/rrorcll_sysstem/dev/raw/raw

13、881024MM系統(tǒng)臨時(shí)表表空間/dev/vgdaata/rrorcll_temmp1/dev/raw/raw99128M撤銷表空間間/dev/vgdaata/rrorcll_unddo1/dev/raw/raw110512M撤銷表空間間/dev/vgdaata/rrorcll_unddo2/dev/raw/raw111512MUser表表空間/dev/vgdaata/rrorcll_useers/dev/raw/raw112128M重做日志文文件/dev/vgdaata/rrorcll_reddologg1/dev/raw/raw113512M重做日志文文件/dev/vgdaata/rror

14、cll_reddologg2/dev/raw/raw114512M重做日志文文件/dev/vgdaata/rrorcll_reddologg3/dev/raw/raw115512M重做日志文文件/dev/vgdaata/rrorcll_reddologg4/dev/raw/raw116512M用戶數(shù)據(jù)表表空間/dev/vgdaata/rrorcll_datta1/dev/raw/raw117128M用戶數(shù)據(jù)表表空間/dev/vgdaata/rrorcll_datta2/dev/raw/raw118128M用戶數(shù)據(jù)表表空間/dev/vgdaata/rrorcll_datta3/dev/raw/r

15、aw119128M用戶數(shù)據(jù)表表空間/dev/vgdaata/rrorcll_datta4/dev/raw/raw220128M3實(shí)施操作作步驟3.1環(huán)境境準(zhǔn)備及檢檢查1創(chuàng)建虛擬擬主機(jī),規(guī)規(guī)劃IP請(qǐng)見(jiàn)IP規(guī)規(guī)劃示例。要設(shè)定為為靜態(tài)IPP。主機(jī)名由由字母加數(shù)數(shù)字組成,不不得有大寫寫或其他特特殊符號(hào)。2創(chuàng)建共享享磁盤見(jiàn)存儲(chǔ)磁盤盤規(guī)劃示例例。另外由由于兩臺(tái)虛虛擬機(jī)如果果不屬于同同一臺(tái)物理理服務(wù)器,共共享磁盤要要設(shè)置為物物理,見(jiàn)下下圖;共享享磁盤模式式應(yīng)為厚置置備置零。磁盤總線線應(yīng)該另外外再用一條條總線,如如果原來(lái)用用了SCSSI0:X,則現(xiàn)在在需要用SSCSI11:1、SCSII1:2、SCSII1:

16、3。共享磁盤盤只需在主主機(jī)1建立立,主機(jī)22在建磁盤盤時(shí)直接指指向主機(jī)11的磁盤位位置即可。主機(jī)1創(chuàng)建建磁盤步驟驟如下主機(jī)2創(chuàng)建建磁盤步驟驟如下3.2系統(tǒng)統(tǒng)及內(nèi)核參參數(shù)配置1各主機(jī)編編輯文件 /etcc/reddhat-releease(oraccle不支支持RHEEL5版本本)修改為:RRed HHat EEnterrprisse Liinux Servver rreleaase 44 (Tiikangga)2各主機(jī)創(chuàng)創(chuàng)建Oraclle用戶組組oinsstalll、dba ;用戶 ooracllegrouppadd oinsstalll grouppadd dbauseraadd -g oo

17、insttall -G dba oraccle passwwd orraclee /密密碼設(shè)為 oraacle4各主機(jī)創(chuàng)創(chuàng)建Oraacle安安裝lv以及軟軟件存放目目錄lvcreeate -L 115G -n lvvoraccle /dev/vgroootmkfs.ext33 /deev/vggroott/lvooracllemkdirr /orracleemountt /deev/vggroott/lvooraclle /ooracllelvcreeate -L 5GG -n lvvsofttwaree /deev/vggroottmkfs.ext33 /deev/vggroott/lvss

18、oftwwaremkdirr /softtwareemountt /deev/vggroott/lvssoftwware /sofftwarrecat/etcc/fsttab/homme/orraclee/.baash_pprofiile/homme/orraclee/.baash_pprofiile/etcc/syssctl.conff/etcc/hossts/etcc/seccuritty/liimitss.connf /etcc/pamm.d/lloginn /etcc/rc.locaal /.ssh/authhorizzed_kkeysssh rrac1 cat /.sssh/iid_

19、dssa.puub /.ssh/authhorizzed_kkeysssh rrac2 cat /.sssh/iid_rssa.puub /.ssh/authhorizzed_kkeysssh rrac2 cat /.sssh/iid_dssa.puub /.ssh/authhorizzed_kkeys節(jié)點(diǎn)2:ssh rrac2 cat /.sssh/iid_rssa.puub /.ssh/authhorizzed_kkeysssh rrac2 cat /.sssh/iid_dssa.puub /.ssh/authhorizzed_kkeysssh rrac1 cat /.sssh/iid_r

20、ssa.puub /.ssh/authhorizzed_kkeysssh rrac1 cat /.sssh/iid_dssa.puub /.ssh/authhorizzed_kkeysPS:如果果提示是否否連接選擇擇yes,密密碼輸入ooraclle用戶的的密碼exec /usrr/binn/sshh-ageent $SHELLL測(cè)試互信是是否成功節(jié)點(diǎn)1ssh rrac1 dateessh rrac2 dateessh rrac1-privv datte (會(huì)提示示輸入yees 或密密碼)ssh rrac2-privv datte (會(huì)提示示輸入yees 或密密碼)節(jié)點(diǎn)2ssh rrac1 d

21、attessh rrac2 dateessh rrac1-privv datte (會(huì)提示示輸入yees 或密密碼)ssh rrac2-privv datte (會(huì)提示示輸入yees 或密密碼)(若不需輸輸入任何東東西,時(shí)間間又相差不不大,則表表示成功)SSH等價(jià)價(jià)配置完成成。12配置NNTP(可可選)rpm -qa |grepp ntppchkcoonfigg -llevell 23445 nttpd oonserviice nntpd starrtcat/etcc/ntpp.connf/etcc/ntpp/steep-tiickerrs/etcc/yumm.reppos.dd/rheel-

22、deebugiinfo.repoo/etcc/udeev/ruules.d/600-raww.rulles/etcc/syssconffig/rrawdeevicees/etcc/rc.d/rcc.loccal orcll_raww.connfEEOFspfille=/ddev/rraw/rraw3contrrol1=/devv/raww/raww4contrrol2=/devv/raww/raww5contrrol3=/devv/raww/raww6sysauux=/ddev/rraw/rraw7systeem=/ddev/rraw/rraw8temp=/devv/raww/raww9und

23、ottbs1=/devv/raww/raww10undottbs2=/devv/raww/raww11userss=/deev/raaw/raaw12redo11_1=/devv/raww/raww13redo11_2=/devv/raww/raww14redo22_1=/devv/raww/raww15redo22_2=/devv/raww/raww16EOF18禁止IIPTABBLES與與SELIINUXchkcoonfigg ipttablees offfchkcoonfigg ip66tablles ooffserviice iiptabbles stoppserviice iip6t

24、aabless stoop禁止SELLINUXXsetennforcce 0sed -i ss/SELLINUXX=.*/SELIINUX=disaabledd/ /etc/seliinux/conffig狀態(tài)如下為為關(guān)閉#geteenforrcePermiissivve#cat /etcc/sellinuxx/connfig|grepp SELLINUXXSELINNUX=ddisabbledSELINNUX=ddisabbledSELINNUXTYYPE= can takee onee of thesse twwo vaaluess:SELINNUXTYYPE=ttargeeted roo

25、ttlabbtestt1 #關(guān)閉sellinuxx后,最好好重啟主機(jī)機(jī)。3.3安裝裝Oraccle100g_RAAC1上傳安裝裝介質(zhì)三個(gè)安裝介介質(zhì)上傳到主機(jī)機(jī)1的/softtwaree/目錄下102011_cluusterrwaree_linnux_xx86_664.cppio.ggz / cluusterrwaree安裝包102011_dattabasse_liinux_x86_64.ccpio.gz / dataabasee安裝包p82022632_102005_Liinux-x86-64.zzip / 升級(jí)包并給oraacle用用戶賦予/softtwaree目錄權(quán)限限:chownn -R

26、 oraacle:ointtall /sooftwaarechownn -R oraccle:oointaall /sofftwarre用oraccle用戶戶登錄2解壓三個(gè)個(gè)安裝介質(zhì)質(zhì)#gunzzip 1102011_cluusterrwaree_linnux_xx86_664.cppio.ggz#cpioo -iddmv 102001_cllusteerwarre_liinux_x86_64.ccpio /得到cluusterrwaree文件#gunzzip 102001_daatabaase_llinuxx_x866_64.cpioo.gz#cpioo -iddmv 102011_datt

27、abasse_liinux_x86_64.ccpio /得得到dattabasse文件#unziip p820026322_102205_LLinuxx-x866-64.zi /得到Dissk1文件件#chowwn -R ooraclle:oiinstaall /sofftwarre#chmood -R 7755 / softtwaree3檢查安裝裝環(huán)境 執(zhí)行命令:$ /sooftwaare/cclustterwaare/ccluvffy/ruuncluuvfy.sh sstagee -prre crrsinsst -nn racc1,raac2 -verbboseoracclerrac1 c

28、luvvfy$ ./rrunclluvfyy.sh stagge -ppre ccrsinnst -n raac1,rrac2 -verrboseePerfoorminng prre-chheckss forr cluusterr serrvicees seetup Checkking nodee reaachabbilittyCheckk: Noode rreachhabillity fromm nodde rrac1 Desstinaationn Nodde RReachhablee? racc2 yyes racc1 yyes Resullt: NNode reacchabiilityy

29、 cheeck ppasseed frrom nnode racc1.Checkking userr equuivallencee.Checkk: Usser eequivvalennce ffor uuser oraacle Nodde Naame CCommeent racc2 ppasseed racc1 ppasseed Resullt: UUser equiivaleence checck paassedd forr useer ooraclle.Checkking admiinisttratiive ppriviilegeesCheckk: Exxisteence of uuser

30、 oraacle Nodde Naame UUser Exissts Commmentt racc2 yyes passsed racc1 yyes passsed Resullt: UUser exisstencce chheck passsed ffor oraccle.Checkk: Exxisteence of ggroupp oiinstaall Nodde Naame SStatuus Grooup IID racc2 eexistts 5000 racc1 eexistts 5000 Resullt: GGroupp exiistennce ccheckk passsed for

31、 oinnstalll.Checkk: Meemberrshipp of userr orraclee inn grooup oinsstalll aas Prrimarry Nodde Naame UUser Exissts Grooup EExistts UUser in GGroupp Prrimarry Commment racc2 yyes yess yyes yess ppasseed racc1 yyes yess yyes yess ppasseed Resullt: MMembeershiip chheck for userr orraclee inn grooup oins

32、stalll aas Prrimarry ppasseed.Adminnistrrativve prrivillegess cheeck ppasseed.Checkking nodee connnecttivittyInterrfacee infformaationn forr nodde rrac2 Intterfaace NName IP Addrress Subbnet ethh0 1922.1688.65.112 1922.1688.65.0 ethh1 1922.1688.1000.1122 1922.1688.1000.0 Interrfacee infformaationn f

33、orr nodde rrac1 Intterfaace NName IP Addrress Subbnet ethh0 1922.1688.65.111 1922.1688.65.0 ethh1 1922.1688.1000.1111 1922.1688.1000.0 Checkk: Noode cconneectivvity of ssubneet 1192.1168.665.0 Souurce Desstinaationn Connnectted? racc2:etth0 racc1:etth0 yess Resullt: NNode connnectiivityy cheeck ppas

34、seed foor suubnett 1992.1668.655.0 withh nodde(s) racc2,raac1.Checkk: Noode cconneectivvity of ssubneet 1192.1168.1100.00 Souurce Desstinaationn Connnectted? racc2:etth1 racc1:etth1 yess Resullt: NNode connnectiivityy cheeck ppasseed foor suubnett 1992.1668.1000.0 witth noode(ss) raac2,rrac1.Suitaab

35、le inteerfacces ffor tthe pprivaate iinterrconnnect on ssubneet 1192.1168.665.0:rac2 eth00:1922.1688.65.112rac1 eth00:1922.1688.65.111Suitaable inteerfacces ffor tthe pprivaate iinterrconnnect on ssubneet 1192.1168.1100.00:rac2 eth11:1922.1688.1000.1122rac1 eth11:1922.1688.1000.1111ERRORR: Couldd no

36、tt finnd a suittablee sett of inteerfacces ffor VVIPs.Resullt: NNode connnectiivityy cheeck ffaileed.Checkking systtem rrequiiremeents for crssNo chheckss reggisteered for thiss prooductt.Pre-ccheckk forr cluusterr serrvicees seetup was unsuuccesssfull on all the nodees.前面都是正正確的話,就就表示可以以安裝。VVIP報(bào)錯(cuò)錯(cuò)不用

37、理會(huì)會(huì)。4安裝cllusteerwarre 打開(kāi)自己電電腦上的XXmanaager xstaart,遠(yuǎn)遠(yuǎn)程連接到到主機(jī)查出本機(jī)的的IP : 192.1168.665.1再在終端輸輸入命令:(在/softtwaree/cluusterrwaree目錄下)$expoort DDISPLLAY=1192.1168.665.1:0.0 $expoort LLANG=en_UUS$ ./rrunInnstalller -iggnoreeSysPPreReeqs后,彈出安安裝界面:下一步:修改安裝路路徑為crrs ;下下一步:環(huán)境檢測(cè),全全部通過(guò);下一步:Add添加加主機(jī)2的的信息:下一步:編輯ethh0

38、 為ppubliic,下一一步:填入OCRR的裸設(shè)備備/devv/raww/raww1,下一一步:(注注意:這里里不能填 /devvvgdaata/rrorcll_ocrr,不能填填鏈接,只只能填實(shí)際際的裸設(shè)備備,創(chuàng)建鏈鏈接只是方方便自己查查看裸設(shè)備備的對(duì)應(yīng)關(guān)關(guān)系)填入Votting的的裸設(shè)備/dev/raw/raw22,下一步步:點(diǎn)擊insstalll 進(jìn)行安安裝:等待彈出:這一步關(guān)鍵鍵,需要用用roott用戶在兩兩臺(tái)主機(jī)執(zhí)執(zhí)行命令/oraccle/ooraInnventtory/oraiinstRRoot.sh/oraccle/pproduuct/110.2.0/crrs/rooot.ss

39、h執(zhí)行前先在在各主機(jī)編編輯文件:vi /ooraclle/prroducct/100.2.00/crss/binn/vippca 添加 unseet LDD_ASSSUME_KERNNELvi /ooraclle/prroducct/100.2.00/crss/binn/srvvctl 添加加添加 uunsett LD_ASSUUME_KKERNEEL編輯好后,在主機(jī)1用root用戶執(zhí)行:#/oracle/oraInventory/orainstRoot.shroottracc1 liib# /oraacle/oraIInvenntoryy/oraainsttRoott.shChangging

40、 permmissiions of /oraccle/ooraInnventtory to 7770.Changging grouupnamme off /orraclee/oraaInveentorry too oinnstalll.The eexecuutionn of the scriipt iis coompleete在主機(jī)2用用roott用戶執(zhí)行行:#/ooraclle/orraInvventoory/oorainnstRooot.sshroottracc2 Seerverr# /oraccle/ooraInnventtory/oraiinstRRoot.shChangging pe

41、rmmissiions of /oraccle/ooraInnventtory to 7770.Changging grouupnamme off /orraclee/oraaInveentorry too oinnstalll.The eexecuutionn of the scriipt iis coompleete在主機(jī)1用用roott用戶執(zhí)行行:#/ooraclle/prroducct/100.2.00/crss/rooot.shhroottracc1 liib# /oraacle/prodduct/10.22.0/ccrs/rroot.shWARNIING: direectorry

42、/oraccle/pproduuct/110.2.0 iis noot owwned by rrootWARNIING: direectorry /oraccle/pproduuct is nnot oownedd by roottWARNIING: direectorry /oraccle is nnot oownedd by roottCheckking to ssee iif Orraclee CRSS staack iis allreaddy coonfigguredd/etc/oraccle ddoes not exisst. CCreatting it nnow.Settiing

43、tthe ppermiissioons oon OCCR baackupp dirrectoorySettiing uup NSS dirrectooriessOraclle Cllusteer Reegisttry cconfiiguraationn upggradeed suuccesssfulllyWARNIING: direectorry /oraccle/pproduuct/110.2.0 iis noot owwned by rrootWARNIING: direectorry /oraccle/pproduuct is nnot oownedd by roottWARNIING:

44、 direectorry /oraccle is nnot oownedd by roottSucceessfuully accuumulaated neceessarry OCCR keeys.Usingg porrts: CSS=498995 CRRS=499896 EVMCC=498898 aand EEVMR=498997.node : node 1: rrac1 rac11-priiv raac1node 2: rrac2 rac22-priiv raac2Creatting OCR keyss forr useer rroot, prrivgrrp rroot.Operaation

45、n succcesssful.Now fformaattinng vootingg devvice: /deev/raaw/raaw2Formaat off 1 vvotinng deevicees coompleete.Starttup wwill be qqueueed too iniit wiithinn 90 secoonds.Addinng daaemonns too iniittabbExpecctingg thee CRSS daeemonss to be uup wiithinn 6000 seccondss.CSS iis acctivee on thesse noodes.

46、 rrac1CSS iis innactiive oon thhese nodees. rrac2Locall nodde chheckiing ccompllete.Run rroot.sh oon reemainning nodees too staart CCRS ddaemoons.表示成功;在主機(jī)22用rooot用戶執(zhí)執(zhí)行:#/oraccle/pproduuct/110.2.0/crrs/rooot.sshroottracc2 Seerverr# /oraccle/pproduuct/110.2.0/crrs/rooot.sshWARNIING: direectorry /oracc

47、le/pproduuct/110.2.0 iis noot owwned by rrootWARNIING: direectorry /oraccle/pproduuct is nnot oownedd by roottWARNIING: direectorry /oraccle is nnot oownedd by roottCheckking to ssee iif Orraclee CRSS staack iis allreaddy coonfigguredd/etc/oraccle ddoes not exisst. CCreatting it nnow.Settiing tthe p

48、permiissioons oon OCCR baackupp dirrectoorySettiing uup NSS dirrectooriessOraclle Cllusteer Reegisttry cconfiiguraationn upggradeed suuccesssfulllyWARNIING: direectorry /oraccle/pproduuct/110.2.0 iis noot owwned by rrootWARNIING: direectorry /oraccle/pproduuct is nnot oownedd by roottWARNIING: diree

49、ctorry /oraccle is nnot oownedd by roottclscffg: EEXISTTING conffigurratioon veersioon 3 deteectedd.clscffg: vversiion 33 is 10G Releease 2.Succeessfuully accuumulaated neceessarry OCCR keeys.Usingg porrts: CSS=498995 CRRS=499896 EVMCC=498898 aand EEVMR=498997.node : node 1: rrac1 rac11-priiv raac1n

50、ode 2: rrac2 rac22-priiv raac2clscffg: AArgummentss cheeck oout ssucceessfuully.NO KEEYS WWERE WRITTTEN. Suppply -forrce pparammeterr to overrridee.-forcce iss desstrucctivee andd willl deestrooy anny prrevioous cclustterconfiiguraationn.Oraclle Cllusteer Reegisttry ffor cclustter hhas aalreaady bbe

51、en inittialiizedStarttup wwill be qqueueed too iniit wiithinn 90 secoonds.Addinng daaemonns too iniittabbExpecctingg thee CRSS daeemonss to be uup wiithinn 6000 seccondss.CSS iis acctivee on thesse noodes. rrac1 rrac2CSS iis acctivee on all nodees.Waitiing ffor tthe OOraclle CRRSD aand EEVMD to ssta

52、rttWaitiing ffor tthe OOraclle CRRSD aand EEVMD to sstarttOraclle CRRS sttack insttalleed annd ruunninng unnder initt(1M)Runniing vvipcaa(sillent) forr connfiguuringg noddeapppsErrorr 0(NNativve: llistNNetInnterffacess:3) Errror 0(Naativee: liistNeetIntterfaaces:3)如果只有主主機(jī)2報(bào)錯(cuò)錯(cuò),則往下下執(zhí)行,跳跳到(到這這一步報(bào)錯(cuò)錯(cuò)誤,針對(duì)

53、對(duì)這個(gè)錯(cuò)誤誤,解決方方案:手動(dòng)動(dòng)配置viip)如果在兩臺(tái)臺(tái)主機(jī)執(zhí)行行都報(bào)錯(cuò),則則運(yùn)行以下下命令行從從新執(zhí)行rroot.sh這個(gè)個(gè)命令startt_udeevrm -rrf lss /ettc/orraclrm -rrf /eetc/ooraclle/sccls_sscr/rrac1/oraccle/ccssfaatalrm -rrf /eetc/ooraclle/sccls_sscr/rrac2/oraccle/ccssfaatal/oraccle/pproduuct/110.2.0/crrs/biin/cllsfmtt.binn ocrr /deev/raaw/raaw1dd iff=/de

54、ev/zeero oof=/ddev/rraw/rraw1 bs=11M coount=524dd iff=/deev/zeero oof=/ddev/rraw/rraw2 bs=11M coount=629到這一步報(bào)報(bào)錯(cuò)誤,針針對(duì)這個(gè)錯(cuò)錯(cuò)誤,解決決方案:手手動(dòng)配置vvip在主機(jī)1到到/oraacle/prodduct/10.22.0/ccrs/bbin目錄錄下,執(zhí)行行命令cd /ooraclle/prroducct/100.2.00/crss/binn./oiffcfg ifliisteth0 10.150.229.128eth1 10.10.110.0#./oiifcfgg settif

55、-globbal eeth0/192.168.65.00:pubblic#./oiifcfgg settif -globbal eeth1/192.168.100.0:cllusteer_inntercconneect#./oiifcfgg gettifeth0 10.150.229.128 gloobal pubbliceth1 10.10.110.0 gloobal cluusterr_inttercoonnecct在主機(jī)2運(yùn)運(yùn)行命令查查看是否有有同樣的輸輸出結(jié)果#./oiifcfgg gettifeth0 10.150.229.128 gloobal pubbliceth1 10.10.

56、110.0 gloobal cluusterr_inttercoonnecct在主機(jī)1手手動(dòng)運(yùn)行vvipcaa#expoort DDISPLLAY=1192.1168.665.1:0.0 #expoort LLANG=en_UUS到/oraacle/prodduct/10.22.0/ccrs/bbin目錄錄下#./viipca 彈彈出窗口:下一步:下一步:只需填入:rac11-vipp ;其他他三個(gè)空自自動(dòng)填入;下一步:點(diǎn)擊完成:結(jié)束后,回回到此界面面:點(diǎn)擊OK后后:檢查安安裝看到這,已已經(jīng)成功安安裝好了cclustterwaare!通過(guò)命令: crss_staat -t 查看看,如下:ora

57、cclerrac1 $ crs_statt -tName Tyype Tarrget SStatee Hosst ora.rrac1.gsd apppliccatioon ONLLINE OONLINNE racc1 ora.rrac1.ons apppliccatioon ONLLINE OONLINNE racc1 ora.rrac1.vip apppliccatioon ONLLINE OONLINNE racc1 ora.rrac2.gsd apppliccatioon ONLLINE OONLINNE racc2 ora.rrac2.ons apppliccatioon ONLLIN

58、E OONLINNE racc2 ora.rrac2.vip apppliccatioon ONLLINE OONLINNE racc2 5安裝Orraclee Dattabasse用oraccle用戶戶進(jìn)入/ssoftwware/ dattabasse;運(yùn)行行: ./ rrunInnstalller ,彈出出界面:下一步:默認(rèn),下一一步:默認(rèn),下一一步:勾上racc2,下一一步:檢查通過(guò),下下一步:選擇第三項(xiàng)項(xiàng),不建數(shù)數(shù)據(jù)庫(kù),下下一步:點(diǎn)擊安裝:在主機(jī)1上上執(zhí)行:roottracc1 innstalll# cd .roottracc1 Diisk1# cdd /orraclee/proodu

59、ctt/10.2.0/db/roottracc1 dbb# ./rooot.shhRunniing OOraclle10 roott.sh scriiptThe ffolloowingg envvironnmentt varriablles aare sset aas: OORACLLE_OWWNER= oraacle OORACLLE_HOOME= /orraclee/prooductt/10.2.0/dbEnterr thee fulll paathnaame oof thhe loocal bin direectorry: /usrr/loccal/bbin: Coopyinng dbb

60、homee to /usrr/loccal/bbin Coopyinng orraenvv to /usrr/loccal/bbin Coopyinng cooraennv too /ussr/loocal/bin .Creatting /etcc/oraatab filee.Entriies wwill be aaddedd to the /etcc/oraatab filee as needded bbyDatabbase Conffigurratioon Asssisttant whenn a ddatabbase is ccreattedFinisshed runnning genee

溫馨提示

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

評(píng)論

0/150

提交評(píng)論