Page MenuHomeSoftware Heritage

Create a vm to test the mirror environment
Closed, MigratedEdits Locked

Description

To simplify the tests of the mirrors and to not be limited by the network connection during the tests, a sandbox vm can be provisionning.

The spec (can be updated later) are:

  • Memory: 64Go
  • CPU: 8
  • 50Go of storage

An additionnal database schema will be created on the staging database to store the data

Event Timeline

vsellier triaged this task as Normal priority.Apr 22 2021, 4:49 PM
vsellier created this task.
vsellier changed the task status from Open to Work in Progress.Apr 22 2021, 5:12 PM
vsellier moved this task from Backlog to in-progress on the System administration board.

VM created by terraform :

mirror-tests_summary = 
hostname: mirror-test
fqdn: mirror-test.internal.staging.swh.network
network: ip=192.168.130.160/24,gw=192.168.130.1 macaddrs=E6:3C:8A:B7:26:5D
vsellier moved this task from in-progress to done on the System administration board.

the vm is configured and the new database schema on the staging database created.
psql is also configured with several services:

  • swh-mirror : read-only connection on the swh-mirror schema
  • admin-swh-mirror: r/w connection
  • swh: read-only connection on the archive database (staging)

@douardda you can use your usual user / ssh key to connect on it.