SRX

 View Only
last person joined: 4 days ago 

Ask questions and share experiences about the SRX Series.
  • 1.  script to automate upgrade

    Posted 23 days ago
    good day folks,

    does anyone have a working script to automate an image pull of an srx firmware from a dhcp server then execute the upgrade?

    e.g:
    1.use an existing srx to be a repository of the image under the /var/tmp directory
    2.save the image to /var/tmp of an srx configured to be a dhcp server
    3.create a script to pull the image from a dhcp srx /var/tmp and save it in another srx where the upgrade has to be made under /var/tmp directory
    4.once the pull is finished, the script will run that image with all the requisites details;
         -dhcp server ip
         -root account 
        -/var/tmp folder
        -the commands and the switch (e.g no-reboot no-copy)

    The goal is to minimize the manual upgrade if I have 10 srx or EX devices.

    TIA,
    Leangf

    ------------------------------
    Leangf Leangf
    ------------------------------


  • 2.  RE: script to automate upgrade

    This message was posted by a user wishing to remain anonymous
    Posted 23 days ago
    This message was posted by a user wishing to remain anonymous

    Junos has an auto-upgrade feature on boot that is typically turned off.  Whattif you could leverage this feature but modify the URL or FTP site it points to and point it to your repository instead?