Reorder VMs so that the queue and db nodes are brought up first.