10.3. Multiple Tenants by WAR file¶
On intra-mart Accel Platform, multi-tenant environment is realized by deploying multiple war files onto Resin.In the multi-tenant environment, resource is not shared with each tenant environment.Therefore, setiings of intra-mart Accel Platform should be separated for each tenant.Settings that need to be separated are as follows :
Clustering ID, Port Number for Clustering, and Port Range
Network Network Settings should be referred to.It is necessary that the settings of clustering ID, port number for clustering, and port range are made to avoid duplication among tenants.DataSource
Please refer to DataSource.It is necessary that the database connection destination should be set for each tenant.Storage Region
Please refer to Storage.It is necessary that the Storage region for use by each tenant should be set.Apache Cassandra Connection Destination
Please refer to IMBox.It is necessary that the connection destination of Apache Cassandra for connection by each tenant and keyspace should be set respectively.Apache Solr Connection Destination
Please refer to IM-ContentsSearch.It is necessary that Apache Solr for connection by each tenant should be set.war File Name
On Resin, context path is determined based on the name of war file.In the multi-tenant environment, war file names should be separated.Warning
In case Multiple Tenants by WAR file environment is built, please be aware that more memory is consumed than the single tenant case.For the setting of memory usage amount, please refer to Resin Configuration.