Showing posts with label Oracle Enterprise Manager. Show all posts
Showing posts with label Oracle Enterprise Manager. Show all posts

Thursday, October 30, 2014

Oracle Enterprise Manager: Agent commands



Here is the list of Oracle Enterprise Manager (OEM) Agent basic commands -

1. Start EM agent - emctl start agent

2. Get EM agent status - emctl status agent

3. Stop EM agent - emctl stop agent

4. Find the timeout value of the EM agent - emctl status agent [TIMEOUT]

5. Upload of metrics from agent to the EM server - emctl upload agent

6. Display the status of the connection pools - emctl status agent dbconnections

7. Print the version of the EM agent - emctl getversion



Wednesday, September 24, 2014

OEM12c: Oracle Enterprise Manager - Creating a blackout



This post talks about creating a Blackout in Oracle Enterprise Manager.

We setup Enterprise Manager to monitor, notify any issues with the Database, Middleware and application stack. Enterprise manager sends alerts if it finds any issues with the systems or any thresholds being exceeded their limits.

If you need to perform a controlled activity like a restart or patch apply, then you may need to bring down the server or database. While you bring down, the EM will start bombarding with Alerts and this might cause unnecessary emails to be sent, and the important alerts might get missed.

Enterprise Manager provides an option to create a Blackout specifying the time and the targets during which no alert will be sent to the recipient

Steps to create a Blackout

1. Go to  Enterprise -> Monitoring -> Blackouts
    Click “Create” or if there is a previous one created that you want to use as template click “Create Like”
2. Provide 'Blackout Name'  (Eg. Restart OSB server). Comments and Reason are not required fields.
     Add targets (targets could be Database, Middleware, Cluster, Host servers, BI, Security suite, and other Oracle Products). Click Next button
3. Validate the Member Targets which are dependant on the 'Target' selected in the previous page.
4. Provide the schedule for the Blackout.
Blackout can be started immediately and provided with a duration.
Blackout can also be scheduled to start and end at certain times.
5. If the Blackout needs to be repeated weekly/daily, the Repeating drop down has to be selected with the appropriate option