6 Replies Latest reply: Nov 7, 2012 5:47 AM by 960240 RSS

    EM12c: Oracle Solaris Sparc Agent unabailable

    960240
      Hi everyone!

      I have this problem. I deployed EM12C on a server (Solaris x86) and I managed to deploy the agent donwloading it with EM12c into a Solaris Sparc.
      I was able to view metrics and manage the databases on Solaris Sparc server.

      Our client refused to use the Solaris x86, and now we have installed EM12C over a Windows Server. We want to reach the old Solaris Sparc Agent but we are unabailable. I have network connectivity from the W2k to the Sparc and I reach the port. The agent is started but I cant discover it again.
      $ emctl status agent
      Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
      Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
      ---------------------------------------------------------------
      Agent Version     : 12.1.0.1.0
      OMS Version       : (unknown)
      Protocol Version  : 12.1.0.1.0
      Agent Home        : /oracle/agent12c/agent_inst
      Agent Binaries    : /oracle/agent12c/core/12.1.0.1.0
      Agent Process ID  : 21824
      Parent Process ID : 21600
      Agent URL         : https://10.4.24.12:3872/emd/main/
      Repository URL    : https://server:4899/empbs/upload
      Started at        : 2012-10-31 17:15:07
      Started by user   : oracle
      Last Reload       : (none)
      Last successful upload                       : (none)
      Last attempted upload                        : (none)
      Total Megabytes of XML files uploaded so far : 0
      Number of XML files pending upload           : 4,901
      Size of XML files pending upload(MB)         : 2.35
      Available disk space on upload filesystem    : 91.61%
      Collection Status                            : [DISK_FULL]
      Last attempted heartbeat to OMS              : 2012-11-02 09:13:23
      Last successful heartbeat to OMS             : (none)
      
      ---------------------------------------------------------------
      Agent is Running and Ready
      EM12c Server hasn't got internet so I cant download the agent again an rediscover it. I've tried to download the Sparc agent and upload it into EM12c but when all of them I always get that the software is too big. And I always see the Agent Software as "Oracle Solaris Sparc Agent unabailable"!

      Any idea?

      Thanks
        • 1. Re: EM12c: Oracle Solaris Sparc Agent unabailable
          960240
          /oracle/agent12c/agent_inst/sysman/log/gcagent.log
          o.s.emSDK.agent.comm.TMCommException [OMS had an internal error "" processing agent heartbeat]
          2012-11-02 09:35:02,141 [12490:A9BADDFE:GC.Executor.11 (Job Receiver Startup Notification)] INFO - [stepId:0,seqNo:0] job receiver cannot be contacted:
          java.lang.Exception [unknown job receiver response status: <null>]
          2012-11-02 09:35:24,880 [12663:3F9A9BAC] WARN - Received response status INTERNAL_ERROR
          2012-11-02 09:35:24,882 [12663:3F9A9BAC] WARN - Ping communication error
          o.s.emSDK.agent.comm.TMCommException [OMS had an internal error "" processing agent heartbeat]
          2012-11-02 09:35:54,917 [195:EB9AE1AB] WARN - Received response status INTERNAL_ERROR
          2012-11-02 09:35:54,921 [195:EB9AE1AB] WARN - Ping communication error
          o.s.emSDK.agent.comm.TMCommException [OMS had an internal error "" processing agent heartbeat]
          2012-11-02 09:36:24,958 [195:EB9AE1AB] WARN - Received response status INTERNAL_ERROR
          2012-11-02 09:36:24,963 [195:EB9AE1AB] WARN - Ping communication error
          o.s.emSDK.agent.comm.TMCommException [OMS had an internal error "" processing agent heartbeat]
          2012-11-02 09:36:55,017 [12539:20D40630] WARN - Received response status INTERNAL_ERROR
          2012-11-02 09:36:55,020 [12539:20D40630] WARN - Ping communication error
          o.s.emSDK.agent.comm.TMCommException [OMS had an internal error "" processing agent heartbeat]
          2012-11-02 09:37:25,069 [188:B5BF5C12] WARN - Received response status INTERNAL_ERROR
          2012-11-02 09:37:25,072 [188:B5BF5C12] WARN - Ping communication error
          o.s.emSDK.agent.comm.TMCommException [OMS had an internal error "" processing agent heartbeat]
          2012-11-02 09:37:55,101 [12490:192260D1:GC.Executor.11 (Ping OMS)] WARN - Received response status INTERNAL_ERROR
          2012-11-02 09:37:55,104 [12490:192260D1] WARN - Ping communication error
          o.s.emSDK.agent.comm.TMCommException [OMS had an internal error "" processing agent heartbeat]
          • 2. Re: EM12c: Oracle Solaris Sparc Agent unabailable
            960240
            I must say now that I have to reach the agent from my EM by other network, 10.4.4.*, not the network that the status agent show. Can it be a issue?
            • 3. Re: EM12c: Oracle Solaris Sparc Agent unabailable
              MarkM
              Hi,

              If you wish to configure an existing agent with a new OMS you need to follow the steps outlined here:
              http://docs.oracle.com/cd/E24628_01/install.121/e24089/appdx_repoint_agent.htm#BABICJCE

              Also, I notice that you are on 12.1.0.1.0. EM 12c Release 2 (12.1.0.2.0) would be a better starting point.

              Regards, Mark.
              • 4. Re: EM12c: Oracle Solaris Sparc Agent unabailable
                960240
                Thanks for answering.

                I have tried to do that


                $ /oracle/agent12c/core/12.1.0.1.0/sysman/install/agentDeploy.sh AGENT_BASE_DIR=/oracle/agent12c OMS_HOST=10.4.4.200 EM_UPLOAD_PORT=4890 AGENT_INSTANCE_HOME=/oracle/agent12c/12 -configOnly

                And I receive


                ERROR: Agent Configuration Failed SEVERE: Connection details provided as OMS_HOST and EM_UPLOAD_PORT is not active


                My port configuration taken from the installation is:

                Enterprise Manager Upload HTTP Port: 4890
                Enterprise Manager Upload HTTP SSL Port: 4899
                Enterprise Manager Central Console HTTP SSL Port: 7800
                Node Manager HTTP SSL PORT: 7402
                Managed Server HTTP Port: 7202
                Enterprise Manager Central Console HTTP Port: 7789
                Oracle Managment Agent Port: 3872

                How can I confirm it?

                I think I dont reach the upload port:

                $ telnet 10.4.4.200 4890
                Trying 10.4.4.200...
                telnet: Unable to connect to remote host: Connection refused

                Edited by: 957237 on Nov 2, 2012 3:21 AM

                Edited by: 957237 on Nov 2, 2012 3:22 AM
                • 5. Re: EM12c: Oracle Solaris Sparc Agent unabailable
                  pschwart
                  - always use host names in EM, not IP addresses!
                  - check AGENT_INSTANCE_HOME. The default is <AGENT_BASE_DIR>/agent_inst which is not what you specified
                  - it looks like nothing is listening on port 4890. netstat -a|grep 4890 will confirm.
                  - check your port assignments using emctl status oms -details
                  • 6. Re: EM12c: Oracle Solaris Sparc Agent unabailable
                    960240
                    I got this message, the agent was stopped

                    /oracle/agent12c/core/12.1.0.1.0/sysman/install/agentDeploy.sh AGENT_BASE_DIR=/oracle/agent12c OMS_HOST=OMSserver EM_UPLOAD_PORT=4890 AGENT_INSTANCE_HOME=/oracle/agent12c/agent_inst -configOnly


                    ERROR: The instance directory /oracle/agent12c/agent_inst is not empty. If you want to configure the Management Agent in the same instance home, then stop the existing agent, manually delete the targets monitored by this management agent from the Cloud Control console, and then manually delete the agent instance home associated with this Management Agent. If you want to configure the agent in a different instance home, then enter a new instance home location by passing AGENT_INSTANCE_HOME argument.
                    $
                    $ pwd

                    Do I delete sysman?

                    /oracle/agent12c/agent_inst
                    $ ls
                    bin diag install sysman

                    Those are my port list in this range:

                    TCP 0.0.0.0:3389 OMSserver : 0 LISTENING
                    TCP 0.0.0.0:3872 OMSserver : 0 LISTENING
                    TCP 0.0.0.0:4889 OMSserver : 0 LISTENING
                    TCP 0.0.0.0:6701 OMSserver : 0 LISTENING


                    OMS details:

                    C:\oracle\agent\core\12.1.0.2.0>emctl status oms -details
                    Oracle Enterprise Manager Cloud Control 12c Release 2
                    Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
                    Enter Enterprise Manager Root (SYSMAN) Password :
                    Console Server Host : OMSserver
                    HTTP Console Port : 7788
                    HTTPS Console Port : 7799
                    HTTP Upload Port : 4889
                    HTTPS Upload Port : 1159
                    EM Instance Home : C:\oracle\middleware\gc_inst\em\EMGC_OMS1
                    OMS Log Directory Location : C:\oracle\middleware\gc_inst\em\EMGC_OMS1/sysman
                    g
                    OMS is not configured with SLB or virtual hostname
                    Agent Upload is locked.
                    OMS Console is locked.
                    Active CA ID: 1
                    Console URL: https://OMSservername :7799/em
                    Upload URL: https://OMSservername :1159/empbs/upload

                    WLS Domain Information
                    Domain Name : GCDomain
                    Admin Server Host: OMSserver

                    Managed Server Information
                    Managed Server Instance Name: EMGC_OMS1
                    Managed Server Instance Host: OMSserver
                    WebTier is Up
                    Oracle Management Server is Down


                    I think I'm unable to reach OMS port from the agent machine:

                    $ telnet OMSserver 4890
                    Trying OMSserver ...
                    telnet: Unable to connect to remote host: Connection refused

                    $ telnet OMSserver 4889
                    Trying OMSserver ...
                    Connected to OMSserver .
                    Escape character is '^]'.


                    C:\Users\Oracle>telnet agentserver 3872
                    Connecting To agentserver ...Could not open connection to the host, on port 3872: C
                    onnect failed


                    Thanks

                    Edited by: 957237 on Nov 7, 2012 3:46 AM