2 Replies Latest reply: Nov 19, 2012 7:18 PM by 862343 RSS

    can not connect RAC asm instance use grid control 12c

    862343
      when i configure monitor target in GC12C,1 find i can not add asm instance target, and i use scan ip in 11GR2 rac ( two nodes )
      the problem is plublic IP's 1521 port not accept connect request from remote IP

      error from gc12c
      Failed to connect to the ASM: IO Error: The Network Adapter could not establish the connection The Connect Descriptor was (DESCRIPTION=(ADDRESS_LIST = (ADDRESS=(PROTOCOL=tcp)(HOST=172.20.101.78)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=+ASM1)(INSTANCE_NAME=+ASM1)(UR=A)(SERVER=DEDICATED)))


      tcp 0 0 172.20.101.83:1521 0.0.0.0:* LISTEN 8228/tnslsnr #scan ip
      tcp 0 0 172.20.101.82:1521 0.0.0.0:* LISTEN 8183/tnslsnr #scan ip
      tcp 0 0 172.20.101.71:1521 0.0.0.0:* LISTEN 8290/tnslsnr #vip
      tcp 0 0 127.0.0.1:1521 0.0.0.0:* LISTEN 8290/tnslsnr #plublic ip


      $ srvctl config scan_listener
      SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
      SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
      SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1521

      and asm instance is not registered on scan listener

      $ lsnrctl service LISTENER_SCAN2

      LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-NOV-2012 10:29:46

      Copyright (c) 1991, 2009, Oracle. All rights reserved.

      Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))
      Services Summary...
      Service "myrac.aa.com" has 2 instance(s).
      Instance "myrac1", status READY, has 1 handler(s) for this service...
      Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
      REMOTE SERVER
      (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac1-vip.aa.com)(PORT=1521)))
      Instance "myrac2", status READY, has 1 handler(s) for this service...
      Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
      REMOTE SERVER
      (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rac2-vip.aa.com)(PORT=1521)))
      Service "myracXDB.aa.com" has 2 instance(s).
      Instance "myrac1", status READY, has 1 handler(s) for this service...
      Handler(s):
      "D000" established:0 refused:0 current:0 max:1022 state:ready
      DISPATCHER <machine: rac1, pid: 17859>
      (ADDRESS=(PROTOCOL=tcp)(HOST=rac1)(PORT=24791))
      Instance "myrac2", status READY, has 1 handler(s) for this service...
      Handler(s):
      "D000" established:0 refused:0 current:0 max:1022 state:ready
      DISPATCHER <machine: rac2, pid: 31352>
      (ADDRESS=(PROTOCOL=tcp)(HOST=rac2)(PORT=29599))
      The command completed successfully



      question is : how can i let GC12C see ASM instance on each node in cluster??

      Edited by: 859340 on 2012-11-18 下午7:17
        • 1. Re: can not connect RAC asm instance use grid control 12c
          P.Forstmann
          The ASM instances are not registered by the SCAN listener: on each cluster node you should have a local listener that has registered the local ASM instance.

          Check that:
          1. the local listener has registered the ASM instance
          2. Grid Control is using the VIP address to connect to ASM instance.
          • 2. Re: can not connect RAC asm instance use grid control 12c
            862343
            thanks for reply,i checked the local listener, it has ASM instance registered,but i installed the agent through public ip ,i can not modify the Machine name to vip in grid control ,how can i do?
            install a agent again through VIP?

            $ lsnrctl service

            LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-NOV-2012 08:11:59

            Copyright (c) 1991, 2009, Oracle. All rights reserved.

            Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
            Services Summary...
            Service "+ASM" has 1 instance(s).
            Instance "+ASM1", status READY, has 1 handler(s) for this service...
            Handler(s):
            "DEDICATED" established:0 refused:0 state:ready
            LOCAL SERVER
            Service "myrac.aa.com" has 1 instance(s).
            Instance "myrac1", status READY, has 1 handler(s) for this service...
            Handler(s):
            "DEDICATED" established:25 refused:0 state:ready
            LOCAL SERVER
            Service "myracXDB.sinopay.com" has 1 instance(s).
            Instance "myrac1", status READY, has 1 handler(s) for this service...
            Handler(s):
            "D000" established:0 refused:0 current:0 max:1022 state:ready
            DISPATCHER <machine: rac1, pid: 15081>
            (ADDRESS=(PROTOCOL=tcp)(HOST=rac1)(PORT=53355))
            The command completed successfully

            Edited by: 859340 on 2012-11-19 下午7:15

            Edited by: 859340 on 2012-11-19 下午7:16

            Edited by: 859340 on 2012-11-19 下午7:17

            Edited by: 859340 on 2012-11-19 下午7:18