Junos OS

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  loader> install --format...: Cleanest way to upgrade Junos OS or stupid idea?

    Posted 01-12-2021 16:05
    Hi everybody,

    I just repaired a broken EX3300-24P using this method which was in a really bad state after a power outage. This worked like a charm.
    So it came to my mind that maybe this could be the cleanest way to upgrade Junos OS:

    1. backup configuration
    2. Do a "full recovery" with the desired version and KB20643
    3. import configuration

    Could this work or do I miss something? Is there "configuration beyond configuration" or something?
    How could this work in a virtual chassis?

    Thanks for your opinion and many greets
    Stephan


  • 2.  RE: loader> install --format...: Cleanest way to upgrade Junos OS or stupid idea?

     
    Posted 01-13-2021 03:50
    Hello Stephan,

    the legacy devices like EX3200, EX3300, EX4200 have internal flash hardware which are very susceptible to power outages and other things which affect the internal flash memory (like writing log messages). For these devices, depending on your config and usage, it is indeed often the cleanest method for an upgrade.

    Nowadays this has changed a bit, most modern devices have better internal SSDs which are not that susceptible to the above mentioned issues. However, if there are 30 power outages, then it can happen that you have to recover even a modern device.

    So actually it depends on the platform you use how to get and keep and clean systen.

    > Is there "configuration beyond configuration" or something?
    Depends on the platform and what you use. On the SRX platform, there could be some internal certificates or any keys for encryption which you would need to save and restore as well. If you have any SLAX or Python scripts installed, they are erased as well.


    > How could this work in a virtual chassis?
    If you want to "install --format" a VC, then you have to shutdown all members, remove the VC cables, and perform the recovery procedure on every single device and let them boot without the VC cables connected to it. After the first VC member (= master) is configured, you can attach the remaining members step-by-step to let them form a VC.

    ------------------------------
    ------------------------------
    If my answer provides the solution, please mark my post as "Best Answer".
    If you think my answer helps, please "Recommend" my post.
    ------------------------------



  • 3.  RE: loader> install --format...: Cleanest way to upgrade Junos OS or stupid idea?

    Posted 01-19-2021 11:28


  • 4.  RE: loader> install --format...: Cleanest way to upgrade Junos OS or stupid idea?

    Posted 01-19-2021 11:35
    Hi F1ght3r,

    thank you so much for your explanations!
    Fortunately I will soon have four EX3300-24P for testing purposes in my lab, so I will try a Junos OS upgrade the way you described.
    And I will gladly report about it here. :-)

    Greets
    Stephan

    Edit: Post No. 3 was a mistake from our second Juniper account... Maybe someone can delete it? Thanks! :-)