For Grouper 2.5+ see the new approach for Grouper 2.5+ packaging and versioning strategy   

  1. To upgrade tomcat, get the latest tomcat of the correct version.
  2. For Grouper 2.4, this is tomcat 8.5
  3. Get the tar.gz link to the latest, download to webprod3, e.g.

    [mchyzer@webprod3 tools]$ pwd
    [mchyzer@webprod3 tools]$ wget
    --2019-06-25 16:24:55--
    Connecting to||:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 9711748 (9.3M) [application/x-gzip]
    Saving to: “apache-tomcat-8.5.42.tar.gz”
    100%[==========================================================================================>] 9,711,748 29.6M/s in 0.3s
    2019-06-25 16:24:56 (29.6 MB/s) - “apache-tomcat-8.5.42.tar.gz” saved [9711748/9711748]
  4. Change tomcat version in several places in installer properties and grouper installer java file, commit/push
  5. Update the installer jar and tarball

    [mchyzer@i2midev6 bin]$ /home/mchyzer/bin/ master
    [mchyzer@i2midev6 bin]$ /home/mchyzer/bin/ master
    [mchyzer@login1 ~]$ sftp i2midev6
    sftp> lcd /tmp
    sftp> get /home/mchyzer/tmp/grouper-installer/build_mchyzer/grouper.installer-2.4.0.tar.gz
    sftp> get /home/mchyzer/tmp/grouper-installer/build_mchyzer/grouper-installer/dist/grouperInstaller.jar
    [mchyzer@login1 ~]$ sftp webprod3
    sftp> cd /home/htdocs/
    sftp> rename grouperInstaller.jar grouperInstaller.jar.YYYYMMDD
    sftp> rename grouper.installer-2.4.0.tar.gz grouper.installer-2.4.0.tar.gz.YYYYMMDD
    sftp> put /tmp/grouperInstaller.jar 
    Uploading /tmp/grouperInstaller.jar to /home/htdocs/
    /tmp/grouperInstaller.jar                                                                         100% 2379KB  49.7MB/s   00:00    
    sftp> put /tmp/grouper.installer-2.4.0.tar.gz 
  6. Test an install

    [mchyzer@i2midev6 grouperInstaller]$ wget
    [mchyzer@i2midev6 grouperInstaller]$ java -jar grouperInstaller.jar
  • No labels