Editing Tech:NFS

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<useful documentation>
 
<useful documentation>
   
== Adding New Mounts ==
+
== MediaWiki Static ==
  +
'''This section is a draft and may not be fully accurate.'''
[TODO]
 
   
  +
'''MediaWiki Static''' is used for hosting files on Miraheze and can be found at https://static.miraheze.org. It is also used for uploading [[Backups]] (dumps) to https://static.miraheze.org/dumps.
== Adding New Servers ==
 
The below works well in both adding new servers and ''immediate failover''.
 
   
  +
[Not sure about this one] It is hosted on [[Tech:Cp1]] and [[Tech:Cp2]] but can also be accessed on [[Tech:Mw1]] and [[Tech:Mw2]]
If you are intending on doing an immediate failover, then change Bacula to restore static to another server of your choosing [https://github.com/miraheze/puppet/blob/master/modules/bacula/templates/director/bacula-dir.conf#L334] and then continue with the below.
 
   
  +
{{Ping|John}} Needs to take a look a this and correct mistakes and better define the functionality of MW static.
  +
  +
  +
== Failover-recovery ==
  +
 
# Change Bacula to restore static to another server of your choosing [https://github.com/miraheze/puppet/blob/master/modules/bacula/templates/director/bacula-dir.conf#L334]
 
# Add 'role::staticserver' to the new server and run puppet
 
# Add 'role::staticserver' to the new server and run puppet
 
# Restore the Bacula content to /srv/mediawiki-static and restart the NFS server and kernel
 
# Restore the Bacula content to /srv/mediawiki-static and restart the NFS server and kernel

Please note that all contributions to Meta are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) (see Meta:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)
Your changes will be visible immediately.
  • On talk pages, please sign your comment by typing four tildes (~~~~) or by pressing the following button: --~~~~