Page MenuHomePhabricator

Q1:rack/setup/install backup2012
Closed, ResolvedPublic

Description

This task will track the racking, setup, and OS installation of backup2012

Hostname / Racking / Installation Details

Hostnames: backup2012
Racking Proposal: Any rack not shared with backup2004 / backup2005 / backup2006 / backup2007 / backup2011, to the best of the ability
Networking Setup: # of Connections:1 - Speed: 10G. - VLAN:Private/Public/Other(Specify) : AAAA records:Y/N, Additional IP records (Cassandra)? Yes/No
Partitioning/Raid:

  • First SSD - not part of a RAID
  • Second SSD - not part of the RAID.
  • All others (HDs): RAID6.
  • The os should end up seeing 3 disks, sda, sdb (of aprox 480 GB each) and sdc (of around 160 available TB).
  • The recipe after that is: partman/custom/backup-format.cfg

OS Distro: Bookworm
Sub-team Technical Contact: Data persistence: @ABran-WMF @Marostegui (jaime will be out)

Per host setup checklist

Each host should have its own setup checklist copied and pasted into the list below.

backup2012
  • Receive in system on procurement task & in Coupa
  • Rack system with proposed racking plan (see above) & update Netbox (include all system info plus location, state of planned)
  • Run the Provision a server's network attributes Netbox script - Note that you must run the DNS and Provision cookbook after completing this step
  • Immediately run the sre.dns.netbox cookbook
  • Immediately run the sre.hosts.provision cookbook
  • Run the sre.hardware.upgrade-firmware cookbook
  • Update the operations/puppet repo - this should include updates to preseed.yaml, and site.pp with roles defined by service group: https://wikitech.wikimedia.org/wiki/SRE/Dc-operations
  • Run the sre.hosts.reimage cookbook

Details

Related Changes in Gerrit:

Event Timeline

RobH mentioned this in Unknown Object (Task).Aug 7 2024, 3:21 PM
RobH added a parent task: Unknown Object (Task).
RobH unsubscribed.
RobH moved this task from Backlog to Racking Tasks on the ops-codfw board.

@ABran-WMF,

This racking task lists you as your teams point of contact. As this has now been escalated to order, the new workflow assigns the racking task to the sub-team point of contact, for them to update the puppet repo site.pp with the instetup role for this host and add it to preseed.yml for partitioning.

Please update the puppet repo sometime in the next week or so in advance of the servers arrival. Once updated (please reference this task in the commit) just unassign yourself and leave unassigned in the ops-codfw racking tasks workboard column.

Thanks!

Change #1061961 had a related patch set uploaded (by Arnaudb; author: Arnaudb):

[operations/puppet@production] backups: adds backup2012

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

ABran-WMF added a subscriber: RobH.

Thank you for the explanation 🙏

This racking task lists you as your teams point of contact. As this has now been escalated to order, the new workflow assigns the racking task to the sub-team point of contact, for them to update the puppet repo site.pp with the instetup role for this host and add it to preseed.yml for partitioning.

Please update the puppet repo sometime in the next week or so in advance of the servers arrival. Once updated (please reference this task in the commit) just unassign yourself and leave unassigned in the ops-codfw racking tasks workboard column.

It's done, feel free to ping me if I can be of service

Change #1061961 merged by Arnaudb:

[operations/puppet@production] backups: adds backup2012

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

How far is this in the queue? The original need by was 2024-09-08, and this could help debug issues with: T377853

Cookbook cookbooks.sre.hosts.reimage was started by jhancock@cumin2002 for host backup2012.codfw.wmnet with OS bookworm

Cookbook cookbooks.sre.hosts.reimage started by jhancock@cumin2002 for host backup2012.codfw.wmnet with OS bookworm completed:

  • backup2012 (WARN)
    • Removed from Puppet and PuppetDB if present and deleted any certificates
    • Removed from Debmonitor if present
    • Forced PXE for next reboot
    • Host rebooted via IPMI
    • Host up (Debian installer)
    • Add puppet_version metadata to Debian installer
    • Checked BIOS boot parameters are back to normal
    • Host up (new fresh bookworm OS)
    • Generated Puppet certificate
    • Signed new Puppet certificate
    • Run Puppet in NOOP mode to populate exported resources in PuppetDB
    • Found Nagios_host resource for this host in PuppetDB
    • Downtimed the new host on Icinga/Alertmanager
    • First Puppet run completed and logged in /var/log/spicerack/sre/hosts/reimage/202410251754_jhancock_553835_backup2012.out
    • configmaster.wikimedia.org updated with the host new SSH public key for wmf-update-known-hosts-production
    • Rebooted
    • Automatic Puppet run was successful
    • Forced a re-check of all Icinga services for the host
    • Icinga status is not optimal, downtime not removed
    • Updated Netbox data from PuppetDB
    • Updated Netbox status planned -> active
    • The sre.puppet.sync-netbox-hiera cookbook was run successfully
Jhancock.wm claimed this task.
Jhancock.wm updated the task description. (Show Details)
Jhancock.wm subscribed.

@jcrespo hey sorry about that. got this one conflated with another order. it's ready to go now.

No need to be sorry. I was a bit pushy about it because we are in a bit of a hurry due to the parent ticket, as we were soon running out of space for media backups (6% left).

wiki_willy added subscribers: RobH, • elukey, wiki_willy.

Re-opening this task, since we have the incorrect RAID controller on the server. @RobH is currently working with Supermicro on getting an upgraded RAID controller onsite to hopefully resolve the performance issues being seen. @RobH - please continue following up with Supermicro with ETAs and statuses, and post them here for visibility. Thanks, Willy

Jhancock.wm closed this task as Resolved.EditedNov 7 2024, 4:19 PM

@jcrespo We got the battery installed on controller card of this server.It's showing in the BIOS (attached). You can proceed with your tests.

1000023669.jpg (868×1,156 px, 76 KB)