swh-indexer db replica on azure
If we want to fully host the web ui on azure, we thus need the softwareheritage-indexer db replicated there as well (and the associated indexer-storage service).
Related #883 (closed)
Migrated from T1094 (view on Phabricator)
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Phabricator Migration user marked this issue as related to #1069 (closed)
marked this issue as related to #1069 (closed)
- Antoine R. Dumont added Indexer System administration Web app priority:Normal labels
added Indexer System administration Web app priority:Normal labels
- Antoine R. Dumont changed the description
changed the description
- Antoine R. Dumont changed title from swh-indexer replica on azure to swh-indexer db replica on azure
changed title from swh-indexer replica on azure to swh-indexer db replica on azure
- Phabricator Migration user marked this issue as related to #1095 (closed)
marked this issue as related to #1095 (closed)
- Author Owner
Relatedly, fixed/adapted according to latest use to provision a new node:
- ee02aa5 * origin/master azure/provision-vm.sh: Install facter from backports
- 79bcec0 * azure/create_vm.sh: Respect current dashboard convention
- f39382d * azure/provision-vm.sh: Fix hostname generation for private node
- 017adbc * azure/README.md: Update the dns records
- 597fd29 * azure/README.md: Fix missing sudo command
- 9aec50b * azure/provision-vm.sh: Do not use APT variable as this does not work
- 50d37bc * azure/provision-vm.sh: Improve docstring sentence
- db493ba * azure/provision-vm.sh: Deal with apt-transport-https use case
- d08d73a * azure/README.md: Update to latest actions
- 2603908 * azure/create-vm.sh: Compute resource group according to nodes' types
- 4fec36e * azure/create-vm.sh: Create resource group when type <> worker
- 9d39c2d * azure/: Remove unneeded script
- 7fedc24 * azure/README: Push the provisioning script in /tmp
- d53f702 * azure/provision-vm.sh: Use strictly the necessary in /etc/hosts
- e73b56d * azure/README.md: Reference how to use the cli
- bb9368c * azure/provision-vm.sh: Update according to our latest use
- f07be8f * azure/create-vm.sh: Update according to our latest use
- e849279 * azure/create-vm.sh: Reference long description flag
- Antoine R. Dumont added state:wip label
added state:wip label
- Phabricator Migration user mentioned in commit swh-sysadmin-provisioning@ce9ea4a4
mentioned in commit swh-sysadmin-provisioning@ce9ea4a4
- Author Owner
Replying to self here as well.
I'll edit the current wiki page [1] for that...
I finally updated the [1] link but to add a note about us moving away from pg_logical replication (and targets the page about the new one [2]). I thus added another page [2] instead since it's not the same replication technology.
- Author Owner
about us moving away from pg_logical replication (and targets the page about the new one [2]).
i was wrong, we still use this so i removed the update (prado -> somerset).
- Author Owner
Status on this, running cluster and db ;)
But there remains:
- a wal replication issue to investigate and fix.
- associated documentation update
Apparently, it would be due to some missing options needed to be flipped prior to replication trigger.
- Author Owner
Status on this, replication up and running.
The first tests were too high level (using pg_basebackup). This resulted in systematic missing wal files.
Pairing with @olasd to make it work, we used:
- archiving wals to slave method (based on rsync)
- started the replication using lower api (than pg_basebackup)
- when the replication seemed stable, activated the cleaning up feature of the slave to remove applied wals
cf. migrated/migration$274 for details.
- Phabricator Migration user marked this issue as related to #1113 (closed)
marked this issue as related to #1113 (closed)
- Antoine R. Dumont removed state:wip label
removed state:wip label
- Antoine R. Dumont closed
closed
- Antoine R. Dumont mentioned in issue #883 (closed)
mentioned in issue #883 (closed)
- Phabricator Migration user mentioned in merge request swh/devel/swh-indexer!10 (closed)
mentioned in merge request swh/devel/swh-indexer!10 (closed)