Permalink
Browse files

Minor spaces/indents cleanup

  • Loading branch information...
1 parent 6dc2c1f commit 951a0ec81b425a35fbcbf950a1cc3d2a288c0532 @aw committed Aug 19, 2011
Showing with 8 additions and 7 deletions.
  1. +1 −1 keepalived.conf
  2. +2 −2 redis-mdbslave.conf
  3. +5 −4 redis.sh
View
@@ -5,7 +5,7 @@ global_defs {
vrrp_script chk_redis {
script "killall -0 redis-server"
interval 2
-}
+}
vrrp_instance VI_ETH0 {
interface eth0
View
@@ -5,7 +5,7 @@ pidfile /home/redis/redis.pid
port 6380
timeout 300
save 900 1
-save 300 10
+save 300 10
save 60 10000
dbfilename mdb-1.rdb
dir /home/redis/
@@ -15,4 +15,4 @@ databases 16
glueoutputbuf yes
shareobjects no
shareobjectspoolsize 1024
-slaveof dbwrite-pool-1 6379
+slaveof 172.16.0.180 6379
View
@@ -11,11 +11,15 @@
# -s start redis-server as a SLAVE
# -k stop all redis-servers
#
+# Tested:
+#
+# - Redis 1.02
+# - Keepalived 1.1.19
+#
# Redis Setup:
#
# useradd -m -U redis
# chmod 750 /home/redis
-# echo "172.16.0.180 dbwrite-pool-1" >> /etc/hosts
#
# Configurations:
#
@@ -33,10 +37,7 @@
# Note:
#
# *This has NOT been tested in a production environment, use at your own risk*
-#
-###############
-
#########################
# User Defined Variables
#########################

0 comments on commit 951a0ec

Please sign in to comment.