Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-21-2007, 06:06 PM
DruidToolz DruidToolz is offline
 
Join Date: Oct 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 08-22-2007, 12:18 AM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How is the attachment server talking to the main server? is there some kind of mount point? is it using ftp, scp, something else?
Reply With Quote
  #3  
Old 08-22-2007, 10:03 AM
DruidToolz DruidToolz is offline
 
Join Date: Oct 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #4  
Old 08-22-2007, 10:25 AM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DruidToolz View Post
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?
Reply With Quote
  #5  
Old 08-22-2007, 11:29 AM
DruidToolz DruidToolz is offline
 
Join Date: Oct 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eikinskjaldi View Post
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..
Reply With Quote
  #6  
Old 08-22-2007, 12:04 PM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DruidToolz View Post
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.
Reply With Quote
  #7  
Old 08-22-2007, 12:21 PM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:28 PM.


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.03596 seconds
  • Memory Usage 2,224KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete