Unknown macro: {next_previous_link3}
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 13 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.

  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. Set the property externalCassandra to false in all the datasources defined in the <PRODUCT_HOME>/repository/conf/bam-datasources.xml file. For more information on these datasources, see Datasources

Starting with BAM 2.5.0when embedded Cassandra is used, you need to set the externalCassandra property to false in the datasources, to automatically increment the Cassandra ports with the specified offset value. For example, an offset of 3 will automatically cause the Cassandra node bundled with the BAM server, to listen on port 9163. 

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

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