PDA

View Full Version : Attachments Served on Another Server


DruidToolz
08-21-2007, 06:06 PM
I asked this question below at vb.com and they told me to come here...

Q: I am wondering if it is possible to serve attachments on another server while the forum is running on a separate server.. If this is possible could someone please tell me how to do this... I would appreciate it.. Thank you

I also want to let you know that my attachments are in a file system...

This is there response From VB Team

This is not possible by default and would require third party code or modifications to the code.

If you want to add this feature I suggest seeking help at vBulletin.org

Please help me out... Thanks

Eikinskjaldi
08-22-2007, 12:18 AM
How is the attachment server talking to the main server? is there some kind of mount point? is it using ftp, scp, something else?

DruidToolz
08-22-2007, 10:03 AM
What do you mean... I'm asking if there is away to make vb to be able to do this... I'm not sure how the process would work since i'm not a coder... Although i do have a friend that uses vb also but he uses a cluster of servers that work together, but i'm just trying to see if someone has thought of away just to use 1 server for the forum and the other server for just storing the attachments.... I guess the process can be any of the methods that you mentioned above but not sure how that coder would make it happen...

Eikinskjaldi
08-22-2007, 10:25 AM
What do you mean... I'm asking if there is away to make vb to be able to do this... I'm not sure how the process would work since i'm not a coder... Although i do have a friend that uses vb also but he uses a cluster of servers that work together, but i'm just trying to see if someone has thought of away just to use 1 server for the forum and the other server for just storing the attachments.... I guess the process can be any of the methods that you mentioned above but not sure how that coder would make it happen...

vb can use any of the methods I mentioned as well. How your servers are connected is a system decision which you need to make first, then code up a solution. The easiest would be some kind of mount, which would be a simple change to the attachment path.

The real question is why do it? attachments are just blob files that occupy disk space, why put them somewhere else?

DruidToolz
08-22-2007, 11:29 AM
vb can use any of the methods I mentioned as well. How your servers are connected is a system decision which you need to make first, then code up a solution. The easiest would be some kind of mount, which would be a simple change to the attachment path.

The real question is why do it? attachments are just blob files that occupy disk space, why put them somewhere else?

Thats exactly what i'm asking for is some kind of mount... I know the attachment path can be changed inside the server but how would i be able to change it to another server...

And about your real question why would i need to do it... Well my main server is a semi dedicated server (25gb space) that has the forum on it... But when i asked my host if there was away if i could get more disk space.. The told me NO and i would have to upgrade to a dedicated server which i can't afford at the moment.. They also gave me other advice such as purchasing a second server that costs less then my semi dedicated server which has alot more disk space then the semi.... So thats what i did and thats why i am asking this question... So can you or anyone help me with this.. I would appreciate it..

Eikinskjaldi
08-22-2007, 12:04 PM
Thats exactly what i'm asking for is some kind of mount... I know the attachment path can be changed inside the server but how would i be able to change it to another server...

And about your real question why would i need to do it... Well my main server is a semi dedicated server (25gb space) that has the forum on it... But when i asked my host if there was away if i could get more disk space.. The told me NO and i would have to upgrade to a dedicated server which i can't afford at the moment.. They also gave me other advice such as purchasing a second server that costs less then my semi dedicated server which has alot more disk space then the semi.... So thats what i did and thats why i am asking this question... So can you or anyone help me with this.. I would appreciate it..

Ask your hosts if the second server will be mounted on the first through nfs or something similar.

Adam21
08-22-2007, 12:21 PM
I've read somewhere here that this can be done.If i still remember correctly,its by Erwin.But you'll need to upload some of vb's files to that 2nd server and rewriting some path variables in your templates i think.You can try doing a search,sorry thats all i know!:D

Edited: I found this the last time,not sure whether i'll work for ya,good luck!:)
https://vborg.vbsupport.ru/showthread.php?t=113583