Skip to content
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

Vagrant for setting up the datastore server #4

Closed
153957 opened this issue Oct 1, 2014 · 5 comments
Closed

Vagrant for setting up the datastore server #4

153957 opened this issue Oct 1, 2014 · 5 comments

Comments

@153957
Copy link
Member

153957 commented Oct 1, 2014

It would be very useful to be able to setup the datastore server with vagrant.
That can help in case of a server crash or upgrade.
This would allow us to easily test improvements to how it runs;
such as adding supervisor to keep certain processes running.

frome is not a very complex server, so it should be relatively (compared to publicdb) easy setup.
Some notes on how it was originally setup can be found here: http://docs.hisparc.nl/servers/frome.html

@153957
Copy link
Member Author

153957 commented Oct 1, 2014

Requirements

Packages:

  • httpd
  • mod_wsgi
  • Conda
    • Python
    • NumPy
    • PyTables
  • git
  • supervisor

Mount /databases from trave:/export/hisparc/databases.
Run the writer and hisparc-datastore processes.

@davidfokkema
Copy link
Member

Where do we put everything? If we make use of Ansible roles, all servers should be in the same repository. However, Pique is now in the publicdb repository, and there is some sense in that, too. It is now easy to clone the publicdb repository and set up a development server.

So, how to do this DRY?

Background reading on using vagrant and ansible both for production and development (I haven't had time yet to read them completely, but I intend to):
https://www.kalibrr.com/blog/syncing-development-production-environments/
http://future500.nl/articles/2014/05/how-to-use-ansible-for-vagrant-and-production/

@153957
Copy link
Member Author

153957 commented Jun 3, 2016

If someone picks this task up; This should be added to the provisioning in the publicdb, which provisions both the public database (pique) and monitoring server (tietar).

@153957
Copy link
Member Author

153957 commented Feb 10, 2017

HiSPARC/publicdb#158

@153957
Copy link
Member Author

153957 commented Nov 27, 2022

Part of the provisioning and development setup in the publicdb.

@153957 153957 closed this as completed Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants