Digimer
c21b326f1a
* Changed all methods to take a 'debug' argument for setting log level on calls.
...
* Fixed a bug with resync, but others remain as resync is incomplete (at least for network_interfaces).
* Currently, tools/anvil-update-states is broken while working on the above issue.
* Reworked the jobs table and removed the units/anvil-jobs.service unit. Jobs will be invoked and backgrounded in all calls.
* Started adding missing hidden form fields.
* Updated the 'server' OCF resource agent version and metadata.
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
92a1e29082
* The new resource agent works!
...
** Fixed a bug so that when the agent is invoked on the target node after a migration, it just does a quick check to see if the server is running and exists 0 if so.
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
3b0659c5bf
* Looks like the RA is done, though more testing is needed.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
f52d8196f6
* Migration is now sort of working. There is still an issue to sort out with enabling drbd dual-primary, but server can move is some cases now.
...
* Changed fence_pacemaker to exit with '1' on generic error as per LINBIT's comments.
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
4e5dc9f1c2
* Started work on migration handling.
...
* Fixed a bug where a stop operation on a server already in shutdown would exit immediately instead of waiting for the server to actually shut off.
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
f2079da183
* The agent can now boot and stop a server. Migration is up next.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
e755a708dd
* The resource agent now properly checks (and starts, if needed) the DRBD resources under the server being asked to start. It probably needs optimization still, but the logic is in place.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
36c0d3b921
* Started parsing drbdsetup JSON data.
...
* Fixed a bug with how we stored data from the drbdadm dump-xml data.
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
bb4b5b1778
* Got the RA to the point where it identifies the local DRBD devices and backing LVs.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
fe65718811
* Finished validating optical media.
...
* Added initial parsing of 'drbdadm dump-xml'.
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
dd0bdec839
* Broke up the validation steps into their own functions.
...
* Finished bridge validation.
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
8aa2d28103
* Got the server start function to the point where all data that we need to sanity check is gathered. It already verifies that the emulator exists, that there is enough RAM and that the server's name matches the name we expect.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
81534cddbc
* Moved ocf:alteeve:server along... It now can properly check and report the server's status on a monitor call.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
4dcaa524c5
* Made Get->switches take a bare word as a valid switch.
...
* Framed up the new ocf:alteeve:server agent. It only handles metadata at this point, but its a start.
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago
Digimer
14763136f2
* Added what will (might?) become the resource agent for managing Anvil!-hosted servers on m3.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
7 years ago