Page MenuHomePhabricator

Migrate database hosts from BIOS to UEFI
Open, MediumPublic

Description

We have to migrate our existing hosts to UEFI.
Also, new hosts should be installed with UEFI.

During the migration, we have to maintain two lines on preseed with the appropiated recipes.
For UEFI:
To keep /srv: reuse-db-efi.cfg: https://github.com/wikimedia/operations-puppet/blob/production/modules/profile/data/profile/installserver/preseed.yaml#L228
To fully erase a host: db-efi.cfg https://github.com/wikimedia/operations-puppet/blob/production/modules/profile/data/profile/installserver/preseed.yaml#L215

In order to migrate an existing host to UEFI we have to add the following flag to the reimage process (https://wikitech.wikimedia.org/wiki/UEFI_Boot#Workflow):

--no-switch --no-users --no-dhcp

Query to see which hosts have been migrated:

sudo cumin 'A:uefi-boot and A:db-all'

To check which hosts are pending to be migrated:

sudo cumin 'A:bios-boot and A:db-all'

Details

Event Timeline

Marostegui updated the task description. (Show Details)
Marostegui moved this task from Triage to Meta/Epic on the DBA board.

Change #1214235 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] installserver: Move new hosts to UEFI

https://gerrit.wikimedia.org/r/1214235

Change #1214235 merged by Marostegui:

[operations/puppet@production] installserver: Move new hosts to UEFI

https://gerrit.wikimedia.org/r/1214235