Search This Blog

Total Pageviews

Sunday 7 July 2013

Oracle Grid infrastructure is not configured properly ASMCA needs Oracle Grid Infrastructure to configure ASM

Oracle Grid infrastructure is not configured properly ASMCA needs Oracle Grid Infrastructure to configure ASM

On Oracle 12c / Oracle 11gr2 for ASM on Stand-Alone Server




Run This srcipt again 

[root@localhost ~]# /u01/app/grid/product/12.1.0/grid/root.sh
Performing root user operation for Oracle 12c

The following environment variables are set as:
 ORACLE_OWNER= grid
 ORACLE_HOME= /u01/app/grid/product/12.1.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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.

To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
/u01/app/grid/product/12.1.0/grid/perl/bin/perl -I/u01/app/grid/product/12.1.0/grid/perl/lib -I/u01/app/grid/product/12.1.0/grid/crs/install /u01/app/grid/product/12.1.0/grid/crs/install/roothas.pl


To configure Grid Infrastructure for a Cluster execute the following command as grid user:
/u01/app/grid/product/12.1.0/grid/crs/config/config.sh
This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media.


Then run this script for a Stand-Alone Server

[root@localhost ~]# /u01/app/grid/product/12.1.0/grid/perl/bin/perl -I/u01/app/grid/product/12.1.0/grid/perl/lib -I/u01/app/grid/product/12.1.0/grid/crs/install /u01/app/grid/product/12.1.0/grid/crs/install/roothas.pl
Using configuration parameter file: /u01/app/grid/product/12.1.0/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node localhost successfully pinned.
2013/07/07 19:59:44 CLSRSC-330: Adding Clusterware entries to file '/etc/inittab'


localhost 2013/07/07 20:00:17 /u01/app/grid/product/12.1.0/grid/cdata/localhost/backup_20130707_200017.olr
2013/07/07 20:00:18 CLSRSC-327: Successfully configured Oracle Grid Infrastructure for a Standalone Server
now run ASMCA again <<<<<<<<<<<<



Oracle DBA

anuj blog Archive