Planned maintenance and unexpected outages