OEM 裡sysman使用者密碼的修改
注意repository資料庫中的sysman使用者密碼不要改,不然oms會連線不上:
[oracle@bin]$ ./emctl status omsOracle Enterprise Manager 10g Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.Oracle Management Server is not functioning because of the following reason:Connection to the repository failed. Verify that the repository connection information provided is correct.
於修改sysman的密碼,可以參見metalink的這個文章(ID 270516.1):
1. Stop the agent monitoring the target OMS and Repository in order to avoid that the SYSMAN account is locked during the process of changing the password.
If there is only one OMS connected to the repository, stop the agent running on the OMS machine.
If there are multiple OMS connected to the same Repository, you need to figure out which agent is monitoring the target OMS and Repository. This is usually the agent installed with the first OMS installed, but it is worth to check it, as there may have been configuration changes in your Grid Control architecture.
1. Find the agent monitoring the target "OMS and Repository"
Follow the Note 604311.1 - How To Find which Grid Control agent is monitoring the
target "OMS and Repository" in cas of multiple OMS.
2. Connect to the node where the agent is installed with the oracle account and stop the agent
(ORACLE_HOME is set and ORACLE_HOME/bin is in the $PATH)
$ emctl stop agent
2. Stop all the OMS instances that are associated with the repository
From each node where an OMS is running, logged in as oracle account, do:
cd <<OMS_HOME>>/opmn/bin
opmnctl stopall
3. Change the SYSMAN password in the file emoms.properties
1. Backup the file emoms.properties
cd <<OMS_HOME>>/sysman/config
cp emoms.properties emoms.properties.orig
2. Edit the file emoms.properties and change the following lines
oracle.sysman.eml.mntr.emdRepPwd=new_password
oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE
4. Change the SYSMAN password in the database hosting the repository:
1. Set the $ORACLE_SID environment variable to point to the EM Repository Database.
2. Logon to the Repository Database with SQL*Plus as a dba user and issue the command:
SQL> alter user sysman identified by newpassword;
5. Restart each of the OMS's
1. From each node where an OMS is running, logged in as oracle account, do:
cd <<OMS_HOME>>/opmn/bin
opmnctl startall
2. Check the following in the <<OMS_HOME>>/sysman/config/emoms.properties file:
- the value of the parameter oracle.sysman.eml.mntr.emdRepPwd is encrypted
- the value of the parameter oracle.sysman.eml.mntr.emdRepPwdEncrypted is changed from FALSE to TRUE.
6. Change the SYSMAN password for the agent monitoring the "OMS and Repository"target
1. Login to the Grid Control Console
2. From the top right menu, click on the link Setup
3. Select the tab"Management Services and Repository"
4. From the bottom of the page "Overview", click on the link "Monitoring Configuration"
You will get the following error message:
Communication from the Oracle Management Service host to the Agent host failed. Refer to help for details. IOException in sending Request :: Connection refused
This is because the Agent is not started. Click OK.
5. Restart the Agent stopped in Step 1
Connect to the node where the agent is installed with the oracle account and start the agent
(ORACLE_HOME is set and ORACLE_HOME/bin is in the $PATH)
We did not start it before in order to avoid the SYSMAN account to be locked, which can prevent us from logging to the Grid Control console.
$ emctl start agent
6. Go back to the Grid Control console and click again on the link "Monitoring Configuration" once the agent is started.
In the Monitoring Configuration page, change the value in the field "Repository password"
7. Click OK
This will update the targets.xml of the monitoring agent with the new SYSMAN password.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/1933/viewspace-1049404/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- OEM13.2修改SYSMAN密碼密碼
- Oracle中修改sysman和dbsnmp密碼正確流程Oracle密碼
- oracle 10g em db control中如何修改sysman密碼Oracle 10g密碼
- 修改git使用者密碼Git密碼
- 修改MySQL的root使用者的密碼MySql密碼
- Ubuntu修改使用者密碼Ubuntu密碼
- mysql修改使用者密碼MySql密碼
- Centos修改root使用者密碼CentOS密碼
- 修改sys ,system使用者密碼密碼
- mysql如何修改root使用者的密碼MySql密碼
- MySQL修改使用者密碼及重置root密碼MySql密碼
- 修改ASM sys使用者密碼方法ASM密碼
- 修改root使用者密碼為root密碼
- 修改mysql的root使用者密碼為空MySql密碼
- 修改ORACLE使用者密碼的一個方法:Oracle密碼
- wdcp後臺裡mysql的管理使用者root密碼不對或修改方法介紹MySql密碼
- 修改使用者的密碼為無限期限密碼
- laravel修改使用者模組的密碼驗證Laravel密碼
- oracle 檢視使用者密碼的修改時間Oracle密碼
- 修改oracle中的使用者名稱和密碼Oracle密碼
- mysql8.0+修改使用者密碼MySql密碼
- Oracle 限制業務使用者自身修改密碼Oracle密碼
- 新使用者首次登陸修改密碼密碼
- 單使用者模式下修改root密碼模式密碼
- linux 單使用者模式修改密碼Linux模式密碼
- Centos7 修改mysql指定使用者的密碼CentOSMySql密碼
- wordpress修改繫結的mysql使用者名稱密碼MySql密碼
- 忘記oracle的sys使用者密碼怎麼修改Oracle密碼
- linux下批量修改使用者密碼Linux密碼
- RAC中修改使用者帳號密碼密碼
- ebs修改應用系統使用者密碼密碼
- 公司網站使用者名稱密碼修改?網站密碼
- 不知道Oracle system使用者密碼,修改後如何還原密碼Oracle密碼
- 模板類網站什麼不能修改?網站資訊在哪裡修改密碼?網站密碼
- 修改mysql的root密碼MySql密碼
- 修改ASM的SYS密碼ASM密碼
- win7如何修改電腦密碼_windows7在哪裡更改電腦密碼Win7密碼Windows
- Ubuntu 修改密碼Ubuntu密碼