Setup Virtual IP in Pacemaker Cluster

Virtual IP is very important for accessing shared resource in a cluster. Pacemaker will install a virtual IP to the node, and if the node dies, it will be installed to another available node. Setup Run in nodes1: We will using pcs command-line utility to create virtual ip pcs resource create virtual_ip ocf💓IPaddr2 ip=10.1.1.125 cidr_netmask=32 op monitor interval=30s Verify In Nodes1: ip a Example output: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether de:88:f7:1e:f4:16 brd ff:ff:ff:ff:ff:ff altname enp0s18 altname ens18 inet 10....

September 23, 2023 · 2 min · Arya Pramudika

Install & Build Cluster with Pacemaker, Corosync, pcs on Centos/Alma/RHEL 9

Pacemaker & Corosync is popular stack for High Avaibility on Linux Servers, since 2004. Pacemaker is a high-availability cluster resource manager – software that runs on a set of hosts (a cluster of nodes) in order to preserve btegrity and minimize downtime of desired services (resources). Corosync is open source group communication system that provides ordered communication delivery, cluster membership, quorum enforcement, and other features among the nodes, it helps detect component failures and orchestrate necessary failover procedures to minimize interruptions to applications....

September 22, 2023 · 3 min · Arya Pramudika