Changeset View
Changeset View
Standalone View
Standalone View
docs/internals/prod-environment.rst
- This file was moved from docs/sys-info.rst.
.. _swh-deposit-deployment: | .. _swh-deposit-prod-env: | ||||
Deployment | Production deployment | ||||
========== | ===================== | ||||
The deposit is architectured around 3 parts: | The deposit is architectured around 3 parts: | ||||
- server: a django application exposing an xml api, discussing with a postgresql | - server: a django application exposing an xml api, discussing with a postgresql | ||||
backend (and optionally a keycloak instance) | backend (and optionally a keycloak instance) | ||||
- worker(s): 1 worker service dedicated to check the deposit archive and metadata are | - worker(s): 1 worker service dedicated to check the deposit archive and metadata are | ||||
correct (the checker), another worker service dedicated to actually ingest the | correct (the checker), another worker service dedicated to actually ingest the | ||||
deposit into the swh archive. | deposit into the swh archive. | ||||
- client: a python sčript `swh deposit` command line interface. | - client: a python script `swh deposit` command line interface. | ||||
All those are packaged in 3 separated debian packages, created and uploaded to the swh | All those are packaged in 3 separated debian packages, created and uploaded to the swh | ||||
debian repository. The deposit server and workers configuration are managed by puppet | debian repository. The deposit server and workers configuration are managed by puppet | ||||
(cf. puppet-environment/swh-site, puppet-environment/swh-role, | (cf. puppet-environment/swh-site, puppet-environment/swh-role, | ||||
puppet-environment/swh-profile) | puppet-environment/swh-profile) | ||||
In the following document, we will focus on the server actions that may be needed once | In the following document, we will focus on the server actions that may be needed once | ||||
the server is installed or upgraded. | the server is installed or upgraded. | ||||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |