Goldengate ports

Hi,
I am newbie in goldengate stuff. So I would appreciate any help.  I want to build active-active GG on my personal laptop for practice purposes. I have Windows 8 and downloaded GG for 11g. It worked when I tried to perform initial load with generating files to replicat. But it didnt work when I tried to create just simple extract and pump on source and replicat on target. Seems like extract doesnt want to send information from table to the trail file.
I thought that maybe problem is in manager's port.  In documentation says that preferable port for manager should be 7809. But I have two databases on one laptop so I cant use 7809 twice. That's why for source I chose port 1000 and for target - 1001.
Can you help,please? Where is problem?
Thank you.
Best regards,
Vik

Hi Parth272025,
sorry I was a little bit unclear.  Let me explain. I have a couple ideas which I would like to test before bringing to any our environments. I have two databases 11.2.0.1, which are running on Windows 8 (64 bit) platform.
First of all I tried to perform initial load. I chose "File to replicat" method. Data were sent to the files and successfully applied on the target database.
Then I tried to start building replication configuration. And on the first step I noticed that data is not replicated. I didn't do nothing complicated, just included first table into the extract, pump and replicat parameter files.
That's a problem. I dont see any specific messages in the ggserr.log. And according to the report file data was not extracted. I dont understand why.
My extract file:
extract gge
userid golden,password check
discardfile C:\app\Viktor\kosta\dirrpt\ge.dsc, purge
exttrail C:\app\Viktor\kosta\dirdat\ge
table GGTEST.ACCOUNT;
My pump file:
extract ggp
userid golden,password check
PASSTHRU
RMTHOST localhost, MGRPORT 7810, COMPRESS
RMTTRAIL C:\app\Viktor\tata\dirdat\gr
table GGTEST.ACCOUNT;
My replicat file:
REPLICAT gr
HANDLECOLLISIONS
userid golden,password check
ASSUMETARGETDEFS
map GGTEST.ACCOUNT , target GGREP.ACCOUNT;
Part of the extract report:
2014-02-01 09:47:02  INFO    OGG-01635  BOUNDED RECOVERY: reset to initial or altered checkpoint.
2014-02-01 09:47:03  INFO    OGG-01815  Virtual Memory Facilities for: BR
    anon alloc: MapViewOfFile  anon free: UnmapViewOfFile
    file alloc: MapViewOfFile  file free: UnmapViewOfFile
    target directories:
    C:\app\Viktor\kosta\BR\GGE.
Bounded Recovery Parameter:
Options    = BRRESET
BRINTERVAL = 4HOURS
BRDIR      = C:\app\Viktor\kosta
2014-02-01 09:47:03  INFO    OGG-01815  Virtual Memory Facilities for: COM
    anon alloc: MapViewOfFile  anon free: UnmapViewOfFile
    file alloc: MapViewOfFile  file free: UnmapViewOfFile
    target directories:
    C:\app\Viktor\kosta\dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE:                                8G
CACHEPAGEOUTSIZE (normal):                8M
PROCESS VM AVAIL FROM OS (min):       15.38G
CACHESIZEMAX (strict force to disk):     12G
2014-02-01 09:47:04  WARNING OGG-01842  CACHESIZE PER DYNAMIC DETERMINATION (8G) LESS THAN RECOMMENDED: 64G (64bit system)
vm found: 15.38G
Check swap space. Recommended swap/extract: 128G (64bit system).
Database Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Database Language and Character Set:
NLS_LANG         = ".WE8MSWIN1252"
NLS_LANGUAGE     = "AMERICAN"
NLS_TERRITORY    = "AMERICA"
NLS_CHARACTERSET = "WE8MSWIN1252"
2014-02-01 09:47:04  WARNING OGG-01423  No valid default archive log destination directory found for thread 1.
2014-02-01 09:47:04  INFO    OGG-01515  Positioning to begin time Feb 1, 2014 9:27:17 AM.
2014-02-01 09:47:04  INFO    OGG-01052  No recovery is required for target file C:\app\Viktor\kosta\dirdat\ge000000, at RBA 0 (file not opened).
2014-02-01 09:47:04  INFO    OGG-01478  Output file C:\app\Viktor\kosta\dirdat\ge is using format RELEASE 11.2.
**                     Run Time Messages                             **
2014-02-01 09:47:04  INFO    OGG-01515  Positioning to begin time Feb 1, 2014 9:27:17 AM.
2014-02-01 09:47:04  INFO    OGG-01516  Positioned to Sequence 53, RBA 4280336, SCN 0.0, Feb 1, 2014 9:27:17 AM.
2014-02-01 09:47:04  INFO    OGG-01517  Position of first record processed Sequence 53, RBA 4280336, SCN 0.1887742, Feb 1, 2014 9:27:18 AM.
2014-02-01 09:59:36  INFO    OGG-01021  Command received from GGSCI: STOP.
*                   ** Run Time Statistics **                         *
Report at 2014-02-01 09:59:36 (activity since 2014-02-01 09:47:02)
Output to C:\app\Viktor\kosta\dirdat\ge:
No records extracted.
REDO Log Statistics
  Read ahead buffers              3
  Read ahead buffer size    1024000
  Read ahead for current log     on
  Bytes read              751616000
  Bytes read ahead        750592000
  Bytes unused             80896000
  Bytes parsed            670723584
  Bytes output                    0
                                 -- Write Operations ------------------  -- Read Operations -------------------
Queue Name                 Size         Count       Waited     Signaled         Count       Waited     Signaled
AsyncReader 1 Buffers         4           736            0            0           734            1            1
AsyncReader 1 Results         8          1386            0            0          1385          656          658
CACHE OBJECT MANAGER statistics
CACHE MANAGER VM USAGE
vm current     =      0    vm anon queues =      0
vm anon in use =      0    vm file        =      0
vm used max    =      0    ==> CACHE BALANCED
CACHE CONFIGURATION
cache size       =   8G   cache force paging =  12G
buffer min       =  64K   buffer highwater   =   8M
pageout eligible size =   8M
================================================================================
RUNTIME STATS FOR SUPERPOOL
CACHE Transaction Stats
trans active   =      0    max concurrent =      4
non-zero total =      0    trans total    =    355
CACHE File Caching
disk current   =      0    disk total  =      0
disk caching   =      0    file cached =      0
file retrieves =      0
CACHE MANAGEMENT
buffer links  =      0   anon gets   =      0
forced unmaps =      0   cnnbl try   =      0
cached out    =      0   force out   =      0
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
Cached Transaction Size Distribution
    0:      355
< 4K:        0
   4K:        0         0     |  16K:        0         0
  64K:        0         0     | 256K:        0         0
   1M:        0         0     |   4M:        0         0
  16M:        0         0     |  64M:        0         0
256M:        0         0     |   1G:        0         0
   4G:        0         0     |  16G:        0         0
  64G:        0         0     | 256G:        0         0
   1T:        0         0     |   4T:        0         0
  16T:        0         0     |  64T:        0         0
256T:        0         0     |1024T:        0         0
================================================================================
CUMULATIVE STATS FOR SUPERPOOL
CACHE Transaction Stats
trans active   =      0    max concurrent =      0
non-zero total =      0    trans total    =      0
CACHE File Caching
disk current   =      0    disk total  =      0
disk caching   =      0    file cached =      0
file retrieves =      0
CACHE MANAGEMENT
buffer links  =      0   anon gets   =      0
forced unmaps =      0   cnnbl try   =      0
cached out    =      0   force out   =      0
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
Cached Transaction Size Distribution
    0:        0
< 4K:        0
   4K:        0         0     |  16K:        0         0
  64K:        0         0     | 256K:        0         0
   1M:        0         0     |   4M:        0         0
  16M:        0         0     |  64M:        0         0
256M:        0         0     |   1G:        0         0
   4G:        0         0     |  16G:        0         0
  64G:        0         0     | 256G:        0         0
   1T:        0         0     |   4T:        0         0
  16T:        0         0     |  64T:        0         0
256T:        0         0     |1024T:        0         0
QUEUE Statistics:
num queues    =     15     default index =      0
cur len       =      0     max len       =      0
q vm current  =      0     vm max        =      0
q hits        =      0     q misses      =      0
queue size  q hits  curlen  maxlen     cannibalized
  0   64K      0       0       0       0
  1  128K      0       0       0       0
  2  256K      0       0       0       0
  3  512K      0       0       0       0
  4    1M      0       0       0       0
  5    2M      0       0       0       0
  6    4M      0       0       0       0
  7    8M      0       0       0       0
  8   16M      0       0       0       0
  9   32M      0       0       0       0
10   64M      0       0       0       0
11  128M      0       0       0       0
12  256M      0       0       0       0
13  512M      0       0       0       0
14    1G      0       0       0       0
================================================================================
RUNTIME STATS FOR CACHE POOL #0
POOL INFO   group: GGE  id: p7200_extr  instance: 1  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     4
trans total   =     355   (355 )
flag          = 0x00000075
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
CUMULATIVE STATS FOR CACHE POOL #0
POOL INFO   group: GGE  id: p7200_extr  instance: 1  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000075
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
RUNTIME STATS FOR CACHE POOL #1
POOL INFO   group: GGE  id: p7200_ORA-LOB-MEMPOOL  instance: 0  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000079
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
CUMULATIVE STATS FOR CACHE POOL #1
POOL INFO   group: GGE  id: p7200_ORA-LOB-MEMPOOL  instance: 0  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000079
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
RUNTIME STATS FOR CACHE POOL #2
POOL INFO   group: GGE  id: p7200_BLOB  instance: 0  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000030
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
CUMULATIVE STATS FOR CACHE POOL #2
POOL INFO   group: GGE  id: p7200_BLOB  instance: 0  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000030
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
QUEUE Statistics:
num queues    =     15     default index =      0
cur len       =      0     max len       =      0
q vm current  =      0     vm max        =      0
q hits        =      0     q misses      =      0
queue size  q hits  curlen  maxlen     cannibalized
  0   64K      0       0       0       0
  1  128K      0       0       0       0
  2  256K      0       0       0       0
  3  512K      0       0       0       0
  4    1M      0       0       0       0
  5    2M      0       0       0       0
  6    4M      0       0       0       0
  7    8M      0       0       0       0
  8   16M      0       0       0       0
  9   32M      0       0       0       0
10   64M      0       0       0       0
11  128M      0       0       0       0
12  256M      0       0       0       0
13  512M      0       0       0       0
14    1G      0       0       0       0
================================================================================
RUNTIME STATS FOR CACHE POOL #0
POOL INFO   group: GGE  id: p7200_extr  instance: 1  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     4
trans total   =     355   (355 )
flag          = 0x00000075
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
CUMULATIVE STATS FOR CACHE POOL #0
POOL INFO   group: GGE  id: p7200_extr  instance: 1  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000075
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
RUNTIME STATS FOR CACHE POOL #1
POOL INFO   group: GGE  id: p7200_ORA-LOB-MEMPOOL  instance: 0  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000079
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
CUMULATIVE STATS FOR CACHE POOL #1
POOL INFO   group: GGE  id: p7200_ORA-LOB-MEMPOOL  instance: 0  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000079
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
RUNTIME STATS FOR CACHE POOL #2
POOL INFO   group: GGE  id: p7200_BLOB  instance: 0  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000030
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
================================================================================
CUMULATIVE STATS FOR CACHE POOL #2
POOL INFO   group: GGE  id: p7200_BLOB  instance: 0  tid: 0000000000000000
trans active  =       0   trans concurrent (max) =     0
trans total   =       0   (0 )
flag          = 0x00000030
last error    = (0=<none>)
Allocation Request Distribution
< 128B:       0
128B:        0         0     | 512B:        0         0
   2K:        0         0     |   8K:        0         0
  32K:        0         0     | 128K:        0         0
512K:        0         0     |   2M:        0         0
   8M:        0         0     |  32M:        0         0
128M:        0         0     | 512M:        0         0
   2G:        0         0     |   8G:        0
Best regards,
Vik

Similar Messages

  • Ports required for Goldengate Setup 7809......

    hi,
    i am using default port 7809 on my server.we have also firewall. we have just open only one port.i.e 7809 Telnet srev2 7809... connected
    but problem in data pump process, can't be establish the Network connection with remote server.
    So is there any other ports that should be open on Source & Target server as well.
    Regards,
    AMSII

    1.Paste your source and target mgr.prm and data pump paramater files entries.
    2. What is the exact error message in report file?
    3. Did you open port for source system as well as target systems?
    for more details ,
    Assigning Manager a port for local communication
    The Manager process in each Oracle GoldenGate installation requires a dedicated port for communication between itself and other local Oracle GoldenGate processes. To specify this
    port, use the PORT parameter in the Manager parameter file. Follow these guidelines:
    1. The default port number for Manager is 7809. You must specify either the default port number (recommended, if available) or a different one of your choice.
    2. The port must be unreserved and unrestricted.
    3. Each Manager instance on a system must use a different port number.
    Use the DYNAMICPORTLIST parameter to specify a list of available ports to which the following,
    local Oracle GoldenGate processes can bind for communication with a remote Oracle GoldenGate process:
    ● Collector: to communicate with a remote Extract to receive incoming data.
    ● Replicat: to communicate with a remote Extract to receive data during an initial load task.
    ● Passive Extract: to communicate with a remote Collector
    ● GGSCI: to issue remote commands
    Hopefully this will help you
    Annamalai.

  • Manager's port not reachable

    Golden Gate version: 11.2.1.0.3
    DB version : 11.2.0.3
    Platform : Solaris 10
    I am trying to setup Golden Gate on Solaris. I have two solaris 10 Virtual Machines created using Virtual Box.
    On the source machine , I started the MANAGER process on port 3125.
    $ cat mgr.prm
    port 3125
    dynamicportlist 8001, 8002, 9500-9520
    purgeoldextracts /u01/GG/11.2.1.0.3/dirdat/*, usecheckpoints
    $
    $
    $
    $ pwd
    /u01/GG/11.2.1.0.3/dirprm
    $ cd ..
    $
    $
    $ ./ggsci
    Oracle GoldenGate Command Interpreter for Oracle
    Version 11.2.1.0.3 14400833 OGGCORE_11.2.1.0.3_PLATFORMS_120823.1258
    Solaris, x64, 64bit (optimized), Oracle 11g on Aug 23 2012 16:42:37
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
    GGSCI (tigris178) 1> start mgr
    Manager started.
    GGSCI (tigris178) 2> info mgr
    Manager is running (IP port tigris178.3125).
    GGSCI (tigris178) 3> shell cat /u01/GG/11.2.1.0.3/dirpcs/MGR.pcm
    PROGRAM MGR     PROCESSID       MGR     PORT    tigris178.3125  PID     943From target machine, when I try telnet command to check if the port is open, it throws error. ping works fine though
    $ telnet 192.168.0.178 3125
    Trying 192.168.0.178...
    Connected to 192.168.0.178.
    Escape character is '^]'.
    Connection to 192.168.0.178 closed by foreign host.
    # ping 192.168.0.178
    192.168.0.178 is alive
    The netstat output from 192.168.0.178 shows TIME_WAIT
    # netstat -an | grep 3125
          *.3125               *.*                0      0 49152      0 LISTEN
    192.168.0.178.3125   192.168.0.179.33603  49640      0 49640      0 TIME_WAIT
          *.3125                            *.*                             0      0 49152      0 LISTEN
    # netstat -an | grep 3125
          *.3125               *.*                0      0 49152      0 LISTEN
    192.168.0.178.3125   192.168.0.179.33603  49640      0 49640      0 TIME_WAIT
          *.3125                            *.*                             0      0 49152      0 LISTENThere is no firewall configured between these VMs. I tried using several other ports. But it is still the same issue. To verify that there is no firewall , I brought down manager process and started DB Listener using the same port. I managed to connect to the DB through listener from remote machines without any issues.
    For the manager process to work properly , Is there any other mandatory process which i should start so that this port will remain open and usable? I believe this has something to do with GG architecture as I was able to use DB listener on this port without any issues.
    Initially, I faced this issue in Target machine's Manager process port. So, i thought of diagnosing from scratch and I started the manager process in source and did telnet test. The telnet test fails for both Source and Target Manager process ports.

    HI I have the same problem
    PLZ tell me the solution!
    $ telnet 10.80.16.214 7809
    Trying 10.80.16.214...
    Connected to 10.80.16.214.
    Escape character is '^]'.
    Connection to 192.168.0.178 closed by foreign host.
    2013-09-13 10:21:42  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:21:54  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:05  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:16  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:27  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:38  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:22:49  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:23:00  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:23:11  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused).
    2013-09-13 10:23:22  ERROR   OGG-01224  Oracle GoldenGate Capture for Oracle, pum_2.prm:  TCP/IP error 111 (Connection refused); retries exceeded.
    2013-09-13 10:23:22  ERROR   OGG-01668  Oracle GoldenGate Capture for Oracle, pum_2.prm:  PROCESS ABENDING.

  • GoldenGate Installation Queries...

    Please help me on the below questions..??
    I got some questions on oracle goldengate configuration:
    1) My source and Destination are in different nodes, then do I need to configure listener @ target db and Tns @ source db?
    2) If my source and destination are resides in the same system, can I user same port for the both source and target dbs?
    3) I have tried GG in the single node with two dbs' called source and target. with different ports. But I installed goldengate two times in two locations (same node) each for source and target dbs respectively. Is it a right thing?
    Also please find current my configuration:
    Source : 11gR2, GG11, RHEL 4
    Target : 11gR2, GG11, RHEL 4
    I tried configuring GG, started manager,extarct at source db, and manager,replicat at target db.but table's DML is not getting replicated. I tried this in the same server ( as step 3).
    Thank you,
    Harry

    Try going through the tutorial first.
    http://www.oracle.com/technetwork/middleware/goldengate/learnmore/ogg-tutorial-ora-to-ora-10-4-177139.pdf
    You can reason out all of your questions.
    On the target, with GG trying to apply DML against the database, how is DML done? Just like it is anywhere: from a connection to the database. What does it take to connect to an Oracle database, from a client perspective?
    There is no reason why two databases (instances) cannot share the same listener.
    If you want to work on two Word documents, do you need to install Office twice? No. If you have two databases (on the same server) running at the same release, do you need to install Oracle twice? No. Take a guess on what the answer to having to install GoldenGate twice is.

  • VMware workstation下goldengate monitor server的配置

    java版本:
    java version "1.6.0_31"
    Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
    Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)
    ogg版本:
    Oracle GoldenGate Command Interpreter for Oracle
    Version 11.1.1.1 12733251
    Windows (optimized), Oracle 10g
    monitor版本:
    11.1for window 32位
    物理主机
    安装goldengate monitor server,ip:192.168.1.52
    monitor.properties
    monitor.jmx.server.host=192.168.1.52
    虚拟主机1
    为ogg源端,ip:192.168.1.101
    GGSCI (lf) 9> view param mgr
    port 8071
    DYNAMICPORTLIST 7840-7850
    GGSCI (lf) 10> view param ./globals
    MGRSERVNAME test
    GGSCHEMA ggs
    ENABLEMONITORAGENT
    config.properties
    jagent.host=192.168.1.101
    monitor.host=192.168.1.52
    agent.type.enabled=OGGMON
    虚拟主机2
    ogg目标端,ip:192.168.1.102
    GGSCI (lf2) 2> view param mgr
    port 8072
    DYNAMICPORTLIST 7840-7850
    GGSCI (lf2) 3> view param ./globals
    MGRSERVNAME test
    GGSCHEMA ggs
    ENABLEMONITORAGENT
    config.properties
    jagent.host=192.168.1.102
    monitor.host=192.168.1.52
    agent.type.enabled=OGGMON
    目标端jagent.log报错是:
    Fail to open connection to Monitor Server; will retry again in 60 seconds
    Exception: (Connection timed out: connect).
    JAgent connection info: (com.goldengate.monitor.jagent.config.impl.AgentInfoImpl(host=192.168.1.102, port=5555, configDir=cfg, monitorHost=192.168.1.52, monitorPort=5502, dataFileName=null))
    请问是哪里配置错误了吗???为何连接不上monitor server?

    monitor server(物理主机win7):
    C:\Users\linfeng>telnet 192.168.1.102 5555
    正在连接192.168.1.102...无法打开到主机的连接。 在端口 5555: 连接失败
    C:\Users\linfeng>ping 192.168.1.102
    正在 Ping 192.168.1.102 具有 32 字节的数据:
    来自 192.168.1.102 的回复: 字节=32 时间<1ms TTL=128
    来自 192.168.1.102 的回复: 字节=32 时间<1ms TTL=128
    来自 192.168.1.102 的回复: 字节=32 时间<1ms TTL=128
    来自 192.168.1.102 的回复: 字节=32 时间<1ms TTL=128
    192.168.1.102 的 Ping 统计信息:
    数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
    往返行程的估计时间(以毫秒为单位):
    最短 = 0ms,最长 = 0ms,平均 = 0ms
    目标端(虚拟机win2003):
    C:\Documents and Settings\Administrator>telnet 192.168.1.52 5502
    正在连接到192.168.1.52...不能打开到主机的连接, 在端口 5502: 连接失败
    C:\Documents and Settings\Administrator>ping 192.168.1.52
    Pinging 192.168.1.52 with 32 bytes of data:
    Reply from 192.168.1.52: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.52: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.52: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.52: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.1.52:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    双方主机均关闭系统防火墙
    帖子经 954488编辑过

  • GoldenGate: OCI Error during OCIServerAttach

    Hi:
    I follow below mention steps for goldengate:
    1). Install oracle 10g with two database on the same machine. orcl and orcl2 in d:\ drive.
    2). In orcle a user name ggs_owner with employees table with 107 records.
    3). In orcl2 a user ggs_owner2 with black employees table.
    3). Download goldengate 10.4 and put into c:\GG folder after unzip.
    4). Access GGSCI through cmd.
    5). Create directories with "CREATE SUBDIRS" command.
    6). configure mgr file with "EDIT PARAMS MGR" with below mention text.
    [PORT 7809
          USERID ggs_owner@orcl, PASSWORD ggs_owner
          PURGEOLDEXTRACTS C:\GGs\dirdat\ex, USECHECKPOINTS]
    7). Add extract : ADD EXTRACT load1, SOURCEISTABLE
    8). edit params load1
    [EXTRACT load1
         SETENV (NLS_LANG = "AMERICAN_AMERICA.WE8MSWIN1252")
         SETENV (ORACLE_HOME = "D:\Oracle\product\10.2.0")
         SETENV (ORACLE_SID = "orcl")
         USERID ggs_owner@orcl, PASSWORD ggs_owner
         RMTHOST 10.8.11.227, MGRPORT 7809
         RMTTASK replicat, GROUP load2
         TABLE ggs_owner.departments;]
    9). Add extract ADD REPLICAT load2, SPECIALRUN
    10). edit params load2
    [REPLICAT load2
          USERID ggs_owner2@orcl2, PASSWORD ggs_owner2
          ASSUMETARGETDEFS
          MAP ggs_owner.departments, TARGET ggs_owner2.departments;]
    After this setup i am going to run extract process.
    11). start manager.
    12 ). start extract laod1
    after some time it display the ggsci propmt and below mention error in C:\GGS\dirrpt folder.
    [ 2011-03-26 14:07:41  GGS ERROR       182  OCI Error during OCIServerAttach (status = 12154-Error while
    trying to retrieve text for error ORA-12154).
    2011-03-26 14:07:41 GGS ERROR 190 PROCESS ABENDING.]
    Please help in stuck in this process.
    Regards,
    Abhishek

    See if you can connect via SQL*Plus to each database - using tnsnames.
    In SQL*Plus:
    SQL> conn ggs_owner/ggs_owner@orcl
    SQL> conn ggs_owner2/ggs_owner2@orcl2
    The 12154 error is related to Oracle not knowing who/where it is you are trying to connect to.
    The outcome of both of these should show that you are connected. If anything else appears, start fixing from there.

  • Ports required for GG setup (Oracle to Oracle replication )

    GG version: 11.2.1.0.1
    OS : RHEL 5.4
    We are going to configure GoldgenGate which is going to replicate the DMLs for few tables (Uni-directonal) from source to target.
    Since there is a firewall between source and target, We need to request the network team to open ports at both source and target servers.
    For manager process , we are going to use the default 7809 both at source and Target. What are the other ports that we need to request the network team to open for both servers ?

    Hi,
    If a firewall is being used at an Oracle GoldenGate target location, additional ports are required on the target system to receive dynamic TCP/IP communications from remote
    Oracle GoldenGate processes. These ports are:
    ● One port for each Collector process that is started by the local Manager to receive propagated transaction data from remote online Extract processes. When an Extract
    process sends data to a target, the Manager on the target starts a dedicated Collector process.
    ● One port for each Replicat process that is started by the local Manager as part of a remote task. A remote task is used for initial loads and is specified with the RMTTASK
    parameter. This port is used to receive incoming requests from the remote Extract process.
    ● Some extra ports in case they are needed for expansion of the local Oracle GoldenGate configuration.
    ● Ports for the other Oracle GoldenGate products if they interact with the local Oracle GoldenGate instance, as stated in the documentation of those products.
    To specify these ports, use the DYNAMICPORTLIST parameter in the Manager parameter file.
    Follow these guidelines:
    ● You can specify up to 5000 ports in any combination of the following formats:
    7830, 7833, 7835
    7830-7835
    7830-7835, 7839
    ● The ports must be unreserved and unrestricted.
    ● Each Manager instance on a system must use a different port list..
    Although not a required parameter, DYNAMICPORTLIST is strongly recommended for best performance. The Collector process is responsible for finding and binding to an available
    port, and having a known list of qualified ports speeds this process. In the absence of DYNAMICPORTLIST (or if not enough ports are specified with it), Collector tries to use port 7840 for remote requests. If 7840 is not available, Collector increments by one until it finds an available port. This can delay the acceptance of the remote request. If Collector runs out of ports in the DYNAMICPORTLIST list, the following occurs:
    ● Manager reports an error in its process report and in the Oracle GoldenGate ggserr log.
    ● Collector retries based on the rules in the Oracle GoldenGate tcperrs file
    For more information about PORT and DYNAMICPORTLIST, see the Oracle GoldenGate Windows and UNIX Reference Guide.
    Hopefully this will help you
    Annamalai.

  • GoldenGate Manager Does not start  - Windows 7 64-bit, 11gR1 database

    Hi Experts,
    I ran into very tricky situation and seeking for clarification and if possible solution for the same, here how it goes: (This is a practice setup for my knowledge and not production)
    My environement:
    GGSCI (msheth-work) 18> versions
    Operating System:
    Version 6.1 (Build 7601: Service Pack 1)
    Database:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    I have two database installed called gg1, gg2 on the same local system.
    I have two goldengate installation at following location: C:\gg1 , C:\gg2
    I was successfully able to start Manager, Extract and Replicate process with out creating windows services for manager.
    I read in discussion forum that it is recommneded to have different manager name and create services for them if you have multiple Goldengate installation in the same system. (Oracle Golden Gate installation
    Now when I create services using INSTALL ADDSERVICE ADDEVENTS, manager process does not start and manager report log and event viewer from windows shows following error despite of providing correct login details in manager parameter file:
    2012-08-23 10:42:31 ERROR OGG-00664 Oracle GoldenGate Manager for Oracle, mgr.prm: OCI Error beginning session (status = 1017-ORA-01017: invalid username/password; logon denied).
    GGSCI (hostname) 19> DBLOGIN USERID ggs_owner, PASSWORD ggs_owner
    Successfully logged into database.
    Manager Parameter File:
    PORT 7810
    USERID ggs_owner, PASSWORD ggs_owner
    PURGEOLDEXTRACTS C:\gg2\dirdat\ex, USECHECKPOINTS
    Your explaination and help will be highly appreciated.
    Regards,
    Mitul Sheth
    Edited by: 954634 on Aug 23, 2012 11:46 AM

    Thanks all of you to responding to my post, although I have bad news that I tried everything but it did not work. let me show you what all I have done:
    1) Adding windows services for manager
    GGSCI (msheth-work) 4> edit params ./globals
    MGRSERVNAME MGR1
    GGSCI (msheth-work) 5> exit
    c:\gg1>install addservice addevents
    Oracle GoldenGate messages installed successfully.
    Service 'MGR1' created.
    Install program terminated normally.
    When I try to start manager service either from GGSCI or from services.msc it gives same login error as mentioned earlier in the post.
    2) Using tnsnames while login into database:
    GGSCI (msheth-work) 1> edit params mgr
    PORT 7809
    USERID ggs_owner@gg1, PASSWORD ggs_owner
    PURGEOLDEXTRACTS C:\gg1\dirdat\ex, USECHECKPOINTS
    Just to make sure username and password is fine I login into database using GGSCI command prompt as follows:
    GGSCI (msheth-work) 4> dblogin userid ggs_owner@gg1, password ggs_owner
    Successfully logged into database.
    Hence, after making sure on all your suggestion I could not get it started and still situation is the same. I would need manager login into database becuase I have implemented DDL replication.
    Also, just by removing manager service from windows, same configuration without any change works like a charm. It just that for evey goldengate process a new window is create and it can't be closed. (If closed process dies).

  • Multiple processes on unix server even stop replicat, is that block port?

    I have configured on source server Oracle goldengate manager/extract on port 7809 and same configured on target server with port 7809.
    Now over the weekend, I encountered two problems.
    1). tcp ip timeout from extract error log and extract abend.
    test : telnet linuxserver 7809
    $ telnet linuxserver 7809
    Trying...
    Connected to linuxserver.
    Escape character is '^]'.
    Connection closed.
    It connected, then after a second, connection closed.
    2). On target server, there are multiple processes for replicat existed even I stopped replicat and stopped manager. There are nothing running.
    ps -ef|grep ggs
    oracle 13595 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 14031 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 14447 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 14674 1335 0 13:34 pts/0 00:00:00 grep ggs
    oracle 14962 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 15529 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 28295 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 28751 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    oracle 29158 1 0 May20 ? 00:00:00 ./replicat INITIALDATALOAD -p 7819-12818 -m 7809 PARAMFILE /u01/app/oracle/product/11.2.0/ggs/dirprm/load2.prm REPORTFILE /u01/app/oracle/product/11.2.0/ggs/dirrpt/LOAD2.rpt PROCESSID LOAD2 USESUBDIRS
    I have to manually kill those processes by kill -9 on server.
    How to control this manner?
    thanks.

    I have another quetion, in real life migration, our database have a lot clobs datatype, and logsegments, etc. What is the best practice or advices you can give to me?
    I am probably not the best guy to answer this question.
    Can I create multiple extracts on source and multiple replicat on source?
    Yes.
    Let's say we have 10 application users in the prod database, do I create at least extracts for each schema? then within each schema, I create multiple extracts to based on datatype or others?
    Yes. You can create one Extract/Replicat group per schema. That would help in parallelizing the things.

  • GOLDENGATE WITH TRIGGER

    Hi,
    Can you please help me on this
    How to avoid firing source triggers on target system ?
    also how to avoid target system triggers on source system?(like vice versa?)
    Is it possible in golden gate?
    Thanks in Advance

    Hi,
    Look at http://download.oracle.com/docs/cd/E18101_01/doc.1111/e17791.pdf
    for the Oracle trace table commands
    Also look at
    DBOPTIONS
    [ALLOWLOBDATATRUNCATE | NOALLOWLOBDATATRUNCATE]
    [ALLOWUNUSEDCOLUMN]
    [CATALOGCONNECT | NOCATALOGCONNECT]
    [CONNECTIONPORT <port>]
    [DEFERREFCONST]
    [DISABLELOBCACHING]
    [EMPTYLOBSTRING ‘<string>’]
    [FETCHBATCHSIZE <num_recs>]
    [FETCHLOBS | NOFETCHLOBS]
    [HOST <host ID>]
    [LIMITROWS | NOLIMITROWS]
    [LOBBUFSIZE]
    [LOBWRITESIZE <size>]
    [SHOWINFOMESSAGES]
    [SHOWWARNINGS]
    [SPTHREAD | NOSPTHREAD]
    [SUPPRESSTRIGGERS | NOSUPPRESSTRIGGERS]
    [TDSPACKETSIZE <bytes>]
    [TRUSTEDCONNECTION]
    [USEODBC]
    [USEREPLICATIONUSER]
    [XMLBUFSIZE <buffer size>]
    SUPPRESSTRIGGERS |
    NOSUPPRESSTRIGGERS
    Valid for Replicat for Oracle. Prevents triggers from firing
    on target objects that are configured for replication with
    Oracle GoldenGate. You can use this parameter for Oracle
    10.2.0.5 and later patches, and for Oracle 11.2.0.2 and
    later, instead of manually disabling the triggers. To use
    this option, the Replicat user must be an Oracle Streams
    administrator, which can be granted by invoking
    dbms_goldengate_auth.grant_admin_privilege.
    The default is NOSUPPRESSTRIGGERS.
    Regards,
    Edited by: gjilevski1 on Sep 8, 2010 10:26 AM

  • Getting error 'opening port for MGR  (Connection refused).

    Hi Guys,
    I m getting below, while starting replicat on target.
    GGSCI (ggtarget) 16> start replicat RLOAD
    Sending START request to MANAGER ...
    ERROR: opening port for MGR MGR (Connection refused).
    GGSCI (ggtarget) 20> view param mgr
    PORT 7809
    USERID orgg, PASSWORD orgg
    PURGEOLDEXTRACTS /ggs/dirdat/*, USECHECKPOINTS
    GGSCI (ggtarget) 21> view param rload
    REPLICAT RLOAD
    USERID orgg, PASSWORD orgg
    ASSUMETARGETDEFS
    HANDLECOLLISIONS
    APPLYNOOPUPDATES
    GETUPDATEBEFORES
    reperror default, discard
    DISCARDFILE ./dirrpt/rload.dsc, purge
    MAP HR.TCUSTORD, TARGET HR.TCUSTORD;
    MAP HR.TCUSTMER, TARGET HR.TCUSTMER;
    from Source I could able to do the telnet to target...
    What could be issue ???

    Hi,
    Error:
    GGSCI (ggtarget) 16> start replicat RLOAD
    Sending START request to MANAGER ...
    ERROR: opening port for MGR MGR (Connection refused).
    You can start Manager, but when you try to start Replicat, GGSCI gives me a connection timeout error
    Solution:
    GoldenGate uses a TCP/IP socket to communicate between local processes. When you issue a START, STOP, SEND, or other command in GGSCI, the command interface will try to open a local port for the process.
    Here is how to find out which local ports these processes are listening on. In the dirpcs directory, there will be one file for each running GoldenGate process.
    For Manager, the file name will be MGR.pcm.
    For Extract, it will be <GROUP_NAME>.pce.
    For Replicat, it will be <GROUP_NAME>.pcr.
    These are text files that can be viewed by using cat or any equivalent command. For example, the MGR.cpm file content will read like this:
    PROGRAM MGR PROCESSID MGR PORT sys1.4356 PID 60070
    After the keyword PORT will be the local hostname and the port number that Manager is supposed to be running on. In the preceding example, the hostname is sys1, and the port is 4356.
    The program (ggsci) tries to use that hostname to communicate to the process (Extract/Replicat/Manager) when the command is issued in GGSCI. If you get a timeout or connection-refused error on the command, that means GoldenGate could not connect to the local host. Most of the time, you should have no problem connecting to a local host, but when you have the wrong IP address or routine table configured in your TCP/IP settings, connection errors can happen.
    To troubleshoot this, follow the steps below
    1. Try to ping that host name from the OS shell to see if it goes to the correct IP address (which should be the one for the local system).
    2. If the ping is successful, try to telnet to the Manager port on your local host. You will be able to see your telnet session connect if a Manager is listening on that port.
    Here is an example:
    shell>telnet
    telnet> open sys1 4356
    Trying 100.100.100.100...
    Connected to sys1.oracle.com (100.100.100.100).
    Escape character is '^]'.
    3. If your telnet session times out or gets a connection-refused error, that means either the hostname is wrong or the port number is wrong.
    If the ping to the hostname listed in the pcm/pce/pcr file fails, or if you cannot connect your telnet session to the port listed in the file(s), contact your network engineers to get the TCP/IP issue resolved.
    Hope this information helps.
    Thanks & Regards
    Santhosh

  • GoldenGate Help

    Hi:
    I am a oracle/developer guy. i am a new for Oracle GoldenGate. I installed goldenGate and weblogic on my machine.
    Could you please guide me or tell me from where i got good training pdf or vedio for goldengate?
    i want to make a replication demo on my machine.
    thanks in advance. please help !!!
    Regards,
    Abhishek

    Hi,
    I think this document may help you.
    Director GUI returns error using "Failure communicating with host" ggsci command [ID 1212739.1]
    Applies to:
    Management Pack for Oracle GoldenGate - Version: 1.0.0.0 to 2.0.0.10 - Release: 1.0 to 2.0
    Information in this document applies to any platform.
    Symptoms
    Using OGG Director, when running a ggsci command from Director GUI or Director desktop client, the following error is returned:
    "Failure communicating with host: Error retrieving dynamic port from <host> on 7809: Read timed out"
    Cause
    When you click on GGSCI on the Director web or Director desktop client, Director communicates to the MANAGER process on the remote host based on the value of the PORT property in the Director Admin Tool configuration for that host. Once the MANAGER on the remote host receives the communication request from Director, it spawns a new connection on a new port and tells Director to continue the communication on this new port.
    If you are using a DYNAMICPORTLIST in the remote host MANAGER param file, the MANAGER will select the new port from the available ports on this list. If there are no free ports available on the list, you will see this error.
    Another time you will see this error is if there is a firewall between the Director server and the remote host. The port to the MANAGER process must be open through the firewall PLUS all of the port in the DYNAMICPORTLIST.
    Solution
    To resolve, check the ggserr.log and the MANAGER report file on the remote host to see if it is running out of free ports. You can expand the available ports on the DYNAMICPORTLIST and restart MGR. You may also have to work with your NETOPS team to open MGR and DYNAMICPORTLIST ports through the firewall.

  • Goldengate: DML replication is not syncing data

    Hi,
    I have followed the below steps for DML replication. No error found and all processes are running fine but data is not syncing. I am using ASM, db version:10.2.0.4,goldengate version:Version 11.1.1.0.0. Please check-
    Steps:
    @source
    Create folders
    Shell> ggsci
    GGSCI> CREATE SUBDIRS
    GGSCI> EXIT
    SQL> ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
    SQL> ALTER SYSTEM SWITCH LOGFILE;
    SQL> EXIT
    GGSCI> EDIT PARAMS MGR
    PORT 7808
    GGSCI> START MGR
    GGSCI> INFO MGR
    @source
    create user source identified by source;
    grant create session,resource to source;
    grant select any dictionary to source;
    @target
    create user target identified by target;
    grant create session,resource to target;
    grant select any dictionary to target;
    sqlplus source@db01
    SQL> @demo_ora_create
    SQL> @demo_ora_insert
    Verify the results:
    SQL> select * from tcustmer;
    SQL> select * from tcustord;
    SQL> exit
    @source
    Shell> ggsci
    GGSCI> DBLOGIN USERID source, PASSWORD source sysdba
    GGSCI> ADD TRANDATA source.TCUSTMER
    GGSCI> ADD TRANDATA source.TCUSTORD
    @target
    GGSCI> CREATE SUBDIRS
    GGSCI> EDIT PARAMS MGR
    PORT 7809
    Start Manager
    GGSCI> START MANAGER
    Verify the results:
    GGSCI> INFO MANAGER
    sqlplus target@db02
    SQL> @demo_ora_create
    Verify the results:
    SQL> desc tcustmer;
    SQL> desc tcustord;
    SQL> exit
    @source
    GGSCI>ADD EXTRACT EIEXSL, TRANLOG, BEGIN NOW
    GGSCI>edit params EIEXSL
    -- TCUSTMER and TCUSTORD changes
    EXTRACT EIEXSL
    userid source,password source
    tranlogoptions asmuser sys@+ASM,asmpassword gpdba123
    EXTTRAIL ./dirdat/lt
    discardfile ./dirrpt/eiexsl.dsc,purge
    table source.tcust*;
    GGSCI>ADD EXTTRAIL ./dirdat/lt, EXTRACT EIEXSL,MEGABYTES 5
    GGSCI> START EXTRACT EIEXSL
    INFO EXTRACT EIEXSL
    @target
    GGSCI> EDIT PARAMS ./GLOBALS
    checkpointtable target.ggschkpt
    GGSCI> exit
    ggsci
    GGSCI> DBLOGIN USERID target, PASSWORD target
    GGSCI> ADD CHECKPOINTTABLE
    GGSCI> ADD REPLICAT RORASL, EXTTRAIL ./dirdat/lt
    GGSCI> EDIT PARAM RORASL
    -- Change Delivery parameter file to apply
    -- TCUSTMER and TCUSTORD Changes
    REPLICAT RORASL
    USERID target, PASSWORD target
    HANDLECOLLISIONS
    ASSUMETARGETDEFS
    DISCARDFILE ./dirrpt/RORASL.DSC, PURGE
    MAP source.tcustmer, TARGET target.tcustmer;
    MAP source.tcustord, TARGET target.tcustord;
    GGSCI> START REPLICAT RORASL
    GGSCI> INFO REPLICAT RORASL
    GGSCI> INFO ALL
    @source
    Shell> sqlplus source@db01
    SQL> @demo_ora_misc
    Verify results on the source system
    @source
    SQL> select * from tcustmer;
    SQL> select * from tcustord;
    SQL> exit
    @target
    SQL> select * from tcustmer;
    SQL> select * from tcustord;
    SQL> exit
    Thanks
    baju

    Source Log
    GGSCI (dbatest01) 1> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    EXTRACT RUNNING EIEXSL 00:00:00 00:00:02
    GGSCI (dbatest01) 2> info MANAGER,detail
    Manager is running (IP port dbatest01.7808).
    GGSCI (dbatest01) 3> info EXTRACT EIEXSL,detail
    EXTRACT EIEXSL Last Started 2011-04-06 17:53 Status RUNNING
    Checkpoint Lag 00:00:00 (updated 00:00:06 ago)
    Log Read Checkpoint Oracle Redo Logs
    2011-04-07 10:24:48 Seqno 489, RBA 8982016
    Target Extract Trails:
    Remote Trail Name Seqno RBA Max MB
    ./dirdat/lt 0 2966 5
    Extract Source Begin End
    +DG01/db01/onlinelog/group_3.311.736337327  2011-04-06 17:52  2011-04-07 10:24
    Not Available * Initialized * 2011-04-06 17:52
    Current directory /u01/oracle/goldengate
    Report file /u01/oracle/goldengate/dirrpt/EIEXSL.rpt
    Parameter file /u01/oracle/goldengate/dirprm/eiexsl.prm
    Checkpoint file /u01/oracle/goldengate/dirchk/EIEXSL.cpe
    Process file /u01/oracle/goldengate/dirpcs/EIEXSL.pce
    Stdout file /u01/oracle/goldengate/dirout/EIEXSL.out
    Error log /u01/oracle/goldengate/ggserr.log
    GGSCI (dbatest01) 5> view report EIEXSL
    Oracle GoldenGate Capture for Oracle
    Version 11.1.1.0.0 Build 078
    Solaris, sparc, 64bit (optimized), Oracle 10 on Jul 28 2010 17:02:45
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Starting at 2011-04-06 17:53:32
    Operating System Version:
    SunOS
    Version Generic_138888-01, Release 5.10
    Node: dbatest01
    Machine: sun4u
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : unlimited unlimited
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    Process id: 1709
    Description:
    ** Running with the following parameters **
    -- TCUSTMER and TCUSTORD changes
    EXTRACT EIEXSL
    userid source,password ******
    tranlogoptions asmuser sys@+ASM,asmpassword ********
    EXTTRAIL ./dirdat/lt
    discardfile ./dirrpt/eiexsl.dsc,purge
    table source.tcust*;
    2011-04-06 17:53:32 INFO OGG-01635 BOUNDED RECOVERY: reset to initial or altered checkpoint.
    Bounded Recovery Parameter:
    Options = BRRESET
    BRINTERVAL = 4HOURS
    BRDIR = /u01/oracle/goldengate
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE: 1M
    CACHESIZE: 8G
    CACHEBUFFERSIZE (soft max): 4M
    CACHEPAGEOUTSIZE (normal): 4M
    PROCESS VM AVAIL FROM OS (min): 16G
    CACHESIZEMAX (strict force to disk): 13.99G
    Database Version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Database Language and Character Set:
    NLS_LANG environment variable specified has invalid format, default value will be used.
    NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
    NLS_LANGUAGE = "AMERICAN"
    NLS_TERRITORY = "AMERICA"
    NLS_CHARACTERSET = "WE8ISO8859P1"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    Maximum supported ASM read buffer size is 28 KB
    2011-04-06 17:53:32 INFO OGG-01515 Positioning to begin time Apr 6, 2011 5:52:51 PM.
    2011-04-06 17:53:33 INFO OGG-01516 Positioned to Sequence 488, RBA 166416, Apr 6, 2011 5:52:51 PM.
    2011-04-06 17:53:33 INFO OGG-01052 No recovery is required for target file ./dirdat/lt000000, at RBA 0 (file not opened).
    2011-04-06 17:53:33 INFO OGG-01478 Output file ./dirdat/lt is using format RELEASE 10.4/11.1.
    ** Run Time Messages **
    2011-04-06 17:53:33 INFO OGG-01517 Position of first record processed Sequence 488, RBA 166416, SCN 0.5638566, Apr 6, 2011 5:52:54 PM.
    TABLEWildcard resolved (entry SOURCE.TCUST*):
    table SOURCE.TCUSTMER;
    Using the following key columns for source table SOURCE.TCUSTMER: CUST_CODE.
    TABLEWildcard resolved (entry SOURCE.TCUST*):
    table SOURCE.TCUSTORD;
    Using the following key columns for source table SOURCE.TCUSTORD: CUST_CODE, ORDER_DATE, PRODUCT_CODE, ORDER_ID.
    Destination Log
    GGSCI (dbatest02) 1> info all
    Program Status Group Lag Time Since Chkpt
    MANAGER RUNNING
    REPLICAT RUNNING RORASL 00:00:00 00:00:06
    GGSCI (dbatest02) 2> info mgr
    Manager is running (IP port dbatest02.7809).
    GGSCI (dbatest02) 3> info REPLICAT RORASL,detail
    REPLICAT RORASL Last Started 2011-04-06 17:55 Status RUNNING
    Checkpoint Lag 00:00:00 (updated 00:00:01 ago)
    Log Read Checkpoint File ./dirdat/lt000000
    First Record RBA 0
    Extract Source Begin End
    ./dirdat/lt000000 * Initialized * First Record
    ./dirdat/lt000000 * Initialized * First Record
    Current directory /u01/oracle/goldengate
    Report file /u01/oracle/goldengate/dirrpt/RORASL.rpt
    Parameter file /u01/oracle/goldengate/dirprm/rorasl.prm
    Checkpoint file /u01/oracle/goldengate/dirchk/RORASL.cpr
    Checkpoint table TARGET.GGSCHKPT
    Process file /u01/oracle/goldengate/dirpcs/RORASL.pcr
    Stdout file /u01/oracle/goldengate/dirout/RORASL.out
    Error log /u01/oracle/goldengate/ggserr.log
    GGSCI (dbatest02) 4> view report RORASL
    Oracle GoldenGate Delivery for Oracle
    Version 11.1.1.0.0 Build 078
    Solaris, sparc, 64bit (optimized), Oracle 10 on Jul 28 2010 17:08:59
    Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
    Starting at 2011-04-06 17:55:15
    Operating System Version:
    SunOS
    Version Generic_138888-01, Release 5.10
    Node: dbatest02
    Machine: sun4u
    soft limit hard limit
    Address Space Size : unlimited unlimited
    Heap Size : unlimited unlimited
    File Size : unlimited unlimited
    CPU Time : unlimited unlimited
    Process id: 2178
    Description:
    ** Running with the following parameters **
    -- Change Delivery parameter file to apply
    -- TCUSTMER and TCUSTORD Changes
    REPLICAT RORASL
    USERID target, PASSWORD ******
    HANDLECOLLISIONS
    ASSUMETARGETDEFS
    DISCARDFILE ./dirrpt/RORASL.DSC, PURGE
    MAP source.tcustmer, TARGET target.tcustmer;
    MAP source.tcustord, TARGET target.tcustord;
    CACHEMGR virtual memory values (may have been adjusted)
    CACHEBUFFERSIZE: 1M
    CACHESIZE: 512M
    CACHEBUFFERSIZE (soft max): 4M
    CACHEPAGEOUTSIZE (normal): 4M
    PROCESS VM AVAIL FROM OS (min): 1G
    CACHESIZEMAX (strict force to disk): 881M
    Database Version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Solaris: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Database Language and Character Set:
    NLS_LANG environment variable specified has invalid format, default value will be used.
    NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
    NLS_LANGUAGE = "AMERICAN"
    NLS_TERRITORY = "AMERICA"
    NLS_CHARACTERSET = "WE8ISO8859P1"
    Warning: your NLS_LANG setting does not match database server language setting.
    Please refer to user manual for more information.
    ** Run Time Messages **
    Thanks

  • Confusion over sequences in Goldengate

    I've got two databases on the same (test) server which I've set up with Goldengate.
    The databases are both 10.2.0.4 64-bit on RHEL5, and the Goldengate version is 11.2.1.0.1 for 10g.
    Source=PROD
    Target=PROD11G (in anticipation of being upgraded...)
    I've successfully configured Golgengate so the database was replicating DML and DDL, but realised I forgot to install support for Oracle sequences.
    Following the instructions on pg 32 of the Goldengate Installation Guide, I ran the sequence.sql script as sysdba on both databases and pointed it to my existing 'GGATE' schema owner.
    On the source system I've also run: alter table sys.seq$ add supplemental log data (primary key) columns;
    ... but I'm confused about steps 8 and 9 which are:
    8. on source
    GRANT EXECUTE on DDLuser.updateSequence TO DBLOGINuser;
    9. on target
    GRANT EXECUTE on DDLuser.replicateSequence TO Replicatuser;
    The DDLuser is my 'GGATE' schema owner, but who is DBLOGINuser and ReplicatUser. Is this the schema(s) referred to in my extract group? i.e. sure006 (btw,... I tried but still get the below error when starting replicat).
    Anyway,... I now start the replicat process and it abends with the below error:
    2012-07-06 14:03:44  INFO    OGG-00996  Oracle GoldenGate Delivery for Oracle, rep1.prm:  REPLICAT REP1 started.
    2012-07-06 14:03:44  INFO    OGG-01407  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Setting current schema for DDL operation to [SYS].
    2012-07-06 14:03:44  ERROR   OGG-00519  Oracle GoldenGate Delivery for Oracle, rep1.prm:  Fatal error executing DDL replication: error [Error code [24344], ORA-24344: success with compilation error SQL CREATE OR REPLACE PROCEDURE "GGATE" .replicateSequence (
       sourceHWM IN  NUMBER,
       maxDistance  IN NUMBER,
       seqFlush IN  NUMBER,
       seqOwner IN  VARCHAR2,
       seqUpdate IN  NUMBER,
       seqName IN  VARCHAR2,
       loggedUser IN  VARCHAR2,
       racTarget IN  NUMBER,
       isTrace IN  NUMBER,
       traceUser IN  VARCHAR2
    AUTHID current_user
    IS
    PRAGMA autonomous_transaction;
    newSeqVal NUMBER;
    HWMTarget NUMBER;
    HWMTargetNext NUMBER;
    maxVal NUMBER;
    minVal NUMBER;
    cnt NUMBER;
    numberOfSimulatedHWTargetMoves NUMBER;
    simulateHWTargetStart NUMBER;
    simulateHWTargetEnd NUMBER;
    HWMOnSource NUMBER;
    isFound NUMBER;
    distance NUMBER;
    firstPass NUMBER;
    isCycle NUMBER;
    incBy NUMBER;
    flushStmt VARCHAR2(1000);
    objId NUMBER;
    sCache NUMBER;
    mDist NUMBER;
    BEGIN
       firstPass := 1;
       IF isTrace = 1 THEN
           "GGATE" .seqTrace  ('BEGIN "' || traceUser || '".trace_put_line(''SEQUENCEREP'', ''################ STARTING SEQUENCE REPLICATION FOR '' || '''|| seqOwner || '.' || seqName ||  '''); END;', traceUser);
           "GGATE" .seqTrace  ('BEGIN "' || traceUser || '".trace_put_line(''SEQUENCEREP'', ''INPUT IS: sourceHWM '' || '''
           || to_char(sourceHWM) || ''' || '' maxDistance '' || ''' || to_char(maxDistance) ||  ''' || '' seqFlush '' || ''' || to_char(seqFlush) ||  ''' || '' seqOwner '' || ''' || seqOwner || ''' || '' seqUpdate '' || ''' || to_char(seqUpdate) || ''' || '' seqName '' || ''' || to_char(seqName) || ''' || '' loggedUser '' || ''' || to_char(loggedUser) || ''' || '' racTarget '' || ''' || racTarget || ''' || '' isTrace '' || ''' || to_char(isTrace) || ''' || '' traceUser '' || ''' || traceUser ||'''); END;', traceUser);
       END IF;
       -- set current schema to sequence owner. This is to avoid issues when there is a table name same as schema
       -- name in which case sequence name is treated a column to table name and things fail
       EXECUTE IMMEDIATE ('ALTER SESSION SET CURRENT_SCHEMA="' || seqOwner || '"');
       -- we d.
    2012-07-06 14:03:44  ERROR   OGG-01668  Oracle GoldenGate Delivery for Oracle, rep1.prm:  PROCESS ABENDING.I'm obviously doing something stupid, but can't realise what it is.
    I see from the second INFO line that my current schema is being set to SYS. Should I be granting the execute privileges to SYS? (if so, the doc isn't at all clear)
    I've included my manager, extract and replicat parameter files if that helps.
    GLOBALS
    ===========
    GGSCHEMA ggate
    CHECKPOINTTABLE ggate.chkptab
    mgr.prm
    ===========
    PORT 7809
    USERID ggate, PASSWORD *****
    PURGEOLDEXTRACTS /u04/app/oracle/goldengate/11.2.1.0.1/10g/extracts, USECHECKPOINTS
    ext1.prm
    ===========
    EXTRACT ext1
    USERID ggate@prod, PASSWORD *****
    RMTHOST prod2.ctru.auckland.ac.nz, MGRPORT 7809
    RMTTRAIL /u04/app/oracle/goldengate/11.2.1.0.1/10g/dirdat/rt
    DDL INCLUDE ALL
    DDLOPTIONS ADDTRANDATA
    TABLE sure006.*;
    rep1.prm
    ===========
    REPLICAT rep1
    ASSUMETARGETDEFS
    USERID ggate@prod11g, PASSWORD *****
    DISCARDFILE /u04/app/oracle/goldengate/11.2.1.0.1/10g/dirdat/discard, append
    MAP sure006.*, TARGET sure006.*;Edited by: stuartu on Jul 6, 2012 3:07 PM

    doh!,... looks like I must have run the sequence.sql script in the source both times (the REPLICATESEQUENCE procedure in GGATE schema was invalid). I ran sequence.sql in the target and now replicat starts fine.
    although now I see that the sequence still isn't being incremented on the target....
    SQL>
    SQL> !echo $ORACLE_SID
    PROD
    SQL> conn sure006/********
    Connected.
    SQL> create table test_sequence ( mysequence number );
    Table created.
    SQL> create sequence test_seq start with 1 increment by 1 nocache;
    Sequence created.
    SQL> insert into test_sequence values ( test_seq.nextval );
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> /
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select * from test_sequence;
    MYSEQUENCE
          1
          2
          3
          4
          5
          6
          7
          8
          9
         10
         11
         12
    12 rows selected.
    SQL> select * from user_sequences;
    SEQUENCE_NAME               MIN_VALUE  MAX_VALUE INCREMENT_BY C O CACHE_SIZE LAST_NUMBER
    TEST_SEQ                    1 1.0000E+27          1 N N            0       13
    1 row selected.... but on the target (PROD11G) database, the sequence exists but the LAST_NUMBER = 1, not 13.
    SQL> !echo $ORACLE_SID
    PROD11G
    SQL> conn sure006/******
    Connected.
    SQL> select count(*) from test_sequence;
      COUNT(*)
         12
    1 row selected.
    SQL> select * from user_sequences;
    SEQUENCE_NAME               MIN_VALUE  MAX_VALUE INCREMENT_BY C O CACHE_SIZE LAST_NUMBER
    TEST_SEQ                    1 1.0000E+27          1 N N            0        1
    1 row selected.The ggserr.log log only has a warning about the non-uniqueness of the table.
    2012-07-06 14:57:31  WARNING OGG-00869  Oracle GoldenGate Capture for Oracle, ext1.prm:  No unique key is defined for table 'TEST_SEQUENCE'. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.
    2012-07-06 14:57:33  WARNING OGG-00869  Oracle GoldenGate Delivery for Oracle, rep1.prm:  No unique key is defined for table 'TEST_SEQUENCE'. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.Is there something more I need to do?

  • ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, ext1.prm: + ORA-12514

    Hello Guys,
    Environment is as below:
    Primary site (source): This is production DB and up and running.
    RAC 2 nodes
    Oracle RAC 11.2.0.1.0
    ASM
    Enterprise Linux Server release 5.5 (Carthage)
    target Site (destination): Software installed and instance has been created.
    Standalone single server - Non RAC
    Oracle 11.2.0.1.0
    ASM
    Enterprise Linux Server release 5.5 (Carthage)
    Oracle GoldenGate 11g Release 1 (11.1.1)
    I have installed and setup Oracle GoldenGate 11g Release 1 (11.1.1) But I am getting below error while starting extract:
    2011-05-01 21:27:41 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params ext1.
    2011-05-01 21:29:11 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start extract ext1.
    2011-05-01 21:29:11 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host xxx.xx.x.4 (START EXTRACT EXT1 ).
    2011-05-01 21:29:11 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXT1 starting.
    2011-05-01 21:29:11 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, ext1.prm: EXTRACT EXT1 starting.
    2011-05-01 21:29:11 INFO OGG-01635 Oracle GoldenGate Capture for Oracle, ext1.prm: BOUNDED RECOVERY: reset to initial or altered checkpoint.
    2011-05-01 21:29:12 ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, ext1.prm: Attaching to ASM server asm: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
    2011-05-01 21:29:12 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext1.prm: PROCESS ABENDING.can anyone tell me how to edit listener.ora for ASM instance so that it may capture data from instance.
    Below is the listener.ora :
    $ cat listener.ora
    LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
    LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = +ASM1)
    (ORACLE_HOME = /u01/app/11.2.0/grid)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = +ASM2)
    (ORACLE_HOME = /u01/app/11.2.0/grid)
    $$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ASM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxdata-scan)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = +ASM2)
    $your response will be highly appreciated.
    Cheers !!!
    LazyDBA11g
    Edited by: LazyDBA11g on May 5, 2011 11:16 PM
    Edited by: LazyDBA11g on May 22, 2011 5:24 AM
    Edited by: LazyDBA11g on May 22, 2011 5:29 AM
    Edited by: LazyDBA11g on May 30, 2011 10:46 PM

    Hi,
    I installed GG with same configuration and i didn't configure ASM statically in listener.ora at all:
    LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
    When i check listener status, i can see that ASM Instance is correctly registered:
    $ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 26-MAY-2011 15:41:48
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 16-MAY-2011 13:17:17
    Uptime 10 days 2 hr. 24 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /opt/oracle/grid/11.2.0.2/network/admin/listener.ora
    Listener Log File /opt/oracle/base/diag/tnslsnr/pollux/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xx.xxx.xxx.92)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xx.xxx.xxx.94)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "R112" has 1 instance(s).
    Instance "R1121", status READY, has 1 handler(s) for this service...
    Service "R112XDB" has 1 instance(s).
    Instance "R1121", status READY, has 1 handler(s) for this service...
    The command completed successfully
    You need to make sure, that ASM registers dynamically with your listener. In my case i have set local_listener in ASM instance as follows:
    SQL> show parameter local_listener
    NAME TYPE VALUE
    local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
    DRESS=(PROTOCOL=TCP)(HOST=xx.xxx.xxx.94)(PORT=1521))))
    This is no GG specific question. You need this for other tools like Gridcontrol as well.
    Hope this helps,
    Robert

Maybe you are looking for