Suppose I have two hosts, running rabbitmq as a cluster for HA.
Suppose on each of those hosts I also have the sensu-server running, and sensu-api.
Presumably those instances of server and api need to reach the same Redis host, since redis doesn’t cluster as easily. But it appears that server and api both assume that redis is running only on localhost.
Is it okay to run multiple servers and apis with independent redis instances? Or am I just catching a configuration option that’s missing?
(anyone please correct me if this is the wrong answer or the correct answer to the wrong question)
If you don’t specify a redis configuration on config.json it will try to connect using the defaults which usually are host=localhost, port=6379, db=0. Here’s an example of passing the configs:
Suppose I have two hosts, running rabbitmq as a cluster for HA.
Suppose on each of those hosts I also have the sensu-server running, and sensu-api.
Presumably those instances of server and api need to reach the same Redis host, since redis doesn’t cluster as easily. But it appears that server and api both assume that redis is running only on localhost.
Is it okay to run multiple servers and apis with independent redis instances? Or am I just catching a configuration option that’s missing?
(anyone please correct me if this is the wrong answer or the correct answer to the wrong question)
If you don’t specify a redis configuration on config.json it will try to connect using the defaults which usually are host=localhost, port=6379, db=0. Here’s an example of passing the configs:
Suppose I have two hosts, running rabbitmq as a cluster for HA.
Suppose on each of those hosts I also have the sensu-server running, and sensu-api.
Presumably those instances of server and api need to reach the same Redis host, since redis doesn’t cluster as easily. But it appears that server and api both assume that redis is running only on localhost.
Is it okay to run multiple servers and apis with independent redis instances? Or am I just catching a configuration option that’s missing?