Hi Lanry,
I will try to provide some info for your questions.
1.- You should plan your final wazuh architecture based on your experience
with this AIO deployment. maybe you will need to move from this AIO to a
distributed architecture with a wazuh server cluster (2 nodes) and
wazuh-indexer cluster (3 nodes)
about your question:
Wazuh
server files (var/ossec/logs) - Old files should be compressed so that
you can move them to a different place, maybe an NFS resource or extra
space in a different partition. If you want to keep the info in the same
folder, you can try adding a new disk and moving the wazuh folder to
that new disk setting a link for /var/ossec to the new partition/folder.
I will suggest this as part of a test environment, If you plan for
production, please resize and reinstall based on your experience.
2.-
About sizing - for 100 Linux/Windows servers, and 70 network devices,
you should expect 60G for 30 days of hot storage, and 180G for 90 days
of cold storage. This is assuming 1EPS per system, 1K log size per
system. Anyway, your platform will work better for you as a sizing tool
as you can see your real EPS, alarms ratio, etc...
3.-
To change the wazuh-agent configuration to point to a new system, you
must edit ossec.conf in your endpoints. You should use a server name
instead of an IP, so changing the name resolution will solve your issue.
If your environment is up un running you will need to change endpoints
ossec.conf to point to the right IP, When running the update of the ip
consider using a name to help with any other future modification.
4.- Yes, events in that query won't be sent to the wazuh-server.
5.- My suggestion is to install a fully new environment and try some migration strategies. like:
5.a.-
Modify your endpoints to use a name instead of IP. Be sure your agents
can register automatically and work in your old environment using the
name.
5.b.- Create and test the new environment. Be sure
your agents can register automatically and work in your new environment
using the name. Use a few new agents for full test.
5.c.-
Change your name resolution. you may need to send from the old
environment a restart command to all the agents. After restarting,
agents should resolve the new ip and try to connect and register.
Hope it helps as a starting point. ping me if you need further details. Please remember that you will need to adapt these recommendations to your environment and experience.
Thanks.