I know, I know… Just answering questions that I keep receiving from folks repeatedly, so if you know this one, love ya, if you need this answer, here it is! 🙂
To secure/unsecure or to resyncronize an agent, you need the agent registration password. This would have been created when you performed the installation and configuration of the Enterprise Manager 12c. If you didn’t perform the installation or you’ve just started to support it, you are most likely scratching your head and asking where could so and so have put that password?!?!?
No fear- you can add one to be used and used immediately.
Log into your EM12c Console and then click on Setup…
Once you click on Registration Passwords, you’ll be taken to the Registration Management page:
You will notice that the Agent Registration Password that was created at the time of the install will show. You have two choices-
1. Edit the existing one or
2. Create a new one using the Add Registration Password button at the upper right:
The reasons for not editing an existing one?
1. Other administrators may be using it and just haven’t shared the information with you.
2. I have never removed one and not sure if it would lend to some agents being blocked and require a resync. In a large environment, not sure I even want to take the chance, (will test on one of my own VM’s at a future date, promise!)
Needless to say, I commonly just add a new one, so click on the “Add Registration Password”
Add in the information regarding your new password. Now, if you enter in the same password as the default Agent Registration Password? EM12c recognizes this and will NOT add the new one… 🙂
Click on OK. You will now see the new Agent Registration Password, which can be used in securing an agent, etc.
>emctl secure agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Agent is already stopped… Done.
Securing agent… Started.
Enter Agent Registration Password : <Enter Your New Agent Registration Password Here>
EMD gensudoprops completed successfully
Securing agent… Successful.