Added ability to put cluster into read-only mode