Tsu-ba-me
d2f34ea5a9
docs(cgi-bin): revise set_power description
3 years ago
Tsu-ba-me
ffe2a7f59e
feat(cgi-bin): add boilerplate for get_networks
3 years ago
Tsu-ba-me
7058a967ed
fix(cgi-bin): add temporary constant reserved in get_memory response
3 years ago
Tsu-ba-me
10269bf74b
fix(cgi-bin): remove server_host_index from get_servers response
3 years ago
Tsu-ba-me
adbf7b790e
fix(cgi-bin): rename node->host in response of get_anvils
3 years ago
Tsu-ba-me
8d1d49e807
fix(cgi-bin): add missing response info to get_anvils
3 years ago
Tsu-ba-me
c749441e3b
fix(cgi-bin): transform maintenance_mode to JSON booleans in get_status
3 years ago
Tsu-ba-me
e1c3064303
fix(cgi-bin): transform all memory sizes to JSON numbers
3 years ago
Tsu-ba-me
552ed66829
fix(cgi-bin): transform CPU cores and threads to JSON numbers
3 years ago
Tsu-ba-me
78f50e424c
fix(cgi-bin): transform FS total size to int in get_shared_storage
3 years ago
Tsu-ba-me
8bcff7a038
fix(cgi-bin): transform boolean int to JSON boolean in get_shared_storage
3 years ago
Tsu-ba-me
5b7367a579
fix(cgi-bin): add file_systems response property to get_shared_storage
3 years ago
Digimer
f6aad628b3
Merge pull request #100 from Tsu-ba-me/issues/2-set-membership
...
Web UI: make `set_membership` endpoint functional
3 years ago
Tsu-ba-me
028d547d7c
fix(cgi-bin): reset log level in set_membership
3 years ago
Tsu-ba-me
7ffb84f9a3
fix(cgi-bin): set join and leave cluster jobs to run on target host
3 years ago
Tsu-ba-me
52a524564f
fix(cgi-bin): try to use switches when failed to parse request body in get_membership
3 years ago
Tsu-ba-me
7bf604b3e2
fix(cgi-bin): add switch for is_member in set_membership
3 years ago
Tsu-ba-me
50c5098230
fix(cgi-bin): release job dispatching logic in set_membership
3 years ago
Tsu-ba-me
1cc0a9b087
fix(cgi-bin): add switch support to set_membership
3 years ago
Tsu-ba-me
419ec52d2b
fix(cgi-bin): add job title and description to set_membership
3 years ago
Tsu-ba-me
d6c1013976
fix(cgi-bin): add join/leave cluster logic to set_membership
3 years ago
Tsu-ba-me
314e8db757
fix(cgi-bin): get host's cluster membership status in set_membership
3 years ago
Tsu-ba-me
da6e3500a3
fix(cgi-bin): add request body parsing to set_membership
3 years ago
Tsu-ba-me
c7fe5aa1e0
fix(cgi-bin): add boilerplate to set_membership
3 years ago
Digimer
73267a8ea9
* WIP - Slowly working on anvil-manage-server
...
* Updated the scancore interval to 60 seconds.
* Updated Database->insert_or_update_health() so that 'delete' can find the health_uuid.
* Updated Convert->time() to return silently when passed '-1'.
* Fixed a bug scan-hardware to call Convert->round(). Also fixed it so it didn't set health scores of 0 for mismatch RAM when the RAM was not mismatched.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
5639eda8c3
Merge pull request #99 from Tsu-ba-me/issues/1-set-power
...
Web UI: make `set_power` endpoint functional
3 years ago
Tsu-ba-me
593921fa04
fix(cgi-bin): reset log level in set_power
3 years ago
Tsu-ba-me
5c7d9d9e82
fix(cgi-bin): stop servers when shutting down the whole anvil
3 years ago
Tsu-ba-me
9a483b5d55
fix(cgi-bin): set shutdown job to run on target node
3 years ago
Tsu-ba-me
0020103b77
fix(cgi-bin): try to use switches when failed to parse request body
3 years ago
Tsu-ba-me
ba93ae38d8
fix(cgi-bin): add switch for is_on in set_power
3 years ago
Tsu-ba-me
7ef54f08a4
style(cgi-bin): remove excess indent in set_power
3 years ago
Tsu-ba-me
d1149d5978
fix(cgi-bin): release job dispatching logic in set_power
3 years ago
Tsu-ba-me
5a3daa3528
fix(cgi-bin): add switch support to set_power
3 years ago
Tsu-ba-me
e80ebdb8b4
fix(cgi-bin): correct host_uuid existence check in set_power
3 years ago
Tsu-ba-me
f966ed12fb
style(cgi-bin): format set_power to keep consistency
3 years ago
Tsu-ba-me
fae1c72986
docs(cgi-bin): rename hash->response_body in set_power
3 years ago
Tsu-ba-me
540129bb8f
fix(cgi-bin): remove outdated logic
3 years ago
Tsu-ba-me
7c1e6e7c87
fix(cgi-bin): add proper error messages when given invalid UUID(s)
3 years ago
Tsu-ba-me
1ec32bfbaf
fix(cgi-bin): filled in logic to power on/off target host(s)
3 years ago
Tsu-ba-me
12113e1dda
fix(cgi-bin): parse set_power request body to get parameters
3 years ago
Tsu-ba-me
869a5ec807
fix(share): add error template 0304 for request body parse failure
3 years ago
Tsu-ba-me
3ae54037ea
fix(cgi-bin): improve verbosity in set_power
3 years ago
Tsu-ba-me
a8571863be
fix(cgi-bin): add subs to handle set anvil/host power
3 years ago
digimer-bot
5903cb2921
Merge pull request #105 from ClusterLabs/anvil-tools-dev
...
* Updated System->configure_ipmi to pull the machine from the anvils …
3 years ago
Digimer
78f3fb7b10
* Updated System->configure_ipmi to pull the machine from the anvils table instead of looking for the original job, which isn't useful now that we purge old jobs.
...
* Shortened up the log messages in scan-drbd
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
628c31a278
Merge pull request #104 from ClusterLabs/anvil-tools-dev
...
* Biggest change in this commit; scan-apc-pdu and scan-apc-ups now on…
3 years ago
Digimer
f3a6d2eec3
Merge branch 'master' into anvil-tools-dev
3 years ago
Digimer
4dcd505753
* Biggest change in this commit; scan-apc-pdu and scan-apc-ups now only run on Striker dashboards! This was because we found that if two machines ran their agents at the same time, the reponce time from SNMP read requests grew a lot. This meant it was likely a third, fourth and so on machne would also then have their scan agent runs while the existing runs were still trying to process, causing the SNMP reads to get slower still until timeouts popped.
...
* Bumped scancore's scan delay from 30 seconds to 60.
* Shorted the age-out time to 24 hours and again boosted the archive thresholds. As we get a feel for the amount of data collected on multi-Anvil! systems over time, we may continue to tune this.l
* Moved Database->archive_database() to be called daily by anvil-daemon, instead of during '->connect' calls.
* Added locking to Database->_age_out_data to avoid resyncs mid-purge. Also moved the power, temperature and ip_address columns into the same 'to_clean' hash as it was duplicate logic.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
digimer-bot
6de1824fe7
Merge pull request #102 from ClusterLabs/anvil-tools-dev
...
The theme of this commit is database cleanup and fixes.
3 years ago