[ClusterLabs] ocf:heartbeat:IPaddr2 - Different network segment

Jan Pokorný jpokorny at redhat.com
Thu Dec 1 16:51:46 CET 2016


On 30/11/16 12:10 -0300, Ronny Machado C. wrote:
> soon I'll have to configure an Apache  web server cluster which publish a
> VIP via ofc:hearbeat:IPaddr2, thing is, the two nodes live in different
> sites and with a different ip segments...any advice on how to
> use  ocf:heartbeat:IPaddr2 ip=x.x.x.x but in different segments, maybe is
> super easy, but  right now I can't find out how.

Not sure this is the optimal thing to do in this case, but have you
considered rule-based instance attributes?

http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html-single/Pacemaker_Explained/index.html#_using_rules_to_control_resource_options

-- 
Jan (Poki)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://clusterlabs.org/pipermail/users/attachments/20161201/81adc97d/attachment.sig>


More information about the Users mailing list