Standby Redundancy, Equal Failure Rates, Imperfect Switching
First off, switches are not perfect, so this situation includes the reliability of the switch. Switch reliability may be a factor of storage time, probability of actually working when called on to work, or number of switching cycles. Each switch technology may be slightly different. For this equation, you need the reliability or probability of success given the primary unit has failed. Although we are assume the switch reliability is independent of the primary unit reliability and subsequent failure.