Synchronizing The Routing Engine Configuration - Juniper EX9200 Features Manual

High availability feature guide ex series
Hide thumbs Also See for EX9200:
Table of Contents

Advertisement

High Availability Feature Guide for EX9200 Switches

Synchronizing the Routing Engine Configuration

18
NOTE:
A newly inserted backup Routing Engine automatically synchronizes
its configuration with the master Routing Engine configuration.
When you configure GRES, you can bring the backup Routing Engine online
after the master Routing Engine is already running. There is no requirement
to start the two Routing Engines simultaneously.
Only when you enable the graceful Routing Engine switchover, you can copy the running
Junos OS version of the master Routing Engine to the backup Routing Engine.
NOTE:
If the system is in ISSU state, you cannot copy the running Junos OS
version of the master Router Engine.
Starting in Junos OS release 14.1, you can enable automatic synchronization of the master
Routing Engine configuration with the backup Routing Engine by including the events
CHASSISD_SNMP_TRAP7 statement at the [edit event-options policy policy-name]
hierarchy level.
CHASSISD_SNMP_TRAP7 is a system event logging message that the chassis process
(chassisd) generates a Simple Network Management Protocol (SNMP) trap with the
seven indicated argument-value pairs. An example of an event script to trigger automatic
synchronization of master to the backup Routing Engine is as follows:
[edit event-options]
policy UPGRADE-BACKUPRE {
events CHASSISD_SNMP_TRAP7;
attributes-match {
CHASSISD_SNMP_TRAP7.value5 matches "Routing Engine";
CHASSISD_SNMP_TRAP7.trap matches "Fru Online";
CHASSISD_SNMP_TRAP7.argument5 matches jnxFruName;
}
then {
event-script auto-image-upgrade.slax {
arguments {
trap "{$$.trap}";
value5 "{$$.value5}";
argument5 "{$$.argument5}";
}
}
}
}
event-script {
file auto-image-upgrade.slax;
}
After receiving this event, the event policy on the master Router Engine is triggered and
the image available in the /var/sw/pkg path is pushed to the backup Router Engine
upgrade. During script execution, the image is copied to the backup Routing Engine's
/var/sw/pkg path.
Copyright © 2017, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

Table of Contents