Posts

Showing posts from October, 2023

NAGIOS CLUSTER DOC

                              NAGIOS CLUSTER DOC =================================================== I have using RHEL6.4 64 Bit Machines IP 192.168.0.100  Name Node1.example.com IP 192.168.0.101  Name Node2.example.com IP 192.168.0.200 (Virtual IP) #yum install corosync pacemaker pcs resource-agents (Local repo) # wget -c http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-6/x86_64/crmsh-2.1-1.6.x86_64.rpm # wget -c http://pkgs.repoforge.org/pssh/pssh-2.0-1.el6.rf.noarch.rpm # rpm -ivh pssh-2.0-1.el6.rf.noarch.rpm # rpm -ivh crmsh-2.1-1.6.x86_64.rpm # yum  install crmsh-2.1-1.6.x86_64.rpm 2. Configure host file both Node ( Node1 & Node2 ) # vim /etc/hosts ( NODE1 Machine) 192.168.0.100  Node1.example.com  Node1 192.168.0.101  Node2.example.com  Node2 # vim /etc/hosts  ( NODE2 Machine ) 192.168.0.100  Node1.example.com  Node1 192.168.0.101  Node2.example.com  Node2 3. Configure httpd for testing  both Node ( Node1 & Node2 ) # vim /etc/htt