[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


SRP Module Redundancy

This section covers general issues of SRP module redundancy. It does not cover NVS cards or the behavior on systems running high availability features such as hitless SRP switchover. For information about managing NVS in a router that contains two SRP modules, see Managing Flash Cards on SRP Modules. For information about managing high availability in a router, see Chapter 7, Managing High Availability.

The information in this section does not apply to the ERX-310 router, which does not support SRP module redundancy. For this reason, any references to synchronization that may appear in command output or system messages do not apply to the ERX-310 router.

SRP Module Behavior

The SRP module uses a 1:1 redundancy scheme. When two SRP modules are installed in the router, one acts as a primary and the second as a redundant module. On ERX-7xx models, ERX-14xx models, and the ERX-310 router, both SRP modules share a single SRP I/O module located in the rear of the chassis. On the E120 router and the E320 router, both SRP modules share an SRP IOA located in the rear of the chassis.

After you install two SRP modules, the modules negotiate for the primary role. A number of factors determine which module becomes the primary; however, preference is given to the module in the lower slot. The SRP modules record their latest roles and retain them the next time you switch on the router.

With the default software settings, if the primary SRP module fails, the redundant SRP module assumes control without rebooting itself. For information about preventing the redundant SRP module from assuming control, see Managing SRP Module Redundancy.

On E120 and E320 routers, the switch fabric is distributed between the SFMs and the SRP modules. If the primary SRP module fails a diagnostic test on its resident slice of switch fabric, then it abdicates control to the redundant SRP module if both of the following are true:

When the redundant SRP module assumes control, the following sequence of events occurs:

  1. The original primary SRP module reboots and assumes the redundant role.
  2. The redundant SRP module restarts and assumes the primary role without reloading new code. (When upgrading software, you must reload the software on the redundant SRP module. See Chapter 3, Installing JUNOSe Software.)
  3. All line modules reboot.

The following actions activate the redundant SRP module:


Figure 25: SRP Module on ERX-7xx Models and ERX-14xx Models

Figure 26: SRP Module on the E120 Router and the E320 Router

Specifying the Configuration for Redundant SRP Modules

On a router with redundant SRP modules, you can specify the configuration that both the primary and redundant modules load in the event of a reload or switchover. A switchover can result from an error on the primary SRP module or from an srp switch command. The following behavior takes place only in the event of a cold restart; it does not take place in the event of a warm restart.

When you arm a configuration (.cnf) file by issuing the boot config cnfFilename command, a subsequent SRP switchover causes the redundant SRP module to assume the role of primary SRP module with the configuration specified by the .cnf file. The new primary SRP module does not use the running configuration.

If you want the redundant SRP module to instead use the running configuration when it assumes the primary role, then you must first arm a configuration file with the boot config cnfFilename once command. To exhaust the once option, you must then cause the redundant SRP module to reload for some reason, such as by issuing a reload command or by arming a new JUNOSe release or a hotfix file.

When a switchover subsequently occurs, the redundant SRP module reloads with the running configuration and assumes the primary role. For more information about the boot config command, see Chapter 11, Booting the System.

Installing a Redundant SRP Module

You can install a redundant SRP module into a running router, provided that the redundant SRP module has a valid, armed software release on its NVS card. Access to a software release in NVS ensures that the redundant SRP module can boot; the release need not be the same as that on the primary SRP module. To install a redundant SRP module into a running router, follow these steps:

WARNING: Do not insert any metal object, such as a screwdriver, or place your hand into an open slot or the backplane when the router is on. Remove jewelry (including rings, necklaces, and watches) before working on equipment that is connected to power lines. These actions prevent electric shock and serious burns.



CAUTION: When handling modules, use an antistatic wrist strap connected to the router's ESD grounding jack, and hold modules by their edges. Do not touch the components, pins, leads, or solder connections. These actions help to protect modules from damage by electrostatic discharge.

  1. Install the redundant SRP module into the open SRP slot (slot 6 or 7 for ERX-14xx models, the E120 router, and the E320 router; slot 0 or 1 for ERX-7xx models).

For detailed information about installing the SRP module, see the ERX Hardware Guide or the E120 and E320 Hardware Guide.

  1. Wait for the redundant SRP module to boot, initialize, and reach the standby state.

When the module is in standby state, the REDUNDANT LED is on and the ONLINE LED is off. If you issue the show version command, the state field for the slot that contains the redundant SRP module is standby.

  1. Synchronize the NVS file system of the redundant SRP module to that of the primary SRP module.

    NOTE: The SRP module reboots after synchronization is complete.


reload slot

synchronize

Managing SRP Module Redundancy

You can prevent the redundant SRP module from taking over when:

To configure this option:

  1. Issue the disable-switch-on-error command.
  2. Synchronize the NVS file system of the redundant SRP module to that of the primary SRP module.

Refer to the commands and guidelines in the previous section and below.

disable-switch-on-error

synchronize

Switching to the Redundant SRP Module

To switch immediately from the primary SRP module to the redundant SRP module, issue the redundancy force-switchover command or the srp switch command. You can configure the router to prompt you if the modules are in a state that could lead to loss of configuration data or NVS corruption.

redundancy force-switchover

srp switch

Upgrading Software on a Redundant SRP Module

For information about upgrading software on SRP modules on ERX-7xx models, ERX-14xx models, or the ERX-310 router, see Chapter 3, Installing JUNOSe Software.

Monitoring the Status LEDs

You can determine the redundancy state of line modules and SRP modules by examining their status LEDs. See Table 43 for a description of the LEDs functions. In addition, if you issue the show version command, the state field for the slot that contains the redundant SRP module should be standby.




Table 43: Function of the Online and Redundant LEDs 
Online LED
Redundant LED
State of the Module

Off

Off

Module is booting or is an inactive primary line module.

On

Off

Module is active, but no redundant module is available.

Off

On

Module is in standby state.

On

On

Module is active, and a redundant module is available.


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]