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 10 Next »

Introduction of a port offset will affect all ports used by WSO2 BAM including the management console port (9443) and thrift/Secure thrift ports (7611/7711).

When using embedded Cassandra

If you are using the embedded Cassandra, which is shipped with the product, change the following configurations to apply a port offset to WSO2 BAM. 

  1. Change the value of the Offset property as required in the <PRODUCT_HOME>/repository/conf/carbon.xml file as follows: <Offset>3</Offset>
  2. Change the value of the port according to the defined port offset defined in the url element of the WSO2BAM_CASSANDRA_DATASOURCEwhich is defined in the <PRODUCT_HOME>/repository/conf/bam-datasources.xml file. For more information on these datasources, see Datasources

    Make sure that the externalCassandra property included within the configuration element in WSO2BAM_UTIL_DATASOURCE, which is defined in the <PRODUCT_HOME>/repository/conf/bam-datasources.xml file is set to false.For more information on these datasources, see Datasources.

  3. Replace the same property values is in the <PRODUCT_HOME>/repository/conf/etc/hector-config.xml file. 

When using external Cassandra 

If you are using an external Cassandra, change the following configurations.

  1.  Change the value of the Offset property as required in the <PRODUCT_HOME>/repository/conf/carbon.xml file as follows: <Offset>3</Offset>
  2. Replace the property values of the datasource configurations (url,username,password etc.) defined in the WSO2BAM_CASSANDRA_DATASOURCE of the <PRODUCT_HOME>/repository/conf/bam-datasources.xml file with the values of the external Cassandra connection accordingly. For more information on these datasources, see Datasources

  3. Set the externalCassandra property to true within the configuration element in all the datasources defined in the <PRODUCT_HOME>/repository/conf/bam-datasources.xml file, in the WSO2BAM_UTIL_DATASOURCE. For more information on these datasources, see Datasources 

    When using external Cassandra node(s) while the BAM port has been offset, the externalCassandra property must be set to true, to ensure that the port offset is not automatically applied to the Cassandra server connection parameters.

  4. Replace the property values of the datasource configurations (url,username,password etc.) defined in the WSO2BAM_UTIL_DATASOURCE of the <PRODUCT_HOME>/repository/conf/bam-datasources.xml file with the values of the external Cassandra connection accordingly.
  5. Replace the same property values is in the <PRODUCT_HOME>/repository/conf/etc/hector-config.xml file. 
  • No labels