Installing TrueSight Smart Reporting in the application high-availability and disaster recovery mode

This topic was edited by a BMC Contributor and has not been approved.  More information.

Where you are in the Installation process:

StepTask
1Complete the planning activities.
2Prepare for TrueSight Smart Reporting installation.
3

Install TrueSight Smart Reporting . (You are here)

4

Install the TrueSight Operations Management Report Engine.

5

Complete the post-installation activity.

To install TrueSight Smart Reporting in the application high-availability and disaster recovery mode

Do the following:

  1. Review the Preparing to install TrueSight Smart Reporting topic.
  2. Install TrueSight Smart Reporting on the primary node.
    • Installing TrueSight Smart Reporting with Oracle Open link
    • Installing TrueSight Smart Reporting with SQL Server Open link
  3. 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.

    Note: Secondary node installation by using the command line

    You must install the secondary node by using the command given in this step. Do not install the secondary node by using the installer.

  4. On the primary node, do the following:

    1. 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>

    2. Under the <web-app> tag, add the <distributable/> tag.
    3. Save the web.xml file
    4. 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"/>

    5. Save the server.xml file.
    6. 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>

    7. Save the root.xml file.
  5. On the secondary node, do the following:

    1. 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>

    2. (For high availability only) Look for the MIStartup tag and add the DisableTaskScheduler parameter as shown in the following example:

      Note: Ignore this step for disaster recovery

      Add this parameter for high availability and ignore it for disaster recovery. This configuration avoids duplication by preventing both nodes from sending emails at once.

      <servlet>

      <servlet-name>MIStartup</servlet-name>

      <init-param>

      <param-name>DisableTaskScheduler</param-name>

      <param-value>TRUE</param-value>

      </init-param>

      </servlet>

    3. Under the <web-app> tag, add the <distributable/> tag.
    4. Save the web.xml file
    5. 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"/>

    6. Save the server.xml file.
    7. 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>

    8. Save the root.xml file.
  6. Start the TrueSightSmartReporting service on the primary and secondary nodes.
Was this page helpful? Yes No Submitting... Thank you

Comments