Tectonic: Replace etcd node with terraform

Follow

Comments

1 comment

  • Avatar
    Chiriboga, Ricardo

    Hi Kyle,

     

    Thanks for the guide, I managed to get it working with some changes though.

    Like this:

    We probably don't need the trailing slash if it is the last command

     --initial-cluster-state="existing" \

    I couldn't find the wrapper execution in the /usr/share, I change it here:

     /etc/systemd/system/etcd-member.service.d/40-etcd-cluster.conf

    I could call the member list only by doing this:

    ETCDCTL_API=3 etcdctl  --cacert /etc/ssl/etcd/ca.crt  member list

    And re-add the member by this 

    ETCDCTL_API=3 etcdctl --cacert /etc/ssl/etcd/ca.crt member add <Cluster_name>-etcd-<n>.<Base_domain> --peer-urls="https://<Cluster_name>-etcd-<n>.<Base_Domain>:2380"

     

    Where n is the node that you want to recover

    1
    Comment actions Permalink

Please sign in to leave a comment.