check lb for instance healthy and some refactoring of rolling replace functions.