| 
            Last change
 on this file since 754 was             643, checked in by Kris Deugau, 11 years ago           | 
        
        
          | 
             
/trunk 
 
Add a new segment in UPGRADE for 1.2.3 -> 1.2.4 
Add mergerecs command-line utility 
 
 
           | 
        
        
          
            
              - 
Property                 svn:keywords
 set to                 
Date Rev Author Id
               
             
           | 
        
        
          | 
            File size:
            1.3 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | $Id: UPGRADE 643 2014-06-10 17:49:14Z kdeugau $
 | 
|---|
| 2 | 
 | 
|---|
| 3 | DeepNet DNS Administrator - Upgrade Notes
 | 
|---|
| 4 | =========================================
 | 
|---|
| 5 | 
 | 
|---|
| 6 | 1.2.3 -> 1.2.4
 | 
|---|
| 7 |   - A small function was added to allow errorless handling of non-IP values
 | 
|---|
| 8 |     where IP values would normally be expected.  For Postgres 8.2 and older,
 | 
|---|
| 9 |     you will need to connect to the database as a Postgres superuser to run:
 | 
|---|
| 10 | 
 | 
|---|
| 11 |     dnsdb=# CREATE LANGUAGE plpgsql;
 | 
|---|
| 12 | 
 | 
|---|
| 13 |     so you can run:
 | 
|---|
| 14 | 
 | 
|---|
| 15 |     $ psql -U dnsdb dnsdb -h localhost < dns-1.2.3-1.2.4.sql
 | 
|---|
| 16 | 
 | 
|---|
| 17 |     as the regular user.  Postgresl 8.4 is soon to go EOL, so this should
 | 
|---|
| 18 |     not be a big issue.
 | 
|---|
| 19 | 
 | 
|---|
| 20 |     The changes are backwards-compatible so if you need to roll back the
 | 
|---|
| 21 |     code for some reason you do not need to revert the database changes.
 | 
|---|
| 22 | 
 | 
|---|
| 23 | 1.0 -> 1.2
 | 
|---|
| 24 |   - Make sure your NetAddr::IP version is 4.027 or greater.  Older versions
 | 
|---|
| 25 |     have been found to be missing key methods.
 | 
|---|
| 26 | 
 | 
|---|
| 27 |   - FastCGI is now supported for RPC.  Install the FCGI module to support
 | 
|---|
| 28 |     this, and rename or symlink:
 | 
|---|
| 29 | 
 | 
|---|
| 30 |       dns-rpc.fcgi -> dns-rpc.cgi
 | 
|---|
| 31 | 
 | 
|---|
| 32 |   - Apply the database upgrade script dns-1.0-1.2.sql:
 | 
|---|
| 33 | 
 | 
|---|
| 34 |     $ psql -U dnsdb dnsdb -h localhost <dns-1.0-1.2.sql
 | 
|---|
| 35 | 
 | 
|---|
| 36 |     (Change the database name, database user, and hostname as appropriate.)
 | 
|---|
| 37 |     Note that the changes are fully backwards-compatible;  if for some
 | 
|---|
| 38 |     reason you need to roll back to 1.0, it should run without issue against
 | 
|---|
| 39 |     the updated database.
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.