Page MenuHomeSoftware Heritage

Use the same postgresql data dir as the production servers
ClosedPublic

Authored by vsellier on Nov 2 2020, 12:13 PM.

Details

Summary

the zfs renaming will be done manually on the server before applying the puppet configuration

Related to T2736

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
staging
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16778
Build 25869: arc lint + arc unit

Event Timeline

factorize the base directory declaration to avoid duplication in the puppet code

This revision is now accepted and ready to land.Nov 2 2020, 2:11 PM

To switch the mountpoints over, you will need to zfs set mountpoint=none on all datasets (depth first), then zfs set mountpoint=/srv/softwareheritage/postgres/... in the reverse order

To switch the mountpoints over, you will need to zfs set mountpoint=none on all datasets (depth first), then zfs set mountpoint=/srv/softwareheritage/postgres/... in the reverse order

yes, thanks. That's what we did T2736#51879 ;)