Hi, I updated the mysql OCF resource script a bit: http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1760
I changed it this way, so that on OpenBSD, the default values for the OCF_RESOURCE_ parameters are differently than on other operating systems. This allows to run a cluster where the nodes will have different operating systems. E.g. I chose some sane defaults for the location of the binary, the dba user name, pid-file, stuff like that. Now when configuring a mysql resource, I do not really have to define a parameter in the cluster configuration, because sane defaults are choosen on runtime. Without that patch, the mysql resource would only be able to run on e.g. Linux or OpenBSD, because if I left the defaults untouched, it would work on Linux, if I changed them to work for OpenBSD, they stop working on Linux, does that makes sense to you. Well, I have no idea, where in production someone will run a multi OS cluster, but who knows... At least it will make the configuration of mysql OCF resource on OpenBSD a lot easier for the user as he doesn't need to specify so many parameters. I also have that done for the pgsql OCF resource script, and could do that for others too in case someone says thats fine and it will get into the tree. Thanks Sebastian _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
