Hey Guys!
I am pretty new to Graylog, but trying really hard to understand it.
I have a running graylog with the following setup:
OS: Ubuntu 24 server x64
Graylog: Graylog 6.1.2
Elasticsearch: 7.17.24
MongoDB: 6.0.19
I am currently working with one node that has 4GB of memory:
/etc/default/graylog-server:
GRAYLOG_SERVER_JAVA_OPTS="-Xms4g -Xmx4g -server -XX:+UseG1GC -XX:-OmitStackTraceInFastThrow"
I was wondering if is there any way to add a new node to the same cluster?
I have read some articles about multiple node setup, but they recommend creating a new graylog server as a second node, but I want to create that second node in the same graylog server.
I have tried the following methods:
-
creating a new node_id_file: /etc/graylog/server/node-id-node2 with a unique id inside.
-
set the elasticsearch_discovery_zen_ping_unicast_hosts and elasticsearch_network_host in the server.conf file
-
added the cluster_name, elastic_cluster_name and the node_id in the server.conf file
With the following settings, the graylog still have one node.
Any idea how to add the plus node for the same cluster?