CSF Cluster - Master configuration sending blocks to all slaves and vice versa
Posted: 10 Oct 2015, 16:59
Hello,
I'm working on a setup that ideally would allow a single master to send blocks to all servers.
The setup i'm trying to achieve is this;
Slave(s) send all blocks to cluster master, and then the master sends it to the cluster slaves.
This way i can configure all slaves to SEND/RECEIVE from master IP and then the Master IP forwards all blocks to SLAVES.
As it stands right now, slaves send to Master but Master is not forwarding to other slaves.
All servers are amble to communicate with the master. Blocks are being sent.
Slaves have this config;
CLUSTER_SENDTO = "10.0.0.1"
CLUSTER_RECVFROM = "10.0.0.1"
CLUSTER_MASTER = "10.0.0.1"
CLUSTER_BLOCK = "1"
CLUSTER_CONFIG = "1"
Master has;
CLUSTER_SENDTO = "10.0.0.2,10.0.0.3,etc.."
CLUSTER_RECVFROM = "10.0.0.2,10.0.0.3,etc.."
CLUSTER_BLOCK = "1"
Based on this config it leads me to believe that slaves are sending to master and master should send to slaves but it seems to only block on master.
The main problem is that as my cluster grows adding the new IPs to SEND/REC on each slave becomes unbearable.
having the option to download a list would be ideal, using the mechanisms of GLOBAL_ALLOW would facilitate my tasks.
Does anyone have any suggestions? I'm using Ansible for deployments and it would be possible to add the IP's using template and the setup module to pull the ips.
I'm working on a setup that ideally would allow a single master to send blocks to all servers.
The setup i'm trying to achieve is this;
Slave(s) send all blocks to cluster master, and then the master sends it to the cluster slaves.
This way i can configure all slaves to SEND/RECEIVE from master IP and then the Master IP forwards all blocks to SLAVES.
As it stands right now, slaves send to Master but Master is not forwarding to other slaves.
All servers are amble to communicate with the master. Blocks are being sent.
Slaves have this config;
CLUSTER_SENDTO = "10.0.0.1"
CLUSTER_RECVFROM = "10.0.0.1"
CLUSTER_MASTER = "10.0.0.1"
CLUSTER_BLOCK = "1"
CLUSTER_CONFIG = "1"
Master has;
CLUSTER_SENDTO = "10.0.0.2,10.0.0.3,etc.."
CLUSTER_RECVFROM = "10.0.0.2,10.0.0.3,etc.."
CLUSTER_BLOCK = "1"
Based on this config it leads me to believe that slaves are sending to master and master should send to slaves but it seems to only block on master.
The main problem is that as my cluster grows adding the new IPs to SEND/REC on each slave becomes unbearable.
having the option to download a list would be ideal, using the mechanisms of GLOBAL_ALLOW would facilitate my tasks.
Does anyone have any suggestions? I'm using Ansible for deployments and it would be possible to add the IP's using template and the setup module to pull the ips.