-
Notifications
You must be signed in to change notification settings - Fork 88
/
site.pp
2724 lines (2187 loc) · 53.5 KB
/
site.pp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# vim: set tabstop=4 shiftwidth=4 softtabstop=4 expandtab textwidth=80 smarttab
# NOTE:
#
# Node definitions should use the regex form and be anchored with a ^ for the
# start of the hostname. The top level domain name (.wmnet or .org) should not
# be included, nor a trailing $ anchor, this format allows dev hosts to also
# match the production node defs, e.g.
#
# node /^foo1001.eqiad\./ {
# role(baz)
# }
#
# Matches both foo1001.eqiad.wmnet as well as foo1001.eqiad.dev.lan
# Node definitions (alphabetic order)
# Ganeti VMs for acme-chief service
node /^acmechief1001\.eqiad\./ {
role(acme_chief)
}
node /^acmechief1002\.eqiad\./ {
role(acme_chief)
}
node /^acmechief2001\.codfw\./ {
role(acme_chief)
}
node /^acmechief2002\.codfw\./ {
role(acme_chief)
}
# Ganeti VMs for acme-chief staging environment
node /^acmechief-test1001\.eqiad\./ {
role(acme_chief)
}
node /^acmechief-test2001\.codfw\./ {
role(acme_chief)
}
#old namenodes - to be decommissioned
node /^an-master100[12]\.eqiad\./ {
role(insetup::data_engineering)
}
# The Hadoop master node:
# - primary active NameNode
# - YARN ResourceManager
node /^an-master1003\.eqiad\./ {
role(analytics_cluster::hadoop::master)
}
# The Hadoop (stanby) master node:
# - primary active NameNode
# - YARN ResourceManager
node /^an-master1004\.eqiad\./ {
role(analytics_cluster::hadoop::standby)
}
node /^an-coord100[34]\.eqiad\./ {
role(analytics_cluster::coordinator)
}
node /^an-db100[1-2]\.eqiad\./ {
role(analytics_cluster::postgresql)
}
# New an-mariadb nodes T321119
node /^an-mariadb100[1-2]\.eqiad\./ {
role(analytics_cluster::mariadb)
}
node /^an-launcher1002\.eqiad\./ {
role(analytics_cluster::launcher)
}
# Analytics Hadoop test cluster
node /^an-test-master1001\.eqiad\./ {
role(analytics_test_cluster::hadoop::master)
}
node /^an-test-master1002\.eqiad\./ {
role(analytics_test_cluster::hadoop::standby)
}
node /^an-test-worker100[1-3]\.eqiad\./ {
role(analytics_test_cluster::hadoop::worker)
}
# new an-test-coord1001 T255518
node /^an-test-coord1001\.eqiad\./ {
role(analytics_test_cluster::coordinator)
}
node /^an-test-client1002\.eqiad\./ {
role(analytics_test_cluster::client)
}
node /^an-test-ui1001\.eqiad\./ {
role(analytics_test_cluster::hadoop::ui)
}
node /^an-test-presto1001\.eqiad\./ {
role(analytics_test_cluster::presto::server)
}
# analytics1058-analytics1077 and an-worker10XX
# are Analytics Hadoop worker nodes.
#
# NOTE: If you add, remove or move Hadoop nodes, you should edit
# hieradata/common.yaml hadoop_clusters net_topology
# to make sure the hostname -> /datacenter/rack/row id is correct.
# This is used for Hadoop network topology awareness.
node /^analytics10(7[0-7])\.eqiad\./ {
role(analytics_cluster::hadoop::worker)
}
# NOTE: If you add, remove or move Hadoop nodes, you should edit
# hieradata/common.yaml hadoop_clusters net_topology
# to make sure the hostname -> /datacenter/rack/row id is correct.
# This is used for Hadoop network topology awareness.
node /^an-worker10(7[89]|8[0-9]|9[0-9])\.eqiad\./ {
role(analytics_cluster::hadoop::worker)
}
# NOTE: If you add, remove or move Hadoop nodes, you should edit
# hieradata/common.yaml hadoop_clusters net_topology
# to make sure the hostname -> /datacenter/rack/row id is correct.
# This is used for Hadoop network topology awareness.
node /^an-worker11(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]|6[0-9]|7[0-5])\.eqiad\./ {
role(analytics_cluster::hadoop::worker)
}
# turnilo.wikimedia.org
# https://wikitech.wikimedia.org/wiki/Analytics/Systems/Turnilo-Pivot
node /^an-tool1007\.eqiad\./ {
role(analytics_cluster::turnilo)
}
# yarn.wikimedia.org
node /^an-tool1008\.eqiad\./ {
role(analytics_cluster::hadoop::yarn)
}
node /^an-tool1011\.eqiad\./ {
role(analytics_cluster::turnilo::staging)
}
# analytics-research instance of Apache Airflow
node /^an-airflow1002\.eqiad\./ {
role(analytics_cluster::airflow::research)
}
# analytics-platform-eng instance of Apache Airflow
node /^an-airflow1004\.eqiad\./ {
role(analytics_cluster::airflow::platform_eng)
}
node /^an-airflow1005\.eqiad\./ {
role(analytics_cluster::airflow::search)
}
# product-analytics instance of Apache Airflow
node /^an-airflow1006\.eqiad\./ {
role(analytics_cluster::airflow::analytics_product)
}
# WMDE instance of Apache Airflow
node /^an-airflow1007\.eqiad\./ {
role(analytics_cluster::airflow::wmde)
}
# Analytics Zookeeper cluster
node /^an-conf100[1-3]\.eqiad\./ {
role(analytics_cluster::zookeeper)
}
# Refreshed hardware for Analytics Zookeeper cluster - See #T364429
node /^an-conf100[4-6]\.eqiad\./ {
role(data_engineering::insetup)
}
# Analytics Presto nodes. 1001 - 1015
node /^an-presto10(0[1-9]|1[0-5])\.eqiad\./ {
role(analytics_cluster::presto::server)
}
# Analytics Web Node.
node /^an-web1001\.eqiad\./ {
role(analytics_cluster::webserver)
}
# API Feature Usage log pipeline procesors
node /^apifeatureusage[12]001\.(eqiad|codfw)\./ {
role(apifeatureusage::logstash)
}
# notification server for Phabricator (T257617 and T322369)
node /^aphlict(100[12]|2001)\.(eqiad|codfw)\./ {
role(aphlict)
}
node /^apt[12]002\.wikimedia\./ {
role(apt_repo)
}
# apt-staging host
node /^apt-staging2001\.codfw\./ {
role(apt_staging)
}
# Analytics Query Service
node /^aqs10(1[0-9]|2[0-1])\.eqiad\./ {
role(aqs)
}
node /^aqs200[1-9]|aqs201[0-2]\.codfw\./ {
role(aqs)
}
# New Archiva host on Buster
# T254890
node /^archiva1002\.wikimedia\./ {
role(archiva)
}
# etcd cluster for aux kubernetes cluster
node /^aux-k8s-etcd100[1-3]\.eqiad\./ {
role(etcd::v3::aux_k8s_etcd)
}
# control-plane servers for aux kubernetes cluster
node /^aux-k8s-ctrl100[1-2]\.eqiad\./ {
role(aux_k8s::master)
}
# worker nodes for aux kubernetes cluster
node /^aux-k8s-worker100[1-2]\.eqiad\./ {
role(aux_k8s::worker)
}
# Primary bacula director and storage daemon
node /^backup1001\.eqiad\./ {
role(backup)
}
# eqiad backup generation for External Storage databases
node /^backup1002\.eqiad\./ {
role(dbbackups::content)
}
# eqiad bacula storage for External Storage databases
node /^backup1003\.eqiad\./ {
role(backup::es)
}
# eqiad media backup storage
node /^backup100[4567]\.eqiad\./ {
role(mediabackup::storage)
}
# temporary-ish expansion
node /^backup1011\.eqiad\./ {
role(mediabackup::storage)
}
# new backup storage eqiad T294974
node /^backup1008\.eqiad\./ {
role(backup::databases)
}
# new backup storage eqiad T307048
node /^backup1009\.eqiad\./ {
role(backup::production)
}
# new backup node T326684
node /^backup1010\.eqiad\./ {
role(insetup::data_persistence)
}
# new node T355571
node /^an-redacteddb1001\.eqiad\./ {
role(wmcs::db::wikireplicas::dedicated::analytics_multiinstance)
}
# codfw storage daemon
node /^backup2001\.codfw\./ {
role(backup::offsite)
}
# codfw backup generation for External Storage databases
node /^backup2002\.codfw\./ {
role(dbbackups::content)
}
# codfw bacula for External Storage DBs
node /^backup2003\.codfw\./ {
role(backup::es)
}
# codfw media backup storage
node /^backup200[4567]\.codfw\./ {
role(mediabackup::storage)
}
# temporary-ish expansion
node /^backup2011\.codfw\./ {
role(mediabackup::storage)
}
# New backup node for codfw T294973
node /^backup2008\.codfw\./ {
role(backup::databases)
}
# New backup node for codfw T307049
node /^backup2009\.codfw\./ {
role(backup::production)
}
# New backup node for codfw T326965
node /^backup2010\.codfw\./ {
role(insetup::data_persistence)
}
node /^backupmon1001\.eqiad\./ {
role(dbbackups::monitoring)
}
node /^bast1003\.wikimedia\./ {
role(bastionhost)
}
node /^bast2003\.wikimedia\./ {
role(bastionhost)
}
node /^bast3007\.wikimedia\./ {
role(bastionhost)
}
node /^bast4005\.wikimedia\./ {
role(bastionhost)
}
node /^bast5004\.wikimedia\./ {
role(bastionhost)
}
node /^bast6003\.wikimedia\./ {
role(bastionhost)
}
node /^bast7001\.wikimedia\./ {
role(bastionhost)
}
# Debian package/docker images building host in production
node /^build2001\.codfw\./ {
role(builder)
}
node /^centrallog[0-9]{4}\.(eqiad|codfw)\./ {
role(syslog::centralserver)
}
node /^chartmuseum[12]001\.(eqiad|codfw)\./ {
role(chartmuseum)
}
node /^cloudgw100[12]\.eqiad\./ {
role(wmcs::cloudgw)
}
node /^cloudgw200[23]-dev\.codfw\./ {
role(wmcs::cloudgw)
}
node /^cloudlb200[123]-dev\.codfw\./ {
role(wmcs::cloudlb)
}
node /^cloudcephosd200[123]-dev\.codfw\./ {
role(wmcs::ceph::osd)
}
# New ceph node codfw T349934
node /^cephosd200[1-3]\.codfw\./ {
role(insetup::data_engineering)
}
node /^cloudcephmon200[4-6]-dev\.codfw\./ {
role(wmcs::ceph::mon)
}
# The following nodes pull data periodically
# from the Analytics Hadoop cluster. Every new
# host needs a kerberos keytab generated,
# according to the details outlined in the
# role's hiera configuration.
node /^clouddumps100[12]\.wikimedia\./ {
role(dumps::distribution::server)
}
# Bitu instance for labtestwikitech
node /^cloudidm2001-dev\.codfw\./ {
role(idmcloud)
}
# All gerrit servers (swap master status in hiera)
node /^gerrit(1003|2002)\.wikimedia\./ {
role(gerrit)
}
# Zookeeper and Etcd discovery service nodes
node /^conf200[456]\.codfw\./ {
role(configcluster)
}
node /^conf100[789]\.eqiad\./ {
role(configcluster)
}
node /^config-master[12]001\.(eqiad|codfw)\./ {
role(config_master)
}
# Test zookeeper in eqiad
node /^zookeeper-test1002\.eqiad\./ {
role(zookeeper::test)
}
# Test kafka cluster
node /^kafka-test10(10|0[6-9])\.eqiad\./ {
role(kafka::test::broker)
}
node /^(contint1002|contint2002)\.wikimedia\./ {
role(ci)
}
node /^cp11(0[02468]|1[024])\.eqiad\./ {
role(cache::text)
}
node /^cp11(0[13579]|1[135])\.eqiad\./ {
role(cache::upload)
}
node /^cp20(2[79]|3[13579]|41)\.codfw\./ {
role(cache::text)
}
node /^cp20(28|3[02468]|4[02])\.codfw\./ {
role(cache::upload)
}
#
# esams caches
#
node /^cp30(6[6789]|7[0123])\.esams\./ {
role(cache::text)
}
node /^cp30(7[456789]|8[01])\.esams\./ {
role(cache::upload)
}
#
# ulsfo caches
#
node /^cp40(4[56789]|5[012])\.ulsfo\./ {
role(cache::upload)
}
node /^cp40(3[789]|4[01234])\.ulsfo\./ {
role(cache::text)
}
#
# eqsin caches
#
# Temp setup, will go away once wiped
node /^cp50(1[3456])\.eqsin\./ {
role(insetup::traffic)
}
node /^cp50(2[56789]|3[012])\.eqsin\./ {
role(cache::upload)
}
node /^cp50(1[789]|2[01234])\.eqsin\./ {
role(cache::text)
}
#
# cp drmrs nodes
#
node /^cp600[1-8]\.drmrs\./ {
role(cache::upload)
}
node /^cp60(09|1[0-6])\.drmrs\./ {
role(cache::text)
}
#
# cp magru nodes
#
node /^cp700[1-8]\.magru\./ {
role(cache::text)
}
node /^cp70(09|1[0-6])\.magru\./ {
role(cache::upload)
}
node /^crm2001\.codfw\./ {
role(crm)
}
node /^cumin1002\.eqiad\./ {
role(cluster::management)
}
node /^cumin2002\.codfw\./ {
role(cluster::management)
}
node /^cuminunpriv1001\.eqiad\./ {
role(cluster::unprivmanagement)
}
node /^datahubsearch100[1-3]\.eqiad\./ {
role(analytics_cluster::datahub::opensearch)
}
## Analytics Backup Multi-instance
node /^db1208\.eqiad\./ {
role(mariadb::misc::analytics::backup)
}
# s1 (enwiki) core production dbs on eqiad
node /^db1(163|169|184|186|195|206|207|218|219|232|234|235)\.eqiad\./ {
role(mariadb::core)
}
# eqiad sanitarium master
node /^db1196\.eqiad\./ {
role(mariadb::sanitarium_master)
}
# s1 (enwiki) core production dbs on codfw
node /^db2(116|130|145|146|153|170|174|176|188|203|212|216)\.codfw\./ {
role(mariadb::core)
}
# codfw sanitarium master
node /^db2173\.codfw\./ {
role(mariadb::sanitarium_master)
}
# s2 (large wikis) core production dbs on eqiad
# See also db1146 below
node /^db1(162|182|188|197|222|229|233|246)\.eqiad\./ {
role(mariadb::core)
}
# eqiad sanitarium master
node /^db1156\.eqiad\./ {
role(mariadb::sanitarium_master)
}
# s2 (large wikis) core production dbs on codfw
node /^db2(125|138|148|175|189|204|207)\.codfw\./ {
role(mariadb::core)
}
# codfw sanitarium master
node /^db2126\.codfw\./ {
role(mariadb::sanitarium_master)
}
# s3 core production dbs on eqiad
node /^db1(157|166|175|189|198|223)\.eqiad\./ {
role(mariadb::core)
}
# eqiad sanitarium master
node /^db1212\.eqiad\./ {
role(mariadb::sanitarium_master)
}
# s3 core production dbs on codfw
node /^db2(127|149|177|190|194|205|209)\.codfw\./ {
role(mariadb::core)
}
# codfw sanitarium master
node /^db2156\.codfw\./ {
role(mariadb::sanitarium_master)
}
# s4 (commons) core production dbs on eqiad
# See also db1144 and db1146 below
node /^db1(160|190|199|238|241|242|243|244|247|248|249)\.eqiad\./ {
role(mariadb::core)
}
# eqiad sanitarium master
node /^db1221\.eqiad\./ {
role(mariadb::sanitarium_master)
}
# Testing cluster
node /^db1125\.eqiad\./ {
role(mariadb::core_test)
}
# s4 (commons) core production dbs on codfw
node /^db2(136|137|140|147|172|179|206|210|219)\.codfw\./ {
role(mariadb::core)
}
# codfw sanitarium master
node /^db2155\.codfw\./ {
role(mariadb::sanitarium_master)
}
# s5 (default, dewiki and others) core production dbs on eqiad
# See also db1213 and db1144 below
node /^db1(183|185|200|210|213|230)\.eqiad\./ {
role(mariadb::core)
}
# eqiad sanitarium master
node /^db1161\.eqiad\./ {
role(mariadb::sanitarium_master)
}
# s5 (default, dewiki and others) core production dbs on codfw
node /^db2(123|157|171|178|192|211|213)\.codfw\./ {
role(mariadb::core)
}
# codfw sanitarium master
node /^db2128\.codfw\./ {
role(mariadb::sanitarium_master)
}
# s6 (frwiki, jawiki, ruwiki) core production dbs on eqiad
node /^db1(168|173|180|187|201|224|231)\.eqiad\./ {
role(mariadb::core)
}
# eqiad sanitarium master
node /^db1165\.eqiad\./ {
role(mariadb::sanitarium_master)
}
# s6 core production dbs on codfw
node /^db2(114|124|129|151|169|180|193|214|217)\.codfw\./ {
role(mariadb::core)
}
# codfw sanitarium master
node /^db2158\.codfw\./ {
role(mariadb::sanitarium_master)
}
# s7 (centralauth, meta et al.) core production dbs on eqiad
node /^db1(069|170|174|178|181|191|194|202|227|236)\.eqiad\./ {
role(mariadb::core)
}
# eqiad sanitarium master
node /^db1158\.eqiad\./ {
role(mariadb::sanitarium_master)
}
# s7 (centralauth, meta et al.) core production dbs on codfw
node /^db2(121|122|150|168|182|218|208|220)\.codfw\./ {
role(mariadb::core)
}
# codfw sanitarium master
node /^db2159\.codfw\./ {
role(mariadb::sanitarium_master)
}
# s8 (wikidata) core production dbs on eqiad
node /^db1(172|177|192|193|203|209|211|214|226)\.eqiad\./ {
role(mariadb::core)
}
# eqiad sanitarium master
node /^db1167\.eqiad\./ {
role(mariadb::sanitarium_master)
}
# s8 (wikidata) core production dbs on codfw
node /^db2(152|154|161|162|163|165|166|167|181|195)\.codfw\./ {
role(mariadb::core)
}
# codfw sanitarium master
node /^db2164\.codfw\./ {
role(mariadb::sanitarium_master)
}
## x1 shard
# eqiad
node /^db1(179|220|237)\.eqiad\./ {
role(mariadb::core)
}
# codfw
node /^db2(115|131|191|196|215)\.codfw\./ {
role(mariadb::core)
}
# x2 shard
# eqiad
node /^db11(51|52|53)\.eqiad\./ {
role(mariadb::objectstash)
}
# codfw
node /^db21(42|43|44)\.codfw\./ {
role(mariadb::objectstash)
}
## m1 shard
# See also multiinstance misc hosts db1217, db2160 below
# m1 master
node /^db1164\.eqiad\./ {
role(mariadb::misc)
}
# m1 codfw master
node /^db2132\.codfw\./ {
role(mariadb::misc)
}
## m2 shard
# See also multiinstance misc hosts db1217, db2160 below
# master
node /^db1228\.eqiad\./ {
role(mariadb::misc)
}
# m2 codfw master
node /^db2133\.codfw\./ {
role(mariadb::misc)
}
## m3 shard
# See also multiinstance misc hosts db1217, db2160 below
# m3 master
node /^db1159\.eqiad\./ {
role(mariadb::misc::phabricator)
}
# m3 codfw master
node /^db2134\.codfw\./ {
role(mariadb::misc::phabricator)
}
## m5 shard
# See also multiinstance misc hosts db1217, db2160 below
# m5 master
node /^db1176\.eqiad\./ {
role(mariadb::misc)
}
# m5 codfw master
node /^db2135\.codfw\./ {
role(mariadb::misc)
}
# misc multiinstance
node /^db1217\.eqiad\./ {
role(mariadb::misc::multiinstance)
}
node /^db2160\.codfw\./ {
role(mariadb::misc::multiinstance)
}
# sanitarium hosts
node /^db1(154|155)\.eqiad\./ {
role(mariadb::sanitarium_multiinstance)
}
node /^db2(186|187)\.codfw\./ {
role(mariadb::sanitarium_multiinstance)
}
# zarcillo master
node /^db1215\.eqiad\./ {
role(mariadb::misc::db_inventory)
}
# zarcillo slave
node /^db2185\.codfw\./ {
role(mariadb::misc::db_inventory)
}
# Orchestrator central node (VM on ganeti)
node /^dborch1001\.wikimedia\./ {
role(orchestrator)
}
# backup1-eqiad section (datacenter-specific backup metadata hosts)
node /^(db1204|db1205)\.eqiad\./ {
role(mariadb::misc)
}
# backup1-codfw section (datacenter-specific backup metadata hosts)
node /^db2183|db2184\.codfw\./ {
role(mariadb::misc)
}
# eqiad backup sources
## s3 & s4, bullseye
node /^db1150\.eqiad\./ {
role(mariadb::backup_source)
}
## s7 & s8, bullseye
node /^db1171\.eqiad\./ {
role(mariadb::backup_source)
}
## s5, s8 & x1, bullseye
node /^db1216\.eqiad\./ {
role(mariadb::backup_source)
}
## s2, s6 & x1, bullseye
node /^db1225\.eqiad\./ {
role(mariadb::backup_source)
}
## s1 & s2, bullseye
node /^db1239\.eqiad\./ {
role(mariadb::backup_source)
}
## s1 & s3, bullseye
node /^db1240\.eqiad\./ {
role(mariadb::backup_source)
}
## s4 & s5, bullseye
node /^db1245\.eqiad\./ {
role(mariadb::backup_source)
}
# codfw backup sources
## s3 & s4, bullseye
node /^db2139\.codfw\./ {
role(mariadb::backup_source)
}
## s1, bullseye
node /^db2141\.codfw\./ {
role(mariadb::backup_source)
}
## s2, s6 & x1, bookworm
node /^db2197\.codfw\./ {
role(mariadb::backup_source)
}
## s7 & s8, bookworm
node /^db2198\.codfw\./ {
role(mariadb::backup_source)
}
## s4, bookworm
node /^db2199\.codfw\./ {
role(mariadb::backup_source)
}
## s7 & s8, bookworm
node /^db2200\.codfw\./ {
role(mariadb::backup_source)
}
## s2, s5, & x1, bookworm
node /^db2201\.codfw\./ {
role(mariadb::backup_source)
}
# test-s1, bookworm
node /^db2202\.codfw\./ {
role(mariadb::core_test)
}
# Analytics production replicas
node /^dbstore100[789]\.eqiad\./ {
role(mariadb::analytics_replica)
}
# database-provisioning and short-term/postprocessing backups servers
node /^dbprov1001\.eqiad\./ {
role(insetup::data_persistence)
}
node /^dbprov1002\.eqiad\./ {
role(insetup::data_persistence)
}
node /^dbprov1003\.eqiad\./ {
role(dbbackups::metadata)
}
node /^dbprov1004\.eqiad\./ {
role(dbbackups::metadata)
}
node /^dbprov1005\.eqiad\./ {
role(dbbackups::metadata)
}
node /^dbprov1006\.eqiad\./ {
role(dbbackups::metadata)
}
node /^dbprov2001\.codfw\./ {
role(insetup::data_persistence)
}
node /^dbprov2002\.codfw\./ {
role(insetup::data_persistence)
}
node /^dbprov2003\.codfw\./ {
role(dbbackups::metadata)
}
node /^dbprov2004\.codfw\./ {
role(dbbackups::metadata)
}
node /^dbprov2005\.codfw\./ {
role(dbbackups::metadata)
}
node /^dbprov2006\.codfw\./ {
role(dbbackups::metadata)
}
# Active eqiad proxies for misc databases
node /^dbproxy10(12|13|14|15|16|20|21|22|23|24|25|26|27)\.eqiad\./ {
role(mariadb::proxy::master)
}
# New proxies T361351
node /^dbproxy102[8-9]\.eqiad\./ {
role(insetup::data_persistence)
}
# New databases T368922
node /^db22(21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40)\.codfw\./ {
role(insetup::data_persistence)
}
# New parsercache T368920
node /^pc1017\.eqiad\./ {
role(insetup::data_persistence)
}
# New parsercache T368919
node /^pc2017\.codfw\./ {
role(insetup::data_persistence)
}
# New proxies T361352
node /^dbproxy200(5|6|7|8)\.codfw\./ {
role(insetup::data_persistence)
}
# Passive codfw proxies for misc databases
node /^dbproxy20(01|02|03|04)\.codfw\./ {
role(mariadb::proxy::master)
}
node /^debmonitor[12]003\.(codfw|eqiad)\./ {
role(debmonitor::server)
}
node /^dns[1-9][0-9]{3}\.wikimedia\./ {
role(dnsbox)
}
node /^doc[12]00[123]\.(codfw|eqiad)\./ {
role(doc)
}
# Wikidough (T252132)
node /^(doh[1-9][0-9]{3})\.wikimedia\./ {
role(wikidough)
}
# durum for Wikidough (T289536)
node /^durum[1-9][0-9]{3}\./ {
role(durum)
}
# Dragonfly Supernode (T286054)
node /^dragonfly-supernode[12]001\.(codfw|eqiad)\./ {