Use Pagefiles across multiple webservers

Vote:
 

Hello,

I have an environment setup with one database server (with EPiServer) and 2 webservers hosting the website. Images have been added via EPiServer to the pagefiles directory yet 2 of them will only show on the website when viewing the site on webserver01. Both images files are available in the file structure when viewing EPiServer UI on each server. However on webserver02 you are unable to view the image and get a 404 error.

Any ideas?

I believe this is caused by accessing the UI on one webserver and uploading the image. The other webserver is not aware of the image properly. I'm looking at setting up the webservices to use with multiple webservers as a method of notifying the other server when the cache has bene updated but I dont know at this stage if this will assist with the image problem.

I guess I'm kinda in need of some assistance....

Thanks in advance

Ben

 

#39343
May 12, 2010 0:43
Vote:
 

The reason you can browse the files on both servers is that the structure is stored in the database, but the actual files are located on the server where it was uploaded.

One solution to your problem is to use a shared fileserver to store your VPP-files, or just share the VPP folder on one of the servers and say to the other server to use that shared path.

Another solution is to sync the VPP-files between the servers.

Regards
Erik

#39348
May 12, 2010 10:08
Vote:
 

My colleague David, wrote a blog post covering these issues and gave an example of how to setup a synchronation process.

http://world.episerver.com/Blogs/David-Knipe/Dates/2009/11/Synchronising-EPiServer-VPP-folders-using-the-Microsoft-Sync-Framework/

#39349
May 12, 2010 11:19
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.