Guest User

Tim - Jail Manager

a guest
Aug 9th, 2016
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. I’ve been tasked with building an in-house web hosting platform at work. Naturally I want to use FreeBSD and Jails since jails were originally developed for web hosting environments.
  2.  
  3. In short the design would be something like
  4.  
  5. {node/server}
  6.  
  7. {data store / FreeNAS or GlusterFS nodes with nfs}
  8.  
  9. {data store / FreeNAS or GlusterFS nodes with nfs}
  10.  
  11. {Mysql master} {Mysql slave}
  12.  
  13. {nginx https proxy}
  14.  
  15. {Freebsd host for jails each with web apps}
  16.  
  17. {Freebsd host for jails each with web apps}
  18.  
  19. I know it’s easy to spin up a jail and migrate it to another box, add an IP, and get it up and running on the network; and placing web apps in front of nginx is a technique we currently use; but what about the ability to disturbed the jail on creation so its replicated across all FreeBSD hosts and auto assign a different IP in each jail?
  20.  
  21. Ideally I’d like to issue a command to create the jail on one host and have the jails contents synced in next to real time on all the hosts. During my Google-fu I found this Jail management tool CBSD https://www.bsdstore.ru/en/about.html Looking over its features and goals it looks like it may be able to cluster jails but before I start down the wrong path I wanted to check with you guys to see if you had any recommendations for this project.
  22.  
  23. I am aware of Hybrid web cluster which you have already covered on the show but it looks like they have changed to a Docker management tool https://clusterhq.com/ and I’m also looking for a DIY solution with no license cost.
  24.  
  25. Thanks great work with the show I look forward to your suggestions and comments.
  26.  
  27. Tim
Advertisement
Add Comment
Please, Sign In to add comment