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.2
Information 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

BUG 9190006

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=<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<ASM_SID> password=<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


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
BUG 9190006 and is the recommended configuration.

References

BUG:9190006 - ORA-24300 WHEN ATTEMPTING TO SYSASM ROLE FOR MONITORING 11GR2 ASM

时间: 2024-08-22 00:06:05

ORA-24300 When Configuring GC Agent to monitor 11g ASM [ID 977472.1]的相关文章

安装MySQL Enterprise Monitor

    MySQL Enterprise Monitor是专门为MySQL数据库而设计的一款企业级监控,能非常好地与MySQL各方面特性相结合,包括:MySQL的关键性能指标.主机.磁盘.备份.新特性相关以及各种场景下的架构配置,并支持从单节点到海量节点部署的环境.它不仅能够全面地监控MySQL的运行状态,还能及时发现潜在的问题并给出优化建议.本文描述了MySQL Enterprise Monitor的安装过程.   1.安装需求 General Platform Recommendations

《多核与GPU编程:工具、方法及实践》----3.6 monitor

3.6 monitor 信号量提供一个十分方便的机制,如果合适地应用,可以通过多线程的实现来获得最大并行性.然而,这只是"如果".由于它提供十分细粒度且横跨多个线程的程序逻辑并发控制机制,因此高效地使用信号量机制是十分困难的.在面向对象编程时代,信号量已经变得不如从前流行. 幸运的是,存在另一个称为monitor的机制.monitor是一个对象或者模块,可以供多个线程进行安全访问.为了完成这一功能,某个时刻只允许一个线程执行一个monitor的任意一个公有的方法.为了阻塞一个线程或者通

利用Oracle RDA( Remote Diagnostic Agent)快速收集Oracle产品分析数据

利用Oracle RDA( Remote Diagnostic Agent)快速收集Oracle产品分析数据  原文地址:利用Oracle RDA快速收集Oracle产品分析数据 作者:尛样儿         Remote Diagnostic Agent (RDA) 是一个工程师用Perl语言编写的命令行诊断工具,RDA提供统一的诊断工具支持包和预防的解决方法.提供给Oracle支持收集的客户环境全面的数据信息能够帮助问题的诊断.         Oracle支持鼓励使用RDA,因为它能对于更

小麦苗BLOG文章索引

小麦苗BLOG文章索引            自从2014年7月1号开始写blog到2015年5月5日,历时10个月的时间,大概写了90篇文章,这blog多了就乱了,今天抽空出来整理整理,方便大家也方便自己阅读,本文将一直更新,另外,最后我把所有的blog文章全列出来,可能会有用.    小麦苗的所有文章:itpub文章链接-小麦苗.zip     2015年06月03日更新一次,我写的blog数量:109 篇    2015年07月03日更新一次,我写的blog数量:126 篇    2016

11gR2 Clusterware and Grid Home – What You Need to Know [ID 1053147.1]

In this Document   Purpose   Scope   Details   11gR2 Clusterware Key Facts   Clusterware Startup Sequence   Important Log Locations   Clusterware Resource Status Check   Clusterware Resource Administration   OCRCONFIG Options:   OLSNODES Options   Cl

Oracle实例囚笼(Instance Caging)

Oracle实例囚笼(Instance Caging) 当多个实例运行在同一台服务器上时,为了避免实例间的相互影响,从oracle 11gr2开始推出了实例囚笼的概念.实例囚笼能够限制数据库实例使用的CPU资源.使用实例囚笼,只需要设置CPU_COUT和resource_manager_plan两个参数.该功能可以用于的数据库资源整合,而取代之前的虚拟化和分区等传统的资源分割方法 1,打开swingbench准备设置后进行压力测试(具体方法见前面文章) 2,查看服务器的CPU个数select v

奕新集团GG环境搭建(无图)

  奕新集团GG环境搭建   图片太大,上传到百度云盘. 系统:OracleLinux 5.9  数据库版本11.2.0.3   hostname source target vim /etc/hosts 172.16.10.140 142    内核参数 D:\Oracle官方文档\E11882_01\install.112\e24326\toc.htm 添加用户组 [root@source ~]# groupadd -g 500 oinstall [root@source ~]# group

linux系统下使用snmpset命令始终报错,,,

问题描述 linux系统下使用snmpset命令始终报错,,, [root@localhost 桌面]# snmpset -v2c -c public -On localhost system.sysName.0 s linux Error in packet. Reason: noAccess Failed object: .1.3.6.1.2.1.1.5.0 始终处于这个错误,请各路大神帮帮我,感激不尽,,,,我的conmpd.conf文件是: #######################

奕新集团---单实例GG环境搭建

 奕新集团---单实例GG环境搭建   系统:OracleLinux 5.9  数据库版本11.2.0.3   hostname source target vim /etc/hosts 172.16.10.140 142    内核参数 D:\Oracle官方文档\E11882_01\install.112\e24326\toc.htm 添加用户组 [root@source ~]# groupadd -g 500 oinstall [root@source ~]# groupadd -g 51