<div dir="ltr"><div>Hi,<br><br>I'm trying to create a HA cluster with 2 CentOS 7 PCs connected to a wireless AP. The PCs have the static IP addresses 192.168.0.111 and 192.168.0.112 respectively and hostnames node01 and node02 respectively.<br>
<br></div>I've tried to create a virtual IP address of 192.168.0.110 using the following command:<br><br clear="all"><div><div>pcs resource create virtual_ip ocf:heartbeat:IPaddr2 ip=192.168.0.110 cidr_netmask=32 op monitor interval=30s<br>
<br></div><div>However, when I do a "pcs status resources" I get the following output:<br><br> virtual_ip (ocf::heartbeat:IPaddr2): Stopped <br></div><div><br>The virtual IP is stopped rather than started. I looked into /var/log/messages and /var/log/pacemaker.log<br>
</div><div> and I find the following error messages:<br><br>node02 IPaddr2(virtual_ip)[25451]: ERROR: Unable to find nic or netmask.<div class="">node02 IPaddr2(virtual_ip)[25451]: ERROR: [findif] failed<br><br></div><div class="">
It seems that it's unable to find my nic. How can I fix this?<br><br>Thanks.<br></div></div></div></div>