Brendan Murtagh
unread,Jun 24, 2013, 2:27:24 PM6/24/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to redi...@googlegroups.com
Hello,
It was suggested to post my situation to the Redis Mailing List in an attempt to get some help. First of all, this is my first experience with Redis and I'm simply setting up the Redis server to be used by our developers. Currently in our Production environment, the Redis database is written to the local filesystem via /var/lib/redis/dump.rdb. The Redis cache is kept and can be re-used on after a reboot.
In our Development environment, we have created /var/lib/redis as an NFS mount to a QTree on a NetApp volume. The same configuration file from Production is being used (same database name, working directory, Snapshotting, etc.) are the same. I'm ran a diff on both files to make sure. The problem we ran into was that we rebooted our Redis server in the Development environment and lost the cache that was built. I have no idea why this happened or where to begin looking since Redis is still very new to me. Is anyone doing a similar setup with the Redis DB being stored on via an NFS mount?
Redis has been installed via apt-get package for both environments.
There are a few differences between Production and Dev. To give a quick outline:
Prod
Ubuntu 10.04 x64
DB is stored on local filesystem
Dev:
Ubuntu 12.04 x64 (Virtual Machine on VMWare ESXi 5.1)
DB is stored on NFS mount, but mounted on the Redis server as /var/lib/redis (data is being written to dump.rdb)
My only thought was that Redis was being started prior to the mount being available and causing the data to not be available, but I'm not certain this is the issue or even happening. I'm not sure how to confirm that one way or another.
Any thoughts, direction, and suggestions is greatly appreciated.
Thanks,
Brendan