wiki:AUTH_batch_jobs
Last modified 10 years ago Last modified on 12/05/14 17:03:48

RELATED BATCH PROCESSES

Original author: Beth Mercer - 20070822

Overview

AUTHSERV batch jobs were primarily those that deal with cleanup of tokens generated by the authentication process and with synchronizing CGI scripts between "e" boxes.

Appworx jobs were scheduled on the toklat cluster and executed wrapper scripts which shelled over to the ldapgw account on "e" boxes. It then executed scripts having the same name as the toklat wrapper. See ~ldapgw/appworx/<server>_appworx_wrapper.pl on the talkeetna cluster which still do serve to wrap instructions from the <talkeetna>: ~sxldap/appworx directory.

"E" box:~ldapgw cron jobs

  • M-Su every 5 minutes execute /export/home/ldapgw/local/scripts/rsync<Inst>.ksh
    • Note: As of 9/24/2014, this cron job was not in evidence on any of the "E" box servers
  • M-Su every 5 minutes execute /export/home/ldapgw/AUTH<INST>/cgi-bin/token_cleanup <INST>
    • Note: As of 9/24/2014, this cron job has been discontinued

APPWORX CHAINS

(none)

APPWORX MODULES

(none)

(none)

(none)

"E" box ~ldapgw/local/scripts

rsync<Inst>.ksh

Script utilizing rsync to synchronize AUTHSERV related source code between "e" boxes. The rsync scripts should only ever be scheduled on the box from which CGI script changes are mastered.

"E" box ~ldapgw/AUTH*/cgi-bin

token_cleanup Test|Prep|Prod

CGI script called by gateway process or in batch to destroy authentication tokens more than 5 minutes old (those not claimed by the registered application during confirmation of the authentication process). This script is executed on every "e" box hosting an instance of the AUTHSERV web gateway.

########################################################
LEGACY CHANGE HISTORY - NOTE: All subsequent changes are recorded in TracWiki
########################################################
20070822 sxelm corrected UNIX account names and added sections indicating (none) corresponding to sections in other documents
20070521 sxelm removed references to batch processes that are not part of AUTHSERV environment (see UPDT|EDIR|LDAP|REGI_batch_jobs) and standardized format