[Pacemaker] managing config files as resources

Larry Brigman larry.brigman at gmail.com
Thu Dec 1 21:35:46 UTC 2011


On Thu, Dec 1, 2011 at 10:59 AM, Florian Haas <florian at hastexo.com> wrote:

> Hi Larry,
>
> On Thu, Dec 1, 2011 at 6:59 PM, Larry Brigman <larry.brigman at gmail.com>
> wrote:
> > Is there a method to manage individual files as resources?
> > Which RA would be used and any pointer as to how to configure it would be
> > great.
> >
> > Specifically we need to sync some files between nodes that have
> > configuration data
> > for our applications like which IP addresses are assigned to each node
> and
> > what
> > is the virtual IP of the cluster.
>
> So these files change, dynamically, and _all_ cluster nodes need to
> know about it? Or are the files just expected to move along with the
> resources?
>
> If the former, one possible approach is to put all files on central
> storage (say, an NFS mount point), and then use ocf:heartbeat:symlink
> to manage symlinks where your services expect to find the config
> files.
>

Yes, the files can be changed dynamically - mostly by a user doing a
configuration change.
We have no ability to have a central storage device for the cluster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20111201/a87f023d/attachment.htm>


More information about the Pacemaker mailing list