Etcd Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:


<pre>
<pre>
2017-05-16 12:21:35.590105 I | warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated
2017-05-16 12:21:35.590869 I | warning: ignoring ServerName for user-provided CA for backwards compatibility is deprecated
member 1a40b73f9ca5a801 is healthy: got healthy result from https://192.199.0.199:2379
member 1a40b73f9ca5a801 is healthy: got healthy result from https://192.199.0.199:2379
member 29624cdcf8f6ff04 is healthy: got healthy result from https://192.199.0.25:2379
member 29624cdcf8f6ff04 is healthy: got healthy result from https://192.199.0.25:2379
member 70911c36dca72e7c is healthy: got healthy result from https://192.199.0.52:2379
member 70911c36dca72e7c is healthy: got healthy result from https://192.199.0.52:2379
</pre>
</pre>

Revision as of 16:25, 16 May 2017

Internal

Cluster Health

From the node that runs etcd, as root:

etcdctl -C https://master1.rdu20.internal:2379,https://master2.rdu20.internal:2379,https://master3.rdu20.internal:2379 \
  --ca-file /etc/origin/master/master.etcd-ca.crt \
  --cert-file /etc/origin/master/master.etcd-client.crt \
  --key-file /etc/origin/master/master.etcd-client.key \
  cluster-health

Output sample:

member 1a40b73f9ca5a801 is healthy: got healthy result from https://192.199.0.199:2379
member 29624cdcf8f6ff04 is healthy: got healthy result from https://192.199.0.25:2379
member 70911c36dca72e7c is healthy: got healthy result from https://192.199.0.52:2379