Description:
Add ensure-ha command, EnsureAvailability API
We introduce a new ensure-ha juju subcommand, which
calls the new EnsureAvailability client API. This
is the CLI for ensuring high availability of Juju
state servers.
Note: I have not exposed the ensure-ha command yet,
as there is still work to be done in the agents to
properly support HA state servers.
Affected files (+301, -0 lines):
A [revision details]
A cmd/juju/ensureha.go
A cmd/juju/ensureha_test.go
M cmd/juju/main.go
M state/api/client.go
M state/api/params/params.go
M state/apiserver/client/client.go
M state/apiserver/client/client_test.go
Reviewers: mp+213190_ code.launchpad. net,
Message:
Please take a look.
Description:
Add ensure-ha command, EnsureAvailability API
We introduce a new ensure-ha juju subcommand, which
calls the new EnsureAvailability client API. This
is the CLI for ensuring high availability of Juju
state servers.
Note: I have not exposed the ensure-ha command yet,
as there is still work to be done in the agents to
properly support HA state servers.
https:/ /code.launchpad .net/~axwalk/ juju-core/ cmdapi- ensureavailabil ity/+merge/ 213190
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/81700043/
Affected files (+301, -0 lines): ensureha. go ensureha_ test.go params/ params. go /client/ client. go /client/ client_ test.go
A [revision details]
A cmd/juju/
A cmd/juju/
M cmd/juju/main.go
M state/api/client.go
M state/api/
M state/apiserver
M state/apiserver