<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Oracle DataGuard.  Endpoint reconnection for a Logstream task and associated tasks in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-DataGuard-Endpoint-reconnection-for-a-Logstream-task-and/m-p/2536670#M15502</link>
    <description>&lt;P&gt;In reference to:&amp;nbsp;community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Oracle-Source-Task-hangs-without-failures-or/ta-p/1958228&lt;/P&gt;&lt;P&gt;I have a powershell script running on the QLIK host that checks for task failures.&amp;nbsp; I see this parameter referenced in that document:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Replicate&amp;nbsp;preparation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The following procedure describes how to configure&amp;nbsp;Replicate&amp;nbsp;to handle a failover operation in a Data Guard environment:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a task that points to the primary database.&lt;/LI&gt;&lt;LI&gt;In the advanced settings for the primary Oracle source endpoint, set the&amp;nbsp;supportResetLog=true&amp;nbsp;internal parameter.&lt;/LI&gt;&lt;LI&gt;Run the task. It will be active until a failover occurs.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So, I've updated that in my QA environment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The document goes on to say that I need to restart the failed task using the saved checkpoint for a failover.&lt;/P&gt;&lt;P&gt;Note, that after setting "supportResetLog=true"&lt;/P&gt;&lt;P&gt;I've found that the logstream task reconnects to the database following a failover and the associated sub tasks that use the logstream data keep running and don't lose any data.&lt;/P&gt;&lt;P&gt;Seeing this in my QLIK logs for the logstream task:&lt;/P&gt;&lt;P&gt;ORA-03113: end-of-file on communication channel Process&lt;/P&gt;&lt;P&gt;Then:&lt;/P&gt;&lt;P&gt;Trying to reconnect to the source database&lt;/P&gt;&lt;P&gt;Then it figures out the correct log to open as it starts with log 1 on the new primary database after the failover.&lt;/P&gt;&lt;P&gt;The LS task reconnects starting at the correct checkpoint and everything flows as intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: With the logstream task reconnecting automatically.&amp;nbsp; Do I even need to restart the task with a checkpoint for logstream?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, I tried to restart using the logstream task that way.&amp;nbsp; But then my associated subtasks all failed.&amp;nbsp; I had to manually restart them all using the Advanced Run Options-&amp;gt;&amp;nbsp;&lt;SPAN&gt;Tables are already loaded. Start processing changes from: -&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Source change position (e.g. SCN or LSN): 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Nov 2025 19:52:36 GMT</pubDate>
    <dc:creator>RonMackaay</dc:creator>
    <dc:date>2025-11-19T19:52:36Z</dc:date>
    <item>
      <title>Oracle DataGuard.  Endpoint reconnection for a Logstream task and associated tasks</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-DataGuard-Endpoint-reconnection-for-a-Logstream-task-and/m-p/2536670#M15502</link>
      <description>&lt;P&gt;In reference to:&amp;nbsp;community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-Oracle-Source-Task-hangs-without-failures-or/ta-p/1958228&lt;/P&gt;&lt;P&gt;I have a powershell script running on the QLIK host that checks for task failures.&amp;nbsp; I see this parameter referenced in that document:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Replicate&amp;nbsp;preparation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The following procedure describes how to configure&amp;nbsp;Replicate&amp;nbsp;to handle a failover operation in a Data Guard environment:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a task that points to the primary database.&lt;/LI&gt;&lt;LI&gt;In the advanced settings for the primary Oracle source endpoint, set the&amp;nbsp;supportResetLog=true&amp;nbsp;internal parameter.&lt;/LI&gt;&lt;LI&gt;Run the task. It will be active until a failover occurs.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So, I've updated that in my QA environment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The document goes on to say that I need to restart the failed task using the saved checkpoint for a failover.&lt;/P&gt;&lt;P&gt;Note, that after setting "supportResetLog=true"&lt;/P&gt;&lt;P&gt;I've found that the logstream task reconnects to the database following a failover and the associated sub tasks that use the logstream data keep running and don't lose any data.&lt;/P&gt;&lt;P&gt;Seeing this in my QLIK logs for the logstream task:&lt;/P&gt;&lt;P&gt;ORA-03113: end-of-file on communication channel Process&lt;/P&gt;&lt;P&gt;Then:&lt;/P&gt;&lt;P&gt;Trying to reconnect to the source database&lt;/P&gt;&lt;P&gt;Then it figures out the correct log to open as it starts with log 1 on the new primary database after the failover.&lt;/P&gt;&lt;P&gt;The LS task reconnects starting at the correct checkpoint and everything flows as intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question: With the logstream task reconnecting automatically.&amp;nbsp; Do I even need to restart the task with a checkpoint for logstream?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, I tried to restart using the logstream task that way.&amp;nbsp; But then my associated subtasks all failed.&amp;nbsp; I had to manually restart them all using the Advanced Run Options-&amp;gt;&amp;nbsp;&lt;SPAN&gt;Tables are already loaded. Start processing changes from: -&amp;gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Source change position (e.g. SCN or LSN): 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 19:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-DataGuard-Endpoint-reconnection-for-a-Logstream-task-and/m-p/2536670#M15502</guid>
      <dc:creator>RonMackaay</dc:creator>
      <dc:date>2025-11-19T19:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle DataGuard.  Endpoint reconnection for a Logstream task and associated tasks</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Oracle-DataGuard-Endpoint-reconnection-for-a-Logstream-task-and/m-p/2537387#M15553</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you say 'LS task" I assume you are refering to the LS parent task which is the task that is responsible for reading the CDC events from the redo log (please confirm).&amp;nbsp; In order to better understand your sequence of events, please open a Salesforce case with the description above and attache to it the task diagnostic package of both log stream parent task and logs stream child task so we can see what was going on from task perspective and provide a better solution to your problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Orit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 08:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Oracle-DataGuard-Endpoint-reconnection-for-a-Logstream-task-and/m-p/2537387#M15553</guid>
      <dc:creator>OritA</dc:creator>
      <dc:date>2025-11-27T08:46:13Z</dc:date>
    </item>
  </channel>
</rss>

