In this demo I show you how to create node level blackout from Enterprise Manager 12c or from command line.
You can create node level blackouts for one node or for many nodes at a time.
In this demo I will be adding memory to my vbox machine and I do not want o get alerts from Enterprise Manager 12c.
Create Node Level Blackout from Target
1. Log into OEM
2. Go to the host target homepage.
3. Click Host>Control>Create Blackout
4. Give the blackout a name or leave the default. Add comments and select a reason if needed. Un-check the box to not allow jobs to run during the blackout. Click Next
5. You can see that all targets on the host will be blacked out. Click Next
6. You can set the blackout to start immediate or at a later date and time. You can set the blackout duration to indefinite, a certain length or to an until date and time. You can also set the blackout to repeat. Click Next
I set the blackout to start immediately and the duration to indefinite.
7. Review the blackout configuration and click Finish.
8. You will see a message that states the blackout has started. Now in the search box type the host that you just created the blackout and click the arrow.
9. We can now see that all targets that are part of the host show a status of blackout.
10. I will now shutdown my server.
11. We can see that the targets are in blackout and no new alerts have come in for availability.
12. I add new memory to my server.
13. The server has been restart and all targets on my host have been restarted.
Remove Blackout
14. Back in OEM select the host which we blacked out.15. Click Host>Control>End Blackout
16. Click Yes
17. You will see a message that states the blackout was successfully ended. Type the host into the search box and click the arrow.
18. You will see the targets in a pending state.
19. If you wait a few minutes and click refresh you will then see the target status to online.
Create Blackouts for More Then One Target
1. Log into OEM
2. Click Enterprise>Monitoring>Blackouts
2. Click Enterprise>Monitoring>Blackouts
3. Click Create
4. Give the blackout a name or leave the default. Add comments and select a reason if needed. Un-check the box to not allow jobs to run during the blackout. Click Add
5. Set the target type to host and search for your targets. Select the targets that need to be in this blackout operation. Click Select
6. All the targets on the host will be part of the blackout click Next
7. You can set the blackout to start immediate or at a later date and time. You can set the blackout duration to indefinite, a certain length or to an until date and time. You can also set the blackout to repeat. Click Next
I set the blackout to start immediately and the duration to indefinite.
8. Review the blackout and click Finish
9. You will see a message that confirms the blackout has been started.
Remove Blackout
10. Search for a host that is the parent of the blackout. Select one of the targets in the blackout and click Stop.11. You will see all targets in the blackout that will be stopped. Click Yes
12. You will see a message that states the request to stop the blackout. The status for the blackout will show stop pending. If you wait a few minutes and then click refresh the status will change to stopped.
Command Line
You can also create node level blackout from the server$cd $AGENT_HOME/bin
$./emctl start blackout `hostname` -nodelevel
Follow me on Twitter
My webpages
http://db12c.blogspot.com/
http://cloudcontrol12c.blogspot.com/
Good Learning for Me today .. Great Stuff...
ReplyDeleteMany Thx
Seshadri
Great Article. Thank you for sharing! Really an awesome post for every one.
ReplyDeleteAn Overview of Mobile Cloud Computing for Pervasive Healthcare Project For CSE
Analysing Cloud QoS Prediction Approaches and Its Control Parameters Considering Overall Accuracy and Freshness of a Data set Project For CSE
Efficient CCA2 Secure Flexible and Publicly Verifiable Fine Grained Access Control in Fog Computing Project For CSE
Enhancing Service Composition by Discovering Cloud Services Community Project For CSE