[ClusterLabs] About RA ocf:heartbeat:portblock
Murat Inal
mrt_nl at hotmail.com
Sun Oct 6 19:46:34 UTC 2024
Hello,
I'd like to confirm with you the mechanism of ocf:heartbeat:portblock.
Given a resource definition;
Resource: r41_LIO (class=ocf provider=heartbeat type=portblock)
Attributes: r41_LIO-instance_attributes
action=unblock
ip=10.1.8.194
portno=3260
protocol=tcp
- If resource starts, TCP:3260 is UNBLOCKED.
- If resource is stopped, TCP:3260 is BLOCKED.
Is that correct? If action=block, it will run just the opposite, correct?
To toggle a port, a single portblock resource is enough, correct?
Thanks,
More information about the Users
mailing list