The Location for each of these scripts is both where they should live, but also where the most recent copies can currently be found.
Note: These scripts are dependent on the timestamp scheme currently being used (MMM dd yyyy HH:mm:ss.SSS). These scripts assume that administrators will want to break down usage into the groups In Music Library, On Campus, Off Campus, and Totals which are specified by IP addresses. These scripts only deal with UI and Darwin Streaming Server log processing and analyzing.
Location: |
/home/dmlserv/dml/bin/ |
Language: |
Perl |
Usage: |
generateStats.pl Mmm dd yyyy filename (Analyze only specified date) |
When to run: |
Nightly or Hourly |
Notes: |
|
Changes to make for test sites: |
Line 75: sortedlogfiles - filesystem path to Darwin log files |
Location: |
/home/dmlserv/dml/bin/ |
Language: |
Perl |
Usage: |
generateQTStats.pl filename (Analyze an entire file) |
When to run: |
Nightly or Hourly |
Notes: |
|
Changes to make for test sites: |
Line 33: filepath - filesystem path to output directory where statistics live |
Location: |
/var/www/cgi-bin/ |
||
Language: |
Perl |
||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0aa5ced3-c8e3-440b-9f83-07f63f6ee323"><ac:plain-text-body><![CDATA[ |
Usage: |
viewStats.cgi?[current][year=yyyy][month=Mmm][day=dd][location=In+Music+Library|On+Campus|Off+Campus|Totals][view=yearly|monthly|daily] |
]]></ac:plain-text-body></ac:structured-macro> |
When to run: |
Whenever an administrator wants to view statistics |
||
Notes: |
For this script to work the filepath directory should be linked into an apache viewable directory that is specified with urlpath. |
||
Changes to make for test sites: |
Line 28: filepath - filesystem path to statistics files generated by generateStats.pl and generateQTStats.pl |
Location: |
/var/www/cgi-bin/ |
Language: |
Perl |
Usage: |
generate-ref-movie.mov?path=leasedir/mediafile |
When to run: |
Whenever an user wants to access a media file |
Notes: |
This script is adapted from the generate-ref-movie shell script and called Java code. |
Changes to make for test sites: |
Line 9: baseurl - RTSP url that specifies the path to the lease directory under Darwin |
Location: |
/var/www/cgi-bin/ |
Language: |
Perl |
Usage: |
variationsURL.v2x?type=timeline&ref=urlthatholdsv2xfile |
When to run: |
When a link is clicked on from an access page or when directed to from another source |
Notes: |
Most references to Variations1 has been deleted and support dropped for simplicity. |
Changes to make for test sites: |
Line 104-121: Usage information is specific to Variations 2 and to IU. |
Location: |
/var/www/cgi-bin/ |
Language: |
Perl |
Usage: |
access.pl?id=notisSyleID |
When to run: |
When a link is clicked on from a catalog page or from another source |
Notes: |
Depends on access.xsl and score-access.xsl which have entries below as well as access.css and v2-logo.jpg. |
Changes to make for test sites: |
Line 27: audio_access_dir - filesystem directory where audio access pages are stored |
Location: |
/home/content/access/ |
Language: |
XSLT |
Usage: |
|
When to run: |
When called by access.pl for rendering an audio access page |
Notes: |
This script depends on the name Variations2 and will need to be changed whenever a name change occurs. |
Changes to make for test sites: |
Line 114: url of variationsURL.v2x script |
Location: |
/home/content/access/ |
Language: |
XSLT |
Usage: |
|
When to run: |
When called by access.pl for rendering an audio access page |
Notes: |
This script depends on the name Variations2 and will need to be changed whenever a name change occurs. |
Changes to make for test sites: |
Line 30: url of variationsURL.v2x script |
Location: |
/home/dmlserv/dml/bin/ |
||
Language: |
sh calling Java |
||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7e439bfa-3c1a-459d-a809-1647e732b7f8"><ac:plain-text-body><![CDATA[ |
Usage: |
generateAccessPage.sh service_name [variationsID | variationsID_file] out_directory |
]]></ac:plain-text-body></ac:structured-macro> |
When to run: |
Whenever a new Container is created or updated (not currently setup) |
||
Notes: |
Calls v2run on edu.indiana.dml.util.AccessPageGenerator. |
||
Changes to make for test sites: |
|
Location: |
/home/dmlserv/dml/bin/ |
Language: |
Perl |
Usage: |
setDB2Permissions.pl ( grant | revoke ) <schema_name> <user_name> |
Examples: |
setDB2Permissions.pl grant RHS_CAT2 dmlrhs |
When to run: |
After new Variations3 phase 1 test site schema and user account have been set up. |
Notes: |
The grant option gives the specified user the necessary permissions to use the specified schema with Variations. |
Changes to make for test sites: |
N/A - This script is intended for use only at IU by the Variations group. |
Location: |
/home/dmlserv/dml/bin/ |
||
Language: |
sh calling Java |
||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ac2117bd-6e1d-4008-bff7-72518b7c9bfc"><ac:plain-text-body><![CDATA[ |
Usage: |
varGroup.sh delete [-f] <group_name> |
]]></ac:plain-text-body></ac:structured-macro> |
When to run: |
As needed. |
||
Notes: |
Command line utility for the Access Manager Database that is used for authorization. For more information see varGroup.sh |
||
Changes to make for test sites: |
configure dml.server.script.library in conf/server/dmlscript.conf |