Ok so I have gotten fairly far into the configuration successfully, the two nodes have authenticated each other and all is well, but when I try to add the virtual_ip it never starts.
What i've used so far is not really relevant, but my write up (wip) is here, i just don't want to make this post look larger then it needs to be.
To create the virtual interface I have the used the following :
pcs resource create virtual_ip ocf:heartbeat:IPaddr2 ip=192.168.1.218 cidr_netmask=32 op monitor interval=30s
I only have one nic and its config looks like this :
[root@node1 network-scripts]# cat ifcfg-eno16777984
TYPE="Ethernet"
BOOTPROTO=none
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT=no
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
IPV6_FAILURE_FATAL="no"
NAME=eth0
UUID="bf0b3de8-f607-42f3-9b00-f22f59292c94"
DEVICE="eno16777984"
ONBOOT="yes"
IPADDR=192.168.1.216
PREFIX=32
GATEWAY=192.168.1.1
DNS1=192.168.1.149
The Error: (found via "pcs status")
* virtual_ip_start_0 on node1 'unknown error' (1): call=12, status=complete, exitreason='Unable to find nic or netmask.',
last-rc-change='Fri Apr 29 02:03:57 2016', queued=1ms, exec=24ms
I don't think its an IPTables problem, as I have it disabled currently along with all other Firewalls. I don't have SELinux disabled. I suspect I need another network config, but im a bit lost what to make the device= and really I am just moving from Ubuntu, so the layout is a bit new, but I love NMTUI!
This looked promising regarding the interface, but I couldn't get it to work and I tried A LOT. Any help is appreciated.
A few other reads I went thru
https://www.centos.org/forums/viewtopic.php?t=50183 https://ihazem.wordpress.com/2011/03/15/adding-virtual-interface-to-centosredhat/
This is the guide I am following :
As always, if you need more info, I am happy to provide it, thanks in advance!