Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
paultribe
Contributor III
Contributor III

Multi-cluster configuration: GovServerLib error

Hi,

while trying to figure out why a reload/scan of GD in my multi-server environment has been completing but not putting any data in the actual dashboard I have been playing around with some of the configuration settings.

The load completes and I have been making adjustments based on the scan errors QVD. The latest change I made was to resolve a scan error that couldn't find publisher logs. it has resulted in a new error:

[string "...\modules\GovServerLib.0\GeneratePubMetaRe..."]:369: attempt to index field'?'(a nil value)

The publisher log files are not in the default location. They are on a share: \\CCV752\Qlikview which has the following folder structure:

\\CCV752\Qlikview\QDS\   I have made the configuration item for this share bold below.

      1

      2

      Diagnostics

      EDXResult

      EDXResults

      RepeatVariables

      TaskExecutionHistory

      TaskLogIndex

      TaskProgress

      TaskResults

      Tasks

      Triggers

      ... an assortment of files.

below is the configuration file contents. I am really interested in resolving the error being generated and also finding out why the GD QVW does not have any data even though each server and the aggregator are generating historical QVD files with data.

//// Environment Settings
// 1. How many distinct "Servers" (Source Document folder(s) and standalone or clustered Server/Publisher) will be scanned?
SET vHowManyServers = 3;

// 2. How many Aggregators are needed?
SET vHowManyAggregators = 1;

//3. How many years of server log history is needed?
SET vHistoricalYears = 1;           //  Years back from today of server log history.  For example, 1 = one year back (last 365 days), 2 = last 2 years, etc.


///// ==========================
//// "SERVER" Configuration
// Start with 1 and increment sequentially (do not skip numbers!)

// Server 1 UKEMARTCCV003 which has QVS and QMS services
SET vMultiCluster_ProfilePath_1 = '\\CCV0001\QlikTech\Governance_1.1\profiles\INT1'; // Profile Directory on Config page
SET vMultiCluster_FilePath_1a = '\\CCV752\Qlikview\Documents\Public'; // this is pointing to a subdirectory in the 'qlikview' share
SET vMultiCluster_FilePath_1b = '';
SET vMultiCluster_FilePath_1c = '';
SET vMultiCluster_FilePath_1d = '';
SET vMultiCluster_FilePath_1e = '';
SET vExcludeFiles_or_Folders_1a = '*issue.qvw';
SET vExcludeFiles_or_Folders_1b = '';
SET vExcludeFiles_or_Folders_1c = '';
SET vExcludeFiles_or_Folders_1d = '';
SET vExcludeFiles_or_Folders_1e = '';
SET vMultiCluster_ServerPath_1 = '\\CCV003\QlikTech\QlikViewServer';    // Has Server?: Log Path
SET vMultiCluster_HasAudit_1 = 1;             // Has Audit logging?:1 = Yes, 0 = No.
SET vMultiCluster_PublisherPath_1 = '';    // Has Publisher?: Log Path
SET vMultiCluster_QVPRPath_1 = '\\CCV003\QlikTech\ManagementService\QVPR';    // Repository Path
SET vMultiCluster_PubDateTimeFormat_1 ='CCYY-MM-DD H*24:MI:SS';

// Server 2 UKEMARTCCV004 which has QVS and QMS services
SET vMultiCluster_ProfilePath_2 = '\\CCV0001\QlikTech\Governance_1.1\profiles\INT2'; // Profile Directory on Config page
SET vMultiCluster_FilePath_2a = '\\CCV752\Qlikview\Documents\Public'; //all servers point to the same file share 'Qlikview'.
SET vMultiCluster_FilePath_2b = '';
SET vMultiCluster_FilePath_2c = '';
SET vMultiCluster_FilePath_2d = '';
SET vMultiCluster_FilePath_2e = '';
SET vExcludeFiles_or_Folders_2a = '*issue.qvw''Dropdown.qvw';
SET vExcludeFiles_or_Folders_2b = '';
SET vExcludeFiles_or_Folders_2c = '';
SET vExcludeFiles_or_Folders_2d = '';
SET vExcludeFiles_or_Folders_2e = '';              // This represents the "Excluded Files | Directories" input
SET vMultiCluster_ServerPath_2 = '\\CCV004\QlikTech\QlikViewServer';
SET vExcludeFiles_or_Folders_2b = '';
SET vExcludeFiles_or_Folders_2c = '';
SET vExcludeFiles_or_Folders_2d = '';
SET vExcludeFiles_or_Folders_2e = '';    
SET vMultiCluster_HasAudit_2 = 1;             // Has Audit logging?:1 = Yes, 0 = No.
SET vMultiCluster_PublisherPath_2 = '';     // Has Publisher?: Log Path
SET vMultiCluster_QVPRPath_2 = '\\CCV003\QlikTech\ManagementService\QVPR';    // Repository Path
SET vMultiCluster_PubDateTimeFormat_1 ='CCYY-MM-DD H*24:MI:SS';       // DateTime format of Publisher task result logs (default = CCYY-MM-DD H*24:MI:SS)
     
// Server 3 CCV752 - using this for publisher since it the windows logical cluster for the 2 active/passive publisher servers in this windows cluster and has QDS service
SET vMultiCluster_ProfilePath_3 = '\\CCV0001\QlikTech\Governance_1.1\profiles\INT3';
SET vMultiCluster_FilePath_3a = '';
SET vMultiCluster_FilePath_3b = '';
SET vMultiCluster_FilePath_3c = '';
SET vMultiCluster_FilePath_3d = '';
SET vMultiCluster_FilePath_3e = '';
SET vExcludeFiles_or_Folders_3a =  '';
SET vExcludeFiles_or_Folders_3b = '';
SET vExcludeFiles_or_Folders_3c = '';
SET vExcludeFiles_or_Folders_3d = '';
SET vExcludeFiles_or_Folders_3e = '';
SET vMultiCluster_ServerPath_3 = ''; //should this be a blank since it is a publish server only
SET vMultiCluster_HasAudit_3 = 1;   
SET vMultiCluster_PublisherPath_3 = '\\CCV752\Qlikview\QDS';
SET vMultiCluster_QVPRPath_3 = '\\CCV0001\QlikTech\ManagementService\QVPR';
SET vMultiCluster_PubDateTimeFormat_3 ='CCYY-MM-DD H*24:MI:SS';  // DateTime format of Publisher task result logs (default = CCYY-MM-DD H*24:MI:SS)


////====================================
/// AGGREGATOR Configuration
//// Start with 101 and increment sequentially (do not skip numbers!)

// Aggregator 1
SET vMultiCluster_ProfilePath_101 = '\\CCV0001\QlikTech\Governance_1.1\profiles\aggregate1';
SET vMultiCluster_FilePath_101a = '$(vMultiCluster_ProfilePath_1)';
SET vMultiCluster_FilePath_101b = '$(vMultiCluster_ProfilePath_2)';
SET vMultiCluster_FilePath_101c = '$(vMultiCluster_ProfilePath_3)';


SET vClusterName_101a = 'CCV003'; // Add unique name for each "cluster" to distinguish it from other "clusters"
SET vClusterName_101b = 'CCV004';
SET vClusterName_101c = 'CCV752';

Thanks in advance,

Paul

1 Solution

Accepted Solutions
paultribe
Contributor III
Contributor III
Author

switched from multi-cluster template to user config template and some data is now loading

SET vQVGovHome ='G:\Qlikview\Governance_1.1';

SET vProfilePath ='G:\Qlikview\Governance_1.1\profiles\default';

SET vFileRootPath1='G:\QlikView\Documents\Public';
SET vFileRootPath1Exclude='*issue.qvw';
//Path 2
//SET vFileRootPath2=;
//SET vFileRootPath2Exclude=;


LET vServer1QVSFlag = 1;
LET vServer1AuditLogFlag = 1;
SET vServer1LogPath = '\\CCV003\QlikTech\QlikViewServer';
LET vServer1PubFlag = 0;

LET vServer2QVSFlag = 1;
LET vServer2AuditLogFlag = 1;
SET vServer2LogPath = '\\CCV004\QlikTech\QlikViewServer';
LET vServer2PubFlag = 0;


LET vServer3QVSFlag = 0;
LET vServer3AuditLogFlag = 1;
SET vServer3LogPath = 'G:\Qlikview\QDS';
LET vServer1PubFlag = 1;

View solution in original post

5 Replies
paultribe
Contributor III
Contributor III
Author

I hope this can help someone looking at this error. the scan errors QVD in the aggregator folders is throwing the execption for each of the task xml files it is trying to scan. here is an example of the source of the error:

ScanError_Path: \\CCV752\QlikView\QDS\Task_0059eeb5-c2ce-41bb-8bf7-f4a4-c0fa18b8.xml

Tyler_Waterfall
Employee
Employee

What version of QlikView are you using?

paultribe
Contributor III
Contributor III
Author

Hi Tyler,

using 11.2 SR 10

paultribe
Contributor III
Contributor III
Author

I made a slight mistake in the path: I forgot to put that the task xml file is in QDS\Tasks folder.

ScanError_Path: \\CCV752\QlikView\QDS\Tasks\Task_0059eeb5-c2ce-41bb-8bf7-f4a4-c0fa18b8.xml

paultribe
Contributor III
Contributor III
Author

switched from multi-cluster template to user config template and some data is now loading

SET vQVGovHome ='G:\Qlikview\Governance_1.1';

SET vProfilePath ='G:\Qlikview\Governance_1.1\profiles\default';

SET vFileRootPath1='G:\QlikView\Documents\Public';
SET vFileRootPath1Exclude='*issue.qvw';
//Path 2
//SET vFileRootPath2=;
//SET vFileRootPath2Exclude=;


LET vServer1QVSFlag = 1;
LET vServer1AuditLogFlag = 1;
SET vServer1LogPath = '\\CCV003\QlikTech\QlikViewServer';
LET vServer1PubFlag = 0;

LET vServer2QVSFlag = 1;
LET vServer2AuditLogFlag = 1;
SET vServer2LogPath = '\\CCV004\QlikTech\QlikViewServer';
LET vServer2PubFlag = 0;


LET vServer3QVSFlag = 0;
LET vServer3AuditLogFlag = 1;
SET vServer3LogPath = 'G:\Qlikview\QDS';
LET vServer1PubFlag = 1;