RHEL54“加”Oracle10GRAC“加”裸设备安装_第1页
RHEL54“加”Oracle10GRAC“加”裸设备安装_第2页
RHEL54“加”Oracle10GRAC“加”裸设备安装_第3页
RHEL54“加”Oracle10GRAC“加”裸设备安装_第4页
RHEL54“加”Oracle10GRAC“加”裸设备安装_第5页
已阅读5页,还剩73页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、RHEL55.4+Oraacle 10G RAC+裸设备目录TOC o 1-6 h z u HYPERLINK l _Toc453075354 1 IP地地址规划 PAGEREF _Toc453075354 h 3 HYPERLINK l _Toc453075355 2共享磁盘盘存储(裸设备)规划 PAGEREF _Toc453075355 h 3 HYPERLINK l _Toc453075356 3实施操作作步骤 PAGEREF _Toc453075356 h 4 HYPERLINK l _Toc453075357 3.1环境境准备及检检查 PAGEREF _Toc453075357 h

2、4 HYPERLINK l _Toc453075358 1创建虚拟拟主机,规规划IP PAGEREF _Toc453075358 h 4 HYPERLINK l _Toc453075359 2创建共享享磁盘 PAGEREF _Toc453075359 h 4 HYPERLINK l _Toc453075360 3.2系统统及内核参参数配置 PAGEREF _Toc453075360 h 8 HYPERLINK l _Toc453075361 1各主机编编辑文件 /etcc/reddhat-releease(oraccle不支支持RHEEL5版本本) PAGEREF _Toc453075361

3、h 8 HYPERLINK l _Toc453075362 2各主机创创建Oraacle用用户组oiinstaall、dba ;用户 ooraclle PAGEREF _Toc453075362 h 8 HYPERLINK l _Toc453075363 4各主机创创建Oraacle安安装lv以及软软件存放目目录 PAGEREF _Toc453075363 h 8 HYPERLINK l _Toc453075364 3各主机创创建Oraacle安安装目录 PAGEREF _Toc453075364 h 8 HYPERLINK l _Toc453075365 5各主机编编辑文件 /homme/o

4、rraclee/.baash_pprofiile PAGEREF _Toc453075365 h 9 HYPERLINK l _Toc453075366 6各主机编编辑文件 /etcc/syssctl.conff PAGEREF _Toc453075366 h 9 HYPERLINK l _Toc453075367 7 各主机机编辑文件件 /ettc/hoosts PAGEREF _Toc453075367 h 10 HYPERLINK l _Toc453075368 8各主机编编辑文件 /etcc/seccuritty/liimitss.connf PAGEREF _Toc453075368

5、 h 10 HYPERLINK l _Toc453075369 9各主机编编辑文件 /etcc/pamm.d/lloginn PAGEREF _Toc453075369 h 11 HYPERLINK l _Toc453075370 10各主机机编辑文件件 /ettc/rcc.loccal PAGEREF _Toc453075370 h 11 HYPERLINK l _Toc453075371 11各主机机登录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创建LLVM裸设设备 PAGEREF _Toc453075374 h 14 HYPERLINK l _Toc453075375 15配置UUDEV并并且修改裸裸设备共享享磁盘权限限 PAGEREF _Toc453075375 h 15 HYPERLINK l _Toc453075376 16建立裸裸设备的软软链接。 PAGERE

7、F _Toc453075376 h 17 HYPERLINK l _Toc453075377 17创建裸裸设备映射射文件 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上传安装装介质 PAGEREF _Toc453075380 h

8、 19 HYPERLINK l _Toc453075381 2解压三个个安装介质质 PAGEREF _Toc453075381 h 20 HYPERLINK l _Toc453075382 3检查安装装环境 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升级cllusteerwarre PAGEREF _Toc453075385 h 42 HYPERLINK l _Toc453075386 7升级daatabaase PAGEREF _Toc453075386 h 44 HYPERLINK l _Toc453075387 8 NETTCA创建建监听 PAGEREF _Toc453075387 h 46 HYPERLINK l _Toc453075388 9 DBCCA建库 PAGEREF _Toc453075388 h 53 HYPERLINK l _Toc453075389 10使用裸裸设备创建建Dataabasee PAGERE

10、F _Toc453075389 h 57 HYPERLINK l _Toc453075390 11导出ddmp数据据库文件 PAGEREF _Toc453075390 h 73 HYPERLINK l _Toc453075391 12导入ddmp数据据库文件 PAGEREF _Toc453075391 h 73 HYPERLINK l _Toc453075392 13开启数数据库归档档模式 PAGEREF _Toc453075392 h 741 IP地地址规划IP规划示示例:主机名(不不能大写)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全局数据库库名orcl2共享磁盘盘存储(裸裸设备)规规划存储磁盘规规划示例:(测试用)用途lv名裸设备名字字大小存放集群注注册表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系统临时表表空间/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用户数据表表空间/dev/vgdaata/rrorcll_datta1/dev/raw/raw117128M用户数据表表空间/dev/vgdaata/rrorcll_datta2/dev/raw/raw118128M用户数据表表空间/dev/vgdaata/rrorcll_datta3/dev/raw/r

15、aw119128M用户数据表表空间/dev/vgdaata/rrorcll_datta4/dev/raw/raw220128M3实施操作作步骤3.1环境境准备及检检查1创建虚拟拟主机,规规划IP请见IP规规划示例。要设定为为静态IPP。主机名由由字母加数数字组成,不不得有大写写或其他特特殊符号。2创建共享享磁盘见存储磁盘盘规划示例例。另外由由于两台虚虚拟机如果果不属于同同一台物理理服务器,共共享磁盘要要设置为物物理,见下下图;共享享磁盘模式式应为厚置置备置零。磁盘总线线应该另外外再用一条条总线,如如果原来用用了SCSSI0:X,则现在在需要用SSCSI11:1、SCSII1:2、SCSII1:

16、3。共享磁盘盘只需在主主机1建立立,主机22在建磁盘盘时直接指指向主机11的磁盘位位置即可。主机1创建建磁盘步骤骤如下主机2创建建磁盘步骤骤如下3.2系统统及内核参参数配置1各主机编编辑文件 /etcc/reddhat-releease(oraccle不支支持RHEEL5版本本)修改为:RRed HHat EEnterrprisse Liinux Servver rreleaase 44 (Tiikangga)2各主机创创建Oraclle用户组组oinsstalll、dba ;用户 ooracllegrouppadd oinsstalll grouppadd dbauseraadd -g oo

17、insttall -G dba oraccle passwwd orraclee /密密码设为 oraacle4各主机创创建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节点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测试互信是是否成功节点1ssh rrac1 dateessh rrac2 dateessh rrac1-privv datte (会提示示输入yees 或密密码)ssh rrac2-privv datte (会提示示输入yees 或密密码)节点2ssh rrac1 d

21、attessh rrac2 dateessh rrac1-privv datte (会提示示输入yees 或密密码)ssh rrac2-privv datte (会提示示输入yees 或密密码)(若不需输输入任何东东西,时间间又相差不不大,则表表示成功)SSH等价价配置完成成。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状态如下为为关闭#geteenforrcePermiissivve#cat /etcc/sellinuxx/connfig|grepp SELLINUXXSELINNUX=ddisabbledSELINNUX=ddisabbledSELINNUXTYYPE= can takee onee of thesse twwo vaaluess:SELINNUXTYYPE=ttargeeted roo

25、ttlabbtestt1 #关闭sellinuxx后,最好好重启主机机。3.3安装装Oraccle100g_RAAC1上传安装装介质三个安装介介质上传到主机机1的/softtwaree/目录下102011_cluusterrwaree_linnux_xx86_664.cppio.ggz / cluusterrwaree安装包102011_dattabasse_liinux_x86_64.ccpio.gz / dataabasee安装包p82022632_102005_Liinux-x86-64.zzip / 升级包并给oraacle用用户赋予/softtwaree目录权限限:chownn -R

26、 oraacle:ointtall /sooftwaarechownn -R oraccle:oointaall /sofftwarre用oraccle用户户登录2解压三个个安装介质质#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检查安装装环境 执行命令:$ /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报错错不用

37、理会会。4安装cllusteerwarre 打开自己电电脑上的XXmanaager xstaart,远远程连接到到主机查出本机的的IP : 192.1168.665.1再在终端输输入命令:(在/softtwaree/cluusterrwaree目录下)$expoort DDISPLLAY=1192.1168.665.1:0.0 $expoort LLANG=en_UUS$ ./rrunInnstalller -iggnoreeSysPPreReeqs后,弹出安安装界面:下一步:修改安装路路径为crrs ;下下一步:环境检测,全全部通过;下一步:Add添加加主机2的的信息:下一步:编辑ethh0

38、 为ppubliic,下一一步:填入OCRR的裸设备备/devv/raww/raww1,下一一步:(注注意:这里里不能填 /devvvgdaata/rrorcll_ocrr,不能填填链接,只只能填实际际的裸设备备,创建链链接只是方方便自己查查看裸设备备的对应关关系)填入Votting的的裸设备/dev/raw/raw22,下一步步:点击insstalll 进行安安装:等待弹出:这一步关键键,需要用用roott用户在两两台主机执执行命令/oraccle/ooraInnventtory/oraiinstRRoot.sh/oraccle/pproduuct/110.2.0/crrs/rooot.ss

39、h执行前先在在各主机编编辑文件: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编辑好后,在主机1用root用户执行:#/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在主机2用用roott用户执行行:#/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在主机1用用roott用户执行行:#/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.表示成功;在主机22用rooot用户执执行:#/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)如果只有主主机2报错错,则往下下执行,跳跳到(到这这一步报错错误,针对

53、对这个错误误,解决方方案:手动动配置viip)如果在两台台主机执行行都报错,则则运行以下下命令行从从新执行rroot.sh这个个命令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到这一步报报错误,针针对这个错错误,解决决方案:手手动配置vvip在主机1到到/oraacle/prodduct/10.22.0/ccrs/bbin目录录下,执行行命令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在主机2运运行命令查查看是否有有同样的输输出结果#./oiifcfgg gettifeth0 10.150.229.128 gloobal pubbliceth1 10.10.

56、110.0 gloobal cluusterr_inttercoonnecct在主机1手手动运行vvipcaa#expoort DDISPLLAY=1192.1168.665.1:0.0 #expoort LLANG=en_UUS到/oraacle/prodduct/10.22.0/ccrs/bbin目录录下#./viipca 弹弹出窗口:下一步:下一步:只需填入:rac11-vipp ;其他他三个空自自动填入;下一步:点击完成:结束后,回回到此界面面:点击OK后后:检查安安装看到这,已已经成功安安装好了cclustterwaare!通过命令: 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用户户进入/ssoftwware/ dattabasse;运行行: ./ rrunInnstalller ,弹出出界面:下一步:默认,下一一步:默认,下一一步:勾上racc2,下一一步:检查通过,下下一步:选择第三项项,不建数数据库,下下一步:点击安装:在主机1上上执行: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. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论