Countervandalism Network/Infrastructure

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search

Contents

WMFLabs [edit]

Managed by: Krinkle.

Our environment at Wikimedia Labs is becoming our primary cluster from which our wiki, tools and bots will be run.

These servers have a shared data storage (/data/project/cvn) where we have our applications, management software and important logs.

Bots (applications) on these servers are automatically kept running via stillalive. A periodic cron run of stillalive on each server ensures all bots pooled on that server are still running.

Primary bots
  • CVN-ClerkBot
  • KrinkleBot2
  • KrinkleBot4
  • KrinkleBot5
  • KrinkleBot7

Servers [edit]

cvn-apache2 [edit]

A small server. Should only serve web pages.

cvn-app1 [edit]

Our primary app server.

Set up a new bot
cd /data/project/cvn/externals/CVNBot/src
xbuild CVNBot/CVNBot.csproj
mv CVNBot/bin/Debug /data/project/cvn/app/NewBotName
cp CVNBot.exe.config /data/project/cvn/app/NewBotName/CVNBot.exe.config
cp CVNBot-sample.ini /data/project/cvn/app/NewBotName/CVNBot.ini
cd /data/project/cvn/app/NewBotName
chmod 664 *; chmod 775 CVNBot.exe; chmod 660 CVNBot.ini
  • Edit CVNBot.ini with the correct configuration for the bot.
  • Add to localSettings-cvn.json
    (git-clone the repository if you haven't already, make the change, do a dry run locally to verify, commit it, git-push to github)
  • Deploy it to the app server
ssh -A cvn-app1.pmpta.wmflabs # the "-A" enables local ssh key resolution, you'll be authenticating with github
cd /data/project/cvn/external/stillalive
git pull
  • That's it. Next run of stillalive will start this server. Don't go away, be sure that it starts properly and works as expected. Then start populating the bot with wikis etc.

countervandalism.net [edit]

Managed by: Cbrown1023, Az1568.

srv2 [edit]

This host is no longer used.

srv4 [edit]

This host is no longer used.

The bots are managed through a web interface (Webmin), to which all all staffers have access.

Primary bots
  • Cubbie
  • CVNBot*
  • SWBot*
  • wbbot
  • WikiaRC

Toolserver [edit]

Managed by: Krinkle.

willow [edit]

Our account at the Toolserver runs a few primary bots and back-up bots. The bots are operated through a web interface (CVNControlPanel), to which all all staffers have access.

Primary bots
  • CVNBot14
  • KrinkleBot8
  • WikiaRC2
  • Cluekie
  • SentryBot
Backup bots
  • KrinkleBot2
  • KrinkleBot4
  • KrinkleBot5
  • KrinkleBot7
  • rcbot
Web tools