Child pages
  • Running Variations

This space has moved to IU's Confluence.
It is located at https://uisapp2.iu.edu/confluence-prd/display/iulV3/

Skip to end of metadata
Go to start of metadata

Running Variations

Contents

Starting Variations

  1. Go to the Variations bin directory which is /home/dmlserv/bin (assuming Variations was installed in /home/dmlserv):
    cd /home/dmlserv/bin
    
  2. Execute the following script to start Variations:
    startVariations.sh
    
    This script will prompt you to enter the passwords for the metadata database and the user profile/authorization database.
  3. Wait at least a minute, and then check the status of Variations.

Checking the Status of Variations

  1. Go to the Variations bin directory which is /home/dmlserv/bin (assuming Variations was installed in /home/dmlserv):
    cd /home/dmlserv/bin
    
  2. Execute the following script to check the status of the Variations servers:
    checkVariations.sh
    
    The output of the checkVariations.sh command should look something like the following:
    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)
    
    For Variations to be functioning, the minimum servers that must be running are:
    • 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

  1. Go to the Variations bin directory which is /home/dmlserv/dml/bin (assuming Variations was installed in /home/dmlserv):
    cd /home/dmlserv/bin
    
  2. 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.
  • No labels