Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] How to automatically restore the primary partition from the backup partition

0

0

Article ID: KB25758 KB Last Updated: 04 Mar 2017Version: 3.0
Summary:
This article provides information on how to automatically restore the primary partition from the backup partition on a SRX device.
Symptoms:
  • From 10.0, SRX branch devices support dual-root partitions.

  • But if the backup partition is also corrupt, SRX will not be able to boot up.

  • This article provides information on how to automatically recover the primary partition from the backup partition.
Cause:

Solution:
With the Junos event policy, when SRX boots from the backup partition, it will copy the OS from the backup partition to the primary partition:
set event-options policy boot-chk events system
set event-options policy boot-chk attributes-match system.message matches "Host 0 Boot from backup root"
set event-options policy boot-chk then execute-commands commands "request system snapshot slice alternate"
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search