Skip to content

Sync of collection images to blob storage

Collection images (artworks and archives) are copied via the JavaNet Image Loader to a shared directory, which is mounted on the following WHAM VMs:

  • cms_1 | azT-p-app-drp01 | 10.184.1.6
  • cms_2 | azT-p-app-drp02 | 10.184.1.5
  • research_1 | azT-p-web-respg | 10.184.1.4

On all these servers, the images can be found at /apps/shared_files/art

From cms_1 (azT-p-app-drp01), these images are copied to Azure Blob Storage at 01:30 and 13:30 via a cron job on root that runs azcopy sync. On the server this can be checked like this:

sudo su 
crontab -l
30 1,13 * * * ~/azcopy sync "/apps/shared_files/art/" "https://aztateprdewdgwgtailst1.blob.core.windows.net/art?sv=2021-06-08&ss=bfqt&srt=sco&sp=rwdlacupiytfx&se=2033-12-31T23:59:00Z&st=2023-01-01T00:00:00Z&spr=https&sig=B\%2FD[--hidden--]A\%3D" --recursive --delete-destination true  >/dev/null 2>&1

Please note percent signs must be escaped in crontab strings: \%.