This guide runs through the procedure to upgrade to the latest version of SVN MultiSite Plus from build 5041 or earlier.
Prior to starting an upgrade you should first complete the steps outlined below:
Although you can update to the latest version of SVN MultiSite Plus by completing a fresh installation (using the installation guide), you would need to recreate your configuration in terms of node, repository and replication group settings. This upgrade procedure offers a method for upgrading while keeping your established setup.
In this procedure you'll create a backup of your current configuration, shut down MultiSite, then run the installer for the latest version of the product. The installer will detect your existing installation and perform the necessary updates to upgrade your installation. Finally, it will restore your settings from the backup you created in the first step.
Apply this section to all sites before you continue to the Upgrade:
Same version must run on all sites
You should complete the upgrade on all your sites before restarting replication.
As with your initial deployment, ensure that all software is running at the same version on all sites. Running with different software versions may result in sites behaving slightly differently which could result in loss of sync between Subversion repository replicas.
curl --user <:username>:<:password> -X POST http://[node_ip_address]:8082/dcone/backupe.g.
curl --user admin:password -X POST http://172.16.2.41:8082/dcone/backup cd /opt/wandisco/svn-multisite-plus/replicator/database/
After running the back up, verify and make a note of the name of the backup file for later -you'll need to reference it during the upgrade. Backups are stored here:
[Install-Directory]/svn-multisite-plus/replicator/database/backup
The backup subdirectory is created the first time you run a backup. Each time you run a back a corresponding date-time stamped subdirectory is created in the backup directory. A typical backup will have the following file structure.
drwxr-xr-x 3 root root 4096 Jul 24 10:53 application drwxr-xr-x 3 root root 4096 Jul 25 10:33 backup <- backup folder created when backup is first run drwxr-xr-x 4 root root 4096 Jul 25 10:33 20130713.103306.674_DConE_Backup <- per-backup folder drwxr-xr-x 2 root root 4096 Jul 25 10:33 instance -rw-r--r-- 1 root root 9900 Jul 25 10:33 application_resettable.db-backup.xml -rw-r--r-- 1 root root 226838 Jul 25 10:33 DConE.application.db-backup.xml -rw-r--r-- 1 root root 84107 Jul 25 10:33 recovery_application.integration.db-backup.xml -rw-r--r-- 1 root root 222815 Jul 25 10:33 recovery_DConE.system.db-backup.xml -rw-r--r-- 1 root root 31341 Jul 25 10:33 recovery_DConE.topology.db-backup.xml drwxr-xr-x 7 root root 4096 Jul 25 10:33 subsystem drwxr-xr-x 2 root root 4096 Jul 25 10:33 application_resettable.db drwxr-xr-x 2 root root 4096 Jul 25 10:33 DConE.application.db drwxr-xr-x 2 root root 4096 Jul 25 10:33 recovery_application.integration.db drwxr-xr-x 2 root root 4096 Jul 25 10:33 recovery_DConE.system.db drwxr-xr-x 2 root root 4096 Jul 25 10:33 recovery_DConE.topology.db drwxr-xr-x 2 root root 4096 Jul 25 10:23 DConE.application.db drwxr-xr-x 5 root root 4096 Jul 24 10:57 recovery
Read-only
Shutting down MultiSite will make all of its replicated repositories read-only. Depending on how disruptive this will be, it may be wise to warn your local Subversion users and complete the process at a time when the outage will be least disruptive.
[Install-Directory]/svn-multisite-plus/bin/multisite_enterprise_shutdown.sh
Complete these steps on each node in turn:
./multisite-plus.shThis will kick off an installation which will first check to see if there is an exising installation, along with a database backup. Providing the above steps have been taken the process will look like this:
[root@localhost wandisco]# perl multisite-plus.sh Verifying archive integrity... All good. Uncompressing WANdisco MultiSite Plus........... , .. . . `''` . ..`'' ...` . :, ,;. :; ::, :: :: + +' '+ +++++++ ++++++, + ,' ; ; : ; + '` + ::::,:::: ::: +' ++ +;;+ ++ ++ '+ + : ; + ' . : ::::::::::: ::: ;+ '++ + +' `+ ++ + + + ; ' . + + ,:::::::::::: ::: + +.+;++ +, + ++ + + ; ; .++ : + ' ::::::::::: ::: +++ .++, +' `+ ++ + + + ; .`. + + ::::,:::: ::: .++ ++ '+ ++ ++ + + : ; ; ' , : ::, :: :: +. ++ +++++++ ++ + + .' ; + , `; ' + + , , `` .++` , ,, , ,,,. . `;: :', ;; Checking SVN SVN version 1.7.9-2 is already installed, will not install SVN Beginning WANdisco SVN MultiSite Plus Installation... Upgrade complete, you may now start up the Web UI and Replicator [root@localhost wandisco]#
When all nodes are upgraded, complete the following step on all sites:
[root@localhost init.d]# ./svn-multisite start
Copyright © 2010-2014 WANdisco plc.
All Rights Reserved
This product is protected by copyright and distributed under
licenses restricting copying, distribution and decompilation.
SVN MultiSite Plus
Last doc build: 11:54am - Monday 23rd 2014