[Linux-HA] Active-passive cluster, best practice question
Jonathan Schaeffer
jonathan.schaeffer at univ-brest.fr
Wed Feb 8 11:23:33 MST 2012
Le 08/02/2012 16:06, Michael Schwartzkopff a écrit :
>>>>> On 2/8/2012 at 01:46 AM, Jonathan Schaeffer
>>>>> <jonathan.schaeffer at univ-brest.fr>
>>
>> wrote:
>>> I wanted to know if it is good practice (or common enough) to build a
>>> filesystem containing configuration data for the clustered services.
>>
>> Yes. Pretty much all of my clustered resource groups contain a Filesystem
>> resource so that the service and its data can move between cluster nodes.
>
> Application data: yes.
>
> For configuration data, like /etc/your-service.conf that changes parhaps once
> every half year, you could think about rsync to keep the configs in sync on
> the nodes.
Thanks for your feedbacks.
The rsync method is very simple to implement on 2 nodes ...but does it
scale with 5 nodes or so ? If a modification is done on one node, how
would rsync propagate it on every other ?
I am considering one of these 2 options :
- mounting a filesystem (iSCSI LUN probably) containing the configuration
or
- having a central configuration system like puppet to ensure that the
config is consistent everywhere (I thought about this one today)
second option seduces me a lot. It's more work to do, but it would help
to have a consistent cluster node, and would make adding new node to the
cluster trivial operation.
jonathan
--
IUEM - Service Informatique
rue Dumont D'Urville
Technopôle Brest-Iroise
29280 Plouzané
France
tel: +33 2 98 49 87 94
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0xA8657ED2.asc
Type: application/pgp-keys
Size: 1918 bytes
Desc: not available
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20120208/74c42c8a/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20120208/74c42c8a/attachment.pgp>
More information about the Linux-HA
mailing list