How to define upload directory for ACC enterprise deployment? | Community
Skip to main content
Level 2
July 10, 2020
Solved

How to define upload directory for ACC enterprise deployment?

  • July 10, 2020
  • 2 replies
  • 2600 views

Hi,

 

We built the Adobe campaign classic on our local server and selected the enterprise deployment, so we have 2 web servers and 2 app servers. Now, we want to upload files to AC server then call these files in workflow. But the workflow always shows that the file cannot be found. In my research, the files were uploaded to one of web servers randomly instead of the app server. So workflow cannot found files in app server. I don't know how to define the upload directory, the default setting is

uploadDirectory="$(XTK_INSTALL_DIR)/var/$(INSTANCE_NAME)/upload/".

Can someone give me some advice, please?

Thank you in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Milan_Vucetic

Hi @alanl62013822, default location is /usr/local/neolane/nl6/var/res. You can

mount a shared partition to both app servers and set this path like: uploadDirectory="/your_mounted_shared_partition/instance_name/res/" and set this path to this variable as well extraSandboxedDirectories. There is automated process for copying files between app and web servers.

Regards, MIlan

2 replies

Milan_Vucetic
Milan_VuceticAccepted solution
Level 9
July 10, 2020

Hi @alanl62013822, default location is /usr/local/neolane/nl6/var/res. You can

mount a shared partition to both app servers and set this path like: uploadDirectory="/your_mounted_shared_partition/instance_name/res/" and set this path to this variable as well extraSandboxedDirectories. There is automated process for copying files between app and web servers.

Regards, MIlan

Milan_Vucetic
Level 9
July 13, 2020
Hi @alanl62013822, When you do AC console login you should be connected to one of two app servers not web servers. Any upload will be stored to app server (there is an internal process of copying resources from app servers to web servers so you mean that you do upload directly to web servers) so please check where files are stored in app servers. Once again, if you going with this approach, please forget this path: '/usr/local/neolane/nl6/var/dev/'. Mount a new NFS share which will have own (new) path like /mounted_nfs_folder. When you do that and mount folder to both app servers only then change existing path in serverConf.xml and change upload path to /mounted_nfs_folder. In case does not work for you, just return old path in serverConf.xml as was before. Regards,Milan
Jonathon_wodnicki
Community Advisor
Community Advisor
July 16, 2020

Hi,

 

Users should be accessing app servers using an active/passive load balancer, or just connect directly to the primary.

In active/active, users won't be able to reliably unconditionally stop workflows.

You should still mount the app servers to a common share for failover.

 

Thanks,

-Jon