Changes between Version 6 and Version 7 of NetDRMSInPostgres9


Ignore:
Timestamp:
08/06/14 12:30:15 (10 years ago)
Author:
jennifer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NetDRMSInPostgres9

    v6 v7  
    1 Should I compile NetDRMS against Postgres 9.x? 
     1= Should I compile NetDRMS against Postgres 9.x? = 
    22 
    33If you can, you probably should.  As of late July 2014, Postgres will not support version 8.4 past 8.4.22.  There will be no more patches.  For those on federal facilities, "no more patches" means you will be mandated to upgrade the program or you will have lots of explaining to do.   
     
    66If you're reading this and have decided to go forward with your 9.x compile, changes required are minimal.  The author of this wiki page has only compiled as far as Postgres 9.2 and NetDRMS 7.  It is possible that further changes could be necessary for versions > 9.2 and your situation may be different.  However, for a NetDRMS 7 compilation against Postgres 9.2, you will need to:   
    77 
    8 *Change one line in two places in the SUMS code 
     8== Change one line in two places in the SUMS code == 
    99 
    1010Change two files in base/sums/libs/pg    named SUMLIB_RmDo.pgc and SUMLIB_RmDoX.pgc  and make this modification to line 9 
     
    1515 
    1616 
    17 *Ensure config.local has the right paths listed for Postgres-specific variables (config.local file is located in the top netdrms source directory).   
     17== Change config.local == 
     18Ensure config.local has the right paths listed for Postgres-specific variables (config.local file is located in the top netdrms source directory).   
    1819 
    19 *Possibly make changes to local environment variables if you have an existing Postgres 8.4.x installed on the machine.   
     20== Local environment variables == 
     21You may need to make changes to local environment variables if you have an existing Postgres 8.4.x installed on the machine.   
    2022 
    2123If you already have a prior version of Postgres installed and want to compile NetDRMS against v. 9.x instead, set your $PATH and $LD_LIBRARY_PATH variables properly to reflect the Postgres 9.2 paths.  You might want to do this a .profile file and source it every time you log in to avoid confusing errata later.   
     24 
     25== Backup == 
     26If you are doing this on the primary data server, first slap your own hand and then go work on a test bed machine.  If that is unavailable, then do a full backup of your production database, and be certain you've configured Postgres 9 to run on two different ports (one for the drms database and another for the sums database).  Make doubly sure that all your usual keyboard shortcuts and aliases are re-worked (perhaps in a new .profile or .login file) to reference the new database compiling environment.  Better safe than sorry.   
    2227 
    2328There you go - that's all that is required.