You can check cluster health with etcdctl command, just run the following
command on one of yours etcd servers:

$ cd /etc/etcd/

$ etcdctl  --cert-file peer.crt --key-file peer.key --ca-file ca.crt -C
https://<etcd ip>:2379  cluster-health


---
Diego Castro / The CloudFather
GetupCloud.com - Eliminamos a Gravidade

2017-01-13 7:24 GMT-03:00 Stéphane Klein <cont...@stephane-klein.info>:

> Hi,
>
> I'm wondering if there are a command to check etcd servers status?
> Check if all etcd nodes are up.
>
> ```
> etcdClientInfo:
>   ca: master.etcd-ca.crt
>   certFile: master.etcd-client.crt
>   keyFile: master.etcd-client.key
>   urls:
>     - https://etcd-1.priv.example.com:2379
>     - https://etcd-2.priv.example.com:2379
>     - https://etcd-3.priv.example.com:2379
> ```
>
> Check if this configuration is valid on all OpenShift masters.
>
> Something like `oc get nodes`.
>
> I try `oc status` but I haven't information about etcd configure.
>
> Best regards,
> Stéphane
> --
> Stéphane Klein <cont...@stephane-klein.info>
> blog: http://stephane-klein.info
> cv : http://cv.stephane-klein.info
> Twitter: http://twitter.com/klein_stephane
>
> _______________________________________________
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to