Database Creation on 11.2 Grid Infrastructure with Role Separation
本文轉自 metalink ID 1084186.1
Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterInformation 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.
Solution
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:
$ 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 the following commands:
$ 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
Note: Bug 9575578 is fixed in 11.2.0.2 GI release
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21754115/viewspace-1755063/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Grid Infrastructure for a Standalone ServerOracleASTStructServer
- Laravel workflow with database and roleLaravelDatabase
- 【GRID】Grid Infrastructure 啟動的五大問題 (Doc ID 1526147.1)ASTStruct
- 為11gR2 Grid Infrastructure增加新的public網路ASTStruct
- 將Oracle 12c資料庫註冊到Oracle 19c Grid InfrastructureOracle資料庫ASTStruct
- 2.4.1 Service Creation in a CDB
- 2.3.2.1 Creation of Application Common ObjectsAPPObject
- 11.2
- Delivery Automatic Creation for UB type STO
- 11.2 模型finetune模型
- ansible-role角色
- Oracle OCP(30):ROLEOracle
- Fiddler(三)Fiddler 報錯creation of the root certificate was not successful
- Terraform基礎入門 (Infrastructure as Code)ORMASTStruct
- 初探 Infrastructure as Code 工具 Terraform vs PulumiASTStructORM
- grid
- Multi Role的實現
- Proposer-Builder Separation (PBS) 的作用是什麼?UI
- 【SEED Labs】Public-Key Infrastructure (PKI) LabASTStruct
- RAC and Grid
- Grid Points
- The database owner SID recorded in the master database differs from the database owner SID recorded in database 'DB_NAME'DatabaseAST
- oracle: default role 詳解(轉)Oracle
- RBAC(Role-Based Access Control)
- 9 Role Transitions 角色轉換
- 2.2.4.1 Principles of Privilege and Role Grants in a CDB
- 2.2.4 Overview of Privilege and Role Grants in a CDBView
- MySQL角色(role)功能介紹MySql
- AWS Switching to an IAM role (AWS CLI)
- 1.3.2.2 Creation of a PDB by Plugging In(通過插入的方式建立PDB)
- Separation Studio for Mac(分色工具) v2.1.7啟用版Mac
- Infrastructure 知識: dnf對module的處理ASTStruct
- export GRID_HOME=/u01/app/19c/grid $GRID_HOME/bin/crExportAPP
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Error querying database. XXXXXXXXXXXXX, No database selected。ErrorDatabase
- Convert a Physical Standby Database into a Snapshot Standby DatabaseDatabase
- 2.2.4.2.1 What Makes a Privilege or Role Grant Local
- Oracle OCP(31):USER & ROLE & PRIVILEGE 其它Oracle
- grid佈局