溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Installation Oracle11gR2 RAC---grid安裝

發(fā)布時(shí)間:2020-08-02 20:44:32 來(lái)源:網(wǎng)絡(luò) 閱讀:431 作者:jason_125 欄目:關(guān)系型數(shù)據(jù)庫(kù)

第二章、安裝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]$

Installation Oracle11gR2 RAC---grid安裝選擇忽略軟件更新,點(diǎn)擊下一步

Installation Oracle11gR2 RAC---grid安裝install and configure oracle grid infrastructure for a cluster

Installation Oracle11gR2 RAC---grid安裝advanced installion

Installation Oracle11gR2 RAC---grid安裝addsimplified chinese

Installation Oracle11gR2 RAC---grid安裝不配置GNS,設(shè)置scan name.

Installation Oracle11gR2 RAC---grid安裝Installation Oracle11gR2 RAC---grid安裝Installation Oracle11gR2 RAC---grid安裝添加節(jié)點(diǎn)并配置ssh無(wú)密碼驗(yàn)證。

Installation Oracle11gR2 RAC---grid安裝指定public網(wǎng)卡與private網(wǎng)卡

Installation Oracle11gR2 RAC---grid安裝oracle automatic storage management (oracle asm)

Installation Oracle11gR2 RAC---grid安裝設(shè)置discorery path,配置OCR,選擇ASMOCR磁盤

Installation Oracle11gR2 RAC---grid安裝設(shè)置統(tǒng)一密碼

Installation Oracle11gR2 RAC---grid安裝do not use intelligent platform management interface(ipm)

Installation Oracle11gR2 RAC---grid安裝

Installation Oracle11gR2 RAC---grid安裝

Installation Oracle11gR2 RAC---grid安裝

Installation Oracle11gR2 RAC---grid安裝

ignore all

Installation Oracle11gR2 RAC---grid安裝Install

Installation Oracle11gR2 RAC---grid安裝根據(jù)提示,分別在節(jié)點(diǎn)1與節(jié)點(diǎn)2執(zhí)行上圖所示腳本

節(jié)點(diǎn)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 #

節(jié)點(diǎn)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 #

執(zhí)行結(jié)束之后,返回圖形節(jié)點(diǎn)點(diǎn)擊ok

Installation Oracle11gR2 RAC---grid安裝

Installation Oracle11gR2 RAC---grid安裝

忽略( 此處是一個(gè)bug,因?yàn)槲词褂肈NS解析scanip,可以忽略.可以查看該鏈接PRVF-4664 PRVF-4657: Found inconsistent name resolution entries for SCAN name (文檔 ID 887471.1)),點(diǎn)擊ok

Installation Oracle11gR2 RAC---grid安裝

Installation Oracle11gR2 RAC---grid安裝

點(diǎn)擊close,退出安裝,至此grid安裝完畢!


備注:在Suse11sp3平臺(tái)安裝grid執(zhí)行root.sh時(shí)存bug,查看該鏈接suse11sp3 執(zhí)行root.sh失敗bug處理進(jìn)行處理。



向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI