安装三节点RAC11202 on Solaris10 sparc64(二)

由于11.2.0.2ORACLE RAC on Solaris 10才支持acfs,因此测试一下Oracle 11.2.0.2三节点RAC的安装过程。

这一篇描述CLUSTER的安装。

安装三节点RAC11202 on Solaris10 sparc64(一):http://yangtingkun.itpub.net/post/468/517282

 

 

需要注意11.2.0.2补丁比较特殊,Solaris10 sparc 64上的11.2.0.25个多G包括了7个文件,其中文件12是数据库,文件3grid,文件4client,文件5gateway,文件6example,文件7deinstall。因此11.2.0.2不需要在已有的11.2.0.1上升级,而是可以直接进行安装。

登陆图形化界面执行:

# xhost +
access control disabled, clients can connect from any host
# su - oracle
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
$ bash
bash-3.00$ cd /data/software/11.2.0.2/grid/
bash-3.00$ ./runInstaller

11.2.0.1不同,第一个页面是下载软件更新:这里配置软件更新信息和metalink帐号的配置选项;

然后是安装选项的配置,这里选择:安装和配置集群的网格基础结构;

安装类型选择高级安装,这样拥有更多的选择权;

产品语言:默认就是英文和简体中文;

网格即插即用:不要配置GNS,集群名称为racnode-clusterSCAN名称配置为racnode-cluster

集群节点信息:添加另两个节点172.25.198.223172.25.198.226。并输入这三个地址对应的VIP地址。然后选择SSH连接,输入oracle用户对应的密码,点击配置,输出“已在所选节点之间成功建立无口令SSH连接。”证明SSH配置成功;

网络接口配置:oracle默认选择了ce0,作为共用网络接口,选择ce1作为专用网络接口,这里不需要额外的配置;

存储选项:选择自动存储管理(ASM);

创建ASM磁盘组:名称为DATA,由于使用了RAID 0+1,这里选择外部冗余,列出所有的候选磁盘,选择ASM磁盘组使用的磁盘;

ASM口令:为ASM用户输入口令;

操作系统组:由于建立组用户的时候没有分别建立多个组,所以这里所有的组都选择dba组;

安装位置:Oracle基目录选择/data/oracleCLUSTER安装目录选择/data/grid

创建产品清单:Oracle会建立/data/oraInventory目录;

检查安装先决条件:忽略错误继续安装;

概要:这里可以选择保存Oracle生成的响应文件,点击完成,Oracle开始安装工作。

安装到最后一部,需要在三个节点用root分别执行两个shell脚本。

第一个脚本:

# /data/oraInventory/orainstRoot.sh
更改权限/data/oraInventory.
添加组的读取和写入权限。
删除全局的读取, 写入和执行权限。

更改组名/data/oraInventory oinstall.
脚本的执行已完成。

节点1上运行第二个脚本:

bash-3.00# /data/grid/root.sh
Running Oracle 11g root script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /data/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /data/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding daemon to inittab
错误字符串
ACFS-9200: Supported
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9312: Existing ADVM/ACFS installation detected.
ACFS-9314: Removing previous ADVM/ACFS installation.
ACFS-9315: Previous ADVM/ACFS components successfully removed.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
CRS-2672: Attempting to start 'ora.mdnsd' on 'racnode1'
CRS-2676: Start of 'ora.mdnsd' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'racnode1'
CRS-2676: Start of 'ora.gpnpd' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racnode1'
CRS-2672: Attempting to start 'ora.gipcd' on 'racnode1'
CRS-2676: Start of 'ora.cssdmonitor' on 'racnode1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'racnode1'
CRS-2672: Attempting to start 'ora.diskmon' on 'racnode1'
CRS-2676: Start of 'ora.diskmon' on 'racnode1' succeeded
CRS-2676: Start of 'ora.cssd' on 'racnode1' succeeded

已成功创建并启动 ASM

已成功创建磁盘组DATA

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 823f8fbc349b4fdfbffc8770ed953926.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   823f8fbc349b4fdfbffc8770ed953926 (/dev/rdsk/c0t500601603022E66Ad0s6) [DATA]
Located 1 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'racnode1'
CRS-2676: Start of 'ora.asm' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'racnode1'
CRS-2676: Start of 'ora.DATA.dg' on 'racnode1' succeeded
ACFS-9200: Supported
ACFS-9200: Supported
CRS-2672: Attempting to start 'ora.registry.acfs' on 'racnode1'
CRS-2676: Start of 'ora.registry.acfs' on 'racnode1' succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

节点2和节点3上运行第二个脚本:

# /data/grid/root.sh
Running Oracle 11g root script...

The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME=  /data/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /data/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
OLR initialization - successful
Adding daemon to inittab
错误字符串
ACFS-9200: Supported
ACFS-9300: ADVM/ACFS distribution files found.
ACFS-9312: Existing ADVM/ACFS installation detected.
ACFS-9314: Removing previous ADVM/ACFS installation.
ACFS-9315: Previous ADVM/ACFS components successfully removed.
ACFS-9307: Installing requested ADVM/ACFS software.
ACFS-9308: Loading installed ADVM/ACFS drivers.
ACFS-9327: Verifying ADVM/ACFS devices.
ACFS-9309: ADVM/ACFS installation correctness verified.
CRS-4402: CSS
守护程序已在独占模式下启动, 但在节点 racnode1 (编号为 1) 上发现活动 CSS 守护程序, 因此正在终止
An active cluster was found during exclusive startup, restarting to join the cluster
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

至此,CLUSTER软件以及ASM磁盘配置完成。

 

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/4227/viewspace-694381/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/4227/viewspace-694381/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值