The other useful settings besides disabling shard allocation are the recovery settings: https://github.com/elasticsearch/elasticsearch/blob/master/config/elasticsearch.yml#L249-L266