Changeset View
Changeset View
Standalone View
Standalone View
data/hostname/saam.internal.softwareheritage.org.yaml
Show All 10 Lines | |||||
swh::deploy::storage::backend::workers: 128 | swh::deploy::storage::backend::workers: 128 | ||||
swh::deploy::storage::backend::max_requests: 5000 | swh::deploy::storage::backend::max_requests: 5000 | ||||
swh::deploy::storage::backend::max_requests_jitter: 500 | swh::deploy::storage::backend::max_requests_jitter: 500 | ||||
swh::deploy::storage::legacy_directory: /srv/softwareheritage/objects-xfs | swh::deploy::storage::legacy_directory: /srv/softwareheritage/objects-xfs | ||||
swh::deploy::storage::config::local: | swh::deploy::storage::config::local: | ||||
cls: local | cls: local | ||||
args: | |||||
db: "host=%{hiera('swh::deploy::storage::db::host')} user=%{hiera('swh::deploy::storage::db::user')} dbname=%{hiera('swh::deploy::storage::db::dbname')} password=%{hiera('swh::deploy::storage::db::password')}" | db: "host=%{hiera('swh::deploy::storage::db::host')} user=%{hiera('swh::deploy::storage::db::user')} dbname=%{hiera('swh::deploy::storage::db::dbname')} password=%{hiera('swh::deploy::storage::db::password')}" | ||||
journal_writer: "%{alias('swh::deploy::journal::writer::config')}" | |||||
objstorage: | objstorage: | ||||
cls: multiplexer | cls: multiplexer | ||||
args: | |||||
objstorages: | objstorages: | ||||
- cls: pathslicing | - cls: pathslicing | ||||
args: | |||||
root: "%{hiera('swh::deploy::storage::directory')}" | root: "%{hiera('swh::deploy::storage::directory')}" | ||||
slicing: "0:2/0:5" | slicing: "0:2/0:5" | ||||
compression: none | compression: none | ||||
- cls: filtered | - cls: filtered | ||||
args: | |||||
storage_conf: | storage_conf: | ||||
cls: pathslicing | cls: pathslicing | ||||
args: | |||||
root: "%{hiera('swh::deploy::storage::legacy_directory')}" | root: "%{hiera('swh::deploy::storage::legacy_directory')}" | ||||
slicing: "0:1/0:2/2:4/4:6" | slicing: "0:1/0:2/2:4/4:6" | ||||
compression: gzip | compression: gzip | ||||
filters_conf: | filters_conf: | ||||
- type: readonly | - type: readonly | ||||
- "%{alias('swh::remote_service::objstorage::config::azure')}" | - "%{alias('swh::remote_service::objstorage::config::azure')}" | ||||
journal_writer: "%{alias('swh::deploy::journal::writer::config')}" | |||||
# Deploy the indexer storage server as a public resource | # Deploy the indexer storage server as a public resource | ||||
swh::deploy::indexer::storage::backend::listen::host: 0.0.0.0 | swh::deploy::indexer::storage::backend::listen::host: 0.0.0.0 | ||||
swh::deploy::indexer::storage::backend::workers: 32 | swh::deploy::indexer::storage::backend::workers: 32 | ||||
# open objstorage api | # open objstorage api | ||||
swh::deploy::objstorage::backend::listen::host: 0.0.0.0 | swh::deploy::objstorage::backend::listen::host: 0.0.0.0 | ||||
swh::deploy::objstorage::backend::workers: 16 | swh::deploy::objstorage::backend::workers: 16 | ||||
swh::deploy::objstorage::config: | swh::deploy::objstorage::config: | ||||
objstorage: | objstorage: | ||||
cls: multiplexer | cls: multiplexer | ||||
args: | |||||
objstorages: | objstorages: | ||||
- cls: pathslicing | - cls: pathslicing | ||||
args: | |||||
root: "%{hiera('swh::deploy::storage::directory')}" | root: "%{hiera('swh::deploy::storage::directory')}" | ||||
slicing: "0:2/0:5" | slicing: "0:2/0:5" | ||||
compression: none | compression: none | ||||
- cls: filtered | - cls: filtered | ||||
args: | |||||
storage_conf: | storage_conf: | ||||
cls: pathslicing | cls: pathslicing | ||||
args: | |||||
root: "%{hiera('swh::deploy::storage::legacy_directory')}" | root: "%{hiera('swh::deploy::storage::legacy_directory')}" | ||||
slicing: "0:1/0:2/2:4/4:6" | slicing: "0:1/0:2/2:4/4:6" | ||||
compression: gzip | compression: gzip | ||||
filters_conf: | filters_conf: | ||||
- type: readonly | - type: readonly | ||||
client_max_size: 1073741824 # 1 GiB | client_max_size: 1073741824 # 1 GiB | ||||
icinga2::host::vars: | icinga2::host::vars: | ||||
load: high | load: high | ||||
disks: | disks: | ||||
disk /srv/softwareheritage/objects-xfs/0: | disk /srv/softwareheritage/objects-xfs/0: | ||||
disk_units: 'GB' | disk_units: 'GB' | ||||
disk_wfree: '100' | disk_wfree: '100' | ||||
▲ Show 20 Lines • Show All 215 Lines • Show Last 20 Lines |