Deploy vp-batch » History » Revision 8
Revision 7 (chin-yeh, 08/16/2011 10:06 AM) → Revision 8/16 (chin-yeh, 08/16/2011 10:06 AM)
{{toc}}
h1. Deploy vp-batch
h2. First Time Deployment
*For first time deployment only*
All of the following files can be obtained from:
> HEAD of *vp-batch* module in [[wiki#scm|SCM]]
* Deployment Steps:*
# create the following folder in the batch server:
** /usr/ecosway/batches/vp-batch/classes
** /usr/ecosway/batches/vp-batch/lib
** /usr/ecosway/batches/vp-batch/logs
** /usr/ecosway/batches/vp-batch/scripts
# Uploads the following libraries to */usr/ecosway/batches/vp-batch/lib*
** lib/slf4j-api-1.6.1.jar
** lib/jcl-over-slf4j-1.6.1.jar
** lib/log4j-1.2.16.jar
** lib/slf4j-log4j12-1.6.1.jar
** lib/db2-jdbc3-3.6.60.jar
** lib/db2-jdbc-license-9.1.FP4.jar
# Uploads the compiled class, *com/ecosway/utils/HashUtils.class* to */usr/ecosway/batches/vp-batch/classes/com/ecosway/utils*
# Uploads the *log4j.properties* to */usr/ecosway/batches/vp-batch/classes*
h2. Daily Recon Batch
* Uploads the following files:
|_.Filename|_.Destination|
|com/ecosway/vp_batch/GenBatchRecon.class|/usr/ecosway/batches/vp-batch/classes/com/ecosway/vp_batch|
|com/ecosway/vp_batch/GenBatchReconData.class|/usr/ecosway/batches/vp-batch/classes/com/ecosway/vp_batch|
|profiles/prod/properties/GenBatchRecon_840.properties|/usr/ecosway/batches/vp-batch/classes/properties|
|scripts/daily_recon.sh|/usr/ecosway/batches/vp-batch/scripts|