fixed format checks for redis master file

add example for redis master failover
starting redis master/slave