Thursday, June 13, 2013

WSO2 API manager data migration to 1.4.0 from 1.3.1


WSO2 API Manager is a complete solution for publishing APIs, creating and managing a developer community and for scalably routing API traffic. It leverages proven, production-ready, integration, security and governance components from the WSO2 Enterprise Service Bus, WSO2 Identity Server, and WSO2 Governance Registry. In addition, as it is also powered by the WSO2 Business Activity Monitor, the WSO2 API Manager is ready for massively scalable deployment immediately.

The Migration basically involves with the following steps.

1) First, run the APIM- 1.3.1 server and run the migration db scripts against to its DB. Depending on the DB that you have been using in APIM1.3.1 you have to choose the migration script. As I assume that you are using the mysql DB, you have run the mysql.sql migration script.

2) Once you have run the migration script without any error, you have to run the migration client as well (Its available at /dbscripts/migration-1.3.0_to_1.4.0/api_comments_ratings_migration_client folder). Go to that folder and follow instructions.

3) copy the synapse config folder from APIM 1.3.1 to 1.4.0. Copy content of /repository/deployment/server/synapse-configs to /repository/deployment/server/synapse-configs

4) Now you have successfully done the migration from APIM-1.3.1 to 1.4.0. Shut down the APIM 1.3.1 if running and start the APIM 1.4.0. 


You are done :)

No comments:

Post a Comment