Re: [ClusterLabs] IP clone issue

2017-09-15 Thread Ken Gaillot
On Tue, 2017-09-05 at 21:28 +0300, Vladislav Bogdanov wrote: > 05.09.2017 17:15, Octavian Ciobanu wrote: > > Based on ocf:heartbeat:IPaddr2 man page it can be used without an > static > > IP address if the kernel has > net.ipv4.conf.all.promote_secondaries=1. > > > > "There must be at least one

Re: [ClusterLabs] IP clone issue

2017-09-05 Thread emmanuel segura
If you have two copy of the clone in the same, it cannot work, because is like to have a dupplicate ip in the same node, because you are using clone-node-max="2" 2017-09-05 16:15 GMT+02:00 Octavian Ciobanu : > Based on ocf:heartbeat:IPaddr2 man page it can be used

Re: [ClusterLabs] IP clone issue

2017-09-05 Thread Octavian Ciobanu
Based on ocf:heartbeat:IPaddr2 man page it can be used without an static IP address if the kernel has net.ipv4.conf.all.promote_secondaries=1. "There must be at least one static IP address, which is not managed by the cluster, assigned to the network interface. If you can not assign any static IP

Re: [ClusterLabs] IP clone issue

2017-09-05 Thread emmanuel segura
I never tried to set an virtual ip in one interfaces without ip, because the vip is a secondary ip that switch between nodes, not primary ip 2017-09-05 15:41 GMT+02:00 Octavian Ciobanu : > Hello all, > > I've encountered an issue with IP cloning. > > Based the "Pacemaker

[ClusterLabs] IP clone issue

2017-09-05 Thread Octavian Ciobanu
Hello all, I've encountered an issue with IP cloning. Based the "Pacemaker 1.1 Clusters from Scratch" I've configured a test configuration with 2 nodes based on CentOS 7.3. The nodes have 2 Ethernet cards one for cluster communication with private IP network and second for public access to