centos搭建oracle 11g集群,Centos6.5 + Oracle 11g r2 + nfs搭建RAC环境二

860739433e1f6cab11198a5598f6405f.png

0f60ccf30f950fe10f9cf0c49e55fd7e.png

a78886a324d7bdd4b5101019023908a0.png

3995f94b910d31dabb8665aab2198a12.png

c477137205112afe6198560d38d777f4.png

6b7ccb4ff9b9549428c62de6eabf9d74.png

86bbdc4094fcc645d5400d28c9241780.png

170d470cb4db8224545a26e9784a1df1.png

c820f23641b4c82e7bc48516a4934e7d.png

7e958e08c1cf535f17eff2321e3ec599.png

6d07f9e60275f70af9f36f6039484f41.png

1e9d75506dec667732bbedf95e3eebff.png

b2445df126d4ff4f75ce151f5f76e891.png

abb18acca1f26cd9aefc9471af5de67b.png

以下检查,最好在二台机器上都进行操作;检查crs状态:[grid@rac1 ~]$ crsctl check crs

CRS-4638: Oracle High Availability Servicesis online

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Servicesis online

CRS-4533: Event Manager is online检查集群节点[grid@rac1 ~]$ olsnodes -n

rac1 1

rac2 2检查监听器进程[grid@rac1 ~]$ srvctl status listener

监听程序 LISTENER      已启用

监听程序 LISTENER      正在节点上运行: rac1,rac2检查Oracle ASM[grid@rac1 ~]$ srvctl status asm -a

ASM         正在 rac1,rac2上运行

ASM         已启用。检查OCR[grid@rac1 ~]$ ocrcheck

Status of Oracle Cluster Registry is asfollows :

Version: 3

Total space (kbytes): 262120

Used space (kbytes): 2248

Available space (kbytes) : 259872

ID : 1968086688 Device/File Name: +OCR_VOTE

Device/File integrity check succeededDevice/File not configured Device/File not configured Device/File notconfigured Device/File not configured

Cluster registry integrity check succeeded

Logical corruption check bypassed due tonon-privileged user

检查表决磁盘[grid@rac1 ~]$ crsctl query css votedisk

## STATE        File Universal Id                                File Name Diskgroup

--  -----       -----------------                                ------------------

ONLINE     433b29a662934f14bf5ce26f5c5f1bbf (ORCL:OCR_VOTE01) [OCR_VOTE]安装oracle11gR2[oracle@rac1 ~]$ unziplinux.x64_11gR2_database_1of2.zip

[oracle@rac1 ~]$ unziplinux.x64_11gR2_database_2of2.zip

[oracle@rac1 ~]$ cd database/

[oracle@rac1 database]$ ./runInstaller

2b952f8ee8e7d8874d196105a65c5d55.png

1aa6a77e70986e74eaf813bb469371c9.png

4a551c979f67dcca82896b3bbf33f623.png

6e48c943fb08e1482f6bca1553169aee.png

be5a299297294e648f556d5acaa5ce69.png

fadb4b7b1bc1889e8c587f3d4c3bf48e.png在二台机器上运行脚本

[root@rac1 ~]#/u01/app/oracle/product/11.2.0/db_1/root.sh

Running Oracle 11g root.sh script...

The following environment variables are setas:

ORACLE_OWNER= oracle

ORACLE_HOME=    /u01/app/oracle/product/11.2.0/db_1

Enter the full pathname of the local bindirectory: [/usr/local/bin]:

The file "dbhome" already existsin /usr/local/bin.    Overwrite it? (y/n)

[n]: y

Copying dbhome to /usr/local/bin ...

The file "oraenv" already existsin /usr/local/bin.    Overwrite it? (y/n)

[n]: y

Copying oraenv to /usr/local/bin ...

The file "coraenv" already existsin /usr/local/bin.    Overwrite it? (y/n)

[n]: y

Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratabfile as needed by

Database Configuration Assistant when adatabase is created

Finished running generic part of root.shscript.

Now product-specific root actions will beperformed.

Finished product-specific root actions.

a8d97fdbf3e1277cf57f4bdbf3cd14a9.png

创建数据库# su  – oracle

$ dbca

01ee0d89b5bccb45a93d83197f757925.png

67795d6e4738f3e337c7a6a25de87dc1.png

678b843b4a18b6020809b7981093ffe1.png

a61cee66f8a388c31634e396ac125897.png

774d5e702a825ec055a53636243dcd17.png

09840f2d3c332b09a4fc8bdf64132e0a.png

890785a0566278b70567c9738468c605.png

d263b4162d1a491a7afdde17192d37a8.png

417e37a2220e7efe61133a221549f01d.png

2f69e4bd97b7082fffaefd90a4a6d2b2.png

d04c908546bd3c383db3dae62837f3f9.png

a8bec5f68d8b8a1c956e481b0aab325a.png

af8938b4258f60de5abec9c1e08cdf73.png

ea609eef5a3b30964000f477aa1f97d1.png

e2956cf5a9c397016912819c9be04c09.png

至此,oracle 11gr2 rac安装完成,可以使用plsql进行连接测试即可

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值