Våra sajter
Litium Studio Knowledgecenter

Knowledge Center för Litium Studio

Litium Scensum Knowledge Center

Knowledge Center för Litium Scensum

Litium Partner

Återfinns information som partner till Litium.

Support

Scensum installation guide for shared media source

Scenario:

Two web servers and one SQL server. Media files and Media Archive is stored on the SQL server as if it was a media server share. Servers are running in workgroup mode

Problem:

How to connect virtual folders of the web servers to the share on the SQL server and also for the mediaarchive application how it connects to its files also on the SQL server.
 


 

Assuming Windows2008 and IIS7

On the media server /SQL

On the SQL server (media share) create an account e.g. media-static with password xxx (of your choice) make sure password never expires, and user cannot change password is checked. User only needs to be part of Users group.

Create the desired folder structure and share the top folder with permission everyone, full control.

Right click on the folder and select properties, security tab, add the media-static account with permissions full control or at least change and replace on subdirectories so you are sure all is accessible.

On each web server accessing the shared media source

On the web server create an account: media-static with password xxx make sure password never expires, and user cannot change password is checked. User only needs to be part of Users group.

Important note: on all servers involved web, sql media etc the account must have the exactly the same name and the password must be the same.

In MMC local security policy, go to the User Rights node and add the new account media-static to the following three rights.

• Log on as a batch job (SeBatchLogonRight)
• Log on as a service (SeInteractiveLogonRight)
• Impersonate a client after authentication

Now in IIS manager change the application pool identity for the website to user media-static and the password you have selected.

For virtual folders such as “media” change the credentials to media-static and the logon type to Batch and give the path \\SQL1\Share\files\media  etc. as required (simplest is to browse for it in the explorer and then copy the address bar when the correct location is found.

For the media archive application, use the same application pool as for the website = will also use the media-static account. And change the path in the config for that application to \\SQL1\Share\mediaarchive\

Make sure that at least the users group or the media-static account has read and write access to every folder containing application files and content. Also you need to check that there is access to folder 32 and 64 bit folder for 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files' easiest is to set permissions on that folder and add media-static = full control

If the Scensum ftp server is running on any machine, use the media-static account for running this server also.

In the host file add 127.0.0.1 for the site hostname you are testing. This is so you can test that all is ok individually on every web server, even if the web servers are part of a cluster outside.

Repeat all above steps on the second web server.