You are on page 1of 1

Switching to S3 from FTP for Newscorp

Merge the branch CJ-69 to Master

Add this line to cron in SG ftp box 1

*/3 * * * * perl /mnt/das/2adpro.com/jd3/jdintegration/S3Orders/s3_sync.pl >> /mnt/das/2adpro.com/jd3/logs/s3_sync-`date -I`.log 2>&1

* * * * * perl /mnt/das/2adpro.com/jd3/jdintegration/OrderCreation/bin/preflight.pl >> /mnt/das/2adpro.com/jd3/logs/preflight-`date -I`.log 2>&1

DB Changes:

Table name : `ftp_client_details`

Get the site id's from sites table, for the sites has to switched to s3
Update in this table for those sites

fcd_host='S3' and fcd_sourcedir='<s3 path>'

You can refer staging DB table. Same one we are going to update in Live.

ftp_details table, we have to update ftp_type='commons3' for outflow for the sites we are going to deliver

Stop thecron in staging server, as we are going to pull from same s3 location for live also
Once we migrate all sites to S3, we need to stop the old crons.

You might also like