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
In this example we will perform a rolling upgrade of an ArangoDB Cluster setup
194
-
from version 3.3.7 to version 3.3.8.
155
+
The `--starter.endpoint` option can be set to the endpoint of any
156
+
of the starters. E.g. `http://localhost:8528`.
195
157
196
-
Once a `POST` request to the first _Starter_ is sent, the following output is shown
197
-
when the upgrade has finished:
158
+
### Aborting an upgrade
198
159
199
-
```
200
-
2018/05/09 12:33:02 Upgrading agent
201
-
2018/05/09 12:33:05 restarting agent
202
-
2018/05/09 12:33:05 Looking for a running instance of agent on port 8531
203
-
2018/05/09 12:33:05 Starting agent on port 8531
204
-
2018/05/09 12:33:05 Agency is not yet healthy: Agent http://localhost:8531 is not responding
205
-
2018/05/09 12:33:06 restarting agent
206
-
2018/05/09 12:33:06 Looking for a running instance of agent on port 8531
207
-
2018/05/09 12:33:06 Starting agent on port 8531
208
-
2018/05/09 12:33:07 agent up and running (version 3.3.8).
209
-
2018/05/09 12:33:10 Upgrading dbserver
210
-
2018/05/09 12:33:15 restarting dbserver
211
-
2018/05/09 12:33:15 Looking for a running instance of dbserver on port 8530
212
-
2018/05/09 12:33:15 Starting dbserver on port 8530
213
-
2018/05/09 12:33:15 DBServers are not yet all responding: Get http://localhost:8530/_admin/server/id: dial tcp 127.0.0.1:8530: connect: connection refused
214
-
2018/05/09 12:33:15 restarting dbserver
215
-
2018/05/09 12:33:15 Looking for a running instance of dbserver on port 8530
216
-
2018/05/09 12:33:15 Starting dbserver on port 8530
217
-
2018/05/09 12:33:16 dbserver up and running (version 3.3.8).
218
-
2018/05/09 12:33:20 Upgrading coordinator
219
-
2018/05/09 12:33:23 restarting coordinator
220
-
2018/05/09 12:33:23 Looking for a running instance of coordinator on port 8529
221
-
2018/05/09 12:33:23 Starting coordinator on port 8529
222
-
2018/05/09 12:33:23 Coordinator are not yet all responding: Get http://localhost:8529/_admin/server/id: dial tcp 127.0.0.1:8529: connect: connection refused
223
-
2018/05/09 12:33:23 restarting coordinator
224
-
2018/05/09 12:33:23 Looking for a running instance of coordinator on port 8529
225
-
2018/05/09 12:33:23 Starting coordinator on port 8529
226
-
2018/05/09 12:33:24 coordinator up and running (version 3.3.8).
227
-
2018/05/09 12:33:24 Your cluster can now be accessed with a browser at `http://localhost:8529` or
228
-
2018/05/09 12:33:24 using `arangosh --server.endpoint tcp://localhost:8529`.
229
-
2018/05/09 12:33:28 Server versions:
230
-
2018/05/09 12:33:28 agent 1 3.3.8
231
-
2018/05/09 12:33:28 agent 2 3.3.7
232
-
2018/05/09 12:33:28 agent 3 3.3.7
233
-
2018/05/09 12:33:28 dbserver 1 3.3.8
234
-
2018/05/09 12:33:28 dbserver 2 3.3.7
235
-
2018/05/09 12:33:28 dbserver 3 3.3.7
236
-
2018/05/09 12:33:28 coordinator 1 3.3.8
237
-
2018/05/09 12:33:28 coordinator 2 3.3.7
238
-
2018/05/09 12:33:28 coordinator 3 3.3.7
239
-
2018/05/09 12:33:28 Upgrading of all servers controlled by this starter done, you can continue with the next starter now.
240
-
```
160
+
When an upgrade plan (in deployment mode `activefailover` or `cluster`)
161
+
is in progress or has failed, it can be aborted.
241
162
242
-
_Agent_ 1, _DBSserver_ 1 and _Coordinator_ 1 are successively updated and the last
243
-
messages indicate that the `POST` request can be sent so the next _Starter_. After this
244
-
procedure has been repeated for every _Starter_ the last _Starter_ will show:
0 commit comments