最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

【翻译自mos文章】修改被DBControl监控的db(10gand11g)中dbsnm

来源:动视网 责编:小采 时间:2020-11-09 15:00:04
文档

【翻译自mos文章】修改被DBControl监控的db(10gand11g)中dbsnm

【翻译自mos文章】修改被DBControl监控的db(10gand11g)中dbsnm:修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法 参考原文: How to Change DBSNMP Password in Database 10g and 11g Monitored by DB Control (Doc ID 259387.1) 适用于: Enterprise Mana
推荐度:
导读【翻译自mos文章】修改被DBControl监控的db(10gand11g)中dbsnm:修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法 参考原文: How to Change DBSNMP Password in Database 10g and 11g Monitored by DB Control (Doc ID 259387.1) 适用于: Enterprise Mana


修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法 参考原文: How to Change DBSNMP Password in Database 10g and 11g Monitored by DB Control (Doc ID 259387.1) 适用于: Enterprise Manager for Oracle Database - Version 10.1.0.4 to

修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法

参考原文:
How to Change DBSNMP Password in Database 10g and 11g Monitored by DB Control (Doc ID 259387.1)

适用于:
Enterprise Manager for Oracle Database - Version 10.1.0.4 to 11.2.0.3 [Release 10.1 to 11.2]
Information in this document applies to any platform.

目的:
当10g 和 11g的 db被DB Control 监控时, 修改 该db中的dbsnmp用户密码的方法。
ATTENTION: Enterprise Manager 10g is now in extended support. Oracle strongly recommends that you upgrade your environment to either Enterprise Manager 11g or 12c, both of which are still in premier Support.

范围:
所有使用db control 来监控他们的10g or 11g db 的数据库管理员

细节:
修改dbsnmp密码时,你必须严格遵守下面的步骤,否则 管理你的db的 10g or 11g DB Control 会运行异常。

注意: 对于安装在Windows 2008 / Vista上的 DB Control Release 10.2.0.3 以及更高版本,emctl命令可能会失败,报错为 "Permission Denied".
请参考下面的文章来解决此报错:
Document 1164293.1 - Executing Any EMCTL Command on Windows 2008 / Vista Returns "Permission denied" Error

1.stop the standalone dbconsole

On Unix - DB Control Release up to 11.1.x
$ export ORACLE_SID=
$ emctl stop dbconsole

On Unix - DB Control Release 11.2.x and higher
$ export ORACLE_SID=
$ export ORACLE_UNQNAME=
$ emctl stop dbconsole

On Windows - DB Control Release up to 11.1.x
Stop the Windows Service OracleDBConsole
Or
Open a DOS Command Window and type
C> set ORACLE_SID=
C> set ORACLE_HOME=
C> cd %ORACLE_HOME%/bin
C> emctl stop dbconsole

On Windows - DB Control Release 11.2.x and higher
Stop the Windows Service OracleDBConsole
Or
Open a DOS Command Window and type
C> set ORACLE_SID=
C> set ORACLE_UNQNAME=
C> set ORACLE_HOME=
C> cd %ORACLE_HOME%/bin
C> emctl stop dbconsole

2. 检查DB Control 已经被停止
On Unix
$ emctl status dbconsole

On Windows
Check the status of the Windows Service OracleDBConsole
Or
Open a DOS Command Window, cd to the database $ORACLE_HOME\bin and type
C> emctl status dbconsole

3.以dba权限登陆sqlplus,执行如下语句:--->登陆进去的这个db是受监控端的db。
SQL> alter user dbsnmp identified by ;

4.确认新密码能连接:
SQL> connect dbsnmp/[@database_alias]

5.到$ORACLE_HOME/host_sid/sysman/emd目录下----->本步骤应该是在 standalone dbconsole主机上操作吧?
5.1 将targets.xml文件复制为targets.xml.orig
5.2 用文本编辑器编辑targets.xml文件
5.2.1 找下面的行:

5.2.2 用新密码替换掉加密后的值
5.3.3 用FALSE替换掉TRUE
5.3 重启standalone dbconsole

On Unix - DB Control Release up to 11.1.x
$ export ORACLE_SID=
$ emctl start dbconsole


On Unix - DB Control Release 11.2.x and higher
$ export ORACLE_SID=
$ export ORACLE_UNQNAME=
$ emctl start dbconsole


On Windows - DB Control Release up to 11.1.x
Start the Windows Service OracleDBConsole
Or
Open a DOS Command Window and type
C> set ORACLE_SID=
C> set ORACLE_HOME=
C> cd %ORACLE_HOME%/bin
C> emctl start dbconsole


On Windows - DB Control Release 11.2.x and higher
Start the Windows Service OracleDBConsole
Or
Open a DOS Command Window and type
C> set ORACLE_SID=
C> set ORACLE_UNQNAME=
C> set ORACLE_HOME=
C> cd %ORACLE_HOME%/bin
C> emctl start dbconsole

5.4 确认密码已经被加密
查看targets.xml
搜索:
检查 密码value 已经被加密
检查ENCRYPTED 的value 是TRUE

文档

【翻译自mos文章】修改被DBControl监控的db(10gand11g)中dbsnm

【翻译自mos文章】修改被DBControl监控的db(10gand11g)中dbsnm:修改被 DB Control 监控的db (10g and 11g)中 dbsnmp密码的方法 参考原文: How to Change DBSNMP Password in Database 10g and 11g Monitored by DB Control (Doc ID 259387.1) 适用于: Enterprise Mana
推荐度:
标签: 文章 监控 修改
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top