简体   繁体   中英

Migrating users of old application to new one on working application

I am thinking about possibe ways of migrating users between two systems. It is financial system, a web application (Java, Spring, Hibernate, Oracle, JBoss, etc). There are 500k users to migrate together with their data like accounts, contractors, transfers, many others. New application is already working and has 10k users.

Currently I am only thinking about online / offline migration. Online means, that the applications stays accessible to its users during migration, offline means that I turn it off and display technical break message and the migrations is processing. The client doesn't want to turn the application off so it would mean online migration. When the application is on (accessible to its users), many users may perform different operations (also using externals systems) and many background processes are working and changing database data. It would be quite risky to migrate online: - no database backup as during migration many users would do different things in application, so there would be no point of return, - problems during migration could block users that are online (database, transaction locks etc).

And maybe you have some strong points to convince my customer that online migration is nonsense? They propably could be divided by the application layer - the Jboss server risks, database risks, business risks..

You're going to have to put your storage (database) in read-only mode during the migration. The application won't be down but some features that alter the data won't be available. During the read-only mode time you copy the data over the new primary site. Once all that data is copied the users must be redirected to the new site and the application becomes read-write again.

If a read-only mode isn't acceptable then you'll have to maintain two databases in sync. Products such as GoldenGate can do that for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM