Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Recovering a Secondary HA Host to a Previous Version or Factory Default

    You can recover an JSA secondary high-availability (HA) host to a previous version or factory default.

    You can recover a failed JSA secondary HA host that does not include a recovery partition or a USB port to a previous version. You can also restore the system to factory defaults. When you recover the failed secondary HA host, all data is removed and the factory default configuration is restored on the host.

    1. Using SSH, log in to the Console as the root user.
    2. Using SmartCloud Provisioning, copy the recovery.py script from the Console to the failed secondary HA host.

      Note: By default, the recovery.py script is downloaded to the /root directory if you do not specify a location.

    3. Obtain the JSA ISO from the following location: https://www.juniper.net/support/downloads/
    4. Use secure copy (SCP) to copy the ISO file to the target JSA host.

      scp <iso_file_name> root@<TargetIP_address>:/root

    5. Using SSH, log in to the secondary HA host.
    6. Type the following commands:

      chmod 755 recovery.py ./recovery.py -r --default --reboot <iso_file_name>

    7. Press Enter when prompted to restart the system.
    8. When prompted, type flatten and press Enter.

    The installer repartitions and reformats the hard disk, installs the Operating System, and then installs JSA. Wait for the flatten process to complete. This process can take up to several minutes. After the process is complete, the normal installation process continues.

    Modified: 2017-09-13