-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for multiple instances (several websites) to Ubuntu (deb) packages #256
Comments
@Chealer we're running a major cluster of CKAN instances at Datopian and we are generally running on kubernetes now. Are you running on one traditional server or can you use kubernetes? |
Thank you @rufuspollock our organization is aware of the existence of containers but has no experience with Kubernetes. We are running on a "traditional" virtualized server. |
@Chealer Adding support for multiple instances to the debian packages adds significant complexity so that's why is not supported out the box. But the resulting install is set up in such a way that you could run other instances in the same server (basically by placing all installed folders inside a In theory you could parametrize this folder in the build scripts to install a CKAN instance and handle configuration files like the supervisor ones properly, but at this point I'm not sure that would be more work than managing multiple source installs. A package install is essentially a source install with the convenience of some steps being done automatically but the end result is the same. The points listed on the old mailing list post are the main ones to take into account when running multiple CKANs. Essentially they are separate applications in different virtualenvs, which can share resources like postgres, solr or redis as long as they have different But if as you say you are already hosting multiple source installs in a single server you are already doing all this, and IMO a package install would not add major benefits to it. |
To clarify our situation, the server where we have several CKAN instances only hosts different instances of the same site, but AFAIK they are properly isolated, so yes, the problem is not feasibility, we were simply hoping for less management. Thank you for your elaborate comment @amercader |
My organization is planning to host 2 CKAN instances on the same server. So far, the only server we have with several CKAN instances has CKAN installed from source, however we would prefer to use a managed CKAN for new servers.
Unfortunately, while CKAN itself does support running any number of instances from a single code copy (according to @wardi ), the Debian packages do not support hosting several CKAN instances. At least, that's what the maintainer's guide has been claiming for at least 7 years:
I have no idea what specific issues prevent that, but identifying them in this ticket would be great. An old mailing list post lists the elements to consider to host several CKAN instances on a single OS.
The text was updated successfully, but these errors were encountered: