Contents
Create a cluster IP resource using pcs from one of your cluster nodes. Ping the newly created IP address from all of your cluster nodes. View details of the created cluster IP resource using pcs from one of your cluster nodes. View details of cluster and created resources using pcs from one of your cluster nodes.
Where do I get my IP address for pacemaker?
This IP floats between nodes A & B. Nodes A & B have IP addresses of 192.168.5.2 and 192.168.5.3 respectively. The gateway for this network is at 192.168.5.1. I want all traffic to appear as if it coming from the virtual IP address of 192.168.5.4 which currently is hosted by nodeA.
How to fix ipsrcaddr issue with pacemaker?
You may then want to delete the old default route. You can try this to test initially and see if it resolves your issues. If that works for you then simply configure the ocf:heartbeat:IPsrcaddr resource agent in your pacemaker cib to set this default source route automatically should the virtual 192.168.5.4 address ever failover.
Is there a way to disable the primary IP address of the NIC?
The solution is not to disable the primary IP address of the NIC, but rather to source all traffic from the virtual IP address. There is even a pacemaker resource agent just for this. The ocf:heartbeat:IPsrcaddr. For example I have a virtual (secondary) IP of 192.168.5.4.
Where are pacemaker, Corosync, and PCSD installed?
Pacemaker, Corosync, and Pcsd are available in the default system repository. So they all can be installed from the CentOS repository using the following yum command. After the installation has been completed, enable all services to launch automatically at system boot using the systemctl commands below.
What is floating IP address for pacemaker server?
Floating IP is the IP address that can be migrated/moved automatically from one server to another server in the same Data Center. And we’ve already defined the floating IP address for the Pacemaker High-Availability to be ‘10.0.15.15’.
Can you configure a high availability cluster with pacemaker stack?
With the Pacemaker stack, you can configure a high availability cluster. Pacemaker is a cluster resource manager. It manages all cluster services ( resources) and uses the messaging and membership capabilities of the underlying cluster engine. We will use Corosync as our cluster engine.