Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

An ontology release is in turn packaged with a general eagle-i software release. As part of the software upgrade procedure, the eagle-i node system administrator must run the data-migration.sh script, which results in the necessary data changes being performed to reflect the new ontology. Internally, this script invokes various data management commands according to the requirements of the particular ontology release (typically only ChangeObject and ChangePredicate are required). Hence, in the general case, a system administrator does not need to worry about executing individual commands.

If a system administrator upgrades to a non-contiguous release (e.g. from 1.7MS1 to 1.7MS4), applying the regular data migration procedure would miss some of the necessary data changes. The eagle-i team can produce a zip file with cumulative data migration tables (currently upon request). The directory where this zip is expanded can be is provided as a parameter to the data migration script, for example:

No Format
sh ${REPO_HOME}/etc/data-migration.sh asminUseradminUser adminPassword https://your.host.edu migration-tables-since-1.7MS1

Data management commands

Data management commands can be are found in the java package:

org.eaglei.datatools.datamanagement.command

The Javadocs linked above provide more details on each command.

From a terminal window, commands can be are invoked as:

No Format
java -cp ./eagle-i-datamanagement.jar org.eaglei.datatools.datamanagement.command.[Command] [parameters]

Issue the command without parameters to print a help message.

A few parameters are common to all commands:

-c admin credentials, in the form username:password

...