7 Replies Latest reply: Nov 4, 2013 3:22 PM by Sdhayapule-Oracle RSS

    Deploy OEM 12c Agent on AIX 6.1 failed.

    Royal

      Hi experts,

       

      I'm trying to deploying the OEM 12c Agent on customer environment, AIX 6.1, but failed.

      In log: /oracle/agenthome/core/12.1.0.3.0/cfgtoollogs/cfgfw/CfmLogger_2013-10-29_05-54-20-PM.log,

       

      Errors:

      ===========================================================================================================

      INFO: oracle.sysman.top.agent:java.net.UnknownHostException: bogon: bogon

      INFO: oracle.sysman.top.agent:  at java.net.InetAddress.getLocalHost(InetAddress.java:1532)

      INFO: oracle.sysman.top.agent:  at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.getLocalHost(AgentTargetInstaller.java:5448)

      INFO: oracle.sysman.top.agent:  at oracle.sysman.emd.targetIntg.agent.AgentTargetInstaller.printLocalHost(AgentTargetInstaller.java:5415)

      INFO: oracle.sysman.top.agent:  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      INFO: oracle.sysman.top.agent:  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

      INFO: oracle.sysman.top.agent:  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

      INFO: oracle.sysman.top.agent:  at java.lang.reflect.Method.invoke(Method.java:611)

      INFO: oracle.sysman.top.agent:  at oracle.sysman.emd.targetIntg.Util$DefaultIntegrationMethod.execute(Util.java:617)

      INFO: oracle.sysman.top.agent:  at oracle.sysman.emd.targetIntg.TargetInstaller.execute_(TargetInstaller.java:171)

      INFO: oracle.sysman.top.agent:  at oracle.sysman.emd.targetIntg.TargetInstaller.execute(TargetInstaller.java:159)

      INFO: oracle.sysman.top.agent:  at oracle.sysman.emSDK.conf.TargetInstaller.printLocalHost(TargetInstaller.java:2744)

      INFO: oracle.sysman.top.agent:  at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3895)

      INFO: oracle.sysman.top.agent:Although there was an exception it might be possible for the program to continue.

      INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3 

      INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.

      INFO: oracle.sysman.top.agent:Property 'agentTZRegion' is  missing from /oracle/agenthome/agent_inst/sysman/config/emd.properties. Updating it...

      INFO: oracle.sysman.top.agent:An agentTZregion of 'Asia/Shanghai' is installed in /oracle/agenthome/agent_inst/sysman/config/emd.properties.

      INFO: oracle.sysman.top.agent:The command: /oracle/agenthome/core/12.1.0.3.0/bin/emctl deploy agent -L -o informatica.app.minshenglife.com:4900 -N /oracle/agenthome/agent_inst ebsdbtest.minshenglife.com:3872 ebsdbtest.minshenglife.com completed with status=0

      SEVERE: oracle.sysman.top.agent:Securing of agent step will be skipped because of the following reasons:

      1. Agent Registration Password was not passed.

      2. b_secureAgent was passed as false

      3. The flag -forceConfigure was assed from agentDeploy.sh

      ===========================================================================================================

       

      Seems programs can not get LocalHost, I have check the /etc/hosts, localhost and oms server name and ip are added in.

       

      Could you please help to give some suggestions?

       

      Many Thanks,

      Royal

        • 1. Re: Deploy OEM 12c Agent on AIX 6.1 failed.
          mkathirv

          Looks like you have updated the response file (silent install method) with b_secureAgent=false and Agent Registration Password was not passed.

           

          Please follow the document and make sure that you are providing b_secureAgent=true and password for agent registration password in agent.rsp file.
          EM 12c: How to Install EM 12c Agent in Silent Mode using a Response File (Doc ID 1360083.1)
          http://docs.oracle.com/cd/E24628_01/install.121/e24089/install_agent_usng_rsp.htm#CEGGACJE

           

          HTH
          Mani

          • 2. Re: Deploy OEM 12c Agent on AIX 6.1 failed.
            Royal

            Hi Mani,

             

            Many thanks for your quick response.

             

            Is there any configuration file that I can directly set b_secureAgent=true? or does it must be set as true?

             

            following is the /etc/hosts file:

            127.0.0.1               loopback localhost      # loopback (lo0) name/address

            10.6.0.120      commserv255-1

            10.0.5.46       ebsdbtest.minshenglife.com      ebsdbtest

            10.0.22.206 informatica.app.minshenglife.com informatica


            • 3. Re: Deploy OEM 12c Agent on AIX 6.1 failed.
              mkathirv

              Yes, you need to go through the above doc guide which will ask you to create agent.rsp file where you provide all the information.
              And also I have shared the My Oracle Support document for installing 12c agent using silent method.

               

              Recommended format would be

              127.0.0.1       localhost.localdomain localhost      # loopback (lo0) name/address
              10.6.0.120      commserv255-1
              10.0.5.46       ebsdbtest.minshenglife.com      ebsdbtest
              10.0.22.206  informatica.app.minshenglife.com informatica

               

              HTH
              Mani

              • 4. Re: Deploy OEM 12c Agent on AIX 6.1 failed.
                Narendra.Gnv-Oracle

                Hi Royal

                 

                As per error message

                 

                :java.net.UnknownHostException: bogon: bogon

                 

                It looks like its not able to resolve the hostname

                 

                Verify the Hostname / IP Address resolution

                 

                ping <IP adddress of the machine>
                ping <hostname.domain of the machine>
                ping <hostname of the machine>
                nslookup <IP adddress of the machine>
                nslookup <hostname.domain of the machine>
                nslookup <hostname of the machine>

                 

                Edit the host file as suggested above and retry the  agent install

                 

                Thanks

                Narendra

                • 5. Re: Deploy OEM 12c Agent on AIX 6.1 failed.
                  Royal

                  Hi Narendra,

                   

                  Thanks for the suggestion.

                  I tried your way, and nslookup <hostname.domain of the machine> can work,

                  but nslookup <hostname of the machine> can not work.

                   

                  While do you mean that <hostname of the machine> should be configured in the DNS?

                   

                  In customer testing env. , we use /etc/hosts file, not DNS is configured.

                   

                  Please kindly clarify.

                   

                  Thanks,

                  Royal.

                  • 6. Re: Deploy OEM 12c Agent on AIX 6.1 failed.
                    mkathirv

                    Hostname should be resolvable when doing nslookup.
                    If you don't configure them in DNS then it is atleast present in /etc/hosts which you have done.

                    Please go through the document and install agent as per my update earlier.

                     

                    Regards
                    Mani

                    • 7. Re: Deploy OEM 12c Agent on AIX 6.1 failed.
                      Sdhayapule-Oracle

                      From Agent (being installed) host and OMS host, please verify the following results, it should resolve the agent hostname and IP.

                       

                      $ nslookup ebsdbtest.minshenglife.com

                      $ nslookup ebsdbtest

                      $ nslookup 10.0.5.46

                       

                      If you see the agent host is resolving, proceed with agent installation.

                       

                      Thanks

                      Sumanth