If you're using sentinel, it can append configuration to the end of the conf file. I wouldn't expect the conf to be changed otherwise, but I'm only new to the product.
I'm not sure about cluster mode.
On Tuesday, 7 June 2016 18:10:32 UTC+1, Dinesh Radhakrishnan wrote:I am starting a redis_server with a .conf file which has information in there saying "slave of x"
After running it for a while, the conf file gets completely overwritten. I can use that .conf file to start again. Is the expectation to keep a master copy and copy it to a temp copy and then restart redis_server with the temp.conf ? thanks.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Cheers,
Bill
For sentinel itself, which is not what the OP posted about, there is very little sentinel configuration that isn't about the pods it is managing. The items you would configure sentinel for other than pods and their state are things you don't dynamically change such as where it listens, PID file location, etc.. Thus in practice it makes no difference as long as you don't try to use a configuration management system such as puppet to manage the config file. Doing this for Redis itself is likewise a bad idea.
--
You received this message because you are subscribed to a topic in the Google Groups "Redis DB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/redis-db/1JB7OkaaxZo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to redis-db+u...@googlegroups.com.
It isn't bad, just different. Redis is designed to be manageable directly. File based configuration management systems utterly fail on dynamic configurations such as Sentinel and Redis - they aren't designed to handle that scenario. It isn't the fault of Redis, but the mistake of trying to apply one paradigm's tools to a different paradigm. Just as you don't blame the diesel engine powered car for adding gasoline to it.Redis is simply one of a class of tools which is not file based for ongoing dynamic configuration - the file is only used for startup recoverability. Different paradigms exist to handle different scenarios. None of them is inherently bad. File based configuration management tools are intended to solve the problem of file based configurations. When a service doesn't utilize it, it isn't applicable. That doesn't make the design bad, simply different.
On Fri, Jun 10, 2016 at 10:43 AM, Jay Rolette <rol...@infinite.io> wrote:On Fri, Jun 10, 2016 at 7:36 AM, The Real Bill <ucn...@gmail.com> wrote:For sentinel itself, which is not what the OP posted about, there is very little sentinel configuration that isn't about the pods it is managing. The items you would configure sentinel for other than pods and their state are things you don't dynamically change such as where it listens, PID file location, etc.. Thus in practice it makes no difference as long as you don't try to use a configuration management system such as puppet to manage the config file. Doing this for Redis itself is likewise a bad idea.The fact that you can't use a configuration management system (puppet, ansible, etc.) to manage Redis and Sentinel configuration is exactly the reason I had in mind when I said it was a bad design decision.--
You received this message because you are subscribed to a topic in the Google Groups "Redis DB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/redis-db/1JB7OkaaxZo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.