I have a graylog cluster setup in the following config:
2x MongoDB VMs
2x Graylog physical systems - one is master
6x Elasticsearch physical systems
Things are running smoothly, however as we’re increasing load on the Graylog boxes we want to ensure that the master services, and GUI are out of the path of log processing. The end goal is two systems with physical resources dedicated to Graylog processing logs. One VM will be dedicated to hosting the web console and performing the tasks that the master system performs.
The question I have is, what’s the best way to transfer the role? Should I simply join the VM to the cluster as a secondary, and then when I’m ready to make the shift:
- Mark the VM as master in the Graylog config.
- Mark the current master not master in the Graylog config.
- Restart Graylog on the former master.
- Restart Graylog on the VM master
Will that cause an issue when the VM tries to assume the master role? I’m assuming all of the masters tasks are saved in the MongoDB so the new VM will simply pick up where the former master left off.