ORA-24300 When Configuring GC Agent to monitor 11g ASM [ID 977472.1]
ORA-24300 When Configuring GC Agent to monitor 11g ASM [ID 977472.1] | |||||
| |||||
修改時間 05-OCT-2011 型別 PROBLEM 狀態 PUBLISHED |
Applies to:
Enterprise Manager for Oracle Database - Version: 11.1.0.6 to 11.2.0.1 - Release: 11.1 to 11.2Information in this document applies to any platform.
When configuring an 11gR1 or 11gR2 ASM target in Enterprise Manager Grid Control 10gR5 (10.2.0.5) using the sysasm role ORA-24300 is raised and the target configuration is unable to continue.
Symptoms
When configuring the Grid Control monitoring credentials for 11g (11gR1 or 11gR2) ASM using SYSASM role the connection test fails with "DiskGroup_Usage - ORA-24300: bad value for mode".When an attempt to use the SYSDBA role is made ORA-1031 is returned.
NOTE: The SYSASM role is not the
recommended configuration from a security and privilege perspective for
monitoring due to its super user types of privileges.
Changes
None.Cause
Solution
First make sure that there is a password file for the ASM instance being configured. On Unix/Linux this password file will be under $ORACLE_ASM_HOME/dbs, on Windows this password file will be under %ORACLE_ASM_HOME%/dbs.If the password file does NOT exist, you must first create the password file to avoid ORA-1031 errors.
For 11gR2 follow the procedure below to create the ASM password file:
1. Create the password
file for ASM on all nodes (if RAC) as follows:
orapwd file=$GRID_INFRASTRUCTURE_HOME/dbs/orapw+ASM password= entries=5
2. Update the password file with the following users/roles:
sqlplus / as sysasm
SQL> create user asmsnmp identified by
SQL> grant sysasm to sys;
SQL> grant sysdba to asmsnmp;
3. Review changes to the password file by querying v$pwfile_users:
SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP SYSAS
--------- ----- ----- -----
SYS TRUE TRUE TRUE
ASMSNMP TRUE FALSE FALSE
orapwd file=$GRID_INFRASTRUCTURE_HOME/dbs/orapw+ASM password= entries=5
2. Update the password file with the following users/roles:
sqlplus / as sysasm
SQL> create user asmsnmp identified by
SQL> grant sysasm to sys;
SQL> grant sysdba to asmsnmp;
3. Review changes to the password file by querying v$pwfile_users:
SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP SYSAS
--------- ----- ----- -----
SYS TRUE TRUE TRUE
ASMSNMP TRUE FALSE FALSE
For 11gR1 follow the procedure below to create the ASM password file:
1. Create the password
file for ASM on all nodes (if RAC) as follows:
orapwd file=$ORA_ASM_HOME/dbs/orapw password=
entries=5
2. Update the password file with the following users/roles:
sqlplus / as sysdba
SQL> grant sysasm to sys;
3. Review changes to the password file by querying v$pwfile_users:
SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP SYSAS
--------- ----- ----- -----
SYS TRUE FALSE TRUE
orapwd file=$ORA_ASM_HOME/dbs/orapw
2. Update the password file with the following users/roles:
sqlplus / as sysdba
SQL> grant sysasm to sys;
3. Review changes to the password file by querying v$pwfile_users:
SQL> select * from v$pwfile_users;
USERNAME SYSDB SYSOP SYSAS
--------- ----- ----- -----
SYS TRUE FALSE TRUE
After creating/validating the password file entries and existence:
NOTE: The SYSASM role is not the
recommended configuration from a security and privilege perspective for
monitoring due to its super user types of privileges.
Within Grid Control configure the agent monitoring credentials for the ASM instance(s) target to connect to the ASM instance(s) as asmsnmp (11gR2) or sys (11gR1) with the role of SYSDBA. This will avoid the ORA-24300 error described in and is the recommended configuration.
References
- ORA-24300 WHEN ATTEMPTING TO SYSASM ROLE FOR MONITORING 11GR2 ASM來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20674423/viewspace-721557/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20190306]11g health monitor.txt
- ORA-15055 Unable to Connect to ASM When Starting an InstanceASM
- 【CURSOR】How to Monitor and tune Open and Cached Cursors (Doc ID 1430255.1)
- 【ASM】ORA-27504 ORA-27300 ORA-27303 while starting ASM (Doc ID 2281441.1)ASMWhile
- How to Increase CSS Misscount in single instance ASM installations [ID 729878.1]CSSASM
- Nginx Configuring HTTPS serversNginxHTTPServer
- Configuring Harbor with HTTPS AccessHTTP
- 11g RAC叢集下agent的作用和說明
- ORA-12801 AND ORA-01031 ONLY WHEN OGG DDL TRIGGER IS ENABLED [ID 1280235.1]
- crsd.bin Fail With Error CRS-1019 When ohasd Restarted (文件 ID 2291799.1)AIErrorREST
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- 11g ASM 重啟 HAC 報錯 CRS-4124: Oracle High AvailabilityASMOracleAI
- Configuring the launch of the remote virtual machine to debugREMMac
- Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs'LinuxError
- 【Oracle】Linux7安裝11g 86%報錯:Error in invoking target 'agent nmhs' of makefileOracleLinuxError
- 2788647047_monitor
- Postman的Monitor功能Postman
- Verilog 監控 Monitor
- Full GC (Metadata GC Threshold)GC
- case when 語句
- 從CLR GC到CoreCLR GCGC
- Azure Monitor(二)Log Analytics
- GCGC
- GC.MaxGeneration屬性【GC示例】GC
- 千問AI agent qwan_agent使用AI
- synchronized的monitor監視器synchronized
- 【ASM】Oracle asm刪除磁碟組注意事項ASMOracle
- 【ASM】ASM磁碟頭被重寫,如何修復ASM
- GC是什麼?為什麼要有GC?GC
- JVM 系列文章之 Full GC 和 Minor GCJVMGC
- goldengate + asm + racGoASM
- gnu inline asminlineASM
- mysql中case when的使用MySql
- sql case when, Exist ,group by ,聚合SQL
- Oracle case when改寫SQLOracleSQL
- Laravel query when 的查詢Laravel
- SpokenEnglish01_ When's it due?
- [Reactive] Run functions when data changesReactFunction
- SQL Server CASE WHEN ... THEN ... ELSE ... ENDSQLServer