wiki:EDIR_batch_jobs

Version 1 (modified by lttoth@…, 10 years ago) (diff)

--

(last updated 20070521 elm) EDIR RELATED BATCH PROCESSES ==================================================================

EDIR batch jobs are primarily those that update static lists utilized by the EDIR web gateway and with synchronizing CGI scripts between "e" boxes.

Note: Appworx jobs are scheduled on the toklat cluster and execute wrapper scripts which ssh over to ldapgw account on "e" boxes to execute scripts having the same name as the toklat wrapper. See ~ldapgw/appworx/<server>_appworx_wrapper.pl on toklat.

"e" box:~ldapgw cron jobs ++++++++++++++++++++++++ M-Su every 5 minutes execute /export/home/ldapgw/local/scripts/rsync<Inst>.ksh

APPWORX CHAINS ++++++++++++++ LDAP_STATIC_FILES # used to refresh static files used to generated EDIR pick lists

APPWORX MODULES +++++++++++++++ LDAP_STATIC_FILES_EDGAR # used to refresh static files used to generated EDIR pick lists LDAP_STATIC_FILES_EGEGIK # used to refresh static files used to generated EDIR pick lists LDAP_STATIC_FILES_EKLUTNA # used to refresh static files used to generated EDIR pick lists LDAP_STATIC_FILES_ELIAS # used to refresh static files used to generated EDIR pick lists

toklat ~ldapgw/appworx links ++++++++++++++++++++++++++++ edgar_static_list_maint.ksh # link to server specific wrapper script egegik_static_list_maint.ksh # link to server specific wrapper script eklutna_static_list_maint.ksh # link to server specific wrapper script elias_static_list_maint.ksh # link to server specific wrapper script

"e" box ~ldapgw/appworx links +++++++++++++++++++++++++++++ <server>_static_list_maint.ksh # link to script in ~ldapgw/scripts directory

"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.

static_list_maint.ksh Test|Prep|Prod

Master script that refresh static files used to generated EDIR pick lists. This script is executed on every "e" box hosting an instance of the EDIR web gateway.

######################### DOCUMENT CHANGE HISTORY 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 EDIR environment

(see UPDT|LDAP|AUTH|REGI_batch_jobs) and standardized format

#########################