Page MenuHomePhabricator

setup deployment server in codfw (tin equivalent)
Closed, ResolvedPublic

Description

< bd808> mutante: I'd actually like to see a tin-like box in codfw that got a full sync of /srv/mediawiki-staging that included all the .git/ stuff that we don't send to the rsync-slaves
<bd808> Then we could in theory deploy from codfw if needed
< mutante> bd808: that sounds good to me (having a tin-like box)

Yes, agreed, we did have tasks for all the appservers, but i don't think we had one for a deployment server, equivalent of tin, so i added this.

Event Timeline

Dzahn raised the priority of this task from to Needs Triage.
Dzahn updated the task description. (Show Details)
Dzahn added subscribers: Dzahn, bd808.

Do we have hardware we can assign for this?

Dzahn added subscribers: RobH, mark.

I'll take a look at this later today. I'm adding the hardware-requests project and claiming this for allocation later.

RobH triaged this task as Medium priority.
RobH removed RobH as the assignee of this task.Mar 9 2015, 6:21 PM

discussion in ops meeting states this should instead be used as a virtual machine in codfw.

discussion in ops meeting states this should instead be used as a virtual machine in codfw.

It will need decent resource allocation. The localization update process that runs nightly and the localization cache rebuild step in scap needs good disk io (fstat) performance and multiple cores to complete in a reasonable time. On the virtualized deployment-bastion instance in Labs, the l10nupdate that is part of running scap can take 18-20 minutes to complete because of limited IOPS and cores.

@mark,

Can you offer some insight on how to proceed on this? I recall that you proposed it sit in a VM, but the reasoning from @bd808 suggests this still should be stand alone.

Ok, let's assign some bare metal then.

Claiming, I'll allocate a system for this later.

robh@tin:~$ sudo lshw -class disk

*-disk                  
     description: SCSI Disk
     product: PERC H310
     vendor: Winbond Electronics
     physical id: 2.0.0
     bus info: scsi@0:2.0.0
     logical name: /dev/sda
     version: 2.12
     serial: 0047f39d119ffdcf1700968cb620e54a
     size: 465GiB (499GB)
     capabilities: partitioned partitioned:dos
     configuration: ansiversion=5 signature=00082132

robh@tin:~$ sudo lshw -class cpu

*-cpu                   
     description: CPU
     product: Intel(R) Xeon(R) CPU E5-2420 0 @ 1.90GHz
     vendor: Intel Corp.
     physical id: 400
     bus info: cpu@0
     version: Intel(R) Xeon(R) CPU E5-2420 0 @ 1.90GHz
     slot: CPU1
     size: 1900MHz
     capacity: 3600MHz
     width: 64 bits
     clock: 2105MHz
     capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
     configuration: cores=6 enabledcores=6 threads=12

robh@tin:~$ cat /proc/meminfo
MemTotal: 16353976 kB

system mira/wmf5818 is assigned for this task. I've linked in task T95436 for the installation and deployment.