Knowledge Search


×
 

Autorecovery feature on SRX

  [KB22988] Show Article Properties


Summary:
The autorecovery feature is supported on dual-partitioned SRX100, SRX110,SRX210, SRX220, SRX240,SRX550 and SRX650 Services Gateways from Junos version 11.2. With this feature, information on disk partitioning, configuration, and licenses is recovered automatically; in the event it gets corrupted.

Symptoms:
The following issues can be resolved by using the autorecovery feature:

  • Disk partitioning corruption.

  • Junos OS rescue configuration is corrupted and unable load to the device.

  • Junos OS licenses corruption.
Cause:
  • Power cycle of the device.

  • Sudden power disconnection.

  • Abrupt restart of the device.
Solution:

For more information about the autorecovery feature, refer to the Junos® OS Initial Configuration Guide for Security Devices Release 11.4 (page no. 159 ).

Note :Autorecovery feature is supported on SRX110 and SRX550 devices from Junos 12.1 onwards Refer Feature Support Reference for SRX Series and J Series Devices (page no. 63).

Data which Is backed up in an Autorecovery:

The following data is backed up during the autorecovery process:

  • Rescue configuration (regenerated from the current configuration)

  • License keys

  • BSD labels (disk-partitioning information)


Data is backed up, only when the request system autorecovery state save command is executed. Disk-partitioning information is automatically backed up from factory defaults (for new systems); on installation from the boot loader and snapshot creation.

Before autorecovery is enabled:

root> show system autorecovery state
WARNING: recovery partition does not exist on the system
WARNING: Creating recovery partition now
Configuration:
File Recovery Information Integrity Check Action / Status
rescue.conf.gz Not Saved Not checked Requires save
Licenses:
File Recovery Information Integrity Check Action / Status
JUNOS123456.lic Not Saved Not checked Requires save
JUNOS123456.lic Not Saved Not checked Requires save
JUNOS123456.lic Not Saved Not checked Requires save
JUNOS123456.lic Not Saved Not checked Requires save
JUNOS123456.lic Not Saved Not checked Requires save
JUNOS123456.lic Not Saved Not checked Requires save
JUNOS123456.lic Not Saved Not checked Requires save
BSD Labels:
Slice Recovery Information Integrity Check Action / Status
s1 Not Saved Not checked Requires save
s2 Not Saved Not checked Requires save
s3 Not Saved Not checked Requires save
s4 Not Saved Not checked Requires save

After autorecovery is enabled:

root> request system autorecovery state save

root> show system autorecovery state
Configuration:
File Recovery Information Integrity Check Action / Status
rescue.conf.gz Saved Passed None
Licenses:
File Recovery Information Integrity Check Action / Status
JUNOS123456.lic Saved Passed None
JUNOS123456.lic Saved Passed None
JUNOS123456.lic Saved Passed None
JUNOS123456.lic Saved Passed None
JUNOS123456.lic Saved Passed None
JUNOS123456.lic Saved Passed None
JUNOS123456.lic Saved Passed None
BSD Labels:
Slice Recovery Information Integrity Check Action / Status
s1 Saved Passed None
s2 Saved Passed None
s3 Saved Passed None
s4 Saved Passed None


To clear autorecovery, you can use the [ root> request system autorecovery state clear ] command. To recover the device, with the saved information in autorecovery, use the [ root> request system autorecovery state recover ] command.

Note: Every time when the autorecovery command is executed, the rescue config will get edited with the current system configuration.

Related Links: