Back to Craig's Home Page Up to Site Map $Date$

site_verify.pl

site_verify.pl is a perl script designed to verify Grid2003 site installations from either a local or remote host. The tasks it is meant to cover are outlined at http://www.phys.ufl.edu/~prescott/grid2003/site_verify.html

You can get the script here: http://www.phys.ufl.edu/~prescott/grid2003/site_verify.pl

Usage

Command-line options for site_verify.pl are displayed below:

$ ./site_verify.pl --help
 
Usage: site_verify.pl [OPTIONS]
 
Perfom Grid2003 site verification procedures and display
test results.
 
Options:
 
  --help          Display this message and exit.
  --host=...      Only query selected host(s).  Multiple hosts
                  can be specified in a comma-separated list.
                  Can query non-official sites in this manner.
  --skip-mds      Skip MDS checks and checks relying on MDS info.
  --skip-auth     Skip checks requiring authentication.
  --skip-summary  Skip generation of summary tables after
                  completion of tests.
  --verbose       Verbose output from authentication checks.

Example output is shown at http://www.phys.ufl.edu/~prescott/grid2003/site_verify_output.html.

Requirements/Dependencies

site_verify.pl uses a number of perl modules to collect and analyze information. One of the modules, Net::LDAP, is not packaged with the perl distribution itself, and is generally as a separate package. Depending upon your system installation, it and its dependencies may already be installed or it may not be.

site_verify.pl also relies upon a local installation of the Globus Toolkit and a valid grid proxy to perform tests requiring authentication. If no proxy exists for the user running the script, a warning will be emitted and tests requiring authentication will be disabled.

If Net::LDAP is not available to you by default, you have a few options.

TODO/WISHLIST

* fix display of "Hello World" errors (eg: auth ok, but stdout filename
  not created, etc.)
* subroutine-ize remaining checks
* colorize responses?  (green=good, red=bad, uncolored=neutral)
* reduce globus-job-run calls (directory existence, space, write)
* add "--vo=..." to allow filtering by sponsoring VO (MDS-reported)
* add "--jobmanager=..." to allow globus-job-run commands to use
  a user-specified jobmanager.

Back to Craig's Home Page Up to Site Map $Date$

Craig Prescott <prescott@phys.ufl.edu>