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安装完毕。

相关内容

热门资讯

Google在港推出AI代理G... 观点网讯:7月29日,Google在香港推出AI代理Gemini Spark,该代理可全天候在后台运...
5G+165Hz!联想新品官宣... 近两年来,小屏平板一直是比较有趣的一个品类。 不同于大平板注重效率、手机追求万能的特点,拯救者Y70...
原创 马... 马斯克又出来了。这次说2036年钱就没用了。 理由是人工智能加机器人,东西多到你用不完,还拿钱干嘛...
美的集团:我国智能家居互联互通... IT之家 7 月 30 日消息,美的集团今日发布公告,7 月 21 日至 23 日,智能家居互联互通...
华为新款MatePad Pro... 【CNMO科技消息】7月30日,@华为终端 官宣全新旗舰平板华为MatePad Pro。 新款华为...
从实验室到实景验证:6G光子太... 全息通信是第六代移动通信(6G)的典型应用场景之一,旨在通过融合无线传输与全息三维成像技术,实现超大...
从“能对话”到“能干活”——人... 【经济界面】 光明日报记者 刘坤 李晓东 周洪双 人工智能(AI)眼镜化身为个人“助理”,实时进行...
【全新发布】UminiP Pr... (来源:洲明科技)
日本通过“H3火箭8号”发射失... △H3火箭(资料图) 日本文部科学省30日召开关于去年“H3火箭8号”发射失败的会议。会议通过的最终...
互联网巨头抢滩健康硬件,上游芯... 封面新闻记者 付文超 当下,互联网巨头对健康硬件的押注,正在成为产业现实,加速拉动整个产业链步入新一...