JunosE 11.3.x System Basics Configuration Guide
Synchronizing Flash Cards
synchronize
368
You can use the force keyword to force the dismount even when files on the flash disk
are open for modification.
See mount.
NOTE: The information in this section does not apply to the ERX310 router,
which does not support SRP module redundancy.
When the router contains two SRP modules, the contents of the modules' flash cards
need to be synchronized. Synchronization prevents the redundant flash card from
overwriting saved files on the primary flash card if the primary SRP module fails and the
redundant SRP module takes control.
By default, autosynchronization is enabled on the router. Autosynchronization runs as a
background process every 5 minutes, tracking changes in image, configuration, and script
files, and keeping the two SRP modules synchronized. You can also synchronize the SRP
modules manually by issuing the synchronize command.
Before synchronization, the router does the following:
Verifies that critical files on the primary SRP module are present. If files are missing,
the router does not proceed with the synchronization.
Verifies whether there is enough space on the redundant flash card to copy all the new
or changed files from the primary flash card.
Depending on the outcome of the space verification, the router proceeds as follows:
If the card has enough space, the router copies new or changed files from the primary
flash card to the redundant flash card without deleting any files on the redundant flash
card. If the router is interrupted while it is synchronizing with this method, the
synchronization resumes when it has recovered from the interruption.
If the card does not have enough space, the router deletes any files on the redundant
flash card that do not appear on the primary flash card, then copies new or changed
files from the primary flash card to the redundant flash card. If the router is interrupted
while it is synchronizing with this method, it does not resume the synchronization when
it has recovered from the interruption.
If an SRP synchronization is in progress or has failed and the router is recovering, the
router prevents the redundant SRP module from taking the primary role while the primary
is rebooting and for 30 seconds after the primary module has rebooted. These conditions
prevent a redundant SRP module with corrupted or missing files from becoming the
primary and overwriting files or directories on the primary module.
Copyright © 2010, Juniper Networks, Inc.
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - SYSTEM BASICS CONFIGURATION GUIDE 2010-10-04 and is the answer not in the manual?
Questions and answers