Browse Prior Art Database

Selective online data migration for upgrading software in a continuous delivery environment

IP.com Disclosure Number: IPCOM000237388D
Publication Date: 2014-Jun-16
Document File: 6 page(s) / 534K

Publishing Venue

The IP.com Prior Art Database

Abstract

A method for selective online data migration for upgrading software in a continuous delivery environment is disclosed.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 01 of 6

Selective online data migration for upgrading software in a continuous delivery environment

Disclosed is a method for selective online data migration for upgrading software in a continuous delivery environment.

Software is upgraded much more frequently in a continuous delivery environment. In that environment, it is critical for the upgrades to result in as little system down time as possible. The traditional approach, as depicted in figure 1, for upgrading software often requires too much down time because the system must remain offline while its data is being migrated.

Figure 1

Figure 2 depicts a way to alleviate the down time by connecting a separate process or application server to the database to start migrating the data to new tables while the system remains online. Then the system is taken offline to upgrade the application and to migrate any remaining data.

1


Page 02 of 6

Figure 2

These approaches do help reduce the time spent offline. But they do not provide enough flexibility for system administrators in a continuous delivery environment where the updates can be very frequent. In this type of environment the sysadmin often need to move to a certain release very quickly to address a defect or to enable a new feature. The sysadmin needs the ability to minimize both the time spent offline as well as the time spent waiting online waiting for the data to migrate.

Figure 3 depicts an embodiment of the disclosed method where a software module ("plugin") is applied to the system requiring upgrade. The plugin can be applied as a patch, but the preferred embodiment would be to use dynamic provisioning while the system is online using an architecture such as Open Service

Gateway initiative (OSGI

® ). This helps avoid any unnecessary downtime.

2


Page 03 of 6

Figure 3

As depicted in Figure 4, when the plugin is activated, it first samples the data to be migrated and estimates the amount of time that will be required to migrate to each incremental version of the application. The sysad...