[Linux-ha-dev] ocf script for mysql
Alan Robertson
alanr at unix.sh
Fri Mar 16 10:47:12 MDT 2007
Joe Bill wrote:
> I'm probably missing something here.
>
> What guarantees that the host running the GUI through
> which instances are configured is the same host on
> which that instance is going to run on ?
>
> Or, in other words, how do you get configuration
> defaults of an environment installed on another host
> than the host running the instance configuration GUI,
> other than running some executable on the remote host
> with rsh or ssh ?
Those environment variables are supplied by the LRM not from the system
environment. You can have separate instances of the same resource
script on the same machine whose environment values (configuration
parameters) are different.
The LRM gives them to your script.
The LRM gets them from the CRM
The CRM gets them from the CIB
The CIB is created by some person typically through an editor
or the GUI, as possibly modified by various command line tools.
The CIB is kept in sync and identical across all your cluster
nodes automatically
Does that help?
--
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
More information about the Linux-HA-Dev
mailing list