Changing Default Configurations

You must change the default value of Apinizer’s Cache Master IP. The variable you need to change is apinizerCacheMasterIp. For Example: export apinizerCacheMasterIp=10.10.0.5:5900

$ vi startApinizer.sh

export apinizerCacheMasterIp=*.*.*.*:5900

You also need to change the MySQL dump file’s path. apinizerMysqlPath will be used for retrieving automatic backups through Apinizer Manager.

$ vi startApinizer.sh

export apinizerMysqlPath=/usr/bin/mysqldump

Additional configuration (Optional)

Apinizer starts the JVM with 2 GiB of memory by default. To change this value, you need to change 2 parameters in the startApinizer script.

$ vi startApinizer.sh

export APINIZER_START_INITIAL_MEMORY=-Xms2048m
export APINIZER_START_MAX_MEMORY=-Xms2048m

By default Apinizer uses the port 8090. To change this value, you need to change the APINIZER_PORT variable in the startApinizer script.

$ vi startApinizer.sh

export APINIZER_PORT=8090