digimer
b27a43eaf7
* Updated striker to only require 6 interfaces when configuring a node.
...
Signed-off-by: digimer <digimer@gravitar.alteeve.com>
2 years ago
Digimer
3fd0db15bf
* This rather heavily reworks how database shutdowns works. It adds much more intelligent shutdown, tracking who is using the database, being able to mark a database as "offline" and waiting for users of the database to disconnect before it shuts down.
...
* Also removed the variables for the database name and DB user name, setting them statically now.
* Created Database->shutdown() to more kindly stop a local database server.
* Added 'check_db_in_use_states()' to anvil-daemon to clean any stale entries marking a database as in use.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
763821a21d
Fixed a variable substitution bug.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
dc989f0950
Added more logging to track when and how reboots happen in systems.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
831abd1981
Updated Striker to allow the DR host to not have an IP assisned.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
a633ab7f63
Added a periodic check to ensure all users can ping. This fixes a bug where a local striker dashboard whose DB was stopped wouldn't work.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
3811b9b2da
Minor update to make the fence device name marked as a mandatory field.
...
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Digimer
32f29861a4
* Fixed a bug (maybe) that was causing users to get immediately logged out of the WebUI
...
* Fixed a bug (maybe) that was breaking initial DB setup on Strikers.
Signed-off-by: Digimer <digimer@alteeve.ca>
3 years ago
Tsu-ba-me
f61527edf7
fix(tools): save screenshots to states table
3 years ago
Tsu-ba-me
65613f501b
fix(tools): add option to resize server screenshot
3 years ago
Tsu-ba-me
256051a6ca
build(cgi-bin): add get_server_screenshot endpoint to build
3 years ago
Tsu-ba-me
26d5c60696
fix(cgi-bin): rename response body screenshot property
3 years ago
Tsu-ba-me
d195a53ba2
feat(cgi-bin): add endpoint for fetching server screenshot
3 years ago
Tsu-ba-me
70075ba690
fix(cgi-bin): add login cookie guard to manage_vnc_pipes endpoint
3 years ago
Tsu-ba-me
214ef00647
fix(cgi-bin): allow VNC pipes for different servers to be managed in parallel
3 years ago
Tsu-ba-me
b3b6da8259
chore(cgi-bin): remove debug log level from manage_vnc_pipes and its support scripts
3 years ago
Tsu-ba-me
1f8e35ad0a
build(cgi-bin): include manage_vnc_pipes endpoint into makefile
3 years ago
Tsu-ba-me
f8b45f5a74
fix(cgi-bin): avoid concat blank to job_data in manage_vnc_pipes endpoint
3 years ago
Tsu-ba-me
e79a3989eb
fix(cgi-bin): repair wait until job is complete before responding
3 years ago
Tsu-ba-me
b2555f2337
fix(cgi-bin): correct typo in job data in manage_vnc_pipes endpoint
3 years ago
Tsu-ba-me
2bef084118
fix(cgi-bin): always wait until job is done before responding
3 years ago
Tsu-ba-me
64de564472
fix(cgi-bin): avoid concat error on undefined --is-open
3 years ago
Tsu-ba-me
1d61c8fff7
fix(cgi-bin): modify manage_vnc_pipes endpoint to trigger a job
3 years ago
Tsu-ba-me
5cceb09f2a
fix(cgi-bin): insert record on new of either websockify or ssh tunnel
3 years ago
Tsu-ba-me
fa15c715e4
fix(cgi-bin): revise is process checks to match tunnel script
3 years ago
Tsu-ba-me
d5724c1457
chore(tools): rename striker-start-ssh-tunnel->striker-open-ssh-tunnel
3 years ago
Tsu-ba-me
23d818cfff
fix(cgi-bin): avoid direct SSH calls
3 years ago
Tsu-ba-me
c7f63f4a4b
fix(cgi-bin): allow update all pipe pieces
3 years ago
Tsu-ba-me
742af987e9
fix(cgi-bin): provide proper params to check if websockify is in-use
3 years ago
Tsu-ba-me
b528456f45
fix(cgi-bin): update records after comparisons are done
3 years ago
Tsu-ba-me
4bd7cd6f62
fix(cgi-bin): respond with connect info after open VNC pipe
3 years ago
Tsu-ba-me
2ca5ee232b
fix(cgi-bin): don't kill websockify instances in-use
3 years ago
Tsu-ba-me
9df976712a
fix(cgi-bin): only insert when not repairing pipe
3 years ago
Tsu-ba-me
2531252e3f
fix(cgi-bin): compare UUID with string comparison operators
3 years ago
Tsu-ba-me
85375d69b1
fix(cgi-bin): param name mismatch in is_ssh_tunnel_exists
3 years ago
Tsu-ba-me
7f8532dbb9
fix(cgi-bin): draft pipe repair without destruction
3 years ago
Tsu-ba-me
dfa3990417
fix(cgi-bin): handle kill SSH tunnel on peer striker
3 years ago
Tsu-ba-me
ef27e30160
fix(cgi-bin): don't insert when using existing pipe
3 years ago
Tsu-ba-me
6711b65151
fix(cgi-bin): include command when logging shell calls
3 years ago
Tsu-ba-me
699400a62c
fix(cgi-bin): add missing field when recording VNC pipe
3 years ago
Tsu-ba-me
d2b43f1d59
fix(cgi-bin): add missing host_uuid param to start SSH tunnel
3 years ago
Tsu-ba-me
424fdd70dd
fix(cgi-bin): try SIGTERM before SIGKILL when stopping processes
3 years ago
Tsu-ba-me
0f4198155f
fix(cgi-bin): prevent start-websockify-in-background from hanging
3 years ago
Tsu-ba-me
3adbd8bca1
fix(cgi-bin): add missing server_uuid variables
3 years ago
Tsu-ba-me
6ba6819078
chore(cgi-bin): rename manage_vnc_ports->manage_vnc_pipes
3 years ago
Tsu-ba-me
5208332b2d
fix(cgi-bin): complete draft of open and close VNC pipes
3 years ago
Tsu-ba-me
154b4a7e15
fix(cgi-bin): default function return to undefined
3 years ago
Tsu-ba-me
9603974c24
fix(cgi-bin): complete draft for clean up
3 years ago
Tsu-ba-me
df33c2d193
fix(cgi-bin): draft logic for websockify setup and clean up
3 years ago
Tsu-ba-me
39ecca7eaf
fix(cgi-bin): draft function to setup websockify
3 years ago