You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Paul Simpkins <si...@googlemail.com> on 2014/10/28 15:08:23 UTC
Data Store Locations and DR ?
Hi all,
I've managed to bring up my ApacheDS (2.0) servers in Multi Master config -
and they are happily replicating between each other (LDAP1 and LDAP2). This
has given me my HA solution.
I now want to introduce the DR aspect of the solution, with a second data
centre that is running dark.
Initially I thought to just use Multi Master across the 4 machines (LDAP 1,
2 3 and 4) but as the second data centre is only meant to be used in DR
circumstances, then this solution doesn't really fit.
So my idea is the following.
Keep Multi Master configured across LDAP 1 and 2.
Each LDAP server to write it's store to a shared disk. A different location
for each server.(/instances/default/*
Install the ApacheDS server on LDAP3 and LDAP4. (machines are mirrors of
LDAP 1 and 2)
When DR occurs it will start machines LDAP 3 and 4
Start ApacheDS on LDAP3 and LDAP4 - with the idea to 'use' the data that is
on the shared disk.
Is this viable ? Is it possible to move the 'store' of an already running
server to a different place ?
Regards
Paul
Re: Data Store Locations and DR ?
Posted by Kiran Ayyagari <ka...@apache.org>.
On Wed, Oct 29, 2014 at 5:28 AM, Paul Simpkins <si...@googlemail.com>
wrote:
> Kiran
> 3 and 4 wont be running though. They will only be started when data
> center 1 goes down.
> Also where do I configure the different locations ?
>
ok, no, one server can only write to one location
> On 28 Oct 2014 21:15, "Kiran Ayyagari" <ka...@apache.org> wrote:
>
>>
>>
>> On Tue, Oct 28, 2014 at 10:08 PM, Paul Simpkins <
>> simpkins112@googlemail.com> wrote:
>>
>>> Hi all,
>>> I've managed to bring up my ApacheDS (2.0) servers in Multi Master
>>> config - and they are happily replicating between each other (LDAP1 and
>>> LDAP2). This has given me my HA solution.
>>> I now want to introduce the DR aspect of the solution, with a second
>>> data centre that is running dark.
>>>
>>> Initially I thought to just use Multi Master across the 4 machines (LDAP
>>> 1, 2 3 and 4) but as the second data centre is only meant to be used in DR
>>> circumstances, then this solution doesn't really fit.
>>>
>>> So my idea is the following.
>>> Keep Multi Master configured across LDAP 1 and 2.
>>> Each LDAP server to write it's store to a shared disk. A different
>>> location for each server.(/instances/default/*
>>> Install the ApacheDS server on LDAP3 and LDAP4. (machines are mirrors of
>>> LDAP 1 and 2)
>>> When DR occurs it will start machines LDAP 3 and 4
>>> Start ApacheDS on LDAP3 and LDAP4 - with the idea to 'use' the data that
>>> is on the shared disk.
>>>
>>> Is this viable ? Is it possible to move the 'store' of an already
>>> running server to a different place ?
>>>
>>> it is possible, however I suggest to configure 3 & 4 as slaves of 1 & 2
>> and write to a different location
>> (on a different disk, if possible)
>>
>>> Regards
>>> Paul
>>>
>>>
>>>
>>
>>
>> --
>> Kiran Ayyagari
>> http://keydap.com
>>
>
--
Kiran Ayyagari
http://keydap.com
Re: Data Store Locations and DR ?
Posted by Paul Simpkins <si...@googlemail.com>.
Kiran
3 and 4 wont be running though. They will only be started when data center
1 goes down.
Also where do I configure the different locations ?
On 28 Oct 2014 21:15, "Kiran Ayyagari" <ka...@apache.org> wrote:
>
>
> On Tue, Oct 28, 2014 at 10:08 PM, Paul Simpkins <
> simpkins112@googlemail.com> wrote:
>
>> Hi all,
>> I've managed to bring up my ApacheDS (2.0) servers in Multi Master config
>> - and they are happily replicating between each other (LDAP1 and LDAP2).
>> This has given me my HA solution.
>> I now want to introduce the DR aspect of the solution, with a second data
>> centre that is running dark.
>>
>> Initially I thought to just use Multi Master across the 4 machines (LDAP
>> 1, 2 3 and 4) but as the second data centre is only meant to be used in DR
>> circumstances, then this solution doesn't really fit.
>>
>> So my idea is the following.
>> Keep Multi Master configured across LDAP 1 and 2.
>> Each LDAP server to write it's store to a shared disk. A different
>> location for each server.(/instances/default/*
>> Install the ApacheDS server on LDAP3 and LDAP4. (machines are mirrors of
>> LDAP 1 and 2)
>> When DR occurs it will start machines LDAP 3 and 4
>> Start ApacheDS on LDAP3 and LDAP4 - with the idea to 'use' the data that
>> is on the shared disk.
>>
>> Is this viable ? Is it possible to move the 'store' of an already running
>> server to a different place ?
>>
>> it is possible, however I suggest to configure 3 & 4 as slaves of 1 & 2
> and write to a different location
> (on a different disk, if possible)
>
>> Regards
>> Paul
>>
>>
>>
>
>
> --
> Kiran Ayyagari
> http://keydap.com
>
Re: Data Store Locations and DR ?
Posted by Kiran Ayyagari <ka...@apache.org>.
On Tue, Oct 28, 2014 at 10:08 PM, Paul Simpkins <si...@googlemail.com>
wrote:
> Hi all,
> I've managed to bring up my ApacheDS (2.0) servers in Multi Master config
> - and they are happily replicating between each other (LDAP1 and LDAP2).
> This has given me my HA solution.
> I now want to introduce the DR aspect of the solution, with a second data
> centre that is running dark.
>
> Initially I thought to just use Multi Master across the 4 machines (LDAP
> 1, 2 3 and 4) but as the second data centre is only meant to be used in DR
> circumstances, then this solution doesn't really fit.
>
> So my idea is the following.
> Keep Multi Master configured across LDAP 1 and 2.
> Each LDAP server to write it's store to a shared disk. A different
> location for each server.(/instances/default/*
> Install the ApacheDS server on LDAP3 and LDAP4. (machines are mirrors of
> LDAP 1 and 2)
> When DR occurs it will start machines LDAP 3 and 4
> Start ApacheDS on LDAP3 and LDAP4 - with the idea to 'use' the data that
> is on the shared disk.
>
> Is this viable ? Is it possible to move the 'store' of an already running
> server to a different place ?
>
> it is possible, however I suggest to configure 3 & 4 as slaves of 1 & 2
and write to a different location
(on a different disk, if possible)
> Regards
> Paul
>
>
>
--
Kiran Ayyagari
http://keydap.com