Re: Resilience
I used to work at a supercomputer site that had a similar setup. Dual mains site feeds, big battery UPS and then generators.
I witnessed, actually from the control centre, a multi-factor failure. One mains feed was down for maintenance by the utility company, when we had a failure on the second feed (it actually was related to the first feed being down, someone at the utility company took a wrong decision, and did something that shut down the second feed.)
The first thing that happened was that the systems switched over to the batteries. The second was that the cooling systems switched off. Shortly thereafter, the diesel generators kicked in correctly, but there was another problem, with the power source transfer switch complex (capable of switching megawatts of power). Every time it tried to switch to the generators, it tripped, putting the systems back on to the batteries. Everything had been regularly tested except actually switching to the locally generated power from the generators.
While on the batteries, the cooling systems were not powered (this appears to be quite standard, I had witnessed this at another site 20 years earlier.)
The problem with this was that without the cooling systems, the water cooling to the supercomputer frames could not work (water was moving, but at less pressure, only powered by the pumps in the frames which were on the UPS). After a few minutes of trying unsuccessfully to switch to the generators, it became apparent that it was necessary to reduce the load on the batteries and also reduce the heat generation, and we engaged in a crash shutdown of one of the pair of main supercomputer clusters, together with two smaller clusters, and as much on the ancillary systems as could be done, such as the archiving solution and the desktop support environments (neither of which were in my domain).
They nearly got to the point of shutting down the remaining cluster in order to try to keep the data gathering and communication systems up (weather forecasting, needed to keep gathering the data from the remote weather stations and satellites or else it would be lost) when someone took the brave (or possibly foolhardy) decision to manually prevent the power transfer switch from tripping to allow the generators to provide power to the systems, by physically holding a breaker shut.
It then became a race to try to either work out why the transfer switch was tripping, or to get one of the external feeds working before the person holding the switch became too fatigued to keep the breaker shut!
External power from one feed was restored first, but we remained in reduced power mode for some time afterwards just in case we had another external interruption.
The point I'm trying to make is that even in the best planned environments, first of all more than one thing can go wrong, and cascade failures can happen, secondly, things other than keeping the systems powered can force a shutdown (like a lack of cooling), and third, even if you do have local generation, chances are that it probably can't keep all of the systems in a large data centre running indefinitely, and probably requies shedding of load to keep core systems running.
At this site, the wash-up concluded that it is difficult to cope with multi-factor failures but the environment should have survived, except that there was an unforeseen fault in the design of the power transfer switch which prevented the generators (which did work correct) from providing power when needed. A few weeks following this, they took a planned complete shutdown of the machine rooms to have this fault rectified. During this, I went into one of the halls, and it was the only time that I was there that they were quiet, with nothing running. It was quite eerie.
They then did a butt-clenching full test of a dual mains site feed failure while the systems were powered to test that the new design actually worked when there was load on it!