-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] possebility to choose between manual and auto sync in HA mode #4604
Comments
@mimugmail adding a task which can be added in cron to do a sync + restart (just like the gui does) depending on state might also be an option for the core system. I don't mind as long as the action has no relation to the config sync so it can't block and it's not the default behaviour of the firewall (use it your own risk). If that's a feature more people seem to miss, we might consider adding an optional task and a reference in the documentation. |
@AdSchellevis the logic of the script isn't really smart, but it does what it should:
|
@mimugmail ok, shall we interpret this request then as a sync + restart job that only triggers when all interfaces are master? I don't mind adding a configd call for that if it makes people happy. (you need the restart to prevent async backup state) |
I'd guess its a good alternative for the ones insisting on automatic sync Always happy to test :) |
…e the backup node (template flush + service reload) for #4604 to offer the ability to schedule a new configd action "system ha_reconfigure_backup": configctl system ha_reconfigure_backup
ok, there you go d737ff9 To try:
(action should be visible in cron too) Still need to update the docs |
Thx, this was quick. |
@mimugmail nope, it's the same script, ha_reconfigure_backup just adds actions |
* udate changelogs * update changelog collection script to cope with multiple flavours, while here, also swich to python3 * update changelogs * netmap / bpf, adjust information, seemed to have been a side affect pre-21.1 * clarify number of Public Services needed (opnsense#309) * Add new LTE card to interfaces.rst (opnsense#308) @tomlawesome thanks for confirming * fix broken links for the changelogs * changelog: here be dragons * remove custom theme instructions and templates and move back to standard using existing options. * pip[3] in case pip3 doesn't exist :) * update changelogs * parse changelog Links * update api docs, closes opnsense#310 * Fix typo (opnsense#311) * Firmware: fix some spelling errors (opnsense#313) * www/nginx update docs for upstream verify (opnsense#305) * Correcting mismatched interfaces in upload rule (opnsense#314) The names of the interfaces were wrong in the upload rule * hint to cronjobs for shorter backup intervals (opnsense#315) * release notes: * HA-Sync cron job: add documentation, closes opnsense/core#4604 * Wireguard selective routing how-to (opnsense#317) * Update wireguard-client.rst to clarify use of WireGuard net (opnsense#304) This proposed tweak to the how-to is intended to address the issue discussed in this forum thread: https://forum.opnsense.org/index.php?topic=21170.0 * API: Add a note for postman users (opnsense#318) Co-authored-by: Ad Schellevis <ad@opnsense.org> Co-authored-by: sjjh <2787214+sjjh@users.noreply.github.com> Co-authored-by: tomlawesome <76453276+tomlawesome@users.noreply.github.com> Co-authored-by: Franco Fichtner <franco@opnsense.org> Co-authored-by: Stephan de Wit <33954429+swhite2@users.noreply.github.com> Co-authored-by: kulikov-a <36099472+kulikov-a@users.noreply.github.com> Co-authored-by: Bruno Magnum Vasconcelos Monteiro Salazar <salazar.bruno@gmail.com> Co-authored-by: Marc Leuser <marcquark@users.noreply.github.com>
* udate changelogs * update changelog collection script to cope with multiple flavours, while here, also swich to python3 * update changelogs * netmap / bpf, adjust information, seemed to have been a side affect pre-21.1 * clarify number of Public Services needed (opnsense#309) * Add new LTE card to interfaces.rst (opnsense#308) @tomlawesome thanks for confirming * fix broken links for the changelogs * changelog: here be dragons * remove custom theme instructions and templates and move back to standard using existing options. * pip[3] in case pip3 doesn't exist :) * update changelogs * parse changelog Links * update api docs, closes opnsense#310 * Fix typo (opnsense#311) * Firmware: fix some spelling errors (opnsense#313) * www/nginx update docs for upstream verify (opnsense#305) * Correcting mismatched interfaces in upload rule (opnsense#314) The names of the interfaces were wrong in the upload rule * hint to cronjobs for shorter backup intervals (opnsense#315) * release notes: * HA-Sync cron job: add documentation, closes opnsense/core#4604 * Wireguard selective routing how-to (opnsense#317) * Update wireguard-client.rst to clarify use of WireGuard net (opnsense#304) This proposed tweak to the how-to is intended to address the issue discussed in this forum thread: https://forum.opnsense.org/index.php?topic=21170.0 * API: Add a note for postman users (opnsense#318) Co-authored-by: Ad Schellevis <ad@opnsense.org> Co-authored-by: sjjh <2787214+sjjh@users.noreply.github.com> Co-authored-by: tomlawesome <76453276+tomlawesome@users.noreply.github.com> Co-authored-by: Franco Fichtner <franco@opnsense.org> Co-authored-by: Stephan de Wit <33954429+swhite2@users.noreply.github.com> Co-authored-by: kulikov-a <36099472+kulikov-a@users.noreply.github.com> Co-authored-by: Bruno Magnum Vasconcelos Monteiro Salazar <salazar.bruno@gmail.com> Co-authored-by: Marc Leuser <marcquark@users.noreply.github.com>
…e the backup node (template flush + service reload) for #4604 to offer the ability to schedule a new configd action "system ha_reconfigure_backup": configctl system ha_reconfigure_backup
* udate changelogs * update changelog collection script to cope with multiple flavours, while here, also swich to python3 * update changelogs * netmap / bpf, adjust information, seemed to have been a side affect pre-21.1 * clarify number of Public Services needed (opnsense#309) * Add new LTE card to interfaces.rst (opnsense#308) @tomlawesome thanks for confirming * fix broken links for the changelogs * changelog: here be dragons * remove custom theme instructions and templates and move back to standard using existing options. * pip[3] in case pip3 doesn't exist :) * update changelogs * parse changelog Links * update api docs, closes opnsense#310 * Fix typo (opnsense#311) * Firmware: fix some spelling errors (opnsense#313) * www/nginx update docs for upstream verify (opnsense#305) * Correcting mismatched interfaces in upload rule (opnsense#314) The names of the interfaces were wrong in the upload rule * hint to cronjobs for shorter backup intervals (opnsense#315) * release notes: * HA-Sync cron job: add documentation, closes opnsense/core#4604 * Wireguard selective routing how-to (opnsense#317) * Update wireguard-client.rst to clarify use of WireGuard net (opnsense#304) This proposed tweak to the how-to is intended to address the issue discussed in this forum thread: https://forum.opnsense.org/index.php?topic=21170.0 * API: Add a note for postman users (opnsense#318) Co-authored-by: Ad Schellevis <ad@opnsense.org> Co-authored-by: sjjh <2787214+sjjh@users.noreply.github.com> Co-authored-by: tomlawesome <76453276+tomlawesome@users.noreply.github.com> Co-authored-by: Franco Fichtner <franco@opnsense.org> Co-authored-by: Stephan de Wit <33954429+swhite2@users.noreply.github.com> Co-authored-by: kulikov-a <36099472+kulikov-a@users.noreply.github.com> Co-authored-by: Bruno Magnum Vasconcelos Monteiro Salazar <salazar.bruno@gmail.com> Co-authored-by: Marc Leuser <marcquark@users.noreply.github.com>
…e the backup node (template flush + service reload) for opnsense/core#4604 to offer the ability to schedule a new configd action "system ha_reconfigure_backup": configctl system ha_reconfigure_backup
…e the backup node (template flush + service reload) for opnsense/core#4604 to offer the ability to schedule a new configd action "system ha_reconfigure_backup": configctl system ha_reconfigure_backup
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Is your feature request related to a problem? Please describe.
If we have HA configured we need to push configuration changes (like firewall rules) manually. It would be nice if we can choose between manually or automatically. And yes it's a bit risky, but then I can choose for myself what I want.
Describe the solution you like
An Opt-In option to choose between both methods
The text was updated successfully, but these errors were encountered: