You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When each etcd process is stopped, expected errors will be logged by other cluster members. This is normal since a cluster member connection has been (temporarily) broken:
67
68
68
-
```
69
+
```bash
69
70
2016-06-27 15:21:48.624124 E | rafthttp: failed to dial 8211f1d0f64f3269 on stream Message (dial tcp 127.0.0.1:12380: getsockopt: connection refused)
70
71
2016-06-27 15:21:48.624175 I | rafthttp: the connection with 8211f1d0f64f3269 became inactive
71
72
```
72
73
73
74
It’s a good idea at this point to [backup the etcd data directory](/docs/v2.3/admin_guide#backing-up-the-datastore) to provide a downgrade path should any problems occur:
74
75
75
-
```
76
+
```bash
76
77
$ etcdctl backup \
77
78
--data-dir /var/lib/etcd \
78
79
--backup-dir /tmp/etcd_backup
@@ -82,24 +83,23 @@ $ etcdctl backup \
82
83
83
84
The new v3.0 etcd will publish its information to the cluster:
84
85
85
-
```
86
+
```bash
86
87
09:58:25.938673 I | etcdserver: published {Name:infra1 ClientURLs:[http://localhost:12379]} to cluster 524400597fb1d5f6
87
88
```
88
89
89
90
Verify that each member, and then the entire cluster, becomes healthy with the new v3.0 etcd binary:
90
91
91
-
```
92
+
```bash
92
93
$ etcdctl cluster-health
93
94
member 6e3bd23ae5f1eae0 is healthy: got healthy result from http://localhost:22379
94
95
member 924e2e83e93f2560 is healthy: got healthy result from http://localhost:32379
95
96
member 8211f1d0f64f3269 is healthy: got healthy result from http://localhost:12379
96
97
cluster is healthy
97
98
```
98
99
99
-
100
100
Upgraded members will log warnings like the following until the entire cluster is upgraded. This is expected and will cease after all etcd cluster members are upgraded to v3.0:
101
101
102
-
```
102
+
```bash
103
103
2016-06-27 15:22:05.679644 W | etcdserver: the local etcd version 2.3.7 is not up-to-date
104
104
2016-06-27 15:22:05.679660 W | etcdserver: member 8211f1d0f64f3269 has a higher version 3.0.0
105
105
```
@@ -110,12 +110,12 @@ Upgraded members will log warnings like the following until the entire cluster i
110
110
111
111
When all members are upgraded, the cluster will report upgrading to 3.0 successfully:
112
112
113
-
```
113
+
```bash
114
114
2016-06-27 15:22:19.873751 N | membership: updated the cluster version from 2.3 to 3.0
115
115
2016-06-27 15:22:19.914574 I | api: enabled capabilities for version 3.0.0
116
116
```
117
117
118
-
```
118
+
```bash
119
119
$ ETCDCTL_API=3 etcdctl endpoint health
120
120
127.0.0.1:12379 is healthy: successfully committed proposal: took = 18.440155ms
121
121
127.0.0.1:32379 is healthy: successfully committed proposal: took = 13.651368ms
0 commit comments