integrate two machines two work like one machine [closed] - database

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a two server machines on which I have installed Linux servers.I want to host one website with the two both machines.When there is congestion in one machine the user should be directed to the machine.Both the machines should have one database interloped together.I want both machines to share resources equally.In case of failure of one machine the other machine should continue working and the user should not notice the change.Is there any way I can change the files for those machines to work simultaneously?

You may use a load-balancer top of your app-servers. See http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html
You can have DB on one of those machine and allow the user from the other-machine to have RW access to the schema of your app.
There is a fail-over setting in load-balancer you probably need to dig out to redirect all the traffic in case one of your servers goes boink.
I have moved to AWS long back, these stuffs are really easy to do with ELB.

Related

What is the benefit of multiple public ip's on a server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have developed an app which talks to a sql database on a server. I have just arranged with a server company to host my sql database and in setting it up have asked how many public ip's do i need.
The application will be used by 10/20 companies each having approx 10-20 ipads / android tablets. There will also be a website they can log onto to again look at the data on the server.
How many public ip's would i require, or what factors do i need to consider when deciding.
I should add if you haven't already worked it out, know nothing about servers.
The number of ip address wouldn't matter that much if you don't need them. When will you need them?
When you want to add an extra layer of separation between companies (each its own ip)
More ip addresses means more DIFFERENT connections (so failover)
More ip addresses means more SIMULTANEOUS connections (so more possible users)
You want to have extra maintenance ;)
Just to mention a few

How does a web server and database server work together? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
How does a web server and database server work together to provide the necessary services and information to the client's web browser?
Originally, I thought the database and the web server were one and the same (that is, I thought the database was on the web server); but apparently they're separate entities?
Your question is verrrrrry open ended, but I think you will find the following helpful. For this I will be using PHP and MySQL references, but there are many out there.
Your second question first: They are separate services that can, but don't have to be, on the same hardware. If you are on Linux, this is often referred to as the LAMP stack (Linux Apache MySQL PHP)
As far as the actual integration, this is done with SQL queries, that are run using PHP. The result of those queries is then parsed and formatted, also using PHP. That result is then passed to your web browser using HTML.
Like I said, very open ended, but this should give you somewhere to start.

Moving mysql database from Mac to Windows [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am creating a database for someone with a MacBook Pro and will be developing it on a windows 7 system. How should I move the database from my system to the Mac system.
This may belong on another stack.
You can develop the site on your equipment and recreate the model on the client machine once you get it to work. It would need minimal tweaking if any at all. Run your create script and move/copy over your php, or other script, files on the target machine.
WAMP merely describes the components of your environment. There are only a few exceptions where *AMP content wouldn't work across * host OS platforms.

Setting up an FTP server without a dedicated IP [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm not sure if this is the best SE site for this question but here goes.
I am looking to implement a simple and easy to use file transfer solution such that people can upload/download files with resume support to our office server (which does not have a static IP address).
So far, I have come across free FTP servers (such as FileZilla) and free DNS routing services (such as dyn) that allow this but I am sure there are simpler solutions out there.
Commercial solutions are welcome as long as non-technical people can administer them.
UPDATE: The data transfer per day is around 10GB and although Dropbox is fine for personal use, I'd rather use a more robust application that allows more control and acceleration. Any ideas would be appreciated.
It seems you have two different problems.
lack of a permanent ip address. This is solced by free dynamic dns services.
second: resumable tranfer. Ftp is Not o good one.
You should try google drvie or dropbox

Where to start in creating Database? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
A friend of mine is a property manager and rents out units in building. currently everything is in folder and he is looking to have them in computer (Database).
I want to help him since I think I do good in programming and I have good Mysql knowledge (CRUD). However, I am not sure about the starting point so I have 2 questions:
1- In terms of hardware, do I just install mysql server on his computer? Or do I get him t buy another computer and have mysql on it (so it is standalone server)? Or do I need some specialized server for DB?
2- Are there certain steps (high level bullet points would do as I would take it from there) I need to follow? Or even if you can recommend a link I can read?
I have knowledge with Mysql, Java, C++, and PHP
Thank you
Ahmad
I would try someone like site5, hostgator for cheap/good hosting but not godaddy since their interface is usually for people who do not code. Also if you're on a mac install the site locally using mamp, or xampp for windows and then export the database to a live server which can cost anywhere from $5-$15/month.

Resources