Puppet Class: role::labs::db::wikireplica_analytics::dedicated

Defined in:
modules/role/manifests/labs/db/wikireplica_analytics/dedicated.pp

Overview

Class role::labs::db::wikireplica_analytics::dedicated

This role is a special use case of role::labs::db::wikireplica_analytics, adapted for the labsdb host used exclusively by the Analytics team. Some differences:

  • A different hiera config to allow to tune pt-kill configs without affecting the 'regular' labsdb hosts.

  • A different set of firewall rules for port 3306, to allow Analytics hosts (especially Hadoop worker nodes) to contact the labsdb Analytics host.



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'modules/role/manifests/labs/db/wikireplica_analytics/dedicated.pp', line 12

class role::labs::db::wikireplica_analytics::dedicated {

    system::role { 'labs::db::wikireplica_analytics::dedicated':
        description => 'Labs replica database - analytics (Analytics team\'s special db host)',
    }

    include ::profile::standard
    class { '::mariadb::packages_wmf': }
    class { '::mariadb::service': }
    include ::profile::mariadb::monitor
    include ::profile::base::firewall

    include ::profile::labs::db::wikireplica
    include ::profile::labs::db::wikireplica::analytics

    include ::passwords::misc::scripts
    include ::role::labs::db::common
    include ::profile::labs::db::views
    include ::role::labs::db::check_private_data
    include ::profile::labs::db::kill_long_running_queries

}