So as an update:
Graciously Nimish had a conversation with me offline, and pointed me in the right direction! In short, I'm doing redis lookups from a search head against a number of indexers. When the search gets ditributed the indexers run the search and need to reach the redis DB. I suspect you could run multiple redis databases, or do what I did, which is open the redis server on the search head to the indexers.
So when I built my redis connection in the script, rather then hitting localhost I do something like this
red = redis.Redis(host='splunksearch.example.com', port=6379, db=0)
In addition I found that I could use the EPEL version of python-redis with by doing this in my script
sys.path.append("/usr/lib/python2.4/site-packages/")
Unfortunately, I've got RHEL5 and RHEL6 indexers and search heads in my cluster which have slightly different path's to python, /usr/lib/python2.4 VS /us/lib/python2.6 so i'm creating a symlink on all my Splunk servers to /usr/lib/python
So far this seems like it's working pretty ok! Some of this may be totally self evident, but I'm pretty new to python/redis . In any case I hope this helps someone else out who wants redis running with distributed search!
... View more