| View previous topic :: View next topic |
| Author |
Message |
acbirja
Joined: 19 Feb 2011 Posts: 17
|
Posted: May 27, 2011 7:10 am Post subject: Add a new server |
|
|
Hello.
We have a server running low on space, want to connect a second server, which files should be downloaded to the second server?
Upload file when doing a new (second server), when the 1-th server is filled to 100%?
The script itself defines?
And in the future if we want to make one big server, what problems might arise? |
|
| Back to top |
|
 |
nyan
Joined: 28 Oct 2010 Posts: 121
|
Posted: May 27, 2011 11:16 am Post subject: Re: Add a new server |
|
|
| acbirja wrote: | Hello.
We have a server running low on space, want to connect a second server, which files should be downloaded to the second server?
Upload file when doing a new (second server), when the 1-th server is filled to 100%?
The script itself defines?
And in the future if we want to make one big server, what problems might arise? |
The script uses round robin uploading:
upload 1 uploads to server 1
upload 2 uploads to server 2
upload 3 uploads to server 1
upload 4 uploads to server 2 etc
When server 1 is full it will only upload to server 2, if there is some space it will also upload to server 1. All automatically
There should be no problems merging the fileservers if you keep to this schem. (to avoid downtime and dns downtime)
Create dns entries for s8 , s9 , s10.site.com to the new server.
wait a day for dns to propogate.
On new big server install 1 xfs that allows uploads on vhost s10.site.com
Put all other fileservers to read only and transfer files to the new server
chmod the transfered files properly and create vhosts for s8, s9 and s10
Change in the xfs control panel the old fileservers to the new ip and vhost and all should work. |
|
| Back to top |
|
 |
acbirja
Joined: 19 Feb 2011 Posts: 17
|
Posted: Jun 05, 2011 1:01 pm Post subject: Re: Add a new server |
|
|
| nyan wrote: | | acbirja wrote: | Hello.
We have a server running low on space, want to connect a second server, which files should be downloaded to the second server?
Upload file when doing a new (second server), when the 1-th server is filled to 100%?
The script itself defines?
And in the future if we want to make one big server, what problems might arise? |
The script uses round robin uploading:
upload 1 uploads to server 1
upload 2 uploads to server 2
upload 3 uploads to server 1
upload 4 uploads to server 2 etc
When server 1 is full it will only upload to server 2, if there is some space it will also upload to server 1. All automatically
There should be no problems merging the fileservers if you keep to this schem. (to avoid downtime and dns downtime)
Create dns entries for s8 , s9 , s10.site.com to the new server.
wait a day for dns to propogate.
On new big server install 1 xfs that allows uploads on vhost s10.site.com
Put all other fileservers to read only and transfer files to the new server
chmod the transfered files properly and create vhosts for s8, s9 and s10
Change in the xfs control panel the old fileservers to the new ip and vhost and all should work. |
Hello!
We want to make multiple servers, but the system generates this error:
File Server tests:
api.cgi: ERROR (
Software error:
Can't locate LWP/UserAgent.pm in @INC (@INC contains: Modules . /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at api.cgi line 8.
BEGIN failed--compilation aborted at api.cgi line 8.
For help, please send mail to the webmaster (webmaster@s3.site.com), giving this error message and the time and date of the error.
)
upload.cgi: ERROR (problems with link)
htdocs URL accessibility: OK
What is the problem and how to solve this?
Regards Azad |
|
| Back to top |
|
 |
nyan
Joined: 28 Oct 2010 Posts: 121
|
Posted: Jun 05, 2011 5:56 pm Post subject: |
|
|
Read the install manual you get when downloading the zip from your client area.
If you don't have any Perl modules, you can install them through SSH console (putty) manually:
perl -MCPAN -e shell
install LWP
install DBI
install DBD::mysql
install GD |
|
| Back to top |
|
 |
acbirja
Joined: 19 Feb 2011 Posts: 17
|
Posted: Jun 06, 2011 9:21 am Post subject: |
|
|
| nyan wrote: | Read the install manual you get when downloading the zip from your client area.
If you don't have any Perl modules, you can install them through SSH console (putty) manually:
perl -MCPAN -e shell
install LWP
install DBI
install DBD::mysql
install GD |
this error corrected.
Now this problem
1. apload idiot when the process bar is not visible (mozhut kakyata mod_security2 apache configuration change download cache settings on the new server?)
2. after apload file can not do dovnload wrote on the browser Wrong IP |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|