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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- WGET command is getting 403 forbidden response when remote install gc agent,TroubleshootingwgetORBREMGC
- OracleAS Install Error When Configuring AS Console Agent..._386308.1OracleError
- gc/Agent passwd resetGC
- Monitor ASM DG IOASM
- 【GC】Grid Control Agent完整刪除方法GC
- ASM Spfile Is Not Used when ASM Instance StartsASM
- Configuring device-mapper for CRS/ASM (Doc ID 357472.1)devAPPASM
- Oracle 11g Health MonitorOracle
- 11g New Feature: Health monitor (Doc ID 466920.1)
- Agent Startup Fails When the Repository DB Does Not Support TZ of Agent-332131.1AI
- EM GC11.1.0.1 Agent Startup on AIX Fails with Error: nmectl_validate_1386861.1GCAIError
- 11g New Feature: Health monitor
- GC Agent Startup Fails on AIX due to Invalid Timezone Setting at OS_825933.1GCAI
- 【GC】OEM Grid Control 11gR1部署之Agent部分GC
- Install GC Agent 11.1.0.1 fails at Config Agent File secure.log_1273470.1GCAI
- oracle 11g health monitor健康監控Oracle
- ASM Diskgroup Can Not Be Shown When Creating Database With DBCAASMDatabase
- GC 11.1 Install fails at Agent CA while Securing Agent in secure.log_1118270.1GCAIWhile
- oracle10g GC agent安裝與解除安裝OracleGC
- 【GC】使用 agentDownload.linux完成Grid Control Agent的快速部署安裝GCLinux
- Configuring non-raw Multipath Devices for Oracle Clusterware 11gdevOracle
- 11g Agent Upload Fails with "OMS version not checked Yet". (Doc ID 1265052.1)AI
- 11g新動態效能檢視V$SQL_MONITOR,V$SQL_PLAN_MONITORSQL
- 11g ASM asm_preferred_read_failure_groupASMAI
- Android GC,JVM MinorGC/ MajorGC/ FullGC,GC目的AndroidGCJVM
- DBMS_MONITOR使用 (In 10g, 11g and Above)
- Configure GC Agents to Monitor Virtual Hostname in HA environments_406014.1GC
- Android Profile--Memory MonitorAndroid
- Automatic Start GC Agent 10.2.0.5 via gcstartup Script fails with sudo_789363.1GCAI
- 11g單機使用asmASM
- oracle 11g ASM問題OracleASM
- ASM 11g New Features - How ASM Disk Resync WorksASM
- ASMCA fails to create 11.2 ASM instance when upgrading from 10.2 [ID 1125053.1]ASMAI
- ORA-15055 Unable to Connect to ASM When Starting an InstanceASM
- 【GC】重新配置Agent以應對 OMS伺服器的變化GC伺服器
- 在oracle 11g下安裝配置scheduler agentOracle
- Configuring Oracle ASM disks in Oracle Enterprise Linux r5u3OracleASMLinux
- 11G R2 ASM管理ASM