473,809 Members | 2,742 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing Cluster Disks from a WEB Application

Well here is my problem

I have a web application running in 2 web servers and I have also a cluster
system.

I want using the web application to write some files in the cluster discs.

So I have created in my web servers a virtual directory located on the
cluster discs.

(Before that I had create a cluster resource "File share" so I would be able
to access the disks and I have give permissions to the 2 web machines)

So I call the server.MapPath and returns the correct path let's say
\\tst\WebReport s

Then I'm trying to create a directory on the share using System.IO.Direc tory
and I get an error that a part of the path could not be resolved.

I do the same staff exactly in an other, machine that it's not clustered and
everything works just fine.

Can anyone tell me the reason why I can't access the cluster disks from the
web servers???

I want to save the files in the cluster disks so I don't have a single point
of failure.

Thanks

Dimitris


Nov 18 '05 #1
1 1226
Can the user that ASP.net runs as access that UNC path?
That's probably the problem.

ASP.net runs as local user ASPNET by default.

Michael

"Programmer " <se*******@hotm ail.com> wrote in message
news:eG******** ******@TK2MSFTN GP09.phx.gbl...
Well here is my problem

I have a web application running in 2 web servers and I have also a cluster system.

I want using the web application to write some files in the cluster discs.

So I have created in my web servers a virtual directory located on the
cluster discs.

(Before that I had create a cluster resource "File share" so I would be able to access the disks and I have give permissions to the 2 web machines)

So I call the server.MapPath and returns the correct path let's say
\\tst\WebReport s

Then I'm trying to create a directory on the share using System.IO.Direc tory and I get an error that a part of the path could not be resolved.

I do the same staff exactly in an other, machine that it's not clustered and everything works just fine.

Can anyone tell me the reason why I can't access the cluster disks from the web servers???

I want to save the files in the cluster disks so I don't have a single point of failure.

Thanks

Dimitris

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7242
by: Mark McKay | last post by:
I've been reading 'Java RMI' from O'Reilly, and it provides a nice example of scaling a server application by creating multiple instances of server objects on several distinct machines (each running their own JVM), and directing clients to the appropriate server through the naming registry. However, it doesn't really get into how those servers might talk to each other, except through similar calls through the registry. For example,...
1
4054
by: gotdough | last post by:
Cluster services gives the high availability needed - that is great. But I have never seen any discussion about what happens when a node fails - what do you do to get everything back to the active-passive tandem. I imagine there is not much difference in terms of recovery procedure for either active or passive node. So I'm just going to make up a scenario that we have encountered. The system hard drive (not the shared disk) on primary...
10
4010
by: Tim Schaefer | last post by:
Is there anybody out there that has implemented or will be implementing the new DB2 MPP clustering on Linux? http://www-3.ibm.com/software/data/db2/linux/ice/ Any success stories? Disasters? Thanks in advance, Tim
17
25515
by: Peter Ericsson | last post by:
Does anyone know if Microsoft plans to implement an C# (.net) API for MS Cluster like the one in C++? Or has someone else written a C# wrapper for the C++ API?
7
11240
by: Luiz Guilherme Freitas de Paula | last post by:
Hi everyone, Anyone have PostgreSQL running on a cluster? I'm trying to run on a OpenMosix 2-machine cluster but the processes are not migrating. All the load is concentrating in one machine. And, how can I have fail over? Thank you, Luiz
1
1474
by: Nilabhra Banerjee | last post by:
Hi friends, I am loading Potsgresql in shared hard disks. The Disk cluster is shared by two nodes. The nodes can access the disks asynchronously, i.e, the node coming up first gets disk. I have loaded the postgresql in local disk of one node and issued initdb command to put the datapath in shared disk and then created database. Right now I am installing postgresql in local disk of node 2, that must point to the same database in shared
0
1840
by: John Fleming | last post by:
Hello, I am building a web application with the following components: 2 Web Servers - Windows Server 2003 - IIS 6 - .Net Framework version 2.0 - Reside in Domain A 2 Clustered Database Servers
4
8596
by: ThunderMusic | last post by:
Hi, We have many servers setup as a cluster. When one server crashes, another one take the relay... We want to know if it's possible (I suppose it is) to make a Windows service developed with .NET 2.0 work in a cluster environment. I mean, how to make sure the service will take the relay if one server fails. Is there something special to do or it will work by itself? (I'm not personally used to clusters, we need it at my office and they...
3
5433
by: Simon | last post by:
Hi All, I'm hoping someone will have some words of wisdom for me regarding MS Clustering on Windows 2003. I have a service that runs on a cluster. During invocation it's supposed to determine from the cluster which node is active (this is a active/standby configuration) and either proceed or sleep depending on the status. The interface to the cluster is that advertised by the standard interop layer built by Visual Studio for the...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10637
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10115
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9199
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7660
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3014
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.