Thanks to all!
-----Original Message-----
From: Richard Ragan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 02, 2000 12:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Cffile and clustering
We had this problem on a Spectra project (2 web servers both able to upload images). The "rules of the game" prohibited any file
sharing and no ftp between the machines. I built an HTTP-based Replication mechanism that works fine. Whichever server uploads the
image, does a replication of the image to all the other servers in the farm. The Replication server set of tags are in the
Developer's Tag Gallery in the CF section if you want them.
Cheers, Rich
[EMAIL PROTECTED]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 02, 2000 7:43 AM
Subject: RE: Cffile and clustering
> Agreed -- either put the files onto a file server that is accessed by all
> machines in the cluster OR
>
> have all uploads happen on one machine. This is more possible when
> administrators are the ones uploading files. You have them work on one machine,
> do the uploads there and then part of the code FTP's (or otherwise copies) the
> uploaded out to all the machines in the cluster. The primary advantage to this
> method is that the file server could be a single point of failure -- if it goes
> down, then all the machines in the cluster are going to have problems.
> Additionally, with the images on each machine you may have been better
> performance.
>
> David
>
> -----Original Message-----
> From: Spike [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 02, 2000 10:12 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Cffile and clustering
>
>
> Create a mapped network drive on each machine that points to a shared
> folder somewhere.
> Make sure that all the CF Servers can access the shared folder with write
> permission.
> Serve all image files with the path to the mapped network drive on the CF
> Server. You can pretty easily create a server variable that points to the
> path for the images if you have different drive letters on different servers.
> filename shouldn't be an issue. Either the filename should be obvious - eg.
> banner343.gif, or it should be stored in the database.
>
> spike
>
> At 09:13 02/08/2000 -0400, you wrote:
> >This message is in MIME format. Since your mail reader does not understand
> >this format, some or all of this message may not be legible.
> >
> >------ =_NextPart_001_01BFFC83.63993104
> >Content-Type: text/plain
> >
> >I know this is not strictly a Spectra question, but....
> >
> >I am clustering a spectra app. I have the site mirrored
> >and am using strictly client variables. both servers are
> >hitting the same databases. Everything appears to be
> >working correctly. I have one problem. CFFILE.
> >
> >The site allows a user to upload images. This was fine
> >when there was one server to deal with. Now, I have to
> >save the file to two or more servers with the same upload.
> >
> >I see two main problems.
> >A. saving to a network share
> >I think this can be accomplished by running cf under an
> >account that can access all machines in the cluster
> >(not the system account).
> >
> >B. Making sure that the file name is the same accross all
> >servers.
> >This seems to be the trickier part, because of course this
> >filename is going into the database along with a relative
> >path to the images directory.
> >
> >Any ideas?
> >
> >Has anyone run into the same problem? What did you find
> >to be the best strategy for scalability and manageability?
> >
> >Thank you.
> >
> >Scott Helm
> >e-business senior consultant
> >Ballantyne Consulting Group
> >[EMAIL PROTECTED]
> >
> >Scott Helm
> >e-business senior consultant
> >Ballantyne Consulting Group
> >[EMAIL PROTECTED]
> >
> >------ =_NextPart_001_01BFFC83.63993104
> >Content-Type: text/html
> >
> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> >
> >I know this is not strictly a Spectra question, but....
> >
> >I am clustering a spectra app. I have the site mirrored
> >and am using strictly client variables. both servers are
> >hitting the same databases. Everything appears to be
> >working correctly. I have one problem. CFFILE.
> >
> >The site allows a user to upload images. This was fine
> >when there was one server to deal with. Now, I have to
> >save the file to two or more servers with the same upload.
> >
> >I see two main problems.
> >A. saving to a network share
> >I think this can be accomplished by running cf under an
> >account that can access all machines in the cluster
> >(not the system account).
> >
> >B. Making sure that the file name is the same accross all
> >servers.
> >This seems to be the trickier part, because of course this
> >filename is going into the database along with a relative
> >path to the images directory.
> >
> >Any ideas?
> >
> >Has anyone run into the same problem? What did you find
> >to be the best strategy for scalability and manageability?
> >
> >Thank you.
> >
> >Scott Helm
> >e-business senior consultant
> >Ballantyne Consulting Group
> >[EMAIL PROTECTED]
> >
> >Scott Helm
> >e-business senior consultant
> >Ballantyne Consulting Group
> >[EMAIL PROTECTED]
> >------ =_NextPart_001_01BFFC83.63993104--
> >------------------------------------------------------------------------------
> >To Unsubscribe visit
> >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk
> >or send a message to [EMAIL PROTECTED] with
> >'unsubscribe' in the body.
>
> ------------------------------------------------------------------------------
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> ------------------------------------------------------------------------------
> To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to
[EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body..
