Installation Oracle11gR2 RAC---grid安装

第二章、安装grid

在jason1上使用grid用户安装gridinfrastructure,

[email protected] grid]$ ./runInstaller

Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 79780 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 6143 MB    Passed

Checking monitor: must be configured to display at least 256colors.    Actual 16777216    Passed

Preparing to launch Oracle UniversalInstaller from /tmp/OraInstall2012-12-29_09-28-08AM. Please wait ...[[email protected]]$

选择忽略软件更新,点击下一步

install and configure oracle grid infrastructure for a cluster

advanced installion

addsimplified chinese

不配置GNS,设置scan name.

添加节点并配置ssh无密码验证。

指定public网卡与private网卡

oracle automatic storage management (oracle asm)

设置discorery path,配置OCR,选择ASMOCR磁盘

设置统一密码

do not use intelligent platform management interface(ipm)

ignore all

Install

根据提示,分别在节点1与节点2执行上图所示脚本

节点1:

jason1:/u01/app/oraInventory # ./orainstRoot.sh

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

jason1:/u01/app/oraInventory # cd 11.2.0/grid/

jason1:/u01/app/11.2.0/grid # ./root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME=  /u01/app/11.2.0/grid

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

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

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

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

Creating /etc/oratab file...

Entries will be added to the /etc/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: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Creating trace directory

User ignored Prerequisites during installation

Installing Trace File Analyzer

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 certTP

pa root cert TP

peer pa cert TP

pa peer cert TP

profile reader pa certTP

profile reader peer certTP

peer user cert

pa user cert

Adding Clusterware entries to inittab

CRS-2672: Attempting to start ‘ora.mdnsd‘ on ‘jason1‘

CRS-2676: Start of ‘ora.mdnsd‘ on ‘jason1‘ succeeded

CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘jason1‘

CRS-2676: Start of ‘ora.gpnpd‘ on ‘jason1‘ succeeded

CRS-2672: Attempting to start ‘ora.cssdmonitor‘ on ‘jason1‘

CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘jason1‘

CRS-2676: Start of ‘ora.cssdmonitor‘ on ‘jason1‘ succeeded

CRS-2676: Start of ‘ora.gipcd‘ on ‘jason1‘ succeeded

CRS-2672: Attempting to start ‘ora.cssd‘ on ‘jason1‘

CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘jason1‘

CRS-2676: Start of ‘ora.diskmon‘ on ‘jason1‘ succeeded

CRS-2676: Start of ‘ora.cssd‘ on ‘jason1‘ succeeded

ASM created and started successfully.

Disk Group OCR created successfully.

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 diska1d565531b5b4f3ebfb1197cae9a7c1b.

Successfully replaced voting disk group with +OCR.

CRS-4256: Updating the profile

CRS-4266: Voting file(s) successfully replaced

##  STATE    File Universal Id                File Name Disk group

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

1. ONLINE   a1d565531b5b4f3ebfb1197cae9a7c1b(/dev/mapper/ASMOCR) [OCR]

Located 1 voting disk(s).

CRS-2672: Attempting to start ‘ora.asm‘ on ‘jason1‘

CRS-2676: Start of ‘ora.asm‘ on ‘jason1‘ succeeded

CRS-2672: Attempting to start ‘ora.OCR.dg‘ on ‘jason1‘

CRS-2676: Start of ‘ora.OCR.dg‘ on ‘jason1‘ succeeded

Configure Oracle Grid Infrastructure for a Cluster ... succeeded

jason1:/u01/app/11.2.0/grid #

节点2:

jason2:/u01/app/oraInventory# ./orainstRoot.sh

Changing permissions of /u01/app/oraInventory.

Adding read,write permissions for group.

Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.

The execution of the script is complete.

jason2:/u01/app/oraInventory # cd 11.2.0/grid/

jason2:/u01/app # cd 11.2.0/grid/

jason2:/u01/app/11.2.0/grid # ./root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME=  /u01/app/11.2.0/grid

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

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

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

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

Creating /etc/oratab file...

Entries will be added to the /etc/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: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Creating trace directory

User ignored Prerequisites during installation

Installing Trace File Analyzer

OLR initialization - successful

Adding Clusterware entries to inittab

CRS-4402: The CSS daemon was started in exclusive mode but foundan active CSS daemon on node jason1, number 1, and is terminating

An active cluster was found during exclusive startup, restartingto join the cluster

Configure Oracle Grid Infrastructure for a Cluster ... succeeded

jason2:/u01/app/11.2.0/grid #

执行结束之后,返回图形节点点击ok

忽略( 此处是一个bug,因为未使用DNS解析scanip,可以忽略),点击ok

点击close,退出安装,至此grid安装完毕!

备注:在Suse11sp3平台安装grid执行root.sh时存bug,查看该链接suse11sp3 执行root.sh失败bug处理进行处理。

时间: 2024-10-14 06:08:51

Installation Oracle11gR2 RAC---grid安装的相关文章

redhat6.7环境下oracle11gR2 RAC静默安装

(一)基础环境 虚拟机环境 :vmware workstation 12 操作系统    : redhat6.7 - 64bit 数据库版本 :11.2.0.4 (二)安装前的环境准备 (2.1)配置/etc/hosts文件,2个节点都要修改 [[email protected] bin]$vim more /etc/hosts # 添加2个节点的IP信息 192.168.10.41 standbydb1 192.168.10.42 standbydb2 192.168.10.43 standb

Installation Oracle11gR2 RAC One Node on SuSE Linux Enterprise Server 11SP2 ( 一 )

1.部署环境 操作系统:SuSE Linux Enterprise Server 11SP2 数据库:Oracle 11gR2(112040) 共享存储: 设备名 大小 /dev/sdb 2g /dev/sdc 10g /dev/sdd 20g 2. 创建账户 groupadd -g 1000 oinstall    groupadd -g 1200 asmadmin   groupadd -g 1201 asmdba    groupadd -g 1202 asmoper    useradd

【Oracle RAC】Linux系统Oracle11gR2 RAC安装配置详细过程V3.1(图文并茂)

2 Oracle11gR2 RAC数据库安装准备工作2.1 安装环境介绍2.2 数据库安装软件下载3 Oracle11gR2 RAC数据库安装环境配置3.1 安装主机或虚拟机3.2 安装操作系统3.3 hosts文件配置3.4 添加组与用户3.5 添加文件系统3.6 修改操作系统参数3.7 禁止NTP3.8 配置grid和oracle用户的环境变量3.9 配置SSH信任关系3.10 调整页面交换空间3.11 配置磁盘4 安装11gR2 Grid Infrastructure组件4.1 解压安装文

安装11.2.0.3 RAC grid 执行root.sh报错

安装11.2.0.3 RAC grid 执行root.sh报错   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

Linux下搭建Oracle11g RAC(6)----安装Grid Infrastructure

从此步骤开始,我们正式安装Grid软件: ① 以grid用户登录图形界面,执行/home/grid/grid/runInstaller,进入OUI的图形安装界面: ② 进入OUI安装界面后,选择第3项,跳过软件更新,Next: ③ 选择集群的Grid Infrastructure,Next: ④ 选择 advanced Installation,Next: ⑤ 语言选择默认,English,Next: ⑥ 去掉Configure GNS选项,按照之前表格输入Cluster Name:scan-c

基于Workstation8、CentOS6.5实现12C RAC搭建安装

基于Workstation8.CentOS6.5实现12C RAC搭建安装 作者:HopToad 地点:杭州滨江 邮箱:[email protected] 微信公众号:HopToad 欢迎各界交流 2014年12月 1 准备条件 1.1 硬件版本 家用PC机一台,硬盘空间150G以上,内存8G以上. 每个虚拟机(理论要求)配置4G内存 1.2 软件版本 虚拟化软件:VMware Workstation8 以上版本 操作系统: CentOS6.5/REHL6.5/OEL6.5以上 数据库版本:12

习水医院12C RAC 数据库安装文档

    环境介绍 OS: Oracle Enterprise Linux 6.4 (For RAC Nodes) DB: GI and Database 12.1.0.2 所需介质 p17694377_121020_Linux-x86-64_1of8.zip p17694377_121020_Linux-x86-64_2of8.zip p17694377_121020_Linux-x86-64_3of8.zip p17694377_121020_Linux-x86-64_4of8.zip 上述软

ORACLE LINUX 6.3 + ORACLE 11.2.0.3 RAC + VBOX安装文档

ORACLE LINUX 6.3 + ORACLE 11.2.0.3 RAC + VBOX安装文档 2015-10-21 12:51 525人阅读 评论(0) 收藏 举报  分类: Oracle RAC 版权声明:本文为博主原创文章,未经博主允许不得转载. VBOX + Oracle Linux 6U3 + ORACLE 11.2.0.3.0 RAC 安装 环境: 虚拟机          VIRTUAL BOX OS                ORACLE LINUX 6.3_X86_64

grid安装时asm添加磁盘时candidate没有分区盘

今天在虚拟机上做rac双机.用udev来做的磁盘规则.安装grid一路很顺利完成.之后想再次练习grid安装,就将两台rac的虚拟机还原了,但存储的机器没动,共享的硬盘也没动.然后再次安装grid 之后问题出现了.在"create asm disk group "时,候选磁盘里没有了我刚分区的磁盘.如下图 点开all disks时,分区的磁盘status也是member.当时原因找了好多,也是没解决.后来一想,是因为之前这些磁盘已经做过asm了,即使格式化了,估计还有相应信息在磁盘里存