Saturday, February 28, 2015

Oracle EM Cloud Control 12c - Change SYSMAN password

1. Stop OMS

[oracle@rac2 ~]$ cd /u02/app/oracle/middleware/oms/bin/
[oracle@rac2 bin]$ ./emctl stop oms
Oracle Enterprise Manager Cloud Control 12c Release 4 
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Stopping WebTier...
WebTier Successfully Stopped
Stopping Oracle Management Server...
Oracle Management Server Successfully Stopped
Oracle Management Server is Down
[oracle@rac2 bin]$

2. Change sysman password

[oracle@rac2 ~]$ cd /u02/app/oracle/middleware/oms/bin/
[oracle@rac2 bin]$ ./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd manager -new_pwd tiger
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 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.
[oracle@rac2 bin]$


3. Restart OMS

[oracle@rac2 bin]$ ./emctl start oms
Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation.  All rights reserved.
Starting Oracle Management Server...
Starting WebTier...
WebTier Successfully Started
Oracle Management Server Successfully Started
Oracle Management Server is Up

No comments:

Post a Comment