WANdisco
 Navigation:  v1.4.1 Build 0630 | Release Notes | Install | Upgrade | Administration | Reference | API | Glossary | Archive

3. Upgrade SVN binaries

This procedure uses the SVN MultiSite Plus Upgrade procedure to upgrade both your SVN installation and those components of SVN MultiSite Plus that are bound to the specific version of SVN that you have installed.

Note: Only upgrade SVN Multisite Plus on major Subversion upgrades
For example:
  • If you are upgrading from Subversion 1.7 to 1.8 then upgrade SVN Multisite Plus.
  • If you are upgrading a minor version, e.g. from 1.8.5 to 1.8.8, you do not upgrade your SVN MultiSite Plus. In this case, use the relevant version of the WANdisco binaries for Subversion.
Your MultiSite deployment, including SVN servers, must be offline while each node upgrades. Plan this procedure accordingly.

  1. Before you start, ensure that you have the latest build of your version of SVN MultiSite Plus which contains the version of SVN to which you intend to upgrade.
  2. Test the new version of SVN in a test environment before going into production with it.
  3. When you are ready to deploy the new version in your production environment, perform a Synchronized Stop of all nodes.
  4. Keep updates uniform
    Update all the nodes in the same way, using the same upgrade method. It is vital that SVN behaves in exactly the same way on all nodes. If it doesn't, then it is difficult to detect why data becomes out of sync.
  5. Open a terminal window and log in to the server.
  6. Get the latest installer file and make sure it is executable:
    chmod a+x svn-multisite-plus.sh
        
  7. Run the installer:
          ./svn-multisite-plus.sh
      Verifying archive integrity... All good.
      Uncompressing WANdisco SVN MultiSite Plus.............
          ::   ::  ::     #     #   ##    ####  ######   #   #####   #####   #####
         :::: :::: :::    #     #  #  #  ##  ## #     #  #  #     # #     # #     #
        ::::::::::: :::   #  #  # #    # #    # #     #  #  #       #       #     #
       ::::::::::::: :::  # # # # #    # #    # #     #  #   #####  #       #     #
        ::::::::::: :::   # # # # #    # #    # #     #  #        # #       #     #
         :::: :::: :::    ##   ##  #  ## #    # #     #  #  #     # #     # #     #
          ::   ::  ::     #     #   ## # #    # ######   #   #####   #####   #####
    
      Checking SVN
        
    The installer detects your current SVN installation and provides options for any possible upgrade.
  8. Resume SVN MultiSite Plus. See Starting nodes.
  9. Perform some tests at each node to confirm the update has completed successfully.

4. Downgrade SVN Binaries

To downgrade your installed version of Subversion without performing a complete reinstallation of SVN MultiSite:

  1. Interrupt SVN usage/replication: disable Apache to stop SVN repository access, then shut down SVN MultiSite Plus.
        /etc/init.d/httpd stop
        /etc/init.d/svn-multisite-plus stop
        
  2. Uninstall your current version of Subversion, for arguments sake let's say it's SVN 1.8:
    yum remove subversion*
    This will remove your current installation of Subversion. There will be some SVN-related files that form part of the MultiSite installation. We'll deal with these in the next steps.
  3. Download the SVN MultiSite package that comes bundled with the earlier version of SVN. Install it to a temporary location using the non-interactive mode:
        bash svn-multisite-plus.sh --noexec --keep --target /tmp/svn-multisite-plus-svn1.7
        
    This method brings in the necessary files for update whilst making sure that the deployments settings and configuration are not lost during the downgrade.
  4. Next, we'll use yum erase to remove files that are not flagged as 'configuration', then reinstall the earlier versions downloaded in the previous step:
        yum -y erase svn-multisite-plus subversion subversion-debuginfo mod_dav_svn 
        yum -y --nogpgcheck install rpm/* resources/svn/* resources/httpd/*    
        
  5. Restart Apache.
    /etc/init.d/httpd start
  6. Restart SVN MultiSite Plus.
    /etc/init.d/svn-multisite-plus stop