You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of #7108, it is intended to ease said configuration and make the cluster run by default. Now, all optional settings should not appear by default in the ossec.conf.
Some options are deleted but others are simply not included. Those should be added by the user, if desired, in case they need a different value than default:
There are, however, multiple things to discuss yet:
bind_addr used to be 0.0.0.0, but now the Cluster process will always be running (every manager will be a single-node cluster). Therefore, I think that binding the cluster server to localhost by default would make it safer. node_name must be different for each node, but the hostname would be used instead when not included. There would be fewer options to change by the user in this case.
Not sure if port, hidden, and other options that are not required for the configuration, need to be in the template.
nodes tag is outdated. Until v3.2.2, the users had to write there all the nodes of the cluster (master and workers), but that is not required anymore. However, it could be a breaking change so probably it will remain as is.
Opensearch cluster
I reviewed how OpenSearch deals with the cluster configuration. It turns out we do it in a quite similar way. These are the things required to set up a OpenSearch cluster:
Set cluster name.
Set node name.
Set node roles.
Bind ip address.
Set to which node/nodes connect.
And this is what users who want to set up a Wazuh cluster will need to change: Master node:
Bind ip address.
Worker nodes:
Node type.
Set to which node connect.
Node name could be optional (still to be discussed). Other options are not required for it to work.
Description
This is the cluster configuration that is created by default in ossec.conf when installing a manager:
As part of #7108, it is intended to ease said configuration and make the cluster run by default. Now, all optional settings should not appear by default in the
ossec.conf
.Some options are deleted but others are simply not included. Those should be added by the user, if desired, in case they need a different value than default:
127.0.0.1
as default value.Checks
wazuh/wazuh
framework/wazuh/core/cluster/tests/
&framework/wazuh/core/cluster/dapi/tests/
)framework/wazuh/core/tests/
)framework/wazuh/tests/
)framework/wazuh/rbac/tests/
)api/api/tests/
)api/test/integration/
):api/test/integration/mapping/integration_test_api_endpoints.json
)api/api/spec/spec.yaml
)framework/wazuh/core/exception.py
)CHANGELOG.md
)wazuh/wazuh-documentation
source/user-manual/api/equivalence.rst
)source/user-manual/api/rbac/reference.rst
)The text was updated successfully, but these errors were encountered: