Difference between revisions of "Tech:NFS"
Jump to navigation
Jump to search
Reception123 (talk | contribs) (move mw static here) |
(these are technical docs really - we don't need background on where dumps are stored here + some doc todos) |
||
Line 1: | Line 1: | ||
<useful documentation> |
<useful documentation> |
||
− | == |
+ | == Adding New Mounts == |
+ | [TODO] |
||
− | '''This section is a draft and may not be fully accurate.''' |
||
+ | == Adding New Servers == |
||
− | '''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. |
||
+ | 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]] |
||
− | {{Ping|John}} Needs to take a look a this and correct mistakes and better define the functionality of MW static. |
||
− | |||
− | |||
− | == Failover-recovery == |
||
− | |||
⚫ | |||
# 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 |
Latest revision as of 17:42, 1 January 2017
<useful documentation>
Adding New Mounts[edit | edit source]
[TODO]
Adding New Servers[edit | edit source]
The below works well in both adding new servers and immediate failover.
If you are intending on doing an immediate failover, then change Bacula to restore static to another server of your choosing [1] and then continue with the below.
- 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
- Change the mount on MediaWiki servers [2]