Monday, January 11, 2016

Change SYSMAN Password in 12C

Steps to follow if the current SYSMAN password is unknown

1. Stop all the OMS:


oracle@test100:/u01/app/em/12.1.0.2/oms/bin$ ./emctl stop oms

Output.

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
Note:

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

2. Modify the SYSMAN password:


oracle@test100:/u01/app/em/12.1.0.2/oms/bin$ ./emctl config oms -change_repos_pwd -use_sys_pwd -sys_pwd ktest100 -new_pwd Btest100


Output:

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.

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

oracle@test100:/u01/app/em/12.1.0.2/oms/bin$ ./emctl stop oms -all

Output:

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 Already Stopped
AdminServer Successfully Stopped
Oracle Management Server is Down

oracle@test100:/u01/app/em/12.1.0.2/oms/bin$ ./emctl start oms

Output:

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