divide into master and peer recipe to support federated storage