Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» Slideshows
» Sitemap
Free Newsletters:
DatabaseDaily  
News Via RSS Feed


follow us on Twitter
Database Journal |DBA Support |SQLCourse |SQLCourse2
 

Featured Database Articles

Oracle

Posted Oct 6, 2010

Moving to Oracle RAC One Node - Page 3

By Vincent Chan

9.  Specify ASM Password: Select Use different passwords for these accounts.

a.   SYS: ********

b.  ASMSNMP: ********

10.  Failure Isolation Support: Select Do not use Intelligent Platform Management Interface (IPMI).

11.  Privileged Operating System Groups:

a.  ASM Database Administrator (OSDBA) Group: asmdba

b.  ASM Instance Administration Operator (OSOPER) Group: asmdba

c.   ASM Instance Administrator (OSASM) Group: asmadmin

Click YES on the “OSDBA and OSOPER are the same OS group” warning message. We will use the same OS group, asmdba..

12.  Specify Installation Location:

a.   Oracle Base: /u01/app/grid

b.  Software Location: /u01/app/11.2.0/grid

13.  Create Inventory:

a.   Inventory Directory: /u01/app/oraInventory

b.  oraInventory Group Name: oinstall (automatically populated by the installer)

14.  Perform Prerequisite Checks: Click on Ignore All since we know we have ample swap space to complete the installation. If you encounter kernel parameter warning messages, click on “Fix & Check Again” to generate the runfixup.sh script in /tmp/CVU_11.2.0.1.0_grid. As the root user, execute the script on both nodes to correct the issues.

click on “Fix & Check Again” to generate the runfixup.sh script in /tmp/CVU_11.2.0.1.0_grid

15.  Summary: Click on Finish.

Oracle Grid Infrastructure - Summary: Click on Finish

Oracle Grid Infrastructure - Step 16 of 17

16.  Execute Configuration scripts: Execute the scripts below as the root user on both nodes sequentially, one at a time. Do not proceed to the next script until the current script completes.

a.   Execute /u01/app/oraInventory/orainstRoot.sh on gurnard1 and gurnard2.

b.  Execute /u01/app/11.2.0/grid/root.sh on gurnard1 and gurnard2.

On gurnard1,

[root@gurnard1 ~]# /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.

On gurnard2,

[root@gurnard2 ~]# /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.
 
 
[root@gurnard1 ~]# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
 
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.sh script.
Now product-specific root actions will be performed.
2010-03-12 15:30:37: Parsing the host name
2010-03-12 15:30:37: Checking for super user privileges
2010-03-12 15:30:37: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation 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 cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'gurnard1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'gurnard1'
CRS-2676: Start of 'ora.gipcd' on 'gurnard1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'gurnard1'
CRS-2676: Start of 'ora.gpnpd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'gurnard1'
CRS-2676: Start of 'ora.cssdmonitor' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'gurnard1'
CRS-2672: Attempting to start 'ora.diskmon' on 'gurnard1'
CRS-2676: Start of 'ora.diskmon' on 'gurnard1' succeeded
CRS-2676: Start of 'ora.cssd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'gurnard1'
CRS-2676: Start of 'ora.ctssd' on 'gurnard1' succeeded
 
ASM created and started successfully.
 
DiskGroup DATA created successfully.
 
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-2672: Attempting to start 'ora.crsd' on 'gurnard1'
CRS-2676: Start of 'ora.crsd' on 'gurnard1' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 6ad595e8f0314f4fbf2b455dd502122c.
Successful addition of voting disk 8d2d22d9625e4f50bf8febb2f5e659ec.
Successful addition of voting disk 9bcc835983de4f3cbfdb85bdd6927bd3.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   6ad595e8f0314f4fbf2b455dd502122c (ORCL:VOL1) [DATA]
 2. ONLINE   8d2d22d9625e4f50bf8febb2f5e659ec (ORCL:VOL2) [DATA]
 3. ONLINE   9bcc835983de4f3cbfdb85bdd6927bd3 (ORCL:VOL3) [DATA]
Located 3 voting disk(s).
CRS-2673: Attempting to stop 'ora.crsd' on 'gurnard1'
CRS-2677: Stop of 'ora.crsd' on 'gurnard1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'gurnard1'
CRS-2677: Stop of 'ora.asm' on 'gurnard1' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'gurnard1'
CRS-2677: Stop of 'ora.ctssd' on 'gurnard1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'gurnard1'
CRS-2677: Stop of 'ora.cssdmonitor' on 'gurnard1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'gurnard1'
CRS-2677: Stop of 'ora.cssd' on 'gurnard1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'gurnard1'
CRS-2677: Stop of 'ora.gpnpd' on 'gurnard1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'gurnard1'
CRS-2677: Stop of 'ora.gipcd' on 'gurnard1' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'gurnard1'
CRS-2677: Stop of 'ora.mdnsd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.mdnsd' on 'gurnard1'
CRS-2676: Start of 'ora.mdnsd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'gurnard1'
CRS-2676: Start of 'ora.gipcd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'gurnard1'
CRS-2676: Start of 'ora.gpnpd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'gurnard1'
CRS-2676: Start of 'ora.cssdmonitor' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'gurnard1'
CRS-2672: Attempting to start 'ora.diskmon' on 'gurnard1'
CRS-2676: Start of 'ora.diskmon' on 'gurnard1' succeeded
CRS-2676: Start of 'ora.cssd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'gurnard1'
CRS-2676: Start of 'ora.ctssd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'gurnard1'
CRS-2676: Start of 'ora.asm' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'gurnard1'
CRS-2676: Start of 'ora.crsd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'gurnard1'
CRS-2676: Start of 'ora.evmd' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'gurnard1'
CRS-2676: Start of 'ora.asm' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'gurnard1'
CRS-2676: Start of 'ora.DATA.dg' on 'gurnard1' succeeded
CRS-2672: Attempting to start 'ora.registry.acfs' on 'gurnard1'
CRS-2676: Start of 'ora.registry.acfs' on 'gurnard1' succeeded
 
gurnard1     2010/03/12 15:38:52     /u01/app/11.2.0/grid/cdata/gurnard1/backup_20100312_153852.olr
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
 
Checking swap space: must be greater than 500 MB.   Actual 1651 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.
 
 
 
[root@gurnard2 ~]# /u01/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
 
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.sh script.
Now product-specific root actions will be performed.
2010-03-12 15:40:55: Parsing the host name
2010-03-12 15:40:55: Checking for super user privileges
2010-03-12 15:40:55: User has super user privileges
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node gurnard1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: Attempting to start 'ora.mdnsd' on 'gurnard2'
CRS-2676: Start of 'ora.mdnsd' on 'gurnard2' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'gurnard2'
CRS-2676: Start of 'ora.gipcd' on 'gurnard2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'gurnard2'
CRS-2676: Start of 'ora.gpnpd' on 'gurnard2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'gurnard2'
CRS-2676: Start of 'ora.cssdmonitor' on 'gurnard2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'gurnard2'
CRS-2672: Attempting to start 'ora.diskmon' on 'gurnard2'
CRS-2676: Start of 'ora.diskmon' on 'gurnard2' succeeded
CRS-2676: Start of 'ora.cssd' on 'gurnard2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'gurnard2'
CRS-2676: Start of 'ora.ctssd' on 'gurnard2' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'gurnard2'
CRS-2676: Start of 'ora.drivers.acfs' on 'gurnard2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'gurnard2'
CRS-2676: Start of 'ora.asm' on 'gurnard2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'gurnard2'
CRS-2676: Start of 'ora.crsd' on 'gurnard2' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'gurnard2'
CRS-2676: Start of 'ora.evmd' on 'gurnard2' succeeded
 
gurnard2     2010/03/12 15:46:00     /u01/app/11.2.0/grid/cdata/gurnard2/backup_20100312_154600.olr
Preparing packages for installation...
cvuqdisk-1.0.7-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
 
Checking swap space: must be greater than 500 MB.   Actual 2042 MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful.

Execute Configuration Scripts

Click on OK.

gridinstall_otherCA4

17.  Finish: Click on Close.

At the end of the grid install, if the CVU fails, fix the issue and then manually re-run the following to check again:

./runcluvfy.sh stage -post crsinst -n all -verbose > /tmp/postchecks.log
 

Congratulations, you have completed the installation of Oracle Grid Infrastructure!



Oracle Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 




Latest Forum Threads
Oracle Forum
Topic By Replies Updated
Oracle Data Mining: Classification jan.hasller 0 July 5th, 07:19 AM
Find duplicates - Unique IDs Lava 5 July 2nd, 08:30 AM
no matching unique or primary key rcanter 1 April 25th, 12:32 PM
Update values of one table based on condition of values in other table using Trigger Gladiator 3 February 29th, 06:01 PM