Boost PC performance: How more available memory can improve productivity
Deploy agent in em12c
1. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 1
After I post about how to install Oracle Enterprise manager (em12c) today I will talk how
to deploy em12c agent
There are two methods to do that
1) Configuring Automatic Discovery
2) Adding targets manually
I will describe the both :) each one separately.
Before deploy you need to decide if you want to use Oracle user or root user the below
steps you have to do before using oracle:
[root@em12c ~]# vi /etc/sudoers
And change and add the following lines:
Comment this line:
#Defaults requiretty
Add the below line
oracle ALL=(ALL) ALL
2. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 2
And remove ! From this line:
Defaults visiblepw
Now On em12c there’s something called privilege delegation
Privilege delegation allows a logged-in user to perform an activity with the privileges of
another user. Sudo and PowerBroker are privilege delegation tools that allow a logged-
in user to be assigned these privileges. These privilege delegation settings will be used
for all provisioning and patching activities on these hosts.
Read more here.
3. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 3
4. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 4
In the screen below add these lines:
/usr/bin/sudo -u %RUNAS% %COMMAND%
/usr/bin/sudo ---> location for sudo command.
5. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 5
After all the above steps are done let's configure Auto Discovery
Setup --> add target --> configure auto discovery the below screen will open, choose
the first option "Host and oracle vm manager Discovery using Ip scan"
6. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 6
Press create Button
On add Button new Panel Will open, Choose your Host and Choose the Range Ip for
scan The Format Mentioned above examples:
192.168.1.240-250
192.168.240/10
192.168.240,241
7. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 7
8. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 8
Now you need to configure Job Summary
9. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 9
The job will start immediately as we choose press "Refresh Ip Scan Result" to check the
result. You can check it also from here:
10. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 10
Check the Host
11. Deploy Agent In Oracle Enterprise manager 12c
Osama Mustafa - Https://osamamustafa.blogspot.com Page 11
Next Post will be How to Add Agent Manually.
Thank you
Osama Mustafa
Https://osamamustafa.blogspot.com