博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
如何修改 EM12c 中 SYSMAN 用户的密码?
阅读量:6254 次
发布时间:2019-06-22

本文共 3596 字,大约阅读时间需要 11 分钟。

以下内容全部转自:http://www.chenjunlu.com/2013/04/how-to-modify-the-password-for-sysman-of-em-12c-cloud-control/

原作者如有意见,本人立即删除!

If the current SYSMAN password is known:

1. Stop all the OMS:

$ cd <OMS_HOME>/bin

$ ./emctl stop oms

Execute the same command on all the OMS machines including the primary OMS machine. Do not include ‘-all‘ as the Admin Server needs to be up during this operation.

2. Modify the SYSMAN password:

$ cd <OMS_HOME>/bin

$ ./emctl config oms -change_repos_pwd

Note:

  • The above command will prompt you for the current password of the SYSMAN user and the new password.
  • The password will be modified at the Repository Database as well as the WLS Credential store and the monitoring credentials for the ‘OMS and Repository’ target.
  • Along with the SYSMAN password, this command will modify the password for the ALL the EM users (SYSMAN_MDS, BIP, SYSMAN_OPSS, SYSMAN_APM, SYSMAN_RO, MGMT_VIEW) created in the Repository Database.

Example output:

$ ./emctl config oms -change_repos_pwd

Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.
Enter Repository User’s Current Password :
Enter Repository User’s New Password :

Changing passwords in backend …

Passwords changed in backend successfully.
Updating repository password in Credential Store…
Successfully updated Repository password in Credential Store.
Restart all the OMSs using ‘emctl stop oms -all’ and ‘emctl start oms’.
Successfully changed repository password.

3. Stop the Admin server on the primary OMS machine and re-start all the OMS:

$ cd <OMS_HOME>/bin

$ ./emctl stop oms -all
$ ./emctl start oms

If the current SYSMAN password is unknown:

1. Stop all the OMS:

$ cd <OMS_HOME>/bin

$ ./emctl stop oms

Execute the same command on the primary OMS machine as well. Do not include ‘-all’ as the Admin Server needs to be up during this operation.

If the version of OMS is 12.1.0.1 and password is manually changed at the Database level, apply Patch 13697830 on OMS Home and then run the command below to get the password updated in all configurations.
2. Modify the SYSMAN password:

$ cd <OMS_HOME>/bin

$ ./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd <sys user password> -new_pwd <new sysman password>

Note:

  • The ‘-use_sys_pwd’ is used to connect to the database as a SYS user and modify the sysman password in the Repository database.
  • The current sysman password is not prompted for and only the new password needs to be entered. This will allow the reset of the old password to the new password entered.
  • The password will be modified at the Repository Database as well as the WLS Credential store and the monitoring credentials for the ‘OMS and Repository’ target.
  • Along with the SYSMAN password, this command will modify the password for the ALL the EM users (SYSMAN_MDS, BIP, SYSMAN_OPSS, SYSMAN_APM, SYSMAN_RO, MGMT_VIEW) created in the Repository Database.

Example output:

$ ./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd oracle123 -new_pwd oracle12

Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.

Changing passwords in backend …

Passwords changed in backend successfully.
Updating repository password in Credential Store…
Successfully updated Repository password in Credential Store.
Restart all the OMSs using ‘emctl stop oms -all’ and ‘emctl start oms’.
Successfully changed repository password.

3. Stop the Admin server on the primary OMS machine and re-start all the OMS:

$ cd <OMS_HOME>/bin

$ ./emctl stop oms -all
$ ./emctl start oms

转载地址:http://ypysa.baihongyu.com/

你可能感兴趣的文章
【Clojure 基本知识】 关于函数参数的各种高级用法
查看>>
Python系列文章
查看>>
顺序图【6】--☆☆
查看>>
5日均线MACD
查看>>
Docker 版本
查看>>
【ABP杂烩】面向切面编程(AOP)知识总结
查看>>
java 如何使用多线程调用类的静态方法?
查看>>
数据挖掘基本概念讲解
查看>>
(原創) C语言果然是不会死的语言 (C/C++) (C) (IC Design) (DE2) (Nios II)
查看>>
不能运行VS2005的DSL Tool例子
查看>>
OSI/RM参考模型和TCP/IP协议的关系
查看>>
Android Intent用法汇总
查看>>
Vista上运行VisualStudio2005,调试asp.net程序的怪问题
查看>>
理解HTTP幂等性
查看>>
登录服务器,首先用到的5个命令
查看>>
使用PIP扩展BTARN
查看>>
GetLastError()返回值及含义
查看>>
android UI之Shape详解_GradientDrawable
查看>>
Python sh库学习 上篇
查看>>
Oracle Management Server配置
查看>>