Migrating From an Older Installation
To migrate from an older version to a newer version of a Model Manager server:
1
If installed as a Windows® service (default for Windows®), you can stop the Model Manager server service using the Stop Model Manager Server shortcut installed on the Start menu under COMSOL Launchers. Also make sure that the Windows® service is not set to be started automatically — that is, set the startup type to Disabled.
For a systemd service installed on Linux®, make sure to stop and disable the old service before installing the new service.
2
Install COMSOL Model Manager Server 6.4.
3
Once you have verified that the COMSOL Model Manager Server 6.4 has successfully started, uninstall the old version of the server if desired.
The Model Manager databases hosted by the old Model Manager server will now be available in the new server.
You are strongly recommended to at least stop any older installations of Model Manager server before installing a newer version to not risk any unwanted cross-talk in the data directories. When stopping an older Model Manager server installed as a Windows® service, make sure that the service is not set to be started automatically. When stopping an older systemd service installed on Linux®, make sure that the service is also disabled.
When a Model Manager server starts for the first time, it tries to locate a Model Manager server Preference Directory belonging to an older installation of the server. If such a preference directory is found, all server system settings are migrated to the new installation’s preference directory. This includes, for example, any account settings and Model Manager database configurations set up for the older server.
You can also manually migrate the server system settings from the older installation. This may be necessary, for example, if the new installation runs under a different user account than the old one.
1
2
In the Preference Directory of the new installation, delete the subfolder db. This removes the default server system settings set for the new installation.
3
Copy the subfolder db from the preference directory of the old installation to the preference directory of the new installation, thereby transferring all server system settings between the installations.
4
If installed as a Windows® service (default for Windows®), you can start the Model Manager server service using the Start Model Manager Server shortcut installed on the Start menu under COMSOL Launchers.
5
See Moving an Installation if migrating from an older installation found on another computer.
Unlike the preferences directory, the data directories and backup directories of any configured databases always remain in the same file system location as they were prior to installation when installing a new version of Model Manager server. In other words, these directories are not copied. This means that an older installation of Model Manager server may potentially read and write in the same data directories as the newer installation unless the older server is first stopped.