Es gibt keine Fehlermeldung, es wird lediglich die emctl Befehlsreferenz (siehe unten) angezeigt, als hätte ich den Befehl syntaktisch falsch eingegeben. In dieser Befehlsreferenz taucht: exportconfig oms nicht auf. Deshalb bin ich auf die Idee gekommen, das es unter Windows nicht zur Verfügung stehen könnte.
In der eigentlichen Doku habe ich exportconfig oms auch gefunden und dort gibt es keine Infos das es unter Windows oder anderen Bedingungen nicht funktionieren könnte. Merkwürdig oder?
Übrigens, wenn ich eine statusabfrage mache emctl status agent, funktioniert diese. Es liegt also nicht generell am emctl.
D:\oracle\product\AgentHome_13c\agent_inst\bin>emctl exportconfig oms
Oracle Enterprise Manager Cloud Control 13c Release 2
Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved.
Oracle Enterprise Manager Cloud Control 13c Release 2 Agent Commands:
Lifecycle Commands Usage:
emctl start agent
Starts the agent.
emctl stop agent
Stops the agent.
Agent Operations Usage:
emctl upload agent
Request an upload of collected metric data and severity
emctl reload [agent dynamicproperties [-upload_timeout TIMEOUT] TARGETNAME:TARGE
TTYPE ...]
reload agent : reloads configuration properties of the agent
dynamicproperties : sends a request to the agent to recompute dynamic propert
ies for the specified targets
-upload_timeout TIMEOUT: (optional) if specified and value is greater than 0,
the agent will attempt to
upload the dynamic properties before the command ret
urns control.
emctl clearsudoprops
Clears public, private key pair used for trusted remote operations
emctl clear_property agent -name PROPERTY_NAME
Clears the value for the specified property in agent configuration file
emctl dumpstate agent [-dump_full_state] [COMPONENTNAME ...]
Dumps the internal state of the specified list of components.
emctl gensudoprops
Generates public, private key pair used for trusted remote operations
emctl pingOMS
Sends a ping request to the OMS
emctl stopschedule agent [-type TARGETTYPE | TARGETNAME,TARGETTYPE ] [-disable_r
esponse] [-disable_agent_schedule]
Stops data collection for a specific target instance or for all targets of a
specific type.
If no target instance is specified or no type is specified then this command
will stop
all collections for a target except for the target response and collections f
or the agent target.
-disable_response can be used to specify that collection of target response
should also be stopped.
-disable_agent_schedule can be used to specify that agent collections should
also be stopped.
emctl stop agent
This command stops the agent.
emctl startschedule agent [-type TARGETTYPE | TARGETNAME,TARGETTYPE]
Starts data collection for a specific target instance or for all targets of a
specific type.
If no target instance is specified or no type is specified then this command
will start
all the stopped collections.
emctl setproperty agent [-allow_new] -name PROPERTY_NAME -value PROPERTY_VALUE
Sets the specified property name and value in agent configuration file
-allow_new is an optional flag that inserts a new property in Agent configura
tion
-----Beitrag auf 1000 Zeichen begrenzt-------------