oracle11gr2 rac 安装,Installation Oracle11gR2 RAC---grid安装

第二章、安装grid

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

grid@jason1 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 ...[grid@jason1grid]$

0818b9ca8b590ca3270a3433284dd417.png选择忽略软件更新,点击下一步

0818b9ca8b590ca3270a3433284dd417.pnginstall and configure oracle grid infrastructure for a cluster

0818b9ca8b590ca3270a3433284dd417.pngadvanced installion

0818b9ca8b590ca3270a3433284dd417.pngaddsimplified chinese

0818b9ca8b590ca3270a3433284dd417.png不配置GNS,设置scan name.

0818b9ca8b590ca3270a3433284dd417.png0818b9ca8b590ca3270a3433284dd417.png0818b9ca8b590ca3270a3433284dd417.png添加节点并配置ssh无密码验证。

0818b9ca8b590ca3270a3433284dd417.png指定public网卡与private网卡

0818b9ca8b590ca3270a3433284dd417.pngoracle automatic storage management (oracle asm)

0818b9ca8b590ca3270a3433284dd417.png设置discorery path,配置OCR,选择ASMOCR磁盘

0818b9ca8b590ca3270a3433284dd417.png设置统一密码

0818b9ca8b590ca3270a3433284dd417.pngdo not use intelligent platform management interface(ipm)

0818b9ca8b590ca3270a3433284dd417.png

0818b9ca8b590ca3270a3433284dd417.png

0818b9ca8b590ca3270a3433284dd417.png

0818b9ca8b590ca3270a3433284dd417.png

ignore all

0818b9ca8b590ca3270a3433284dd417.pngInstall

0818b9ca8b590ca3270a3433284dd417.png根据提示,分别在节点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

0818b9ca8b590ca3270a3433284dd417.png

0818b9ca8b590ca3270a3433284dd417.png

0818b9ca8b590ca3270a3433284dd417.png

0818b9ca8b590ca3270a3433284dd417.png

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值