以Redis Cluster为例子,虽然Redis的作者开发了redistrib.rb这样的工具帮助我们快速构建和管理Redis Cluster,但是每个Redis节点仍然需要手工配置和启动,相对来说还是比较繁琐的,
而且由于是人工操作,所以存在一定的错误率。例如作为一个Redis运维人员,管理几百上千个Redis节点是很正常的事,如果单纯手工安装配置,既耗时又容易出错。
# WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.