I am also trying to making it work, not sure if I will post the final result because our setup is too specific, doc is being written in Spanish and other things. If I ever do it I will use the Solved DRBD post.
But I can tell you telling you what I am going to do to try to solve this same problem.
According to
OCF Resource Agents you have to write a proper OCF agent. Reusing an LSB script as an OCF is not right. I mean old heartbeat used LSB scripts but pacemaker no longer uses them.
It would seem that you are lacking the monitor parametre.
So what I am going to do is to copy the:
Code:
/usr/lib/ocf/resource.d/heartbeat/postfix
file into this new file:
Code:
/usr/lib/ocf/resource.d/btactic/zimbra
.
Then using a find postfix string and replace it with zimbra string might help a bit. But be sure to read the Debugging part of the link I have given you.
And the other part of the setup should be this one. When setting up pacemaker with crm instead of using:
Code:
ocf:hearbeat:postfix
you should use:
.
As I said this is how I understand all this stuff but I haven't tested it yet.
Just hope that it helps someone else.