vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Attachments Served on Another Server (https://vborg.vbsupport.ru/showthread.php?t=155863)

DruidToolz 08-21-2007 06:06 PM

Attachments Served on Another Server
 
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

Quote:

Originally Posted by Zachery
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

Quote:

Originally Posted by DruidToolz (Post 1323004)
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

Quote:

Originally Posted by Eikinskjaldi (Post 1323018)
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

Quote:

Originally Posted by DruidToolz (Post 1323063)
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


All times are GMT. The time now is 01:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01080 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete