Main Page: Difference between revisions
No edit summary |
|||
Line 82: | Line 82: | ||
|Everything else | |Everything else | ||
|<code>apt</code> | |<code>apt</code> | ||
|} | |} | ||
Revision as of 07:25, 23 Haziran 2022
Guide to TechDocs for administrators and content creators |
Management and operation of systems | Individual systems, applications and services |
---|---|
Grab-bag of unsorted topics
- Examine the SyntaxHighlight extension from the point of view of demands on the host (suggested by AndrewT, see also https://phabricator.wikimedia.org/T250763)
- Linux namespaces and cgroups
- Controlling Resources & Privileges with Linux namespaces, cgroups & limits
- conform - nodeinfo
- MediaWiki documentation site management - MySQL DB, /home/mediawiki/images, /home/mwimages/
- Pages yet to be created
Page categories
Introduction
For over twenty years the configuration of CSE's servers and lab computers has been managed by a home-grown product called conform
. conform
micromanaged the entire filesystem of each computer and handled the copying in of all configuration files, binaries, scripts, libraries, data files, etc, from a central repository called "the conformary" (and NFS server). conform
is very powerful, but is also very labour intensive in regards to maintaining the conformary and the thousands of specification files which determine conform
's actions. Also, being so old conform
lacks many newer ideas such as pre- and post-install scripts. conform
is part of the Old World.
The New World grew out a HoS-supported project to move as much CSE infrastructure as possible out of CSE's K17 data centre and into "the cloud", specifically Amazon's AWS. Early on, a decision was made that conform
would be left behind and that all new servers and hosts set up in AWS would be managed some other way. This other way ended up being -- after a review of configuration management tools -- a split between cfengine
and Debian's apt
family of package manager utilities (apt
, dpkg
, apt-get
, apt-file
, etc.) In this split, apt
handles all Debian package management (mainly installs and updates) and cfengine
handles the rest, mostly configuration files.
Debian was chosen because CSE's existing teaching platform was heavily based on Debian and the principle of least surprise was applied.
A bit more specifically, each New World host's filesystem is handled thusly:
Path | Handled by |
---|---|
/etc
|
Jointly managed by apt which mostly provides default versions of configuration files, and cfengine which installs CSE-specific versions of configuration files
|
/usr/local/extrafiles /usr/local/extrapackages /usr/local/debpkgs_lists /usr/local/vmimages
|
cfengine
|
/proc /sys /dev
|
The kernel |
/tmp /var
|
Whatever processes are running on the host |
/export
|
The kernel's nfsd (i.e., NFS server)
|
/import /home
|
The automounter |
Everything else | apt
|
Debian package management (apt
)
Configuration management (cfengine
)
The cfengine hub.
The split between CSG's and teaching's bailiwicks
Differences between conform
and cfengine
MediaWiki installation leftovers
MediaWiki has been installed.
Consult the User's Guide for information on using the wiki software.