k2v-academy / K2View-Academy

Other
0 stars 0 forks source link

How to install multi Fabric instances on the same machine? #945

Closed i7QC2njzxHCc0LYBqCh0HQf30xF2DYuJjqtFbNe closed 1 year ago

i7QC2njzxHCc0LYBqCh0HQf30xF2DYuJjqtFbNe commented 1 year ago

On Fabric 6.5.9 HF18 we added the ability to install multi Fabric instances on the same machine by allocating a different port for each Fabric instance.

In order to achieve it the following setup should be configured for each Fabric instance:

  1. config.ini, WEB_SERVICE_PORT should be changed from default 3213 to the desired port.
  2. config.ini, PORT under [jdbc-server] section should be changed from 5124 to the desired port .
  3. config.ini, MDB_DEFAULT_CACHE_PATH should be changed from /dev/shm/fdb_cache to the desired path to avoid using the same cache for all Fabric instances.
  4. In order to login into Fabric console need to specify the port for example: fabric 10.21.2.95 5125
  5. Nodes tables in Cassandra, effective ip column was changed from ip to ip:port

This feature is currently not available on higher Fabric releases.