Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Sean_BI
Creator
Creator

Include Statement for Production and Disaster Recovery scenario

Hi Team -

I've two servers where QV is installed one in Production  and another in DR.

The working directory for qvds, qvw are same in production and DR.

When switching from prod to DR,  how does qv identify the directory where it needs to refresh or save qvd, or qvw's unless i have a "include statement" included in the qv scripts along with IP id. Is there any automated way to achieve it like save the prod ip id with working directory in a text file and call the text file in the "Include Statement".

Kindly assist. 

Rgds,

Sean.

 

 

Labels (1)
1 Reply
Brett_Bleess
Former Employee
Former Employee

Here is what I was able to find in Help that may be of some use:

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Scrip...

If the paths are the same in the two environmens, i.e. your UNC paths or drive paths are identical, you should not have any issues, or if you can use DNS to change the pointer to things, that should work too. 

So more direct to your question now that I reread things, the paths are stored in the QVPR regarding the source document folder locations etc., and the QVS stores its file paths in the Settings.ini file, so as long as the QVPR settings and the QVS settings are correct in both environments, that should take care of most everything, I do not think you need include statements etc...  Shout if I am missing something here, but I think you may just be overthinking this one hopefully.  

Cheers,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.