Hello,
I try to create cluster.
Is there some guid how to install separatly redis DB and gui app on sepparate hosts ?
Hello,
I try to create cluster.
Is there some guid how to install separatly redis DB and gui app on sepparate hosts ?
there is no guide how to create an external redis cluster. If you create multiple ferrumgate master machines. then follow these documentation. How to make a cluster - FerrumGate
ferrumgate scripts will create a master cluster.
or if you want to play take a look at /etc/ferrumgate/env file. this is the config, if all machines reach to same redis. they will behave like cluster. Just try to change lines that starts with REDIS_
Hello,
After a long time, i decided to migrate my v1.x cluster to 2.x
So I backup my conf, delete all my v1 cluster VM, create a new cluster with the documentation.
I have issue with wg I think because my nodes cannot communicate between them on 169.254.254.x
CAN you help me ? I have done the process twice with no chance.
All my 3 nodes works when they are standalone.
All my VM have only one NIC
the main idea creating cluster is
assigning 169.254.254.* to each machine. and implementing wireguard between them.
If you have 3 master /worker nodes. check env file
current machine Master configuration
CLUSTER_NODE_IP
CLUSTER_NODE_PORT
CLUSTER_NODE_PRIVATE_KEY
CLUSTER_NODE_PUBLIC_KEY
then Peers
CLUSTER_NODE_PEERS
these parameters creates a cluster between machines.
if cluster works
from your machine , you should be able to ping
CLUSTER_NODE_PEERS 169.254.254.*
after ferrugmate starts, please check
/etc/wireguard/wgferrum.conf (master cluster) and
/etc/wireguard/wgferrumw.conf (worker cluster)
these files are created according to env files.
if something is not working, check each machines CLUSTER_NODE_IP/CLUSTER_NODE_PORT
CLUSTER_NODE_IPW/CLUSTER_NODE_PORTW
and check keys,
CLUSTER_NODE_PEERS (masters) and CLUSTER_NODE_PEERSW (workers) variables are other machine ips and keys.
My offer is
try to reset everthing with below command on each machine
ferrumgate --regenerate-cluster-keys
ferrumgate --regenerate-cluster-ip
ferrumgate --regenerate-cluster-ipw
ferrumgate --regenerate-cluster-ipw
then follow this documentation again How to make a cluster - FerrumGate
I hope this helps