From 54be2bcb0217939d98f8077e6db1eb55ca9be218 Mon Sep 17 00:00:00 2001 From: Matt Pollard Date: Tue, 15 Feb 2022 11:20:05 +0100 Subject: [PATCH] Add prompt to commands with placeholder values --- .../evacuating-a-cluster-node.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/admin/enterprise-management/configuring-clustering/evacuating-a-cluster-node.md b/content/admin/enterprise-management/configuring-clustering/evacuating-a-cluster-node.md index 02a2416e3a..8eda999299 100644 --- a/content/admin/enterprise-management/configuring-clustering/evacuating-a-cluster-node.md +++ b/content/admin/enterprise-management/configuring-clustering/evacuating-a-cluster-node.md @@ -44,42 +44,42 @@ If you plan to take a node offline and the node runs a data service role like `g - **Git**: ```shell - ghe-spokes evac-status git-server-UUID + $ ghe-spokes evac-status git-server-UUID ``` - **{% data variables.product.prodname_pages %}**: ```shell - echo "select count(*) from pages_replicas where host = 'pages-server-UUID'" | ghe-dbconsole -y + $ echo "select count(*) from pages_replicas where host = 'pages-server-UUID'" | ghe-dbconsole -y ``` - **Storage**: ```shell - ghe-storage evacuation-status storage-server-UUID + $ ghe-storage evacuation-status storage-server-UUID ``` 1. After the copy is complete, you can evacuate the node by running any of the following commands, replacing `UUID` with the UUID from step 2. - **Git**: ```shell - ghe-spokes server evacuate git-server-UUID \'REASON FOR EVACUATION\' + $ ghe-spokes server evacuate git-server-UUID \'REASON FOR EVACUATION\' ``` - **{% data variables.product.prodname_pages %}**: ```shell - ghe-dpages evacuate pages-server-UUID + $ ghe-dpages evacuate pages-server-UUID ``` - For **storage**, first take the node offline by running the following command. ```shell - ghe-storage offline storage-server-UUID + $ ghe-storage offline storage-server-UUID ``` After the storage node is offline, you can evacuate the node by running the following command. ```shell - ghe-storage evacuate storage-server-UUID + $ ghe-storage evacuate storage-server-UUID ```