Jump to content

Beta Cluster

From mediawiki.org

The Beta Cluster is a functional, production-like environment in the Cloud VPS that is suitable for final-stage testing of new features. It runs off git master and has its MediaWiki core and extensions code updated about every ten minutes. Beta Cluster is one of the Wikimedia test wikis. It uses its own SUL login separate from production, so for example an account for en.wikipedia.beta.wmflabs.org also works on en.wikisource.beta.wmflabs.org but not on any production wiki.

Rationale

[edit]

The aim is to provide an exact copy of the WMF production cluster (including db hosts, apaches, logging, squids, varnish caching, image scalers, etc.) using Cloud VPS instances.

Open tasks

[edit]

See the workboard in Phabricator.

Testing changes on Beta Cluster

[edit]

See Deploy to Beta Cluster for deployment steps.

Logs from the Beta Cluster are sent to Logstash and can be seen at beta-logs.wmcloud.org. This site is currently password-protected, for an account look in: ssh deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud sudo cat /root/secrets.txt. If for your EventLogging events aren't showing up in the dashboard, maybe check the logs and database for possible problems. If that's not working, maybe eventlogging and / or the machine needs to be rebooted. Ping the folks in #wmf-analytics.

If you need to run a maintenance script on the Beta Cluster, ssh to deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud (proxying through bastion.wmcloud.org).

If you need to check the databases, they're hosted on machines with the name *dbXX* among the ones listed here: https://openstack-browser.toolforge.org/project/deployment-prep.

If you just need to run some queries, ssh to deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud and run sql testwiki or with any other dbname you need.

Stash messages to the beta cluster's server admin log by using the prefix "!log " in #wikimedia-releng.

See also

[edit]

Historical Documents

[edit]