Hello to all, after a week on proxmox setup, i'm ready to expose it to internet and place the servers into my rack. But i please need a hand to setup my network.
Currently, there are 2 servers, in cluster, with drbd/lvm and working correctly (replication, migration, fencing, etc..)
here is my nework setup right now:
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
auto eth1
iface eth1 inet static
address 10.0.0.150
netmask 255.255.255.0
auto vmbr0
iface vmbr0 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.254
bridge_ports eth0
bridge_stp off
bridge_fd 0
eth1 is for DRBD, eth0 will be connected to primary internet cable.
on the server, i have those VMs:
1 x haproxy for loadbalance
1 x nginx webserver to serve php
1 x mysql server
and my questions are:
1) should i install any kind o software firewall directly on proxmox nodes or in a vm?
2) i need to expose on the public internet proxmox nodes + VM n°1 (haproxy) with a dedicated public ip address
3) all other VM do not need public visibility, since http traffic will be managed by haproxy to --> nginx webserver --> mysql
4) when node1 will die, and node2 will take care of the traffic, will my scenario work? (from a network point of view)
can you please help me to achive this network setup?
thank you
Simone
Currently, there are 2 servers, in cluster, with drbd/lvm and working correctly (replication, migration, fencing, etc..)
here is my nework setup right now:
# network interface settings
auto lo
iface lo inet loopback
iface eth0 inet manual
auto eth1
iface eth1 inet static
address 10.0.0.150
netmask 255.255.255.0
auto vmbr0
iface vmbr0 inet static
address 192.168.1.150
netmask 255.255.255.0
gateway 192.168.1.254
bridge_ports eth0
bridge_stp off
bridge_fd 0
eth1 is for DRBD, eth0 will be connected to primary internet cable.
on the server, i have those VMs:
1 x haproxy for loadbalance
1 x nginx webserver to serve php
1 x mysql server
and my questions are:
1) should i install any kind o software firewall directly on proxmox nodes or in a vm?
2) i need to expose on the public internet proxmox nodes + VM n°1 (haproxy) with a dedicated public ip address
3) all other VM do not need public visibility, since http traffic will be managed by haproxy to --> nginx webserver --> mysql
4) when node1 will die, and node2 will take care of the traffic, will my scenario work? (from a network point of view)
can you please help me to achive this network setup?
thank you
Simone