Alfredo Krieg's DBA blog - Oracle ACE: Oracle Management Cloud - Managing the Oracle Cloud Agent

Saturday, April 1, 2017

Oracle Management Cloud - Managing the Oracle Cloud Agent

This post is about some useful commands to administer the OMC’s Cloud agent. The very first step is to install the OMC Cloud agent. You may refer to my previous post on how to install it here.

The omcli command is located at <AGENT_BASE_DIR>/agent_inst/bin.

I’m skipping these 3 basic commands start, stop and status.

Here we go!

-      List the targets currently managed by the Cloud agent

$ ./omcli config agent listtargets
Oracle Management Cloud Agent 
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
[hostname.localdomain:1302, Lama]
[hostname.localdomain, omc_host_linux]

-      Get the TimeZone of the server where the Cloud agent is running

$ ./omcli config agent getTZ
Oracle Management Cloud Agent 
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
US/Eastern

-      Get a detailed output of the Cloud agent scheduler

$ ./omcli status agent scheduler
Oracle Management Cloud Agent 
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Number of currently running scheduled items :: 0
Number of currently ready scheduled items :: 0
Number of scheduled items :: 57
Schedule Attempts Delay Percentage :: 0.000%
Running entries::
Ready entries::
Scheduled entries::
2017-03-31 14:32:58.968 : HeapMonitorTask
2017-03-31 22:34:14.667 : PurgeTargetEvents
2017-03-31 22:35:47.885 : PurgeADR
2017-04-01 13:34:20.810 : EventStatusPurge

---------------------------------------------------------------
Agent is Running and Ready

-      Get a summary of the Cloud agent’s scheduler

$ ./omcli status agent scheduler -summary
Oracle Management Cloud Agent 
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Number of currently running scheduled items :: 0
Number of currently ready scheduled items :: 0
Number of scheduled items :: 57
Schedule Attempts Delay Percentage :: 0.000%

---------------------------------------------------------------
Agent is Running and Ready

-      Dump the internal state of the agent [option component name]

$ ./omcli dumpstate agent
Oracle Management Cloud Agent 
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
Generated file: /u01/omc/infra/agent_inst/sysman/emd/dumps/SystemDump_1490985620656.xml

-      Dump internal information of all components of the Cloud agent

$ ./omcli dumpstate agent -dump_full_state
Oracle Management Cloud Agent 
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
Generated file: /u01/omc/infra/agent_inst/sysman/emd/dumps/SystemDump_1490985775823.xml

-      Add entities to the Cloud agent using JSON template

$ ./omcli add_entity agent /home/oracle/omc_weblogic.json
Oracle Management Cloud Agent 
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
Operation Succeeded: Accepted 2 of 2 entities for processing.

-      Delete entities from the Cloud agent using JSON template

$ ./omcli delete_entity agent /home/oracle/omc_weblogic.json
Oracle Management Cloud Agent 
Copyright (c) 1996, 2016 Oracle Corporation.  All rights reserved.
Request for removing the entities was accepted for processing.



This is just a small taste of all the options built into the Oracle’s Cloud agent.  For more information about all the options refer to Oracle’s documentation.


Thanks,

Alfredo

Labels: , , ,

42 Comments:

At November 16, 2017 at 12:12 AM , Blogger Unknown said...

It has been simply incredibly generous with you to provide openly what exactly many individuals would’ve marketed for an eBook to end up making some cash for their end, primarily given that you could have tried it in the event you wanted "Oracle Training in Bangalore"."Devops Training in Bangalore"

 
At January 29, 2018 at 2:29 AM , Blogger Unknown said...

Oracle Training in Chennai
Oracle Training Institute in Chennai

 
At September 10, 2018 at 6:11 AM , Blogger Mounika said...

After reading this web site I am very satisfied simply because this site is providing comprehensive knowledge for you to audience. Thank you to the perform as well as discuss anything incredibly important in my opinion. We loose time waiting for your next article writing in addition to I beg one to get back to pay a visit to our website in
python training in OMR
python training in Bangalore
python training in rajajinagar
Python training in btm

 
At September 18, 2018 at 1:25 AM , Blogger Unknown said...

Thank you for this post. Thats all I are able to say. You most absolutely have built this blog website into something speciel. You clearly know what you are working on, youve insured so many corners.thanks

Blueprism training in marathahalli

Blueprism training in btm

Blueprism online training

 
At September 19, 2018 at 3:08 AM , Blogger nilashri said...

Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us

Data science training in tambaram | Data Science training in anna nagar
Data Science training in chennai | Data science training in Bangalore
Data Science training in marathahalli | Data Science training in btm

 
At October 11, 2018 at 3:46 AM , Blogger prabha said...

Excellant post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.

angularjs Training in btm

angularjs Training in electronic-city

angularjs online Training

angularjs Training in marathahalli

angularjs interview questions and answers

 
At October 23, 2018 at 6:10 AM , Blogger Radha Karthi said...

I am happy to find this post very useful for me, as it contains a lot of information. I always prefer to read the quality content I found in you post. Thanks for sharing.
selenium Training in Chennai
Selenium Training Chennai
ios training institute in chennai
Digital Marketing Course in Chennai
Best DOT NET Training in Chennai 
.net training
c# training in chennai 

 
At October 29, 2018 at 1:44 AM , Blogger dwarakesh said...

When I initially commented, I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several emails with the same comment. Is there any way you can remove people from that service? Thanks.

AWS Interview Questions And Answers

AWS Training in Chennai | Best AWS Training in Chennai

AWS Training in Pune | Best Amazon Web Services Training in Pune

 
At February 25, 2019 at 6:34 AM , Blogger Jaweed Khan said...

Thank For Sharing Your Information The Information Shared Is Very Valuable Please Keep Updating Us Time Went On Just Reading The Article Python Online Course

 
At March 6, 2019 at 6:28 AM , Blogger priya said...

This is ansuperior writing service point that doesn't always sink in within the context of the classroom. In the first superior writing service paragraph you either hook the reader's interest or lose it. Of course your teacher, who's getting paid to teach you how to write an good essay, 
Microsoft Azure online training
Selenium online training
Java online training
Java Script online training
Share Point online training

 
At May 30, 2019 at 5:32 AM , Blogger Aditi Ray said...

Thank you for this sharing
check out the best Dog Cages

 
At June 24, 2019 at 1:52 AM , Blogger Ajish said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
AWS Training in Electronic City

 
At July 23, 2019 at 7:36 AM , Blogger 123456 said...

I want to know more about American eagle credit card login

 
At August 16, 2019 at 12:52 AM , Blogger ameer said...

Just saying thanks will not just be sufficient, for the fantastic lucidity in your writing. I will instantly grab your articles to get deeper into the topic. And as the same way ExcelR also helps organisations by providing digital advertising and marketing based on practical knowledge and theoretical concepts. It offers the best value in training services combined with the support of our creative staff to provide meaningful solution that suits your learning needs.

 
At August 22, 2019 at 5:49 AM , Blogger Tech News said...

nice blog
big data and hadoop training in bangalore

iot training in bangalore

 
At August 24, 2019 at 2:07 AM , Blogger Tech Guy said...

Good article.
For the best AWS training in bangalore, Visit:
AWS training in bangalore

 
At August 24, 2019 at 2:52 AM , Blogger Tech News said...

Good Article
devops training in bangalore
hadoop training in bangalore
iot training in bangalore
machine learning training in bangalore
uipath training in bangalore

 
At August 31, 2019 at 1:55 AM , Blogger ameer said...

Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article. I would like to state about something which creates curiosity in knowing more about it. It is a part of our daily routine life which we usually don`t notice in all the things which turns the dreams in to real experiences. Back from the ages, we have been growing and world is evolving at a pace lying on the shoulder of technology. digital marketing course will be a great piece added to the term technology. Cheer for more ideas & innovation which are part of evolution.

 
At September 3, 2019 at 3:25 AM , Blogger Tech News said...

Visit Here -> Big Data And Hadoop Training In Bangalore

 
At September 3, 2019 at 6:44 AM , Blogger Tech News said...

Visit here = Devops Training in Bangalore

 
At September 5, 2019 at 4:43 AM , Blogger Prwatech said...

I Got Job in my dream company with decent 12 Lacks Per Annum salary, I have learned this world most demanding course out there in the current IT Market from the data science training in pune Providers who helped me a lot to achieve my dreams comes true. Really worth trying instant approval blog commenting sites

 
At September 26, 2019 at 5:27 AM , Blogger Riya Raj said...

Great post!!! Thanks for sharing this wonderful blog with us...
SEO Training in Chennai
SEO Course in Chennai
SEO Training
seo course
SEO training in Anna nagar
SEO training in vadapalani
Android training in Chennai
Python Training in Chennai
Big data training in chennai
JAVA Training in Chennai

 
At October 22, 2019 at 5:08 AM , Blogger Adhuntt said...

Great blog thanks for sharing Take care of all your search engine optimization SEO, graphic design, logo creation, social media marketing and digital branding need at one stop - Adhuntt Media. Customer satisfaction and service is our priority - We tread that fine line between projecting your visions into tangible reality! Why wait when you can begin your digital marketing journey with us right now at Adhuntt Media
digital marketing company in chennai
seo service in chennai
web designing company in chennai
social media marketing company in chennai

 
At October 22, 2019 at 8:51 AM , Blogger Karuna said...

Nice blog thanks for sharing Let’s be practical this special day and rent plants at the best price. Karuna Nursery Gardens offers amazing plant rental services in Chennai. Exquisite deals and truckloads of variety to aim to please even the most niche of tastes in our customers.
plant nursery in chennai
rental plants in chennai
corporate gardening service in chennai

 
At December 3, 2019 at 5:46 AM , Blogger vijay said...

Great article! Thanks for taking time to share this with us.
aws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
python Training in Bangalore
aws Training in Bangalore

 
At December 18, 2019 at 5:37 AM , Blogger Durai Moorthy said...

This is an awesome blog. Really very informative and creative contents.

aws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
python Training in Bangalore
aws Training in Bangalore

 
At January 19, 2020 at 9:10 AM , Blogger hami said...

click here formore info.

 
At January 27, 2020 at 11:00 AM , Blogger Rajesh Anbu said...

Great post..Its very useful for me to understand the information..Keep on blogging..
aws Training in Bangalore
python Training in Bangalore
hadoop Training in Bangalore
angular js Training in Bangalore
bigdata analytics Training in Bangalore
python Training in Bangalore
aws Training in Bangalore

 
At February 6, 2020 at 7:32 AM , Blogger svrtechnologies said...

There are lots of information about latest technology and how to get trained in them, like sharepoint training courses have spread around the web, but this is a unique one according to me.

 
At February 24, 2020 at 1:14 AM , Blogger rama venkata said...

Nice blog!! try to explore and create an article on Digital marketing and post.
https://360digitmg.com/digital-marketing-training-in-hyderabad

 
At February 28, 2020 at 5:50 AM , Blogger tejaswini said...

Writing with style and getting good compliments on the article is quite hard, to be honest.But you've done it so calmly and with so cool feeling and you've nailed the job. This article is possessed with style and I am giving good compliment. Best!
data scientist course
data analytics courses
business analytics courses
360DigiTMG

 
At April 7, 2020 at 5:13 AM , Blogger svrtechnologies said...

microsoft azure training This is so elegant and logical and clearly explained. Brilliantly goes through what could be a complex process and makes it obvious.

 
At April 7, 2020 at 5:14 AM , Blogger svrtechnologies said...

This is so elegant and logical and clearly explained. Brilliantly goes through what could be a complex process and makes it obvious. microsoft azure training

 
At April 8, 2020 at 3:34 AM , Blogger dataexpert said...

This was really one of my favorite website. Please keep on posting. ExcelR Digital Marketing Course In Pune

 
At May 7, 2020 at 8:59 AM , Blogger Salman said...

Effective blog with a lot of information. I just Shared you the link below for Courses .They really provide good level of training and Placement,I just Had Oracle Classes in this institute,Just Check This Link You can get it more information about the Oracle course.


Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

 
At May 18, 2020 at 5:29 AM , Anonymous Anonymous said...

Informative post, i love reading such posts. Read my posts here
Is Laravel good for big projects
Teamvoodoo
Is Laravel good for big web development projects

 
At May 30, 2020 at 7:15 AM , Blogger lavanya said...

I simply wanted to thank you so much again. I am not sure the things that I might have gone through without the type of hints revealed by you regarding that situation.
Very nice blog! Software Testing Training in Chennai | Software Testing Training in Anna Nagar | Software Testing Training in OMR | Software Testing Training in Porur | Software Testing Training in Tambaram | Software Testing Training in Velachery

 
At June 28, 2020 at 6:11 AM , Blogger varsha said...

This is an awesome post.
Really very informative and creative contents. These concept is a good way to enhance the knowledge.
I like it and help me to development very well.Thank you for this brief explanation and very nice information.Well, got a good knowledge.
AWS training in chennai | AWS training in annanagar | AWS training in omr | AWS training in porur | AWS training in tambaram | AWS training in velachery


 
At July 15, 2020 at 7:20 AM , Blogger Rashika said...

This is excellent blog!!!


Digital Marketing Training in Chennai | Certification | SEO Training Course | Digital Marketing Training in Bangalore | Certification | SEO Training Course | Digital Marketing Training in Hyderabad | Certification | SEO Training Course | Digital Marketing Training in Coimbatore | Certification | SEO Training Course | Digital Marketing Online Training | Certification | SEO Online Training Course

 
At July 26, 2020 at 1:48 PM , Blogger radhika said...

Thanks for sharing such a great information..Its really nice and informative..
AWS training in Chennai

AWS Online Training in Chennai

AWS training in Bangalore

AWS training in Hyderabad

AWS training in Coimbatore

AWS training


 
At August 7, 2020 at 3:58 AM , Blogger Devi said...

Really Thanks For Posting Such a Useful and informative article. oracle training in chennai

 
At August 13, 2020 at 7:25 AM , Blogger 360digitmgdelhi said...

It took me time to read all the articles, but I enjoyed the article very much. It turned out to be very helpful to me, and I'm sure all the commentators here! It's always good not only to be educated but also to be entertained!data science course in delhi

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home