Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

At a given time, you can run one or more of these solutions in your WSO2 SP server. To specify the Analytics Solutions you want to configure, edit the <SP_HOME>/conf/<PROFILE>worker/deployment.yaml file as follows:

...

  1. Under the # Carbon Configuration Parameters section comment and wso2.carbon subsection, add a new subsection named #server type as shown below:

    Code Block
    # Carbon Configuration Parameters
    wso2.carbon:
      # server type
    Under  # server type , add a parameter named type

     section, specify the server type. The value depends on the solutions you want to enable in your SP server. Possible values are as follows:

    • wso2-sp : This allows you to enable multiple Analytics Solutions in your SP server. In addition, you can also deploy custom Siddhi applications and other custom SP artifacts to implement your own SP solutions.
      Note

      Running multiple Analytics solutions on a single server results in a high system overhead and this may affect the performance of your SP server. Therefore, it is not recommended to enable more than one Analytics solution at a given time, especially if your system handles a high volume of data.

    • wso2-apim-analytics : This only allows you to run the APIM Analytics solution in your SP server. When this value is specified, all the artifacts related to the APIM Analytics Solution are deployed and you cannot deploy any other Siddhi application in the SP server.

    • wso2-ei-analytics : This only allows you to run the EI Analytics solution in your SP server. When this value is specified, all the artifacts related to the EI Analytics Solution are deployed and you cannot deploy any other Siddhi application in the SP server.

    • wso2-is-analytics : This only allows you to run the IS Analytics solution in your SP server. When this value is specified, all the artifacts related to the IS Analytics Solution are deployed and you cannot deploy any other Siddhi application in the SP server.

    e.g., If you want to run multiple Analytics Solutions in your SP server, this parameter can be configured as follows:

    Code Block
    # Carbon Configuration Parameters
    wso2.carbon:
      # server type
      type: wso2-sp
  2. To enable the required Analytics Solutions, add a new subsection under If you selected wso2-sp as the server type,  enable the required solutions by adding the names of the required solutions as uncommented text in the analytics.solutions section under the # Carbon Configuration Parameters section named analytics.solutions, and enable the required solutions as shown in the example below: comment.

    Code Block
    # Carbon Configuration Parameters
    wso2.carbon:
      # server type
      type: wso2-sp
    
    analytics.solutions:
      IS-analytics.enabled: false
      APIM-analytics.enabled: true
      EI-analytics.enabled: true

    In this example, only the APIM Analytics is enabled by setting the APIM-analytics.enabled: paramater to true.