Noc.wikimedia.org

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(add path in mediawiki-config.git (docroot/noc))
(How to edit?: PLAIN GIT PULL IS EVIL, USE WITH --FF-ONLY PLZ & TY)
 
Line 7: Line 7:
 
# use the <tt>operations/mediawiki-config.git</tt> repository
 
# use the <tt>operations/mediawiki-config.git</tt> repository
 
# edit files under <tt>docroot/noc/</tt> and submit your change in Gerrit to merge your modification.
 
# edit files under <tt>docroot/noc/</tt> and submit your change in Gerrit to merge your modification.
# on [[fenari]] host go to <tt>/h/w/common/docroot/noc</tt> and <tt>git pull</tt>
+
# on [[fenari]] host go to <tt>/h/w/common/docroot/noc</tt> and <tt>git pull --ff-only</tt>
 
# Change is live since files are served from NFS
 
# Change is live since files are served from NFS
 
# restart Apache on fenari if necessary
 
# restart Apache on fenari if necessary

Latest revision as of 23:29, 10 November 2012

noc.wikimedia.org contains public copies of our configuration files, it runs on fenari.

It also hosts some of the user public files, in the form of noc.wikimedia.org/~username.

[edit] How to edit?

  1. use the operations/mediawiki-config.git repository
  2. edit files under docroot/noc/ and submit your change in Gerrit to merge your modification.
  3. on fenari host go to /h/w/common/docroot/noc and git pull --ff-only
  4. Change is live since files are served from NFS
  5. restart Apache on fenari if necessary

noc. is just hosted on fenari itself, not the cluster so you DO NOT NEED to run sync-common. Changes are instantly live.

The whole Apache config etc. is still in operations/puppet.git /manifests/misc-servers.pp , class misc::noc-wikimedia

[edit] External links

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox