summaryrefslogtreecommitdiffstats
path: root/core/modules/dnbd3-proxy-mode
Commit message (Collapse)AuthorAgeFilesLines
* [dnbd3-proxy-mode] Make local-switch-service Type=simpleSimon Rettberg2024-02-161-1/+3
| | | | | | | This will not wait for the script to finish, like with oneshot, to consider the job done and thus the system being booted up fully. Because this really is a background job that isn't vital to the system's operation.
* [dnbd3-proxy-mode] local proxy: Skip last iteration of forced switchSimon Rettberg2024-02-021-1/+1
| | | | | | | This looks ugly in systemd-analyze plot - the service takes forever. The remaining aproaches should be enough to cover the bootup process - if we need something more permanent, dnbd3 should be extended to forbid switching unless the server is actually unreachable.
* Make useradd and groupadd return 0Simon Rettberg2024-02-011-2/+1Star
| | | | | These functions will perror on error, so make sure on success we return 0, even though checking the return value is useless...
* [dnbd3-proxy-mode] Add user dnbd3 to fuse group at build timeSimon Rettberg2024-02-013-3/+4
|
* [dnbd3-proxy-mode] Dynamic deletion delay based on RTCSimon Rettberg2023-05-081-2/+14
| | | | | | | | If the proxy is being started up mid-day, it might be undesired to have it wait for 18 hours before deleting old images. This might mean we don't have a good idea which image has been unused longest, but it's better to delete *some* unused image than just not replicating any images at all.
* [dnbd3-proxy-mode/run-virt] Firewall: Whitelist dnbd3-servers if local ↵Simon Rettberg2022-12-151-1/+1
| | | | | | | | | caching is enabled We patch the config to say 127.0.0.1 is the only dnbd3 server, discarding the actually configured servers. This breaks the automatic whitelisting of the dnbd3 servers/proxies if a vm/course has firewalling enabled.
* [dnbd3-proxy-mode] Fix syntax error in cron fileSimon Rettberg2022-10-171-1/+1
|
* [dnbd3-proxy-mode] Avoid double-rebootsSimon Rettberg2022-10-041-2/+3
|
* [dnbd3-proxy-mode] Force sparse mode for < 200GB ID45 partitionSimon Rettberg2022-06-211-11/+5Star
|
* [dnbd3-proxy-mode] More agressive switching to local dnbd3 proxySimon Rettberg2022-03-241-7/+10
|
* [dnbd3-proxy-mode] Split dnbd0 local caching split into own unitSimon Rettberg2022-02-234-25/+37
| | | | Other approach also failed as service doesn't run as root, obviously
* [dnbd3-proxy-mode] Move stag4 local caching to dnbd3-server.serviceSimon Rettberg2022-02-222-21/+32
| | | | | The switching to the local proxy was blocking the actual startup of the proxy.
* [dnbd3-proxy-mode] Local caching: fix block device checkSimon Rettberg2022-02-161-1/+1
|
* fix useradd callsSimon Rettberg2021-07-271-1/+1
|
* useradd.inc: Rewrite helper once againSimon Rettberg2021-07-271-2/+1Star
|
* [dnbd3-proxy-mode/disk-partitions] Add persistent.targetSimon Rettberg2021-07-221-2/+2
|
* Add installer mode for stage4Simon Rettberg2021-07-082-2/+20
|
* [dnbd3-proxy-mode] Increase priority etc. of dnbd3-serverSimon Rettberg2021-05-041-0/+4
|
* [dnbd3-proxy-mode] Honor config overrides from SLX_DNBD3_EXTRASimon Rettberg2020-11-051-0/+11
| | | | Closes #3328
* [*] Remove "export PATH..." -> DefaultEnvironment= in system.conf.dSimon Rettberg2020-09-231-2/+0Star
| | | | | | Since we can set PATH for everything spawned by systemd, this boilerplate code is not needed anymore. Makes future changes much easier.
* [dnbd3-proxy-mode] Fix proxy mode with firewallingSimon Rettberg2020-09-221-1/+1
| | | | DNBD3_PORT was set after use.
* [dnbd3-proxy-mode] Make cache dir inaccessible to worldSimon Rettberg2020-08-251-1/+2
|
* [dnbd3/run-virt] Use dnbd3-server-proxy-fuse for local cachingSimon Rettberg2020-07-302-3/+17
|
* [dnbd3-proxy-mode] explicit Before= on update-etc_issueJonathan Bauer2020-07-171-1/+1
|
* [dnbd3-proxy-mode] Set more vars depending on mode (proxy/local caching)Simon Rettberg2019-09-091-0/+6
|
* [dnbd3-proxy] add default PATH..Jonathan Bauer2019-08-121-0/+2
|
* [dnbd3-proxy-mode] Support local cachingSimon Rettberg2019-07-094-111/+182
|
* [dnbd3-proxy-mode] Watch for hash check fails and log to serverSimon Rettberg2019-01-293-0/+17
|
* [dnbd3-proxy-mode] add runmode info to ssh issueSteffen Ritter2018-12-141-1/+1
|
* [dnbd3-proxy-mode] fix copies instead of links in dnbd3-proxy.target.requiresJonathan Bauer2018-08-292-17/+2Star
|
* [dnbd3-proxy] Scale maxReplicationSize according to cache partitionSimon Rettberg2018-07-181-1/+7
|
* [dnbd3-proxy-mode] Run setup before spawning gettySimon Rettberg2018-03-291-1/+3
|
* [dnbd3-proxy-mode] Workaround for broken slx-admin whitelist, apply to all ifsSimon Rettberg2018-03-281-3/+5
| | | | Refs #3348
* [dnbd3-proxy-mode] Whitelist sat server for port 5003 if firewalling is enabledSimon Rettberg2018-03-281-1/+1
| | | | Closes #3347
* [hardware-stats] Suppress local warnings about swap/tmp if flag-file is presentSimon Rettberg2018-03-191-0/+6
|
* [dnbd3(-proxy-mode)] Support sparse modeSimon Rettberg2018-03-151-5/+27
|
* [dnbd3-proxy-mode] acl: All access for sat serverSimon Rettberg2017-11-301-1/+1
|
* [dnbd3-proxy-mode] increase max FDs to 65536Jonathan Bauer2017-11-081-0/+1
|
* [dnbd3-proxy-mode] Tweak serverPenalty, only create ipt rules with whitelist ↵Simon Rettberg2017-11-023-11/+18
| | | | present
* [dnbd3-proxy-mode] Support new lookupMissingForProxy option of dnbd3-serverSimon Rettberg2017-11-021-1/+7
|
* [dnbd3-proxy-mode] Run dnbd3-server in -errormsg mode if setup failedSimon Rettberg2017-11-023-30/+72
|
* [dnbd3-proxy-mode] Exclude own ip addresses from alt-serversSimon Rettberg2017-10-241-2/+7
|
* [dnbd3-proxy] spawn getty plsJonathan Bauer2017-10-243-2/+4
|
* [dnbd3-proxy] better use of $@Jonathan Bauer2017-10-181-4/+4
| | | | * handle multiple SLX_KCL_SERVERS
* [dnbd3-proxy] fix stupid insert instead of appendJonathan Bauer2017-10-181-1/+1
|
* [dnbd3-proxy-mode] generate basic rpc.aclJonathan Bauer2017-10-131-1/+6
|
* [dnbd3-proxy-mode] SLX_BGR for bg replicationJonathan Bauer2017-10-131-1/+3
|
* [dnbd3-proxy-mode] fix typo fix, remove files ...Jonathan Bauer2017-10-131-3/+15
| | | | | ... before creating them. And change /etc/issue to mark that the proxy mode is active
* [dnbd3-proxy-mode] fix bad iptables & typosJonathan Bauer2017-10-131-5/+8
|
* [dnbd3-proxy-mode] new module for netbooted dnbd3 ...Jonathan Bauer2017-10-138-0/+148
... proxy