Migrate projects from local to database mode

If you are using Syndeia in local mode for a project and wish to migrate Syndeia information for the project to the database and then continue to use Syndeia in database mode for the project, follow the steps below.

  1. If the SysML project was using Syndeia 3.0, upgrade the project to the latest version of Syndeia using the local mode.

  2. Create a backup copy of the project after the upgrade so that you have a version of the project with Syndeia information saved in the local mode.

  3. Make a list of the names and URLs of all repositories being used by your project. You will need this in later steps.

  4. Open the project and configure Syndeia to use database mode, before launching the Dashboard. Make sure that your database account has the privilege to create new keyspaces in Cassandra and write privileges to the syndeia_general keyspace if it exists already.

  5. Launch the Settings window (right click on any element, select Syndeia > Settings) if not already open and check that the setting "Auto-load local connections" is true.

  6. Now launch the Syndeia Dashboard. Syndeia will initialize a new keyspace for the project in the database, and it will detect that the SysML model has local connections which will be loaded.

  7. Syndeia will also load the repositories from the database. If the database contains no repositories, or if it contains repositories whose names do not match the ones being used by your project (step 3 above), then go ahead and add new repositories with the same names and URLs as you had noted earlier.

  8. Close the Syndeia Dashboard. Syndeia will push the repositories used by your project and the existing connections to the database. 

  9. Save and close the project.

  10. Open the project, launch the Dashboard, and check the following: 
    1. All of your repositories should now be listed in the Repository Manager tab of the Dashboard.
    2. All of your connections should now be listed if you go to the Connection Manager tab of the Dashboard and press "Get All".

Copyright 2018 Intercax.