Yes, I did this already. I am using different databases for different websites, but the problem is that they all show each forum dashboard. For example, if I have configured the 1 & 2 database for site one and the 3 & 4 database for another website, it should not show databases 3 & 4 in site one.
Here is my configuration:
// START Redis configuration //
$config['cache']['enabled'] = true;
$config['cache']['sessions'] = true;
$config['cache']['namespace'] = 'xfredisbhc';
$config['cache']['provider'] = 'SV\RedisCache\Redis';
$config['cache']['config'] = array(
'database' => 2,
'server' => '127.0.0.1',
'port' => 6379,
'use_lua' => true,
'serializer' => 'igbinary',
'persistent' => true,
'persistent_id' => 'prekt'
);
$config['pageCache']['enabled'] = true;
$config['pageCache']['recordSessionActivity'] = true;
$config['pageCache']['lifetime'] = 900;
$config['cache']['context']['page']['provider'] = 'SV\RedisCache\Redis';
$config['cache']['context']['page']['config'] = array(
'database' => 3,
'server' => '127.0.0.1',
'port' => 6379,
'use_lua' => true,
'serializer' => 'igbinary',
);
// END Redis configuration //
Screenshot: https://puu.sh/KfsSp/136057ba84.png
In the screenshot, it shows all other databases, too, which it should not show.
I am looking for a Multiple Redis Server Instances solution for Aapanel with Ubuntu.
https://github.com/centminmod/centminmod-redis
If you want to have as separate Redis server instance for each Xenforo cache context i.e. global, page cache and css cache, you will need to create more Redis server instances where each listen on their own port, have their own filesystem data directory and own service start/stop files and own config files. You can do this manually. I wrote a redis-generator.sh script for CentOS 7 and Centmin Mod only usage which can automate the entire process. No support provided by me, so use with your own discretion.
Hope now you understand what I am looking for