zeek/scripts
Christian Kreibich a622e28eab Management framework: more resilient node shutdown upon deployment
When agents had to terminate existing Zeek cluster nodes at the beginning of a
new deployment, they so far used their internal state to look up the nodes and
fired off requests to the Supervisor to shut these down. This has a problem:
when an agent restarts unexpectedly, it has no internal state, and when it then
tries to create nodes that already exist, the Supervisor complains with error
messages.

To avoid this, the agent now tears down all Supervised nodes other than agents
and controllers. In order to do so, it first needs to query the Supervisor for
the current node status, which means there are now two such status requests: one
upon deployment, and one during get_nodes requests. In order to disambiguate
these contexts in the SupervisorControl::status_request/response transactions,
we use the finish() callback in the corresponding request state to continue
execution as needed.
2022-06-21 17:22:45 -07:00
..
base Additional &is_used tags in the Netcontrol and Sumstats frameworks 2022-06-02 22:57:07 -07:00
policy Management framework: more resilient node shutdown upon deployment 2022-06-21 17:22:45 -07:00
site Deprecate ICSI SSL notary script. 2021-06-29 09:34:29 +01:00
zeekygen Management framework: allow agents to communicate with cluster nodes 2022-04-15 18:51:54 -07:00
CMakeLists.txt Add base/misc/installation.zeek, with Zeek installation directories 2022-05-23 14:16:59 -07:00
test-all-policy.zeek Management framework: Supervisor extensions for stdout/stderr handling 2022-05-31 12:55:21 -07:00