Support for redis master/slave configuration