1. login to OEM Grid Control repository or database without grid control (using db control)
sqlplus “/ as sysdba”
alter user sysman identified by ‘newpassword’;
2. shutdown oms
emctl stop oms
3. update emoms.properties at $OMS_ORACLE_HOME/sysman/config
oracle.sysman.eml.mntr.emdRepPwd=’newpassword’
oracle.sysman.eml.mntr.emdRepPwdSeed=5219492391084290160 #do not change this
oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE #changed from TRUE
4. startup oms
emctl start oms
5. check emoms.properties at $OMS_ORACLE_HOME/sysman/config
Now the emdRepPwd will be encrypted. emdRepPwdEncrypted will be changed to TRUE.
6. for repository host em agent
cd $AGENT_HOME/sysman/emd
edit targets.xml and modify the oracle_emrep target definition
UserName value to be sysman, ENCRYPTED=”FALSE”
Password value to be newpasswd, ENCRYPTED=”FALSE”
Bounce the agent. The username and password will be encrypted and ENCRYPTED will be changed to “TRUE”.
7. for dbcontrol, you can change sysman without changing the config file.
emctl start|stop dbconsole
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment