Automatic switchover to a standby system upon primary system failure