Skip to content

Commit d653ff2

Browse files
authored
Merge pull request #44751 from cowgirljessi/BZ2072961
BZ2072961:improving procedure steps
2 parents 60ddef7 + db8e0c8 commit d653ff2

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

modules/restore-replace-stopped-etcd-member.adoc

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -69,38 +69,9 @@ sh-4.2# etcdctl member list -w table
6969
+------------------+---------+------------------------------+---------------------------+---------------------------+
7070
----
7171
+
72-
Take note of the ID and the name of the unhealthy etcd member, because these values are needed later in the procedure.
72+
Take note of the ID and the name of the unhealthy etcd member, because these values are needed later in the procedure. The `$ etcdctl endpoint health` command will list the removed member until the procedure of replacement is finished and a new member is added.
7373

74-
.. Remove the unhealthy etcd member by providing the ID to the `etcdctl member remove` command:
75-
+
76-
[source,terminal]
77-
----
78-
sh-4.2# etcdctl member remove 6fc1e7c9db35841d
79-
----
80-
+
81-
.Example output
82-
[source,terminal]
83-
----
84-
Member 6fc1e7c9db35841d removed from cluster baa565c8919b060e
85-
----
8674

87-
.. View the member list again and verify that the member was removed:
88-
+
89-
[source,terminal]
90-
----
91-
sh-4.2# etcdctl member list -w table
92-
----
93-
+
94-
.Example output
95-
[source,terminal]
96-
----
97-
+------------------+---------+------------------------------+---------------------------+---------------------------+
98-
| ID | STATUS | NAME | PEER ADDRS | CLIENT ADDRS |
99-
+------------------+---------+------------------------------+---------------------------+---------------------------+
100-
| 757b6793e2408b6c | started | ip-10-0-164-97.ec2.internal | https://10.0.164.97:2380 | https://10.0.164.97:2379 |
101-
| ca8c2990a0aa29d1 | started | ip-10-0-154-204.ec2.internal | https://10.0.154.204:2380 | https://10.0.154.204:2379 |
102-
+------------------+---------+------------------------------+---------------------------+---------------------------+
103-
----
10475
+
10576
You can now exit the node shell.
10677

0 commit comments

Comments
 (0)