Validating And Recovering Redundant Srp File Integrity - Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X Configuration Manual

System basics configuration guide software for e series broadband services routers
Table of Contents

Advertisement

JUNOSe 11.1.x System Basics Configuration Guide

Validating and Recovering Redundant SRP File Integrity

NOTE: The information in this section does not apply to the ERX310 router, which
does not support SRP module redundancy.
Even when flash cards on the primary and redundant SRP modules are synchronized,
differences can exist in the content of files that reside on the primary flash card and
the redundant flash card. You can use the flash-disk compare command to detect
these differences so you can validate and, if necessary, recover the file integrity of
the redundant SRP module.
The flash-disk compare command validates only those files that are synchronized
between the primary and redundant SRP modules. It does not compare files that are
normally excluded from the synchronization process, such as log files and core dump
files. The command uses a simple checksum error detection algorithm to compare
the contents of a file residing on the flash card of the primary SRP module with the
contents of the same file residing on the flash card of the redundant SRP module.
To validate and recover redundant SRP file integrity:
1.
2.
3.
4.
5.
6.
384
Managing Flash Cards on SRP Modules
Ensure that the file systems on the primary flash card and the redundant flash
card are synchronized. (See "Synchronizing Flash Cards" on page 381 for details.)
Issue the flash-disk compare command, specifying whether to perform the
checksum validation for all files in NVS or only for configuration files.
host1#flash-disk compare all
host1#flash-disk compare configuration
The flash-disk compare configuration command, which validates only
configuration files, excludes larger files such as software releases and scripts
from the validation process. As a result, this command takes less time to complete
than the flash-disk compare all command, which validates all NVS files.
Review the flash-disk compare output to determine whether any files failed the
checksum validation.
If the flash-disk compare command detects differences in the content of one
or more files, the router reports a checksum test failure.
If one or more files failed the checksum validation, determine whether the
corrupted files reside on the primary SRP module or on the redundant SRP
module.
If the corrupted file resides on the primary SRP module, issue the srp switch
command to force a switch from the primary SRP module to the redundant SRP
module.
This action ensures that the error-free version of the file will be on the SRP
module that takes control after the switch.
Issue the synchronize command with the low-level-check keyword to force the
router to:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1

Table of Contents