Central Management: Initial Tests 0.1
Components
-
Central Management
pxcentral_backend
(central
) -
Set-Up Assistant
px-setup-assistant
(setup
) -
Remote Status Service
px-org-remote-status-service
(status
)
Tests
Round 1
Here we hope to test, what in future will be device deployments. We take the JSON central
generates, and setup
re-configures the device, to join the network.
-
central
generates JSON device config file (1) -
setup
read JSON (config.scm
should be generated in the future) -
setup
reconfigure device from templateconfig.scm
(1) The JSON file should reflect the config.scm
used in 3.
Round 2
Here we hope to test, what in future will be the set-up assistant, for home users (or other uses-cases, away from central management). Also, it's a good opportunity to see, if our scheme R/W library works.
-
setup
accept 1x user as argument -
setup
writeconfig.scm
for PantherX Desktop -
setup
reconfigures device
Bonus: Since user password tools on guix are the same as on any other Linux distro, let's try to add this to our set-up procedure, for testing:
- get for 1x user password
- use that, as root password for now
- set password for root before reboot
- set password for user after reboot (so user exists)
Note: Devices managed by Central Management, do not have a root password. The only way to administer them, is trough Central Management.
Round 3
Here we hope to test, what in future will be statistic and error reporting, from device
to central
.
-
status
receive monit stats -
status
authenticate againstcentral
-
status
send device stats tocentral