Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation Oracle11gR2 RAC One Node-install and configure grid

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Chapter II installation of grid

Install gridinfrastructure using the grid user on node1

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-299-28-08AM. Please wait... [grid@node1grid] $

Skip software updates

Install and configure oracle grid infrastructure for a cluster

Advanced installion

Add simplified chinese

Do not configure GNS, set scan name.

Add nodes and configure ssh password-less authentication.

Specify the public Nic and private Nic.

Oracle automatic storage management (oracle asm)

Set up discorery path and configure oca_vote. Select ASMOCR disk

Set a unified password

Do not use intelligent platform management interface (ipm)

Ignore all

Install

Execute the script shown above on node 1 and node 2, respectively.

Node 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 #

Node 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 #

After the execution is finished, return to the graphics node and click ok

Ignore (here is a bug, because DNS is not used to parse scanip and can be ignored), click ok

At this point, grid is installed.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report