Database Creation on 11.2 Grid Infracture with Role Separation ( ORA-15025, KFSG-00312, ORA-15081 )

Database Creation on 11.2 Grid Infracture with Role Separation ( ORA-15025, KFSG-00312, ORA-15081 ) [ID 1084186.1]

In this Document
Goal
Fix
References
Applies to:


Oracle Server - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.
Goal


This document discusses the necessary steps to take before creating a 11.2 / 11.1 / 10.2 database with 11.2 Grid Infrastructure when Role Separation is in place.


Fix


In case of role separation we typically have the following groups and users:


Grid Infrastructure Home Owner : grid
Primary Group : oinstall
Secondary Groups : asmadmin, asmdba, asmoper


RDBMS Home Owner : oracle
Primary Group : oinstall
Secondary Groups : dba, oper, asmdba


In case of stand alone set up, if the 11.2 Database be managed by Oracle Restart ( srvctl stop/start ), then 'grid' user should also be a part of 'dba' group.


The ASM Disks would be owned by grid:asmadmin


11.2 Database
If we use 11.2 DBCA to create the database, everything will go through fine. If we create the 11.2 database manually, then before creating the database we need to run the following command after shutting down the GI ( clusterware and ASM instance ):


$ su - grid
$ cd /bin
$ ./setasmgidwrap o=<11.2 RDBMS Home>/bin/oracle


If we do not do this, database creation will fail with ORA-15025 as it will not be able to access the ASM Disks.


Pre11.2 Database
For pre11.2 Databases ( 11.1 and 10.2 ), whether creating the database using DBCA or manually, apply Patch 9575578 to the 11.2 Grid Home. After applying the patch run the following commands after shutting down the GI ( clusterware and ASM instance ):


$ su - grid
$ cd /bin
$ ./setasmgidwrap o=<11.1/10.2 RDBMS Home>/bin/oracle


Without the patch script setasmgidwrap will fail with KFSG-00312
 
Note: Bug 9575578 is fixed in 11.2.0.2 GI release 


References


BUG:9575578 - KFSG-00312: NOT AN ORACLE BINARY, USING SETASMGIDWRAP


 
Related
 
 
Products
 
Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition > STORAGE > ASM Administration, Errors
 
Keywords
 
ASM;DBCA;GRID;INFRASTRUCTURE;ORACLE RESTART;RESTART;SRVCTL
 
Errors
 
ORA-15025;ORA-15081


Back to Top

你可能感兴趣的:(ORACLE,Management,database,oracle,patch,server,command,access)