How To enable journaling for router files?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #15694
    Pallavik
    Keymaster

    How To enable journaling for router files?

    Scenario:

    Imagine a situation where you want to keep the history of the changes which were processed by HVR integrate job. This can be achieved by enabling journaling option in channel settings. By default, when integrate job consumes the router files these files are deleted from the folder $HVR_CONFIG/router/<hubname>/<channelname>/loc_<srcname>/loc_<tgtname>. But if you want to keep them you can use an integrate action JournalRouterFiles

    Overview:

    This article describes how to save the router files.

    Pre-requisite:

    1. Chn1 is already running in the hub hvrhub4.
    2. In this example source location is orcl and Target location is olx
    3. It only has simple capture and Integrate actions

    Steps:

    Step 1] Add action JournalRouterFiles

    1. Right click on Integrate action for the channel chn1 and select properties

    1. On the next window for Integrate Action check box for JournalRouterFiles parameter

     

     

    1. Click on Ok as confirmation. You will notice that the Integrate action will have JournalRouterFiles as parameter.

     

     

    Step 2] Re initialize Integrate job(s) with advanced option Scripts and Jobs

    1. Right click on chn1 and select HVR Initialize

     

     

     

    1. On the next page expand the locations and check box for Target location(s)

     

     

    1. Select Advanced Options and uncheck everything except Scripts and Jobs for all tables

     

     

    1. Click on Initialize. You will see a prompt showing that 1 job was recreated.

     

    1. Once this is done you will notice that a directory jnl is created under $HVR_CONFIG. You will see journal files are created under folder structure jnl/<hubname>/<channelname>/<yyyymmdd>/integ_<tgt_location>_loc_<src_location>/loc_ <tgt_location> where <yyyymmdd> is today’s date 20180828. In this particular case the journal files are created in structure $HVR_CONFIGjnlhvrhub4chn120180828integ_olx_loc_orclloc_olx.
Viewing 1 post (of 1 total)
  • The forum ‘How to’ is closed to new topics and replies.

© 2020 HVR

Test drive Contact us