Eqiad Migration Planning/Steps

From Wikitech
< Eqiad Migration Planning(Difference between revisions)
Jump to: navigation, search
(Migrate bits apaches to eqiad)
(Migrate bits apaches to eqiad)
Line 15: Line 15:
  
 
==== Migrate bits apaches to eqiad ====
 
==== Migrate bits apaches to eqiad ====
Check whether the 4 bits apaches are healty according to a bits Varnish server:
+
Check whether the 4 bits apaches are healthy according to a bits Varnish server:
 
  # varnishlog -i Backend_health -O
 
  # varnishlog -i Backend_health -O
 +
 +
Test a few top bits URLs manually from the new bits app servers to see if valid content is being returned. To retrieve the most requested URLs, on a bits Varnish servers:
 +
# varnishtop -i RxURL
 +
 +
To test such a URL, use CURL, or:
 +
fenari: $ /home/mark/firstbyte.py ''apache_host_name'' 80 bits.wikimedia.org ''URI''
  
 
Run varnishtop for a histogram of HTTP status codes, and compare before/after migration:
 
Run varnishtop for a histogram of HTTP status codes, and compare before/after migration:

Revision as of 13:46, 16 January 2013

Contents

Day 1: Tue Jan 22

Preparation (before maintenance window)

Check LVS pools apaches, api and rendering for down/depooled machines. A few machines may be broken (and should be removed from the config from the time being), but all others should be up and happy in health checks.

# ipvsadm -l
# less /var/log/pybal.log

Check whether the Nagios check for these LVS pools exists and is up.

Check whether all pooled application servers have the right LVS service IPs bound to loopback.

Check deployed MediaWiki revision / git status on all application servers

MySQL warm up?

Maintenance window

Migrate bits apaches to eqiad

Check whether the 4 bits apaches are healthy according to a bits Varnish server:

# varnishlog -i Backend_health -O

Test a few top bits URLs manually from the new bits app servers to see if valid content is being returned. To retrieve the most requested URLs, on a bits Varnish servers:

# varnishtop -i RxURL

To test such a URL, use CURL, or:

fenari: $ /home/mark/firstbyte.py apache_host_name 80 bits.wikimedia.org URI

Run varnishtop for a histogram of HTTP status codes, and compare before/after migration:

# varnishtop -i TxStatus

Deploy Gerrit patch set XXX and run Puppet for node group XXX.

Check if the distribution of HTTP status codes changes drastically, esp. HTTP 2xx vs. 4xx/5xx.

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox