After I post about how to install Oracle Enterprise manager ( em12c ) today i will talk how to deploy em12c agent
there’s two method 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 :
add the below line
oracle ALL=(ALL) ALL
and remove ! from this line :
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.
in the screen below add these lines :
/usr/bin/sudo -u %RUNAS% %COMMAND%
/usr/bin/sudo —> location for sudo command.
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”
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 :
Now you need to configure Job Summary
the job will start immeditaly as we choose press “Refresh Ip Scan Result” to check The result. you can check it also from here :
Check the Host
Next Post will be How to Add Agent Manually .
You can Download this Article From here.