Installation Oracle11gR2 RAC One Node -----安装配置grid
admin
2023-05-05 03:20:55
0

第二章  安装grid


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

grid@node1 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@node1grid]$

Installation Oracle11gR2 RAC One Node -----安装配置grid

skip software updates

Installation Oracle11gR2 RAC One Node -----安装配置gridinstall and configure oracle grid infrastructure for a cluster

Installation Oracle11gR2 RAC One Node -----安装配置gridadvanced installion

Installation Oracle11gR2 RAC One Node -----安装配置gridadd simplified chinese

Installation Oracle11gR2 RAC One Node -----安装配置grid不配置GNS,设置scan name.

Installation Oracle11gR2 RAC One Node -----安装配置gridInstallation Oracle11gR2 RAC One Node -----安装配置grid添加节点并配置ssh无密码验证。 

Installation Oracle11gR2 RAC One Node -----安装配置grid指定public网卡与private网卡。

Installation Oracle11gR2 RAC One Node -----安装配置gridoracle automatic storage management (oracle asm)

Installation Oracle11gR2 RAC One Node -----安装配置grid设置discorery path,配置oca_vote. Installation Oracle11gR2 RAC One Node -----安装配置grid选择ASMOCR磁盘

Installation Oracle11gR2 RAC One Node -----安装配置grid设置统一密码

Installation Oracle11gR2 RAC One Node -----安装配置griddo not use intelligent platform management interface(ipm)

Installation Oracle11gR2 RAC One Node -----安装配置grid

Installation Oracle11gR2 RAC One Node -----安装配置grid

Installation Oracle11gR2 RAC One Node -----安装配置grid

Installation Oracle11gR2 RAC One Node -----安装配置grid

ignore all

Installation Oracle11gR2 RAC One Node -----安装配置gridinstall

Installation Oracle11gR2 RAC One Node -----安装配置grid分别在节点1与节点2执行上图所示脚本

节点1:

node1:/etc # cd /u01/app/oraInventory/

node1:/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.    

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

node1:/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 'node1'

CRS-2676: Start of 'ora.mdnsd' on 'node1' succeeded

CRS-2672: Attempting to start 'ora.gpnpd' on 'node1'

CRS-2676: Start of 'ora.gpnpd' on 'node1' succeeded

CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node1'

CRS-2672: Attempting to start 'ora.gipcd' on 'node1'

CRS-2676: Start of 'ora.cssdmonitor' on 'node1' succeeded

CRS-2676: Start of 'ora.gipcd' on 'node1' succeeded

CRS-2672: Attempting to start 'ora.cssd' on 'node1'

CRS-2672: Attempting to start 'ora.diskmon' on 'node1'

CRS-2676: Start of 'ora.diskmon' on 'node1' succeeded

CRS-2676: Start of 'ora.cssd' on 'node1' succeeded

 

ASM created and started successfully.

 

Disk Group OCR_VOTE 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 disk 58c51573d8724ff9bf8dde4c401c584b.

Successfully replaced voting disk group with +OCR_VOTE.

CRS-4256: Updating the profile

CRS-4266: Voting file(s) successfully replaced

##  STATE    File Universal Id                File Name Disk group

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

 1. ONLINE   58c51573d8724ff9bf8dde4c401c584b(/dev/asmocr) [OCR_VOTE]

Located 1 voting disk(s).

CRS-2672: Attempting to start 'ora.asm' on 'node1'

CRS-2676: Start of 'ora.asm' on 'node1' succeeded

CRS-2672: Attempting to start 'ora.OCR_VOTE.dg' on 'node1'

CRS-2676: Start of 'ora.OCR_VOTE.dg' on 'node1' succeeded

Configure Oracle Grid Infrastructure for a Cluster ... succeeded

node1:/u01/app/11.2.0/grid #

 

节点2:

node2:~ # cd /u01/app/oraInventory/

node2:/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.

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

node2:/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 node1, 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

node2:/u01/app/11.2.0/grid #

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

Installation Oracle11gR2 RAC One Node -----安装配置gridInstallation Oracle11gR2 RAC One Node -----安装配置grid忽略( 此处是一个bug,因为未使用DNS解析scanip,可以忽略),点击ok

Installation Oracle11gR2 RAC One Node -----安装配置grid

Installation Oracle11gR2 RAC One Node -----安装配置grid

至此,grid安装完毕。

相关内容

热门资讯

菲律宾总统称未下达逮捕德拉罗萨... 新华社马尼拉5月13日电(记者赵晨捷 李萌)据菲律宾媒体报道,菲总统马科斯13日称未下达逮捕参议员德...
时隔九年再度来京,特朗普有何诉... ◆5月12日,特朗普登上“空军一号”前对着镜头挥手告别。(图源:美联社)文/何平编辑/漆菲5月13日...
硬科技管控,中美关系的新压舱石 特朗普此次访华,英伟达CEO黄仁勋随行的消息提振美股市场,凸显芯片与人工智能已成为中美关系的核心议题...
报告:今年一季度AI原生APP... 中国青年网北京5月12日电(记者 高蕾)近日,第三方智能数据服务商QuestMobile发布了《中国...
七大新品发布!国轩高科第15届... 央广网合肥5月13日消息(记者徐鹏)5月16日至17日,电池龙头企业国轩高科将在合肥举办第15届全球...
百度伐谋2.0发布,李彦宏:能... 5月13日举办的Create2026百度AI开发者大会开幕式上,自我演化决策智能体百度伐谋升级至2....
泰顶级豪门曝性侵丑闻!哥哥侵犯... 泰国最有影响力的巨头之一Singha集团(胜狮集团),这两天爆出性侵丑闻。集团第四代成员,环保活动家...
什么信号?多地要求干部带头缴纳... 多地要求干部带头缴纳物业费。最近一段时间,物业费成了社会关注的焦点。原因竟然是多地密集出台文件,号召...
“这不是威胁而是绝佳机遇”,默... 【文/观察者网 张菁娟】“当下挑战之所以如此巨大,是因为我们长期以来为自己制造了太多问题,而这些问题...
老杜盟友半路杀出,“闪电夺权”... 最近两天,马尼拉的政治温度直接爆表。5月11日上午,菲律宾众议院以255票赞成、26票反对、9票弃权...