WEB开发网
开发学院数据库Oracle 在Oracle VM虚拟机上安装Oracle Clusterware 11g 阅读

在Oracle VM虚拟机上安装Oracle Clusterware 11g

 2010-02-22 16:11:34 来源:WEB开发网   
核心提示:2.10 创建ocr和voting file文件ocr和voting file文件必须放在NFS目录,在其中一个节点创建ocr文件和voting file文件即可,在Oracle VM虚拟机上安装Oracle Clusterware 11g(11),[root@rac1_13 crs_13]# chown root:o

2.10 创建ocr和voting file文件

ocr和voting file文件必须放在NFS目录。在其中一个节点创建ocr文件和voting file文件即可。

[root@rac1_13 crs_13]# chown root:oinstall ocrfile

[root@rac1_13 crs_13]# chmod 775 ocrfile

[root@rac1_13 crs_13]# touch votingfile

[root@rac1_13 crs_13]# chown oracle:dba votingfile

[root@rac1_13 crs_13]# chmod 775 votingfile

3 安装 Clusterware

3.1 下载并解压 Oracle Clusterware 安装软件

# unzip linux_11gR1_clusterware.zip –d /stage

3.2 安装Clusterware

Step 1 到解压目录执行 ./runInstaller

Step 2 指定inventory目录以及安装用户组

Step 3 指定CRS Home

Step 4 输入集群中的节点信息,与/etc/hosts里面的信息保持一致

Step 5 指定节点公网/私网信息

Step 6 指定OCR 文件的路径

Step 7 指定Voting File文件的位置

Step 8 开始安装

Step 9 在所有节点上依次执行这些脚本(请注意一个节点上所有脚本执行完毕,才能去另外的节点执行)

[root@rac1_13 crs_13]# /data/crs/root.sh

Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory

Setting up Network socket directories

Oracle Cluster Registry configuration upgraded successfully

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

node 1: rac1_13 rac1_13-priv rac1_13

node 2: rac2_13 rac2_13-priv rac2_13

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

Now formatting voting device: /crs_13/votingfile

Format of 1 voting devices complete.

Startup will be queued to init within 30 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

Cluster Synchronization Services is active on these nodes.

rac1_13

Cluster Synchronization Services is inactive on these nodes.

rac2_13

Local node checking complete. Run root.sh on remaining nodes to start CRS daemons

[root@rac2_13 crs]# sh root.sh

Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory

Setting up Network socket directories

Oracle Cluster Registry configuration upgraded successfully

clscfg: EXISTING configuration version 4 detected.

clscfg: version 4 is 11 Release 1.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

上一页  6 7 8 9 10 11 12 13  下一页

Tags:Oracle VM 虚拟

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接