Shared disk in IIS? Any suggestions?

Shared disk in IIS? Any suggestions?

am 03.07.2007 22:04:39 von Lawrence Abrams

Can anyone recommend a good solution for a shared disk in IIS 6? Currently
we have two load balanced web servers, using hardware load balancing, and I
need to incorporate some sort of shared disk for image storage. It would be
extremely rare, if even possible, for the two servers to write to the same
file at the same time.

I originally was going to use ISCSI with NTFS, but as neither provide
adequate, if any, file locking, I instead tried an NFS server. The problem
with NFS is that you need to be logged in to access a share. As I need IIS
to access these shares, this would not work for me.

Does anyone have any other lower cost solutions that I can use for a basic
shared disk solution?

Any advice is appreciated as I am treading in unknown waters for me.

Thanks in advance.

--
Lawrence Abrams
MS MVP - Windows Security

Re: Shared disk in IIS? Any suggestions?

am 04.07.2007 05:52:27 von Ken Schaefer

Hi,

a) Can you use DFS?
b) You should be able to use a NAS fine - you can supply "Connect As"
credentials in the IIS Manager
c) Otherwise you are looking at a SAN I suppose.

Cheers
Ken

"Lawrence Abrams" wrote in message
news:OTrpk1avHHA.4552@TK2MSFTNGP03.phx.gbl...
> Can anyone recommend a good solution for a shared disk in IIS 6?
> Currently we have two load balanced web servers, using hardware load
> balancing, and I need to incorporate some sort of shared disk for image
> storage. It would be extremely rare, if even possible, for the two
> servers to write to the same file at the same time.
>
> I originally was going to use ISCSI with NTFS, but as neither provide
> adequate, if any, file locking, I instead tried an NFS server. The
> problem with NFS is that you need to be logged in to access a share. As I
> need IIS to access these shares, this would not work for me.
>
> Does anyone have any other lower cost solutions that I can use for a basic
> shared disk solution?
>
> Any advice is appreciated as I am treading in unknown waters for me.
>
> Thanks in advance.
>
> --
> Lawrence Abrams
> MS MVP - Windows Security
>

Re: Shared disk in IIS? Any suggestions?

am 05.07.2007 03:51:28 von Lawrence Abrams

Thanks Ken for responding.

Unfortunately, we cant use DFS for this particular application. I already
use it for replicating the actual code/html between the two loadbalanced
servers.

For some reason the Connect As is not working for me when I test it via NFS.
From IIS, I can see the files in the NFS share from the IIS manager, but
when I try and connect to the virtual directory via the browser it gives me
a 404.

-
Lawrence

"Ken Schaefer" wrote in message
news:%23Yu6$6evHHA.4784@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> a) Can you use DFS?
> b) You should be able to use a NAS fine - you can supply "Connect As"
> credentials in the IIS Manager
> c) Otherwise you are looking at a SAN I suppose.
>
> Cheers
> Ken
>

Re: Shared disk in IIS? Any suggestions?

am 05.07.2007 05:00:56 von Ken Schaefer

What is the HTTP substatus code? You can find that in the IIS logfiles.

Cheers
Ken


"Lawrence Abrams" wrote in message
news:ecdjBcqvHHA.4332@TK2MSFTNGP05.phx.gbl...
> Thanks Ken for responding.
>
> Unfortunately, we cant use DFS for this particular application. I already
> use it for replicating the actual code/html between the two loadbalanced
> servers.
>
> For some reason the Connect As is not working for me when I test it via
> NFS. From IIS, I can see the files in the NFS share from the IIS manager,
> but when I try and connect to the virtual directory via the browser it
> gives me a 404.
>
> -
> Lawrence
>
> "Ken Schaefer" wrote in message
> news:%23Yu6$6evHHA.4784@TK2MSFTNGP06.phx.gbl...
>> Hi,
>>
>> a) Can you use DFS?
>> b) You should be able to use a NAS fine - you can supply "Connect As"
>> credentials in the IIS Manager
>> c) Otherwise you are looking at a SAN I suppose.
>>
>> Cheers
>> Ken
>>
>
>

Re: Shared disk in IIS? Any suggestions?

am 05.07.2007 18:06:22 von Lawrence Abrams

sc-status - 404
sc-substatus - 0
sc-win32-status - 2

Anything to see from that?

-L

"Ken Schaefer" wrote in message
news:%23CPj3CrvHHA.736@TK2MSFTNGP06.phx.gbl...
> What is the HTTP substatus code? You can find that in the IIS logfiles.
>
> Cheers
> Ken

Re: Shared disk in IIS? Any suggestions?

am 09.07.2007 05:06:40 von Ken Schaefer

Unfortunately this doesn't come from IIS, but something lower down (file
system can not find the file specified).

Does the problem occur if you store the files somewhere else (e.g. not on an
NFS share, but on another SMB share somewhere else?)

Does the server hosting the NFS share have any sort of
authentication/authorization logging that you might be able to enable to see
if IIS is able to connect?

Cheers
Ken


"Lawrence Abrams" wrote in message
news:OJhpv5xvHHA.3508@TK2MSFTNGP03.phx.gbl...
> sc-status - 404
> sc-substatus - 0
> sc-win32-status - 2
>
> Anything to see from that?
>
> -L
>
> "Ken Schaefer" wrote in message
> news:%23CPj3CrvHHA.736@TK2MSFTNGP06.phx.gbl...
>> What is the HTTP substatus code? You can find that in the IIS logfiles.
>>
>> Cheers
>> Ken
>
>