Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello guys,
I have two webservers say web1 and web2, web2 server being my datacenter also.
The situation is that I have a web page form on web1 and on submitting the form the form data should be transferred to web2 and saved there.
The stored form data in web2 can also be fetched by web1 server when it needs it.
currently I am using lynx within popen as a IPC to send the data to the web2.
Please suggest me if there exist a better and efficient way to accomplish this.
why don't use a SQL Database server ? like "postgres , mysql , etc" to store the data in other server or install the SQL Database in one of the 2 servers you have
Using a Database Server you have sincronized, safe data-changes, concurrency check and other good stuff
Thanks Reisch,
May be I was not clear in what i was asking.
The data is indeed going to be saved in a database in a server. But i dont want to allow any other machine to connect to the database except itself.
Any other suggestions
Setup another host on the one server that is on an IP address not behind the load balance. Then have the HTML POST function sends to that URL that which is the one server outside the load balanced cluster. Then from what ever page that is, then have a link that returns the user back to the cluster.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.