I have just purchased two second hand servers building my own Funtoo server cluster here at home. This was actually easier and not particular more expensive than locating motherboards and CPUs with working support for ECC for my ZFS file server. But I also found a second hand server suitable for application server and as the optical fibre is on its way pretty soon, I moved the servers to the basement, and Funtoo is now more suitable for server usage than before, there was just no reason why not to purchase ?
I will come back to the specs in other posts. Right now it is about planning the network. Both servers have several (4+) network interfaces.
What I think I am trying to do (well I am open for proposals) is this:
Fileserver will be the ZFS file server. I will need this for the home network. Eth0 is connected to the home network.
Appserver will be the applications server. I will create a post for this as well, but plan is to run docker images for stuff. I see no reason to start with LXD containers but we save this for another thread.
I imagine that the Appserver shall to be on the DMZ-netowork and with a properly and stringent configured firewall.
The thing is that I suppose that the Appserver will need to access the Fileserver. How do I set this up in a secure manner and how do other do?
My plan that needs to be scrutinised:
Appserver:eth1 will be connected to the DMZ and accessible to the internet. I will most likely purchase a Firewall with DMZ from Zyxell dealing with the routing. Applications will run in containers. I would like to restrict eth0 for container usage (i.e. only open for the ports used by the containers and rout stuff directly there using nginx or Docker Registry (more study need to be done), no other access to the device but perhaps ssh, not decided yet. Ssh into a docker first?
Fileserver:eth0 will be connected to the home network.
Appserver:eth0 will be connected to the home network allowing me to access the server from home network and allow Appserver to access Fileserver.
I imagine this setup can be vastly improved. Please help me out here!
Also, if the recommendation is to not use the Fileserver but instead add some disks locally please met me know. Appserver does not have that many diskslots, while Fileserver have suffucient (12 or so). Also I prefere letting ZFS Arc on the Fileserver (with 32GB ram) consume most of the memory (this is the only task) while the Appserver (with 128GB ram) can use this for the containers instead. I will most likely have some containers on the Appserver that need to interact with storage that is available on the local network.
Question
erikr
Hi,
I have just purchased two second hand servers building my own Funtoo server cluster here at home. This was actually easier and not particular more expensive than locating motherboards and CPUs with working support for ECC for my ZFS file server. But I also found a second hand server suitable for application server and as the optical fibre is on its way pretty soon, I moved the servers to the basement, and Funtoo is now more suitable for server usage than before, there was just no reason why not to purchase ?
I will come back to the specs in other posts. Right now it is about planning the network. Both servers have several (4+) network interfaces.
What I think I am trying to do (well I am open for proposals) is this:
Fileserver will be the ZFS file server. I will need this for the home network. Eth0 is connected to the home network.
Appserver will be the applications server. I will create a post for this as well, but plan is to run docker images for stuff. I see no reason to start with LXD containers but we save this for another thread.
I imagine that the Appserver shall to be on the DMZ-netowork and with a properly and stringent configured firewall.
The thing is that I suppose that the Appserver will need to access the Fileserver. How do I set this up in a secure manner and how do other do?
My plan that needs to be scrutinised:
Appserver:eth1 will be connected to the DMZ and accessible to the internet. I will most likely purchase a Firewall with DMZ from Zyxell dealing with the routing. Applications will run in containers. I would like to restrict eth0 for container usage (i.e. only open for the ports used by the containers and rout stuff directly there using nginx or Docker Registry (more study need to be done), no other access to the device but perhaps ssh, not decided yet. Ssh into a docker first?
Fileserver:eth0 will be connected to the home network.
Appserver:eth0 will be connected to the home network allowing me to access the server from home network and allow Appserver to access Fileserver.
I imagine this setup can be vastly improved. Please help me out here!
Also, if the recommendation is to not use the Fileserver but instead add some disks locally please met me know. Appserver does not have that many diskslots, while Fileserver have suffucient (12 or so). Also I prefere letting ZFS Arc on the Fileserver (with 32GB ram) consume most of the memory (this is the only task) while the Appserver (with 128GB ram) can use this for the containers instead. I will most likely have some containers on the Appserver that need to interact with storage that is available on the local network.
Regards,
Erik
Link to comment
Share on other sites
1 answer to this question
Recommended Posts