- September 14, 2018 at 11:08 am #15694PallavikKeymaster
How To enable journaling for router files?
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
This article describes how to save the router files.
- Chn1 is already running in the hub hvrhub4.
- In this example source location is orcl and Target location is olx
- It only has simple capture and Integrate actions
Step 1] Add action JournalRouterFiles
- Right click on Integrate action for the channel chn1 and select properties
- On the next window for Integrate Action check box for JournalRouterFiles parameter
- 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
- Right click on chn1 and select HVR Initialize
- On the next page expand the locations and check box for Target location(s)
- Select Advanced Options and uncheck everything except Scripts and Jobs for all tables
- Click on Initialize. You will see a prompt showing that 1 job was recreated.
- 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.
- The forum ‘How to’ is closed to new topics and replies.