How Oracle Cloud Control 12c modifies the Sysman password

Source: Internet
Author: User
Tags reserved

The former has deployed Oracle Cloud Control 12c on the virtual machine, and for a few days, forget the login password. The main reason is that Oracle-related software now provide a stronger security mechanism than before. What simple "Oracle" like PWD is no longer supported. It's just a while to forget. This year, more accounts, more passwords, is not much rice, haha ... Let's talk about its solution.

First, Emctl command
Emctl command must have been seen, the DB console era is often used, and now the function is more and more powerful, the following is only a list of changes to the PWD section
Emctl config oms-change_repos_pwd [-old_pwd <old_pwd>] [-new_pwd <new_pwd>] [-use_sys_pwd [-sys_pwd <sys _pwd>]]
Note:steps in changing Enterprise Manager Root (sysman) password is:
1) Stop all the OMSS using ' Emctl Stop OMS '
2) Run ' emctl config oms-change_repos_pwd ' on one of the OMS
3a) Restart AdminServer and all the OMSS using ' emctl stop Oms-all ' and ' emctl start OMS '
3b) If BI Publisher is installed, restart the BI Publisher managed server (s) named ' bip#### '

Second, the revision procedure
Here is a brief list of the steps to be modified:
1) Stop OMS (leaving the Admin Server up)
2) Modify Sysman password
3) Stop All OMS components
4) Start OMS
5) Login to Oracle emcc-12c with the new password

Third, modify the Sysman login password
#下面是其具体演示
[Email protected] ~]$ $OMS _home/bin/emctl Stop OMS
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, Oracle Corporation. All rights reserved.
Stopping webtier ...
Webtier successfully Stopped
Stopping Oracle Management Server ...
Oracle Management Server successfully Stopped
Oracle Management Server is down

[Email protected] ~]$ $OMS _home/bin/emctl config oms-change_repos_pwd-use_sys_pwd-sys_pwd oracle-new_pwd Oracle123
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 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.

[Email protected] ~]$ $OMS _home/bin/emctl Stop Oms-all
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 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

[Email protected] ~]$ $OMS _home/bin/emctl start OMS
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, Oracle Corporation. All rights reserved.
Starting Oracle Management Server ...
>starting Webtier ...
Webtier successfully Started
Oracle Management Server successfully Started
Oracle Management Server is up

#Author: Leshami
#Blog: Http://blog.csdn.net/leshami
#再次登陆OK

iv. about cc 12c Password modification doc
12c Cloud control:how to Modify the Password for Sysman and other Enterprise Manager Users at the OMS level and Repositor Y Database? (Doc ID 1365930.1)To BottomTo Bottom
Modified:14-jan-2014type:howto
Language:

Rate this documentEmail Link to this documentOpen Document in New windowPrintable Page

In this Document
Goal
Solution
If The current Sysman password is known
If The current Sysman password is unknown

References
Applies To:

Enterprise Manager Base platform-version 12.1.0.1.0 and later
Information in this document applies to any platform.
GOAL

This article provides steps for modifying the password of Sysman and other Enterprise Manager users at the oms/wls level a nd the Repository database in a Cloud Control setup.
Simply changing the password in the repository database are not sufficient as the password are also stored in the WLS Creden Tial store. The OMS uses Sysman account to login into the repository database and if there are a mis-match in the password at the Datab ASE level and the OMS configuration, the OMS cannot start and function properly.

For steps to follow in the earlier Enterprise Manager versions, refer to:
Note 270516.1:how to change the Password of Sysman User in 10g and 11g Grid Control?

Note:

From 12c onwards, directly modifying the password for Sysman or any other repository user at the repository Database is no T recommended.
Hence, ensure that the passwords is changed only using one of the below listed methods.
Solution

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 of the OMS machines including the primary OMS machine. Do not include '-all ' as the Admin Server needs to is up during this operation.

2. Modify the Sysman password:

CD <oms_home>/bin
Emctl Config oms-change_repos_pwd

Note:

-The above command would prompt you to the current password of the Sysman user and the new password.
-The password is modified at the Repository Database as well as the WLS credential store and the monitoring Credenti ALS for the ' OMS and Repository ' target.
-Along with the Sysman password, this command would modify the password for the EM users (Sysman_mds, BIP, SYSMAN_OPSS, SY SMAN_APM, Sysman_ro) 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, 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 is up during this operation.

If the version of OMS is 12.1.0.1 and if the password have been manually changed at the Database level, apply the Patch 136 97830 to the 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 dat Abase.
-The current Sysman password isn't prompted for and only the new password needs to be entered. This would allow the reset of the old password to the new password entered.
-The password is modified at the Repository Database as well as the WLS credential store and the monitoring Credenti ALS for the ' OMS and Repository ' target.
-Along with the Sysman password, this command would modify the password for the EM users (Sysman_mds, BIP, SYSMAN_OPSS, SY SMAN_APM, Sysman_ro) 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, 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

Reference:

Oracle Enterprise Manager Cloud Control Administrator ' s Guide 12c Release 1 (12.1.0.2)

Chapter 13.8.1 Changing the Sysman and Mgmt_view passwords

Known Issues

1. problem:modifying The Sysman password fails with "Java.io.IOException":

CD <oms_home>/bin
Emctl Config oms-change_repos_pwd
Oracle Enterprise Manager Cloud Control 12c Release 12.1.0.1.0
Copyright (c) 1996, Oracle Corporation. All rights reserved.
Enter Repository User ' s current Password:
Enter Repository User ' s New Password:
Java.io.IOException
Error occurred. Check the Log
Cause:the above error occurs if the Admin server is not running when the Sysman password is being modified.
Solution:as advised in the sections above, the Admin Server needs to being up and running when the Sysman password is being Modified. So, the OMS should isn't being stopped using ' emctl stop Oms-all '.

CD <oms_home>/bin
Emctl Start OMS
Emctl Stop OMS
Emctl Config oms-change_repos_pwd
REFERENCES

Note:1511014.1-12c:after changing the Sysman password directly into the DB, OMS status shows ' Connection to the Reposit Ory failed. Verify The repository connection information provided is correct "


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.