Adding the disabling and enabling of cluster allocation for ES