You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Labweb1001: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Andrew Bogott
No edit summary
imported>Arturo Borrero Gonzalez
(add logs section)
Line 34: Line 34:
labweb1001:~$ sudo pool
labweb1001:~$ sudo pool
</code>
</code>
== Logs ==
Horizon logs are at <code>/var/log/apache2/horizon_*</code>, which can be scanned for failed user logins, etc. Make sure you check both '''labweb1001''' and '''labweb1002'''.

Revision as of 10:02, 15 August 2019

labweb1001
Location: eqiad
Cluster: Miscellaneous eqiad
Node name: labweb1001.wikimedia.org (fingerprint)
Usage:
Miscellaneous
Status
Overall: Symbol support vote.svg Active
Icinga?: host status services status
Hardware
Software

labweb1001 and labweb1002 host Wikitech, Horizon and toolsadmin (Striker).

As wiki hosts they are fairly non-standard: code is deployed the usual way, but X-Wikimedia-Debug does not work, login uses the developer account (LDAP) credentials, and various things might be less reliable (e.g. logging).

Connecting

Connect to labweb1001 over ssh by proxying through a bastion (e.g. bast1003.wikimedia.org). As with other hosts, ensure you have ProxyJump configured in .ssh/config (see Production shell access). Then connect as follows:

user@laptop:~$ ssh labweb1001.wikimedia.org

Note that the domain name is .wikimedia.org, not .eqiad.wmnet.

Maintenance

labweb1001 and labweb1002 are load-balanced and redundant, using LVS. To take one of them out of service for maintenance, log in and run

labweb1001:~$ sudo depool

After maintenance, put the host back into service:

labweb1001:~$ sudo pool

Logs

Horizon logs are at /var/log/apache2/horizon_*, which can be scanned for failed user logins, etc. Make sure you check both labweb1001 and labweb1002.