Introduction:
The doc1002 and doc2001 hosts are on Debian Buster with PHP 7.3 They should be on Debian Bullseye with PHP 7.4.
Pre requisites:
- VM request for doc1003.eqiad.wmnet T332812
- VM request for doc2002.codfw.wmnet T332819
- doc: Add role::doc to doc1003
- doc: Add role::doc to doc2002
Users:
As of now, we don't have standardized fleetwide uid and gid mappings for the Doc instances. This can cause issues like T314972 where one instances uid is different than the other instances uid causing commands like rsync to write files with a different USER:GROUP mapping.
Ex. In the doc1002 instance the uid 499 is mapped to the`doc-uploader` user and in the doc1003 instance the uid 498 is mapped to the doc-uploader.
- Ensure that the the UID/GID for the 'doc-uploader' user are consistent across the 'doc' instances.
- Update the UID/GID of the 'doc-uploader' user in the 'doc1002' instance.
- Update the UID/GID of the 'doc-uploader' user in the 'doc1003' instance.
- Update the UID/GID of the 'doc-uploader' user in the 'doc2001' instance.
- Update the UID/GID of the 'doc-uploader' user in the 'doc2002' instance.
- Ensure that the UID/GID of the files belonging to the 'doc-uploader' user are consistent across the 'doc' instances.
- Update UID/GID of the files in the 'doc1002' instance.
- Update UID/GID of the files in the 'doc1003' instance.
- Update UID/GID of the files in the 'doc2001' instance.
- Update UID/GID of the files in the 'doc2002' instance.
- doc: Reserve UID/GID for the doc-uploader system user.
- Add the doc-uploaders' UID/GID to the Reserved UIDs & GIDs documentation.
Failover:
- Decommission