Database creation on 11.2 grid infracture with role separation (ORA-15025, KFSG-00312, ORA-15081)

Source: Internet
Author: User

 

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.

 

 

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, role, asmdba

 

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


The ASM disks wocould 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:

$ Su-grid
$ CD <grid Home>/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:

$ Su-grid
$ CD <grid Home>/bin
$./Setasmgidwrap o = <11.1/10.2 RDBMS Home>/bin/Oracle

Without the patch script setasmgidwrap will fail with KFSG-00312

 

 

 

 

 

From Oracle

Bytes -------------------------------------------------------------------------------------------------------

Blog: http://blog.csdn.net/tianlesoftware

Email: dvd.dba@gmail.com

Dba1 group: 62697716 (full); dba2 group: 62697977 (full) dba3 group: 62697850 (full)

Super DBA group: 63306533 (full); dba4 group: 83829929 dba5 group: 142216823

Chat group: 40132017 chat 2 group: 69087192

-- Add the group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, the application is rejected.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.