Some expert advise needed

  • Thread starter Thread starter minime
  • Start date Start date
M

minime

Guest
Hi guys,

First a short disclaimer. I'm not an expert (obviously) and I'm not going to run the IT solution, but in order to make an informed decision and don't get fooled by some sales-guy, I'd like to get some input from the experts on this forum.

We are going to build a Java-Webservice, around 10k of users in total (service not started yet). Most likely more read than write operations.

- 2x Hetzner servers (one for PostgreSQL and one for the webserver and servlet-container)
- Proxmox on both servers in order to be able to scale-out

Now the problem starts. Shall I use something like HA-Proxy and Heartbeat in front of the webserver (lighthttpd, nginx?) or something else? Shall I use Glassfish 2x and use the balancer built-in or shall I use Tomcat? Is it wise to keep the DB for starters as the SPoF and get rid of it later? I need simple, elegant and working solutions. Any ideas?

I know that the questions aren't really Proxmox questions, but the problem is, that there are tons of articles out there, but real advise from people who have (business) experience is rather rare (I don't need a tech-guy telling me, that on the technical side it's working, they do most of the times, but often they make business-wise no sense at all) and I do believe that people who are using Proxmox have this knowledge.

I hope some of you could lend me a hand or point me towards the right way.

Many thanks,
Simon
 
I know that the questions aren't really Proxmox questions, but the problem is, that there are tons of articles out there, but real advise from people who have (business) experience is rather rare ..

Such things depends on too many factors - It is really difficult to answer such questions without knowing your application.
 
yes, whithout knowing the application(s) it is difficult to give advice.

one point is important:

check if your two physical servers can join a range of "service" ip addresses.

So one virtual machine can jump from one physical proxmox server to the other.

you will need two physical servers, having their public network interfaces connected to the same network switch!
why this? because if a service ip adress jumps two the other server, the switch has to learn the ip/mac addr. connection.

if connected to the same switch this is working instanly, and OpenVZ and KVM VMs migration works seemless, with no "java service application" interruption.


take second nic in each server to do direct cabling/connection for usage with DRBD.

I would use onboard nic for private interconnect and the extra nic for public service.
This way you are able to do Proxmox installation with onboard nic deactivated,
so proxmox installer will use service nic instantly.
After installation, you can enable onboard nic againm and do setup of interconnection, DRBD and so on.

If you want to go into production, you should order server hardware with i.e. ERIC Express board.
You can do bare metal installation of your server with it and connect to server as if you are sitting in front of them.

I left the provider you mentioned.. because of not being able to provide me with this features I explained here. Maybe somebody else knows better...

I will do no advertising here, so feel free to send PM to me for any hints.

kind regards