The standard at WMF is to store application data on /srv. This standardisation allows to limit the number of specific partman recipes. Elasticsearch is one of the few exception (for the usual "historical" reasons). The relforge cluster is already using /srv for data, so this change should be mostly painless.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | debt | T151324 [epic] System level upgrade for cirrus / elasticsearch | |||
Resolved | Gehel | T151328 move data to /srv for the cirrus / elasticsearch clusters |
Event Timeline
The oldest elasticsearch servers (elastic1017-1031) have smaller SSD, configured as RAID0. We do not have a standard partman configuration that matches this. Relforge servers already use the standard raid10-gpt-srv-lvm-ext4.cfg configuration.
Current partman configs (from modules/install_server/files/autoinstall/netboot.cfg):
elastic101[7-9]|elastic102[0-9]|elastic103[0-1]) echo partman/elasticsearch-raid0.cfg ;; \ elastic103[2-9]|elastic104[0-9]|elastic20[0-2][0-9]|elastic203[0-1]) echo partman/elasticsearch-raid1.cfg ;; \ relforge100[12]) echo partman/raid10-gpt-srv-lvm-ext4.cfg ;; \
New configuration should be:
elastic101[7-9]|elastic102[0-9]|elastic103[0-1]) echo partman/??? ;; \ elastic103[2-9]|elastic104[0-9]|elastic20[0-2][0-9]|elastic203[0-1]) echo partman/raid1-lvm-ext4-srv.cfg ;; \ relforge100[12]) echo partman/raid10-gpt-srv-lvm-ext4.cfg ;; \
For old elasticsearch servers, we could create a new configuration based on raid0-lvm-srv.cfg, but with ext4 instead of XFS for the /srv partition.
@RobH you probably know more about this than I do. Any suggestion?
Change 323157 had a related patch set uploaded (by Gehel):
elasticsearch - codfw servers move to jessie and data on /srv
Change 335218 had a related patch set uploaded (by Gehel):
elasticsearch - ensure data directory with puppet
Mentioned in SAL (#wikimedia-releng) [2017-02-01T13:29:25Z] <gehel> starting deployment-elastic* migration to jessie and moving data partition to /srv (T151326 / T151328)
Change 323157 merged by Gehel:
elasticsearch - codfw servers move to jessie and data on /srv
Change 336409 had a related patch set uploaded (by Gehel):
elasticsaerch - change the default data directory to /srv/elasticsearch
Change 336410 had a related patch set uploaded (by Gehel):
elasticsearch - codfw cirrus cluster - move data to /srv/elasticsearch
Change 336409 merged by Gehel:
elasticsaerch - change the default data directory to /srv/elasticsearch
Change 336410 merged by Gehel:
elasticsearch - codfw cirrus cluster - move data to /srv/elasticsearch
Change 336414 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic200[12] to jessie and move data to /srv
Change 336414 merged by Gehel:
elasticsearch - reimage elastic200[12] to jessie and move data to /srv
Change 336589 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic200[12] to jessie and move data to /srv
Change 336589 merged by Gehel:
elasticsearch - reimage elastic200[12] to jessie and move data to /srv
Change 336595 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic200[5678] to jessie and move data to /srv
Change 336595 merged by Gehel:
elasticsearch - reimage elastic200[5678] to jessie and move data to /srv
Change 336625 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic20(09|10|11|12) to jessie and move data to /srv
Change 336625 merged by Gehel:
elasticsearch - reimage elastic20(09|10|11|12) to jessie and move data to /srv
Change 336679 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic20(13|14|15|16) to jessie and move data to /srv
Change 336679 merged by Gehel:
elasticsearch - reimage elastic20(13|14|15|16) to jessie and move data to /srv
Change 336765 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic20(17|18|19|20) to jessie and move data to /srv
Change 336765 merged by Gehel:
elasticsearch - reimage elastic20(17|18|19|20) to jessie and move data to /srv
Change 336795 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic20(21|22|23|24) to jessie and move data to /srv
Change 336795 merged by Gehel:
elasticsearch - reimage elastic20(21|22|23|24) to jessie and move data to /srv
Change 336973 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic20(25|26|27|28) to jessie and move data to /srv
Change 336973 merged by Gehel:
elasticsearch - reimage elastic20(25|26|27|28) to jessie and move data to /srv
Change 337060 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic20(29|30|31|32) to jessie and move data to /srv
Change 337060 merged by Gehel:
elasticsearch - reimage elastic20(29|30|31|32) to jessie and move data to /srv
Change 337218 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic20(33|34|35|36) to jessie and move data to /srv
Change 337218 merged by Gehel:
elasticsearch - reimage elastic20(33|34|35|36) to jessie and move data to /srv
Change 337378 had a related patch set uploaded (by Gehel):
elasticsearch - reimage to jessie and move data to /srv - preliminary work
Change 337378 merged by Gehel:
elasticsearch - reimage to jessie and move data to /srv - preliminary work
Change 338327 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic10(17|18|19|20) to jessie and move data to /srv
Change 338327 merged by Gehel:
elasticsearch - reimage elastic10(17|18|19|20) to jessie and move data to /srv
Change 338392 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic10(21|22|23|24) to jessie and move data to /srv
Change 338392 merged by Gehel:
elasticsearch - reimage elastic10(21|22|23|24) to jessie and move data to /srv
Change 338761 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic10(25|28|29|30) to jessie and move data to /srv
Change 338761 merged by Gehel:
elasticsearch - reimage elastic10(25|28|29|30) to jessie and move data to /srv
Change 338768 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic10(26|31|36|40) to jessie and move data to /srv
Change 338768 merged by Gehel:
elasticsearch - reimage elastic10(26|31|36|40) to jessie and move data to /srv
Change 338811 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic10(27|32|37|41) to jessie and move data to /srv
Change 338811 merged by Gehel:
elasticsearch - reimage elastic10(27|32|37|41) to jessie and move data to /srv
Change 338977 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic10(33|34|38|42) to jessie and move data to /srv
Change 338977 merged by Gehel:
elasticsearch - reimage elastic10(33|34|38|42) to jessie and move data to /srv
Change 339017 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic10(35|39|43|44) to jessie and move data to /srv
Change 339017 merged by Gehel:
elasticsearch - reimage elastic10(35|39|43|44) to jessie and move data to /srv
Change 339130 had a related patch set uploaded (by Gehel):
elasticsearch - reimage elastic10(45|46|47) to jessie and move data to /srv
Change 339130 merged by Gehel:
elasticsearch - reimage elastic10(45|46|47) to jessie and move data to /srv