How to define upload directory for ACC enterprise deployment? | Adobe Higher Education
Skip to main content
Level 2
July 10, 2020
Respondido

How to define upload directory for ACC enterprise deployment?

  • July 10, 2020
  • 2 respostas
  • 2587 Visualizações

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.

Este tópico foi fechado para respostas.
Melhor resposta por 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 Respostas

Milan_Vucetic
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

Level 2
July 10, 2020

Hi Milan,

 

Thanks for your response.

As you mentioned, default location is /usr/local/neolane/nl6/var/res. But when I upload file to AC, the file will be stored in /usr/local/neolane/nl6/var/dev/upload, dev” is my instance name.

On the other hand, “mount a shared partition to both app servers”, do you mean I need to mount a SMB folder to both app server and mount as /usr/local/neolane/nl6/var/?

I also find the default value of extraSandboxedDirectories  is "/home/customers/,/sftp/", so I should change this value to "/usr/local/neolane/nl6/var/", right?

Here's the default settings in serverConf.xml, can you teach me how to change it?  Realy appreciated.

<dataStore exportDirectory="$(XTK_INSTALL_DIR)/var/$(INSTANCE_NAME)/export/"
extraSandboxedDirectories="/home/customers/,/sftp/" formCacheTimeToLive="600"
hosts="*" interactionCacheTimeToLive="300" lang="" uploadDirectory="$(XTK_INSTALL_DIR)/var/$(INSTANCE_NAME)/upload/"
uploadWhitelist=".+" useVault="false" vaultSecretPath="/v1/secret/campaign/"
vaultTokenPath="$(HOME)/.vaulttoken" vaultUrl="" viewCacheTimeToLive="600"
workingDirectory="$(XTK_INSTALL_DIR)/var/$(INSTANCE_NAME)/workspace/">

 

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