Home » RDBMS Server » Enterprise Manager » emctl agent (Oracle 11.2.0.3.0, Linux 5)
emctl agent [message #578050] Sat, 23 February 2013 11:39 Go to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Hi,

Is there a way to restart emctl agent12 ? if yes, could you provide me the steps/command ?

Regards,
Jack
Re: emctl agent [message #578052 is a reply to message #578050] Sat, 23 February 2013 12:39 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
What does the documentation say?
By the way, it is the same command than in your previous OEM topic.
Are you too lazy to even read what you posted?

Regards
Michel
Re: emctl agent [message #578055 is a reply to message #578052] Sat, 23 February 2013 13:45 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Michel,

Not lazy and all.. not sure which steps to follow, so what clarifying with you.

Quote:
By the way, it is the same command than in your previous OEM topic.

you mean... emctl stop agent and then emctl start agent - is this the way we can restart emctl agent ?
or you mean something else like emctl reload agent ??

Can you clarify my doubts since i want to do it in Production DB.

Regards,
Jack
Re: emctl agent [message #578056 is a reply to message #578055] Sat, 23 February 2013 14:11 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
Oracle Enterprise Manager 11g Database Control Release 11.2.0.2.0 
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
   Oracle Enterprise Manager 10g Database Control commands:
        emctl start | stop dbconsole
        emctl status | secure | setpasswd dbconsole
        emctl config dbconsole -heap_size <size_value> -max_perm_size <size_value>
       emctl status agent
       emctl status agent -secure [-omsurl <http://<oms-hostname>:<oms-unsecure-port>/em/*>]
       emctl getversion
       emctl reload | upload | clearstate | getversion agent
       emctl reload agent dynamicproperties [<Target_name>:<Target_Type>]....
       emctl config agent <options>
       emctl config agent updateTZ
       emctl config agent getTZ
       emctl resetTZ agent
       emctl config agent credentials [<Target_name>[:<Target_Type>]]
       emctl gensudoprops
       emctl clearsudoprops
 Blackout Usage : 
       emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_Type>]].... [-d <Duration>]
       emctl stop blackout <Blackoutname>
       emctl status blackout [<Target_name>[:<Target_Type>]]....

The following are valid options for blackouts
<Target_name:Target_type> defaults to local node target if not specified.
If -nodeLevel is specified after <Blackoutname>,the blackout will be applied to all targets and any target list that follows will be ignored.
 Duration is specified in [days] hh:mm

        emctl getemhome
        emctl ilint
Em Key Commands Usage : 
emctl config emkey -emkeyfile <emkey.ora path> [-force] [-sysman_pwd <sysman password>]
emctl config emkey -emkey [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>]
emctl config emkey -repos [-emkeyfile <emkey.ora path>] [-force] [-sysman_pwd <sysman password>]
emctl config emkey -remove_from_repos [-sysman_pwd <sysman password>]
emctl config emkey -copy_to_repos [-sysman_pwd <sysman password>]
emctl status emkey [-sysman_pwd <sysman password>]

Secure DBConsole Usage : 
emctl secure dbconsole -sysman_pwd <sysman password> [-passwd_file <abs file loc>]
        [-host <slb hostname>] [-sid <service name>] [-reset] [-secure_port <secure_port>]
        [-cipher_suites <comma_separated_list_of_suites>]
        [-root_dc <root_dc>] [-root_country <root_country>] [-root_state <root_state>] [-root_loc <root_loc>]
        [-root_org <root_org>] [-root_unit <root_unit>] [-root_email <root_email>]
        [-wallet <wallet loc>] [-wallet_pwd <wallet pwd>] [-trust_certs_loc <certs loc>]
emctl secure status dbconsole
 Register Targettype Usage : 
emctl register oms targettype [-o <Output filename>] <XML filename> <rep user> <rep passwd> <rep host> <rep port> <rep sid> OR 
emctl register oms targettype [-o <Output filename>] <XML filename> <rep user> <rep passwd> <rep connect descriptor> 

[oracle@localhost ~]$ 




EM is NOT required to exist or operate & has NO direct impact on any Oracle DB.
Re: emctl agent [message #578057 is a reply to message #578056] Sat, 23 February 2013 14:29 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Thank you swan.When i am asked to restart agent 12c can we issue the following command ?

emctl reload agent

Could you calrify ?

Thank you
Re: emctl agent [message #578058 is a reply to message #578057] Sat, 23 February 2013 14:34 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
This is explained in the documentation.

Regards
Michel
Re: emctl agent [message #578059 is a reply to message #578058] Sat, 23 February 2013 15:01 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
Michel,

This question is for Swan, so would you mind allowing him to answer or forward me the link
which i am looking for.I want the answer anyway.

[Updated on: Sat, 23 February 2013 15:03]

Report message to a moderator

Re: emctl agent [message #578066 is a reply to message #578059] Sun, 24 February 2013 01:15 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Would you mind to read the documentation as we too often asked you to do so.

Quote:
I want the answer anyway.


We owe you nothing.
You owe us to make search before posting and follow the guide as a mark of respect.
We are not at your service.

Regards
Michel
Re: emctl agent [message #578068 is a reply to message #578050] Sun, 24 February 2013 01:56 Go to previous messageGo to next message
John Watson
Messages: 8960
Registered: January 2010
Location: Global Village
Senior Member
Jack, you seem to have missed the point, as you did in your previous topic. I'll try again. There will usually be several copies of the emctl utility, each in a different home, each with different syntax and capabilities. BS has shown the emctl in the database home: it is used to control the dbconsole. Connect to the OMS home, and you will have access to an emctl that can manage the OMS. Connect to the agent home, and you have the emctl used to manage the agent. I hope I have managed to help this time.
Re: emctl agent [message #578488 is a reply to message #578068] Thu, 28 February 2013 12:46 Go to previous messageGo to next message
Jack14
Messages: 497
Registered: December 2011
Location: INDIA
Senior Member
John,

Thanks for your answer.

Michel,

I have respect to you and other seniors in this forums.But when i am looking for the answers
and someone is helping me you are refering me to look at document.So only talked like that... Sad

Sorry if it hurts you

Regards,
Re: emctl agent [message #579837 is a reply to message #578050] Fri, 15 March 2013 23:30 Go to previous messageGo to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member
OP
Never mind mike is the documentation guy in oracle and at times helpful too
Re: emctl agent [message #579853 is a reply to message #579837] Sat, 16 March 2013 01:41 Go to previous message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Don't worry Jack knows me I already answered almost all his topics.

Regards
Michel
Previous Topic: Enterprise manager is not working
Next Topic: problem in log into the EM Console
Goto Forum:
  


Current Time: Fri Nov 22 16:06:28 CST 2024