If you only have three nodes in your data services cluster, you can't evacuate the nodes, because ghe-spokes doesn’t have another place to make a copy. If you have four or more, ghe-spokes will move all the repositories off of the evacuated node.
If you're taking a node offline that has any data services (like git, pages, or storage) evacuate each node before taking the node offline.
-
Find the
uuidof the node in with theghe-configcommand.$ ghe-config cluster._hostname_.uuid -
You'll need to monitor the status of your node while the data is being copied. Ideally, the node shouldn't be taken offline until the copying is complete. To monitor the status of your node, run any of the following commands:
For Git
ghe-spokes evac-statusFor GitHub Pages
echo "select count(*) from pages_replicas where host = 'pages-server-<uuid>'" | ghe-dbconsole -yFor storage
ghe-storage evacuation-status -
After the copying is complete, you can evacuate the storage service. Run any of the following commands:
For Git
ghe-spokes server evacuate git-server-<uuid>For GitHub Pages
ghe-dpages evacuate pages-server-<uuid>For storage, take the node offline
ghe-storage offline storage-server-<uuid>then evacuate
ghe-storage evacuate storage-server-<uuid>

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
