This discussion is archived
6 Replies Latest reply: May 22, 2013 8:12 AM by user12026758 RSS

agent 12c on AIX 6.1

user12026758 Newbie
Currently Being Moderated
Does anyone has problems with agents 12c on AIX ? I have the following case.

emctl status agent works fine and upload correctly :=) and I have targets discovered and administerd successfully by the agent.

But emctl stop agent, emctl upload agent , emctl pingOMS all say Agent is not Running

I have no specific error messages in the log files :=(

To stop the agent I have to kill the Unix processes

Regards
  • 1. Re: agent 12c on AIX 6.1
    venkata thiruveedhi Guru
    Currently Being Moderated
    Hi,

    No known scenarios for this case.

    Can you please provide the exact error when you are trying to stop the agent.

    Upload the output of the command:

    ./emctl stop agent

    If this error out, upload the agent log file.

    Best Regards,
    Venkat
  • 2. Re: agent 12c on AIX 6.1
    user12026758 Newbie
    Currently Being Moderated
    When I want to stop the agent :

    [agent12c] emctl stop agent
    Oracle Enterprise Manager Cloud Control 12c Release 2
    Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
    Agent is Not Running

    The log file :

    4522060 :: Wed May 22 09:04:59 2013::AgentLifeCycle.pm: Processing stop agent
    4522060 :: Wed May 22 09:04:59 2013::AgentLifeCycle.pm: ParentProcess id=34341118
    4522060 :: Wed May 22 09:04:59 2013::AgentStatus.pm:emdctl status agent returned 1
    4522060 :: Wed May 22 09:04:59 2013::AgentLifeCycle.pm:istatusCEMD returned 1
    4522060 :: Wed May 22 09:04:59 2013::TZ:America/Chicago EmctlLogAvailabilityMarker O
    peration=stop Diag=agent is not running
  • 3. Re: agent 12c on AIX 6.1
    venkata thiruveedhi Guru
    Currently Being Moderated
    HI,

    This output just states the agent is already stopped.

    Try starting the agent:


    ./emctl start agent

    ++ If the agent starts with out issues, then try stopping the agent again:

    ./emctl stop agent

    Upload the outputs.

    Regards,
    Venkat
  • 4. Re: agent 12c on AIX 6.1
    user12026758 Newbie
    Currently Being Moderated
    The problem is that the agent is already started , emctl status agent shows that the agent is up and uploading correctly to the oms.

    If I want to stop upload or pingOMS when the agent is up and running, it says Agent is not running :

    [agent12c]./emctl status agent
    Oracle Enterprise Manager Cloud Control 12c Release 2
    Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
    ---------------------------------------------------------------
    Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 33882194
    Parent Process ID : 27197450
    Agent URL : https://srv01.xxx.net:3872/emd/main/
    Repository URL : https://oms01.xxx.net:4904/empbs/upload
    Started at : 2013-05-22 04:18:39
    Started by user : oracle
    Last Reload : (none)
    Last successful upload : 2013-05-22 09:19:54
    Last attempted upload : 2013-05-22 09:19:54
    Total Megabytes of XML files uploaded so far : 0.64
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.50%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 09:25:04
    Last successful heartbeat to OMS : 2013-05-22 09:25:04
    Next scheduled heartbeat to OMS : 2013-05-22 09:26:05

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

    [agent12c] ./emctl stop agent
    Oracle Enterprise Manager Cloud Control 12c Release 2
    Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
    Agent is Not Running

    [agent12c] ./emctl upload agent
    Oracle Enterprise Manager Cloud Control 12c Release 2
    Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
    ---------------------------------------------------------------
    Agent is Not Running

    [agent12c] ./emctl pingOMS <
    Oracle Enterprise Manager Cloud Control 12c Release 2
    Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
    ---------------------------------------------------------------
    Agent is Not Running

    Regards
  • 5. Re: agent 12c on AIX 6.1
    user708368 Newbie
    Currently Being Moderated
    Can you upload the content of sysman/log/emdctlj.log
  • 6. Re: agent 12c on AIX 6.1
    user12026758 Newbie
    Currently Being Moderated
    Hello,

    Here's the content of emctlj.log :



    2013-05-22 02:47:44,852 [main] INFO - Exit Code: 3
    2013-05-22 02:48:06,237 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 02:48:07,380 [main] INFO - Command: status agent
    2013-05-22 02:48:07,581 [main] INFO - terminus sending message 136920888740001
    2013-05-22 02:48:08,084 [main] INFO - Disconnecting: client terminus
    2013-05-22 02:48:08,087 [main] INFO - stderr: Response From Agent: running
    2013-05-22 02:48:08,088 [main] INFO - stdout: Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 23003222
    Parent Process ID : 39256262
    Agent URL : https://srv01.net:3872/emd/main/
    Repository URL : https://oms1.net:4904/empbs/upload
    Started at : 2013-05-21 09:01:32
    Started by user : oracle
    Last Reload : (none)
    Last successfu...abytes of XML files uploaded so far : 2.3
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.58%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 02:47:45
    Last successful heartbeat to OMS : 2013-05-22 02:47:45
    Next scheduled heartbeat to OMS : 2013-05-22 02:48:46

    2013-05-22 02:48:08,089 [main] INFO - Exit Code: 3
    2013-05-22 03:03:56,600 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 03:03:57,746 [main] INFO - Command: listplugins agent
    2013-05-22 03:03:58,868 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/agentLib.jar] is loaded
    2013-05-22 03:03:58,868 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/ws_fetchlets.jar] is loaded
    2013-05-22 03:03:58,868 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/ws_fetchlets.jar] is loaded
    2013-05-22 03:03:58,868 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/gccomplianceLib.jar] is loaded
    2013-05-22 03:03:58,882 [main] INFO - Plugin oracle.sysman.db is now active
    2013-05-22 03:03:58,887 [main] INFO - Plugin oracle.sysman.oh is now active
    2013-05-22 03:03:59,051 [main] INFO - stdout: oracle.sysman.db 12.1.0.2.0 /u01/app/oracle/agent12c/core/12.1.0.2.0/../../plugins/oracle.sysman.db.agent.plugin_12.1.0.2.0
    oracle.sysman.oh 12.1.0.2.0 /u01/app/oracle/agent12c/core/12.1.0.2.0/../../plugins/oracle.sysman.oh.agent.plugin_12.1.0.2.0

    2013-05-22 03:03:59,052 [main] INFO - Exit Code: 0
    2013-05-22 03:22:20,008 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 03:22:21,166 [main] INFO - Command: agent -help
    2013-05-22 03:22:21,193 [main] INFO - stdout: Agent Operations Usage:
    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 configuration
    file if it does not exist.
    -allow_new must be the first option provided to the command
    emctl clearsudoprops
    Clears public, private key pair used for trusted remote operations
    emctl stopschedule agent TARGETNAME,TARGETTYPE
    Sto...fied properties or a category of properties from agent configuration files
    Note: -name takes a list of property names separated by spaces. Currently this command
    does not support spaces in the name.
    emctl gensudoprops
    Generates public, private key pair used for trusted remote operations
    emctl startschedule agent TARGETNAME,TARGETTYPE
    Starts data collection for target : TARGETNAME,TARGETTYPE
    emctl startschedule agent -type TARGETTYPE
    Starts data collection for all targets of type : TARGETTYPE
    2013-05-22 03:22:21,193 [main] INFO - Exit Code: 0
    2013-05-22 03:22:21,875 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:00:45,520 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:00:46,675 [main] INFO - Command: status agent
    2013-05-22 04:00:46,884 [main] INFO - terminus sending message 136921324670001
    2013-05-22 04:00:47,384 [main] INFO - Disconnecting: client terminus
    2013-05-22 04:00:47,387 [main] INFO - stderr: Response From Agent: running
    2013-05-22 04:00:47,388 [main] INFO - stdout: Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 23003222
    Parent Process ID : 39256262
    Agent URL : https://srv01.net:3872/emd/main/
    Repository URL : https://oms1.net:4904/empbs/upload
    Started at : 2013-05-21 09:01:32
    Started by user : oracle
    Last Reload : (none)
    Last successfu...bytes of XML files uploaded so far : 2.42
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.58%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 04:00:30
    Last successful heartbeat to OMS : 2013-05-22 04:00:30
    Next scheduled heartbeat to OMS : 2013-05-22 04:01:31

    2013-05-22 04:00:47,389 [main] INFO - Exit Code: 3
    2013-05-22 04:02:20,395 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:02:21,433 [main] INFO - Command: status agent
    2013-05-22 04:02:21,628 [main] INFO - terminus sending message 136921334150001
    2013-05-22 04:02:22,122 [main] INFO - Disconnecting: client terminus
    2013-05-22 04:02:22,125 [main] INFO - stderr: Response From Agent: running
    2013-05-22 04:02:22,125 [main] INFO - stdout: Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 23003222
    Parent Process ID : 39256262
    Agent URL : https://srv01.net:3872/emd/main/
    Repository URL : https://oms1.net:4904/empbs/upload
    Started at : 2013-05-21 09:01:32
    Started by user : oracle
    Last Reload : (none)
    Last successfu...bytes of XML files uploaded so far : 2.45
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.58%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 04:01:31
    Last successful heartbeat to OMS : 2013-05-22 04:01:31
    Next scheduled heartbeat to OMS : 2013-05-22 04:02:32

    2013-05-22 04:02:22,126 [main] INFO - Exit Code: 3
    2013-05-22 04:11:11,968 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:11:13,273 [main] INFO - Command: status agent
    2013-05-22 04:11:13,478 [main] INFO - terminus sending message 136921387330001
    2013-05-22 04:11:13,980 [main] INFO - Disconnecting: client terminus
    2013-05-22 04:11:13,983 [main] INFO - stderr: Response From Agent: running
    2013-05-22 04:11:13,983 [main] INFO - stdout: Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 23003222
    Parent Process ID : 39256262
    Agent URL : https://srv01.net:3872/emd/main/
    Repository URL : https://oms1.net:4904/empbs/upload
    Started at : 2013-05-21 09:01:32
    Started by user : oracle
    Last Reload : (none)
    Last successfu...bytes of XML files uploaded so far : 2.45
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.58%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 04:10:36
    Last successful heartbeat to OMS : 2013-05-22 04:10:36
    Next scheduled heartbeat to OMS : 2013-05-22 04:11:37

    2013-05-22 04:11:13,984 [main] INFO - Exit Code: 3
    2013-05-22 04:14:19,787 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:14:21,034 [main] INFO - Command: status agent
    2013-05-22 04:14:21,274 [main] INFO - terminus sending message 136921406110001
    2013-05-22 04:14:21,772 [main] INFO - Disconnecting: client terminus
    2013-05-22 04:14:21,775 [main] INFO - stderr: Response From Agent: running
    2013-05-22 04:14:21,775 [main] INFO - stdout: Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 23003222
    Parent Process ID : 39256262
    Agent URL : https://srv01.net:3872/emd/main/
    Repository URL : https://oms1.net:4904/empbs/upload
    Started at : 2013-05-21 09:01:32
    Started by user : oracle
    Last Reload : (none)
    Last successfu...bytes of XML files uploaded so far : 2.45
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.58%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 04:13:39
    Last successful heartbeat to OMS : 2013-05-22 04:13:39
    Next scheduled heartbeat to OMS : 2013-05-22 04:14:39

    2013-05-22 04:14:21,776 [main] INFO - Exit Code: 3
    2013-05-22 04:15:32,709 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:15:33,880 [main] INFO - Command: setproperty agent -name Logger.log.level -value DEBUG
    2013-05-22 04:15:33,902 [main] INFO - Connecting:https://srv01.net:3872/emd/main/
    2013-05-22 04:15:34,082 [main] INFO - terminus sending message 136921413390001
    2013-05-22 04:15:34,594 [main] INFO - terminus sending message 136921413390002
    2013-05-22 04:15:34,646 [main] INFO - Disconnecting: client terminus
    2013-05-22 04:15:34,649 [main] INFO - stdout: EMD setproperty succeeded
    2013-05-22 04:15:34,650 [main] INFO - Exit Code: 0
    2013-05-22 04:16:13,052 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:17:16,540 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:17:17,711 [main] INFO - Command: status agent
    2013-05-22 04:17:17,834 [main] INFO - unable to connect to the agent at https://srv01.net:3872/emd/lifecycle/main/ [A remote host refused an attempted connect operation.]
    2013-05-22 04:17:17,869 [main] INFO - Disconnecting: client terminus
    2013-05-22 04:17:17,869 [main] INFO - stderr: Status agent Failure:unable to connect to the agent at https://srv01.net:3872/emd/lifecycle/main/ [A remote host refused an attempted connect operation.]
    2013-05-22 04:17:17,870 [main] INFO - Exit Code: 1
    2013-05-22 04:17:38,171 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:17:39,323 [main] INFO - Command: gensudoprops
    2013-05-22 04:17:40,016 [main] INFO - stdout: EMD gensudoprops completed successfully
    2013-05-22 04:17:40,016 [main] INFO - Exit Code: 0
    2013-05-22 04:18:35,573 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:18:36,767 [main] INFO - Command: run_autotune agent
    2013-05-22 04:18:36,789 [main] INFO - Performing AutoTuning
    2013-05-22 04:18:37,667 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/agentLib.jar] is loaded
    2013-05-22 04:18:37,668 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/ws_fetchlets.jar] is loaded
    2013-05-22 04:18:37,668 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/ws_fetchlets.jar] is loaded
    2013-05-22 04:18:37,668 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/gccomplianceLib.jar] is loaded
    2013-05-22 04:18:37,733 [main] INFO - Plugin oracle.sysman.db is now active
    2013-05-22 04:18:37,739 [main] INFO - Plugin oracle.sysman.oh is now active
    2013-05-22 04:18:38,830 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 04:18:38,833 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 04:18:38,834 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 04:18:38,837 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 04:18:38,837 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 04:18:38,838 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 04:18:38,841 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 04:18:38,918 [main] INFO - Finished loading targets
    2013-05-22 04:18:39,149 [main] WARN - adding in static cost for collection
    2013-05-22 04:18:39,150 [main] WARN - adding in static cost for collection
    2013-05-22 04:18:39,150 [main] WARN - adding in static cost for collection
    2013-05-22 04:18:39,150 [main] WARN - adding in static cost for collection
    2013-05-22 04:18:39,150 [main] WARN - adding in static cost for collection
    2013-05-22 04:18:39,232 [main] WARN - No such metric ME$max_number_datafiles
    2013-05-22 04:18:39,233 [main] WARN - No such metric ME$bckp_archive_log_age
    2013-05-22 04:18:39,233 [main] WARN - No such metric ME$bckp_completed
    2013-05-22 04:18:39,233 [main] WARN - No such metric ME$df_bckp
    2013-05-22 04:18:39,234 [main] WARN - No such metric ME$df_status
    2013-05-22 04:18:39,234 [main] WARN - No such metric ME$flash_available
    2013-05-22 04:18:39,289 [main] INFO - AutoTuning done
    2013-05-22 04:18:39,290 [main] INFO - stdout: agentJavaDefines=-Xmx160M
    SchedulerRandomSpreadMins=0
    MaxThreads=10
    _SchedulePersistTimer=30
    UploadMaxNumberXML=5000
    UploadMaxBytesXML=50.0
    Auto tuning was successful
    2013-05-22 04:18:39,290 [main] INFO - Exit Code: 0
    2013-05-22 04:22:03,633 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 04:22:04,737 [main] INFO - Command: status agent
    2013-05-22 04:22:04,935 [main] INFO - terminus sending message 136921452480001
    2013-05-22 04:22:05,441 [main] INFO - Disconnecting: client terminus
    2013-05-22 04:22:05,444 [main] INFO - stderr: Response From Agent: running
    2013-05-22 04:22:05,444 [main] INFO - stdout: Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 33882194
    Parent Process ID : 27197450
    Agent URL : https://srv01.net:3872/emd/main/
    Repository URL : https://oms1.net:4904/empbs/upload
    Started at : 2013-05-22 04:18:39
    Started by user : oracle
    Last Reload : (none)
    Last successfu...bytes of XML files uploaded so far : 0.02
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.58%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 04:21:54
    Last successful heartbeat to OMS : 2013-05-22 04:21:54
    Next scheduled heartbeat to OMS : 2013-05-22 04:22:55

    2013-05-22 04:22:05,445 [main] INFO - Exit Code: 3
    2013-05-22 05:22:24,875 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 05:22:26,096 [main] INFO - Command: run_autotune agent
    2013-05-22 05:22:26,117 [main] INFO - Performing AutoTuning
    2013-05-22 05:22:26,940 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/agentLib.jar] is loaded
    2013-05-22 05:22:26,940 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/ws_fetchlets.jar] is loaded
    2013-05-22 05:22:26,940 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/ws_fetchlets.jar] is loaded
    2013-05-22 05:22:26,940 [main] INFO - Library [u01/app/oracle/agent12c/core/12.1.0.2.0/jlib/gccomplianceLib.jar] is loaded
    2013-05-22 05:22:26,966 [main] INFO - Plugin oracle.sysman.db is now active
    2013-05-22 05:22:26,970 [main] INFO - Plugin oracle.sysman.oh is now active
    2013-05-22 05:22:27,934 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 05:22:27,937 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 05:22:27,938 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 05:22:27,941 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 05:22:27,941 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 05:22:27,943 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 05:22:27,946 [main] WARN - [oracle_database] InstanceProperty (DBVersion) is marked OPTIONAL but is being used
    2013-05-22 05:22:28,019 [main] INFO - Finished loading targets
    2013-05-22 05:22:28,185 [main] WARN - adding in static cost for collection
    2013-05-22 05:22:28,186 [main] WARN - adding in static cost for collection
    2013-05-22 05:22:28,186 [main] WARN - adding in static cost for collection
    2013-05-22 05:22:28,186 [main] WARN - adding in static cost for collection
    2013-05-22 05:22:28,186 [main] WARN - adding in static cost for collection
    2013-05-22 05:22:28,186 [main] WARN - adding in static cost for collection
    2013-05-22 05:22:28,257 [main] WARN - No such metric ME$max_number_datafiles
    2013-05-22 05:22:28,261 [main] WARN - No such metric ME$bckp_archive_log_age
    2013-05-22 05:22:28,261 [main] WARN - No such metric ME$bckp_completed
    2013-05-22 05:22:28,261 [main] WARN - No such metric ME$df_bckp
    2013-05-22 05:22:28,261 [main] WARN - No such metric ME$df_status
    2013-05-22 05:22:28,262 [main] WARN - No such metric ME$flash_available
    2013-05-22 05:22:28,318 [main] INFO - AutoTuning done
    2013-05-22 05:22:28,318 [main] INFO - stdout: agentJavaDefines=-Xmx160M
    SchedulerRandomSpreadMins=0
    MaxThreads=10
    _SchedulePersistTimer=30
    UploadMaxNumberXML=5000
    UploadMaxBytesXML=50.0
    Auto tuning was successful
    2013-05-22 05:22:28,318 [main] INFO - Exit Code: 0
    2013-05-22 05:22:57,272 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 05:22:58,423 [main] INFO - Command: status agent
    2013-05-22 05:22:58,626 [main] INFO - terminus sending message 136921817840001
    2013-05-22 05:22:59,125 [main] INFO - Disconnecting: client terminus
    2013-05-22 05:22:59,128 [main] INFO - stderr: Response From Agent: running
    2013-05-22 05:22:59,128 [main] INFO - stdout: Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 33882194
    Parent Process ID : 27197450
    Agent URL : https://srv01.net:3872/emd/main/
    Repository URL : https://oms1.net:4904/empbs/upload
    Started at : 2013-05-22 04:18:39
    Started by user : oracle
    Last Reload : (none)
    Last successfu...bytes of XML files uploaded so far : 0.16
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.56%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 05:22:31
    Last successful heartbeat to OMS : 2013-05-22 05:22:31
    Next scheduled heartbeat to OMS : 2013-05-22 05:23:32

    2013-05-22 05:22:59,129 [main] INFO - Exit Code: 3
    2013-05-22 06:49:30,741 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 06:49:31,900 [main] INFO - Command: status agent
    2013-05-22 06:49:32,100 [main] INFO - terminus sending message 136922337190001
    2013-05-22 06:49:32,599 [main] INFO - Disconnecting: client terminus
    2013-05-22 06:49:32,602 [main] INFO - stderr: Response From Agent: running
    2013-05-22 06:49:32,602 [main] INFO - stdout: Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 33882194
    Parent Process ID : 27197450
    Agent URL : https://srv01.net:3872/emd/main/
    Repository URL : https://oms1.net:4904/empbs/upload
    Started at : 2013-05-22 04:18:39
    Started by user : oracle
    Last Reload : (none)
    Last successfu...bytes of XML files uploaded so far : 0.34
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.54%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 06:49:26
    Last successful heartbeat to OMS : 2013-05-22 06:49:26
    Next scheduled heartbeat to OMS : 2013-05-22 06:50:26

    2013-05-22 06:49:32,603 [main] INFO - Exit Code: 3
    2013-05-22 07:22:53,816 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 07:22:55,002 [main] INFO - Command: debug agent
    2013-05-22 07:22:55,015 [main] ERROR - Encountered "<EOF>" at line 1, column 11.
    Was expecting one of:
    "-help" ...
    "test_mbxtgtoperation" ...
    "test_collection" ...
    "refreshKeyState" ...
    "exec" ...

    2013-05-22 07:22:55,022 [main] INFO - stdout: Encountered "<EOF>" at line 1, column 11.
    Was expecting one of:
    "-help" ...
    "test_mbxtgtoperation" ...
    "test_collection" ...
    "refreshKeyState" ...
    "exec" ...

    2013-05-22 07:22:55,023 [main] INFO - Exit Code: 9
    2013-05-22 07:22:55,511 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 07:22:56,687 [main] INFO - Command: agent -help
    2013-05-22 07:22:56,715 [main] INFO - stdout: Agent Operations Usage:
    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 configuration
    file if it does not exist.
    -allow_new must be the first option provided to the command
    emctl clearsudoprops
    Clears public, private key pair used for trusted remote operations
    emctl stopschedule agent TARGETNAME,TARGETTYPE
    Sto...fied properties or a category of properties from agent configuration files
    Note: -name takes a list of property names separated by spaces. Currently this command
    does not support spaces in the name.
    emctl gensudoprops
    Generates public, private key pair used for trusted remote operations
    emctl startschedule agent TARGETNAME,TARGETTYPE
    Starts data collection for target : TARGETNAME,TARGETTYPE
    emctl startschedule agent -type TARGETTYPE
    Starts data collection for all targets of type : TARGETTYPE
    2013-05-22 07:22:56,716 [main] INFO - Exit Code: 0
    2013-05-22 07:22:57,194 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 07:22:58,398 [main] INFO - Command: status agent -help
    2013-05-22 07:22:58,427 [main] INFO - stdout: Agent Status Commands Usage:
    emctl status agent oci
    Displays status of connection pool
    Note: This command is deprecated. Use: emctl status agent dbconnections
    emctl status agent mcache TARGET_NAME,TARGET_TYPE[,COLLECTION_ITEM]
    Displays status of metric cache
    emctl status agent scheduler [-summary]
    Displays status of the agent's scheduler
    emctl status agent verify
    Verifies that the ssl handshake succeeds with the agent key.
    emctl status agent jobs
    Displays status of job commands currently being executed
    emctl status agent target TARGET_NAME,TARGET_TYPE
    Displays severity state for the target
    emctl status agent cpu [-depth n | -full_cpu_report ]
    Displays task cpu statistics.
    -depth n : report on the top N tasks
    -full_cpu_report : reports on all the tasks.
    emctl status agent dbconnections
    Displays status of connection pool
    emdctl status url URL ...
    This command performs an HTTP GET on the specified list of urls
    2013-05-22 07:22:58,428 [main] INFO - Exit Code: 0
    2013-05-22 07:22:58,965 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 07:23:00,225 [main] INFO - Command: blackout -help
    2013-05-22 07:23:00,254 [main] INFO - stdout: Blackout Operations Usage:
    emctl status blackout [TARGETNAME[:TARGETTYPE]]...
    Returns the status of blackouts for a specific set of targets or the local host if no targets are specified.
    emctl updateblkoutts OLD_TIMEZONE NEW_TIMEZONE
    Updates the timestamps in agent blackouts.xml when the timezone region is changed
    emctl stop blackout BLACKOUTNAME [-nowait]
    Stops a blackout
    -nowait switch bypasses the synchronization mechanism for blackouts
    emctl start blackout BLACKOUTNAME [-nodeLevel] [TARGETNAME[:TARGETTYPE]]... [-d DURATION] [-allow_jobs] [-nowait]
    Starts a blackout of the specified target
    TARGETNAME:TARGETTYPE defaults to the local node 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
    -nowait switch bypasses the synchronization mechanism for blackouts
    2013-05-22 07:23:00,255 [main] INFO - Exit Code: 0
    2013-05-22 09:25:30,851 [main] INFO - EmdCtl Timezone = America/Chicago
    2013-05-22 09:25:33,242 [main] INFO - Command: status agent
    2013-05-22 09:25:33,706 [main] INFO - terminus sending message 136923273340001
    2013-05-22 09:25:34,506 [main] INFO - Disconnecting: client terminus
    2013-05-22 09:25:34,509 [main] INFO - stderr: Response From Agent: running
    2013-05-22 09:25:34,510 [main] INFO - stdout: Agent Version : 12.1.0.2.0
    OMS Version : 12.1.0.2.0
    Protocol Version : 12.1.0.1.0
    Agent Home : /u01/app/oracle/agent12c
    Agent Binaries : /u01/app/oracle/agent12c/core/12.1.0.2.0
    Agent Process ID : 33882194
    Parent Process ID : 27197450
    Agent URL : https://srv01.net:3872/emd/main/
    Repository URL : https://oms1.net:4904/empbs/upload
    Started at : 2013-05-22 04:18:39
    Started by user : oracle
    Last Reload : (none)
    Last successfu...bytes of XML files uploaded so far : 0.64
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0
    Available disk space on upload filesystem : 43.50%
    Collection Status : Collections enabled
    Heartbeat Status : Ok
    Last attempted heartbeat to OMS : 2013-05-22 09:25:04
    Last successful heartbeat to OMS : 2013-05-22 09:25:04
    Next scheduled heartbeat to OMS : 2013-05-22 09:26:05

    2013-05-22 09:25:34,511 [main] INFO - Exit Code: 3

    Regards

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points