Running Variations
Contents
Starting Variations
- Execute the following script to start Variations:
This script will prompt you to enter the passwords for the metadata database and the user profile/authorization database.
startVariations.sh
- Wait at least a minute, and then check the status of Variations.
Checking the Status of Variations
- Execute the following script to check the status of the Variations servers:
The output of the checkVariations.sh command should look something like the following:
checkVariations.sh
For Variations to be functioning, the minimum servers that must be running are:RMI Registry: /usr/java/j2sdk1.4.2_11/bin/rmiregistry (pid 13153) Logging Server: edu.indiana.dml.util.logging.LoggingServer (pid 13209) Current running Score File Handler: Current running Lease Managers: LeaseManager (pid 13262) Databases currently running: IU (pid 13384)
- The RMI registry
- The Variations logging server (note that the name of the logging server will be as shown above: it's the name of the Java class, not the location where the logging happens)
- A lease manager
- A library server, also called a database (IU in the example above; if you're running pre-6.0, you will have two servers, e.g., IU_PRODUCTION and IU_CATALOGING)
Stopping Variations
- Execute the following script to stop Variations:
stopVariations.sh
Script Summary
All the scripts below are in directory bin in the Variations installation directory.
Script |
Options |
Description |
---|---|---|
checkVariations.sh |
None |
Displays the servers that are used by Variations |
startVariations.sh |
None |
Starts the servers used by Variations (calls stopVariations.sh before starting the servers) |
stopVariations.sh |
None |
Stops the servers used by Variations |
Troubleshooting
- Databases fail to run
- When running the checkVariations.sh script if you notice that your databases are not running try dropping and recreating the databases in MySql. Then run the initialization scripts for each of the databases. When you start Variations again you should see your database listed under "Databases currently running".
- If your databases still fail to appear make sure to check your J database driver (mysql-connector-java-5.0.4-bin.jar) and matches the location you specified in the configuration file.