Installing TrueSight Smart Reporting in the application high-availability and disaster recovery mode
Where you are in the Installation process:
To install TrueSight Smart Reporting in the application high-availability and disaster recovery mode
Do the following:
- Review the Preparing-to-install-TrueSight-Smart-Reporting topic.
- Install TrueSight Smart Reporting on the primary node.
Use the following command to install TrueSight Smart Reporting on the secondary node:
java -jar <jar installer name>.jar action.nodbaccess=true
The secondary node is installed without creating or changing the database details. However, you will be prompted to enter the database user credentials.
- On the primary node, do the following:
Open the <installed directory>/appserver/webapps/ROOT/WEB-INF/web.xml file and create a new servlet tag as shown below:
<!-- Cluster Management --><servlet><servlet-name>ClusterManagement</servlet-name><servlet-class>com.hof.mi.servlet.ClusterManagement</servlet-class><init-param><param-name>ClusterType</param-name><param-value>DYNAMIC</param-value></init-param><init-param><param-name>SerialiseWebserviceSessions</param-name><param-value>true</param-value></init-param><init-param><param-name>CheckSumRows</param-name><param-value>true</param-value></init-param><init-param><param-name>EncryptSessionId</param-name><param-value>true</param-value></init-param><init-param><param-name>EncryptSessionData</param-name><param-value>true</param-value></init-param><init-param><param-name>AutoTaskDelegation</param-name><param-value>true</param-value></init-param><init-param><param-name>TaskTypes</param-name><param-value>REPORT_BROADCAST_BROADCASTTASK,REPORT_BROADCAST_MIREPORTTASK,FILTER_CACHE,SOURCE_FILTER_REFRESH,SOURCE_FILTER_UPDATE_REMINDER,THIRD_PARTY_AUTORUN,ORGREF_CODE_REFRESH,ETL_PROCESS_TASK,SIGNALS_DCR_TASK,SIGNALS_ANALYSIS_TASK,SIGNALS_CLEANUP_TASK,COMPOSITE_VIEW_REFRESH</param-value></init-param><init-param><param-name>MaxParallelTaskCounts</param-name><param-value>2,2,1,3,2,2,2,5,2,2,2,2</param-value></init-param><load-on-startup>11</load-on-startup></servlet>- Under the <web-app> tag, add the <distributable/> tag.
- Save the web.xml file
Open the <installed_directory>/appserver/conf/server.xml file and add the following in the <host> tag:
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>- Save the server.xml file.
Open the <installed_directory>/appserver/conf/Catalina/localhost/root.xml file and delete the following entry:
<Manager className="org.apache.catalina.session.PersistentManager" debug="0" distributable="false" saveOnRestart="false"><Store className="org.apache.catalina.session.FileStore" /></Manager>- Save the root.xml file.
- On the secondary node, do the following:
Open the <installed directory>/appserver/webapps/ROOT/WEB-INF/web.xml file and create two new servlet tags as shown below:
<!-- Cluster Management --><servlet><servlet-name>ClusterManagement</servlet-name><servlet-class>com.hof.mi.servlet.ClusterManagement</servlet-class><init-param><param-name>ClusterType</param-name><param-value>DYNAMIC</param-value></init-param><init-param><param-name>SerialiseWebserviceSessions</param-name><param-value>true</param-value></init-param><init-param><param-name>CheckSumRows</param-name><param-value>true</param-value></init-param><init-param><param-name>EncryptSessionId</param-name><param-value>true</param-value></init-param><init-param><param-name>EncryptSessionData</param-name><param-value>true</param-value></init-param><init-param><param-name>AutoTaskDelegation</param-name><param-value>true</param-value></init-param><init-param><param-name>TaskTypes</param-name><param-value>REPORT_BROADCAST_BROADCASTTASK,REPORT_BROADCAST_MIREPORTTASK,FILTER_CACHE,SOURCE_FILTER_REFRESH,SOURCE_FILTER_UPDATE_REMINDER,THIRD_PARTY_AUTORUN,ORGREF_CODE_REFRESH,ETL_PROCESS_TASK,SIGNALS_DCR_TASK,SIGNALS_ANALYSIS_TASK,SIGNALS_CLEANUP_TASK,COMPOSITE_VIEW_REFRESH</param-value></init-param><init-param><param-name>MaxParallelTaskCounts</param-name><param-value>2,2,1,3,2,2,2,5,2,2,2,2</param-value></init-param><load-on-startup>11</load-on-startup></servlet><servlet><servlet-name>MIStartup</servlet-name><init-param><param-name>DisableTaskScheduler</param-name><param-value>TRUE</param-value></init-param></servlet>(For high availability only) Look for the MIStartup tag and add the DisableTaskScheduler parameter as shown in the following example:
<servlet><servlet-name>MIStartup</servlet-name><init-param><param-name>DisableTaskScheduler</param-name><param-value>TRUE</param-value></init-param></servlet>- Under the <web-app> tag, add the <distributable/> tag.
- Save the web.xml file
Open the <installed_directory>/appserver/conf/server.xml file and add the following in the <host> tag:
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>- Save the server.xml file.
Open the <installed_directory>/appserver/conf/Catalina/localhost/root.xml file and delete the following entry:
<Manager className="org.apache.catalina.session.PersistentManager" debug="0" distributable="false" saveOnRestart="false"><Store className="org.apache.catalina.session.FileStore" /></Manager>- Save the root.xml file.
- Start the TrueSightSmartReporting service on the primary and secondary nodes.
Next step in the Installation process
Now that you have successfully installed Smart Reporting, review the Preparing to install Report Engine topic and proceed with the Report Engine installation.