1.

How To Add Virtual Ipadress/floating Ip Resource In The Pacemaker Cluster ?

Answer»

crm configure primitive ClusterIP OCF:heartbeat:IPaddr2 params ip=192.168.122.120 cidr_netmask=32 op monitor interval=30s 192.168.122.120 is the floating ADDRESS, we have given the imaginative name ClusterIP and tell the cluster to check that its running every 30 seconds.The other important piece of information here is ocf:heartbeat:IPaddr2, This tells Pacemaker three things about the RESOURCE you want to add. The FIRST field, ocf, is the standard to which the resource script conforms to and where to find it. The second field is specific to OCF resources and tells the cluster which namespace to find the resource script in, in this case heartbeat. The last field indicates the name of the resource script.

crm configure primitive ClusterIP ocf:heartbeat:IPaddr2 params ip=192.168.122.120 cidr_netmask=32 op monitor interval=30s 192.168.122.120 is the floating address, we have given the imaginative name ClusterIP and tell the cluster to check that its running every 30 seconds.The other important piece of information here is ocf:heartbeat:IPaddr2, This tells Pacemaker three things about the resource you want to add. The first field, ocf, is the standard to which the resource script conforms to and where to find it. The second field is specific to OCF resources and tells the cluster which namespace to find the resource script in, in this case heartbeat. The last field indicates the name of the resource script.



Discussion

No Comment Found