So I have an existing 2 node cluster with both running Linux 6.10. I want to deploy a new host running RHEL 8 and remove one of the node and replace with the Linux 8 new build. I can find the instructions to add a host into a cluster, but I can't find option to remove an existing node from a cluster.
How do I do that? Is my plan the best way to accomplish upgrading the OS?
replacing an instance
replacing an instance
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: replacing an instance
Yes, this would be the best path to upgrade the OS.
Keep in mind that adding the new node to the existing cluster may exceed the license limit and the dashboards section of NLS will not be available. Data will still be accepted and inserted into the database however.
Once the new node is synced and the status of the cluster is green you can remove the old node following https://assets.nagios.com/downloads/nag ... luster.pdf. The dashboards section will become available again when the number nodes in the cluster no longer exceeds license limits.
I will also point out that closed indices will not be synced with the new node. If you need to sync them then they will need to be reopened. See https://github.com/elastic/elasticsearch/issues/12963 for a script to automatically open, wait for them to sync, and then close them again.
Keep in mind that adding the new node to the existing cluster may exceed the license limit and the dashboards section of NLS will not be available. Data will still be accepted and inserted into the database however.
Once the new node is synced and the status of the cluster is green you can remove the old node following https://assets.nagios.com/downloads/nag ... luster.pdf. The dashboards section will become available again when the number nodes in the cluster no longer exceeds license limits.
I will also point out that closed indices will not be synced with the new node. If you need to sync them then they will need to be reopened. See https://github.com/elastic/elasticsearch/issues/12963 for a script to automatically open, wait for them to sync, and then close them again.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: replacing an instance
Trying to do this now and when adding nod to cluster I get: Could not generate node_uuid - check file permissions
Code: Select all
[root@cms-chi-nls01 tmp]# ls -l /usr/local/nagioslogserver/var
total 16
-rwxrwxr-x. 1 nagios nagios 0 Feb 22 11:32 auditlog.log
-rwxrwxr-x. 1 nagios nagios 10 Feb 22 11:32 cluster_hosts
-rw-rw-r--. 1 nagios nagios 37 Feb 22 11:35 cluster_uuid
-rw-r--r--. 1 nagios users 90 Feb 23 11:00 hosts.log
-rw-r--r--. 1 apache apache 0 Feb 23 11:54 jobs_apache.log
-rw-r--r--. 1 nagios users 0 Feb 23 11:54 jobs.log
-rw-rw-r--. 1 nagios nagios 37 Feb 22 11:34 node_uuid
-rw-r--r--. 1 nagios users 0 Feb 23 11:54 poller.log
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: replacing an instance
Seems to be a DNS resolution issue on the host. used IP and its working instead of hostname. Now it cant contact the ldap server had to login with the local nagiosadmin. So disregard for now.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: replacing an instance
Sounds goodBanditBBS wrote:Seems to be a DNS resolution issue on the host. used IP and its working instead of hostname. Now it cant contact the ldap server had to login with the local nagiosadmin. So disregard for now.
Locking thread
Feel free to open another if this is still an issue