LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-15-2013, 08:49 AM   #1
mapkiller
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Rep: Reputation: Disabled
Receive simultaneously FTP on two servers


I have a public IP address and a FTP server that receives data, this server is working OK.

What I want is, in some mode, re send this traffic to another server FTP ( it could be in the same network ) so the information is always replicate in both servers. Is this possible?

Thank you in advance.

Marco
 
Old 10-15-2013, 08:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no, that makes no sense. you can replicate file systems on the back end in a number of ways, but not the actual transfer data itself.
 
Old 10-24-2013, 03:25 AM   #3
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
I presume this is for load balancing and data backup. You could set up 2 servers and setup access to an external storage medium i.e. a SAN or NFS system running raid. So both servers write to the same storage pool.
 
Old 10-24-2013, 06:19 AM   #4
mapkiller
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
I got peripheral sending data http and ftp to the server and users accessing these data from the server by web pages.
I got two servers and used a data replicator in the main server so in case of malfunction I could replace the servers and continue giving the services with data updated.
But in this way, i do not know if the process involving data acquisition from peripherals is well working on the second server, that is why i would like to replicate what arrives from the peripheral to both servers and not replicate data.

I am sure from inside my process I can resend the data to the second server but I was asking if some one have another ideas on how to do what I want.
May be inside the iptables or some routing rules in another linux process. I confess that I am not an expert on Linux systems

Thanks for the attention

Marco
 
Old 10-25-2013, 02:18 AM   #5
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,309
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
You could try watching the upload directory using inotify and then having it trigger rsync to transfer the file(s).
 
Old 10-25-2013, 07:20 AM   #6
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 308

Rep: Reputation: 50
You could use something like glusterfs to replicate the data.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why IRC servers ofter receive DDoS? m4rtin Linux - General 1 10-20-2012 02:10 PM
Cannot make firewire drive visible from 2 servers simultaneously xpertechsol Linux - Hardware 13 06-05-2009 11:07 PM
2 sendmail servers cannot send/receive mails to each other kool_kid Linux - Server 2 02-20-2008 07:15 AM
LXer: Execute commands simultaneously on multiple servers LXer Syndicated Linux News 0 02-20-2006 11:31 AM
Preventing FTP download and upload the same file simultaneously benw Linux - Networking 2 08-29-2005 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration