Security Management

Expand all | Collapse all

Junos Space Upgrade - 15.1 - 18.2

  • 1.  Junos Space Upgrade - 15.1 - 18.2

    Posted 07-03-2018 18:37

    Hi,

     

    we have JA2500 space node running old software version 15.1 and I needs to upgarde is to latest space version 18.2 and I know its step by step process to reach 18.2.

     

    How I can proceed with this upgrade , should I go through applications and start upgrading from Network Management Platform and then security director and then Logging.

     

    Can we do this to upgarde as globally which can also upgrade these three applications instead going through one by one upgrading applications.

     



  • 2.  RE: Junos Space Upgrade - 15.1 - 18.2

     
    Posted 07-03-2018 19:14

    Hi Toufiq,

     

    From 15.1, you first need to go on 15.2R2 (You will have to upgrade your SD application on 15.2) and then from 15.2 to 16.1, it is a different upgrade as mentioned in below doc.

     

    https://www.juniper.net/documentation/en_US/junos-space16.1/platform/topics/task/installation/junos-space-platform-16.1-upgrading.html

     

    Once you are on 16.1, you will again have to upgrade your SD application to compatible release.

    Junos Space Application Compatibility - Check this before upgrading: https://kb.juniper.net/InfoCenter/index?page=content&id=KB27572

     

    16.1 > 17.1 > 18.2 along with its applications.

     

    Always check for compatibility in release notes for respective application releases.

     

    -PL

    If this worked for you please flag my post as an "Accepted Solution" so others can benefit.



  • 3.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-03-2018 19:27
    Hi, Thanks for your reply. So when u say SD applications its under Administration > Applications > Network Management Platform and Security director and logging. so 15.1 to 15.2 through applications 15.2 - 16.1 Full upgrade as per document 16.1 - 16.2 appliations 16.2.- 17.1 Full upgrade 17.1-17.2 applications 17.2 - 18.1 Full upgrade So when we do from 15.1 to 15.2 what software needs to upload and upgrade, I downloaded 15.2R2.image files so I can use this for Network Management application upgrade and same for Security director and logging one by one


  • 4.  RE: Junos Space Upgrade - 15.1 - 18.2

     
    Posted 07-03-2018 20:23

    Yes, SD = Security Director, it will install/upgrade its sub-applications listed below.

    Security Director:Logging and Reporting

    NSM Migration

    Log Director

    Application Visibility

     

    First, you will have to upgrade Network Management application to 15.2R2 using below link:

    Junos Space Platform Upgrade   (https://www.juniper.net/support/downloads/?p=space)

    Upgrading Junos Space Network Management Platform:  https://www.juniper.net/documentation/en_US/junos-space15.2/platform/topics/task/installation/junos-space-platform-upgrading.html 

     

    And then for Security Director 15.2R2 upgrade : Security Director (https://www.juniper.net/support/downloads/?p=spacesecdir)

    Upgrading a Junos Space Application:  https://www.juniper.net/documentation/en_US/junos-space15.2/platform/topics/task/installation/junos-space-platform-upgrading.html 

     



  • 5.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-04-2018 16:00

    Thanks,

     

    So when I upgrade Network Management Application from 15.1 to 15.2R2 it stays on below message and not progressing further. Is there any step I am missing. I am upgrading to 15.2R2.img

     

    Junos Space upgrade is preparing to start up



  • 6.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-04-2018 16:19

    Fixed this was maintenance password issue.

     

    Thanks



  • 7.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-04-2018 16:58

    Hi,

     

    I upgraded from 15.1R1 to 15.2R2 and then rebooted through maintennce page.

     

    Now still I cant see login page after reboot space came back up, If I exit maintenance page but still its not exiting from maintenance page. Now I needs to upgrade security director as per procedure but cant get out of maintenance page.



  • 8.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-04-2018 17:35

    Thanks I sorted it out after restarting jboss servive from CLI.

     

    Now doing security director upgrade



  • 9.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-04-2018 18:45

    Hi,

     

    How I can perform Space Data Backup mentioned in upgrade document.

    So this backup means all the firewall rules and NAT rules addresses and services backing up.

     

    Or the DB Backup like My SQL and other services backup.

     

    From Document I cant find the directory below directories, I can go till    cd /var/cache/  but no space-backup-restore inside

     

    /var/cache/space-backup-restore directory:

    cd /var/cache/space-backup-restore



  • 10.  RE: Junos Space Upgrade - 15.1 - 18.2

     
    Posted 07-04-2018 18:53

    First you need to run backup script mentioned in Downloading and Installing the Junos Space Platform 15.2R2 Patch : https://www.juniper.net/documentation/en_US/junos-space16.1/platform/topics/task/installation/junos-space-platform-16.1-upgrading.html#download-install-patch  Step 8: sh patchme.sh

     

    Then only you can see /var/cache/space-backup-restore

     

    This backup will contain all space data.

    -PL



  • 11.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-04-2018 20:15

    Thanks,

     

    Actually  I already run that patch and got below response.

     

    [root@space-0319032016000021 15.2R2-hotpatch-v11]# sh patchme.sh
    Patch 15.2R2-hotpatch-v11 already installed.
    15.2R2-hotpatch-v11
    PR1174945(Top Level Job Status shows failure when sub-jobs are still in progress                                     )
    PR1173658(EMS-NBI - 1 - Critical - REST API - Managed-Element query contains inc                                     orrect equipment holders reference)

     

     

    But when I go inside  as below , I cant see backup-restore file under cache as below.

     

    [root@space-0319032016000021 cache]# pwd
    /var/cache
    [root@space-0319032016000021 cache]# ls
    fontconfig  jmp      jmp-monitor  jmp-service   libvirt  mod_proxy  yum
    jboss       jmp-geo  jmp-sbr      jmp-watchdog  man      mod_ssl
    [root@space-0319032016000021 cache]#



  • 12.  RE: Junos Space Upgrade - 15.1 - 18.2

     
    Posted 07-04-2018 20:22

    You are running a wrong patch, the one you ran is hot patch, you should run 15.2R2.2-SpaceUpgradeBackup.tgz.

    Link for backup patch: https://webdownload.juniper.net/swdl/dl/secure/site/1/record/64306.html



  • 13.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-04-2018 21:24

    Yes Thanks this one works.

     

    Since I dont have FTP server so can can I use winscp software to copy backup files from space to my computre.

     

    and 2ndly after backup process space gone under maintenance page and not in normal login page.



  • 14.  RE: Junos Space Upgrade - 15.1 - 18.2

     
    Posted 07-04-2018 21:31

    Going into maintenance mode is normal as it stop jboss service, you can exit from maintenance mode after your backup is complete.



  • 15.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-04-2018 21:36

    Thanks,

     

    Now I can see its coming up.

     

    So Can I do WinScp from space to my local computer like simpe copy and paste files from space to my computer through WINScp as I dont have FTP server and not on the site to connect USB.



  • 16.  RE: Junos Space Upgrade - 15.1 - 18.2

     
    Posted 07-04-2018 21:43

    Yes, while backup give the location of your junos space server itself (2.Remote SCP server)and once the backup is complete using winscp copy backup file to your local machine.

     

    For 16.1 upgrade, you will have to re-image the junos space box using USB and while deployment you will get an option to restore this 15.2R2 backup, refer 16.1 upgrade doc above.



  • 17.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-05-2018 13:51

    Thanks,

     

    So what server port shoud I use as It asks for server port for backup data



  • 18.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-05-2018 14:04

    Thanks,

     

    I added port 22 and it works

    so still going process



  • 19.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-11-2018 07:42

    You can absolutely take the backup via SCP. On a JA-2500, you can also do so via USB. I have some rough notes on the upgrade process over yonder: https://yorickdowne.wordpress.com/2017/08/05/junos-space-upgrade-to-16-1r2/

    That's absolutely meant to be used with Juniper's upgrade instructions, not as a standalone guide.

    Edit: Be aware that as of 7-11-2018, Security Director 18.2R1 has not been released. Once you upgrade all the way to SPACE 18.2, you'll need Security Director 18.2 as well. Security Director 18.1R2 is not supported on SPACE 18.2.



  • 20.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-11-2018 14:58

    Hi,

     

    Thanks for the update otherwise I was going to 18.2 release.

     

    Now I will upgrade till 17.2 only and wait for 18.2 security director to be released and then will move to 18.2 release.



  • 21.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-11-2018 18:51

    Hi,

     

    Just  question, how many types of backup I needs. I already took one backup by running spacebackup patch file.

    I needs to have backup of existing configurations like addresses , services , NAT and firewall polcies.

    And 2nd backup of space itself like SQL and other applications settings to operate the space normally.

     

     

    1 -  Configurations Backup Like addresses , Services, NAT and firewall policies

    2 - Space node operating system back like SQL etc

     

    Do we needs to have second back as  I already took below backup files through spacebackup patch file.

     

    a) space-15.2R2.4.tgz

    b) md5.txt

    c) space-readme.txt

    d) backup status.log



  • 22.  RE: Junos Space Upgrade - 15.1 - 18.2

     
    Posted 07-11-2018 19:21

    Hi,

    You just need one backup from using spacebackup patch file which you have already taken I guess.

    -PL



  • 23.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-11-2018 19:43

    Thanks,



  • 24.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-19-2018 11:52

    Security Director 18.2R1 has now been released



  • 25.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-29-2018 15:11

    Thanks for update and its good news.

     

    Hows the look of new SD , Is it looks same as 15.2R2 or different.



  • 26.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 07-31-2018 16:49

    Hi,

     

    Question please.

     

    when upgrading to 16.1R1 from 15.2R2,  Do we needs to do through space or CLI

    we have two space nodes in fabric, do I needs to upgrade nodes one by one or its just one command will upgrade both nodes automatically.

     

    I am doing upgrade remote access, will it be ok



  • 27.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 04-26-2020 10:21

    Hi,

     

    I am upgrading junos space to 18.2 version and currenty stuck at 16.1 version. I am getting issue with backinup Database and getting bellow error even though Data base exist on right location, Any idea please

     

    Even mentioned right location od DB Backup but when restoring getting below error

     

    Database location local on space

    [root@space-0319032016000018 ~]# cd /var/cache/jboss/backup
    [root@space-0319032016000018 backup]# ls
    dbIndex.txt space-15.2R2.4.tgz

     

    Error when restoring

    Checking 15.2 R2 Backup Files....

    Backup File not found. Please try with valid Backup file path.
    The Restore process might take several hours if the overall backup content including database size is in few Giga-Bytes...

    Restore Junos Space Backup

    1> Remote Server
    2> USB
    3> Local

    Select option :

     

     

     



  • 28.  RE: Junos Space Upgrade - 15.1 - 18.2

     
    Posted 04-26-2020 11:15

    Hi ,

     

    Please follow below article step by step:

     

    https://www.juniper.net/documentation/en_US/junos-space18.1/platform/topics/task/installation/junos-space-platform-16.1-upgrading.html

     

    - On 15.2R2, Take the backup file using script mentioned in above doc.

    - Install 16.1 and select to restore the 15.2.R2 backup (this will upgrade 15.2 backup to 16.1)

     

    Which step you are following from the doc ?

     

    -Pravin



  • 29.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 04-28-2020 20:09

    Thanks,

     

    I was able to backup it and was able to see everything.

     

    Then I tried to upgrade it to 19.1R1 from 18.4R1 but this was completed successfully.

    when I ssh it I can see 19.1R1 version but I cant access WEB GUI , I restarted all services amny time but still cant access WEB GUI.

     

    Any idea what could be the issue why WEB GUI is not working  with version 19.1R1, I was able to access WEB GUI in version 18.4R1.



  • 30.  RE: Junos Space Upgrade - 15.1 - 18.2

     
    Posted 04-28-2020 20:15
    Check httpd service if it is running or not.


    # /etc/init.d/httpd status

    If httpd is running, what error you are getting in UI? Is it showing in maintenance mode?

    -PL


  • 31.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 04-28-2020 20:26

    Here is the staus

     

    [root@space-0319032016000018 ~]# /etc/init.d/httpd status
    webProxy is stopped
    [root@space-0319032016000018 ~]#

     

    Getting error on browser that Connection not found



  • 32.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 04-28-2020 20:31

    Many thanks,

     

    After restarting httpd service , I can access WEB GUI



  • 33.  RE: Junos Space Upgrade - 15.1 - 18.2

    Posted 04-30-2020 15:35

    Another question,

     

    when I reboot space , why I need to restart all servives manully through CLI like jboss, httpd and mysql.

     

    These services should be started automatically right after rebooting space.



  • 34.  RE: Junos Space Upgrade - 15.1 - 18.2