General discussion

Locked

Web Server and DB Server on 1 Machine?

By rmg ·
Is it possible to use a second hard drive on a web server as a database server? I want to buy a server with Red Hat Linux with 2 hard drives. On one hard drive I would be running Apache Tomcat as the Web and App server. One the second hard drive I want to install a database server such as MySQL or PstrgreSQL. I want to be able to set up a database server able to serve to my pages with out having to purchase a whole other system. Is this possible?

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Web Server and DB Server on 1 Machine?

by True_Texan In reply to Web Server and DB Server ...

I don't know much about the Linux environment, but you should be able to. I have an NT server which monitors approximately 40 other application and database servers. My NT server has both the Apache Web Server and Oracle on it.

I would guess that your limiting factor would be the size and speed of the server.

Hope this helps!

Collapse -

Web Server and DB Server on 1 Machine?

by rmg In reply to Web Server and DB Server ...

Poster rated this answer

Collapse -

Web Server and DB Server on 1 Machine?

by 20 + years In reply to Web Server and DB Server ...

It is possible to do this. Your limiting factors are going to be the amount of processors and their speed. Data base operations can be very brutal on CPU usage. This was the main reason for development in a tiered architecture. The servers couldnot satisfactorily run multiple services without high enque times. You also still have one disk controller serving the two drives this may cause increased memory usage and page swapping between the drives as your application executes.

Collapse -

Web Server and DB Server on 1 Machine?

by rmg In reply to Web Server and DB Server ...

Poster rated this answer

Collapse -

Web Server and DB Server on 1 Machine?

by BGJKL In reply to Web Server and DB Server ...

Can you do it? Yes, if you have enough CPU cycles and memory....

Do you want to? If the webserver is accessible from the internet, you should not.

If you are using an internet app to access a database, the web server should be outside of a firewall, and the database server behind the firewall...

You should never keep 'mission critical data' on a server that an outside party can connect directly too.....

Collapse -

Web Server and DB Server on 1 Machine?

by rmg In reply to Web Server and DB Server ...

Poster rated this answer

Collapse -

Web Server and DB Server on 1 Machine?

by rmg In reply to Web Server and DB Server ...

This question was closed by the author

Back to Networks Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums