Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

This section explains how a node in a WSO2 DAS cluster accesses the persisted data in the Date Access Layer (DAL).  

Configuring the mode

The data service accessing mode of the node is specified in the <DAS_HOME>/repository/conf/analytics/analytics-data-config.xml file. It can be one of the following.

ModeDescription
LOCALThe Analytics API accesses the required Analytics data services within the same node and invokes them directly without going through the network.
REMOTEThe Analytics API searches the network for the required data services. This mode is suitable when the node is a light weight node and cannot contain Analytics data services. When this mode is set, configure the connection related parameters as required.
AUTOThe connection mode is automatically switched between Local and Remote based on data service availability. This is the default mode.

Configuring the connection related parameters

The following parameters in the <DAS_HOME>/repository/conf/analytics/analytics-data-config.xml file can configured to optimize the performance of a node in terms of resource consumption when accessing data services.

These configurations are used only when the data service accessing mode of the node is REMOTE.

ParameterDescriptionDefault Value
URLThe URL of the server in which the Analytics data services are hosted.http://localhost:9763
UsernameThe user name to access the server in which the required Analytics data services are hosted.admin
PasswordThe password to access the server in which the required data services are hosted.admin
MaxConnectionsThe maximum number of connections that are allowed to be made from the node to remote instances in order to access Analytics data services.200
MaxConnectionsPerRouteThe maximum number of connections per route that are allowed to be made from the node to remote instances in order to access Analytics data services.200
SocketConnectionTimeoutThe number of milliseconds after which the socket connection should time out when the node connects to an Analytics data service.60000
ConnectionTimeoutThe number of milliseconds after which the connection should time out when the node connects to an Analytics data service.60000
TrustStoreLocationThe path to access the trust store. A trust store is required only if the URL used to access remote data services is in HTTPS protocol. If this parameter is not configured, the trust store configured in the <DAS_HOME>/repository/conf/carbon.xml file is used by default.

repository/resources/security/client-truststore.jks

This parameter is commented out by default.

TrustStorePasswordThe password to access the trust store.

wso2carbon

This parameter is commented out by default.

  • No labels