Thanks a lot. We Will try this 

Enviado desde Yahoo Mail con Android 
 
  El mié., oct. 23, 2019 a 23:35, Jason Huynh<jhu...@pivotal.io> escribió:   Hi 
Evaristo,
I spoke with another committer, Anil, and from what we understand, this process 
that is described would work.  I am not sure if this it the recommended way to 
do a restart but we believe the steps outlined would get the intended outcome.
To clear a Serial gateway, I believe stopping the gateway sender will clear 
it's queue. However for a parallel gateway sender I think the parallel queue 
gets cleared once the sender is restarted (so a stop and then a start).  There 
may be other ways such as destroying the gateway sender but you'd probably have 
to detach it from the region first.
This sounds like a WAN gii feature would be useful and help reduce the steps in 
this use case.
Please chime in if this response is wrong or can be improved.
Thanks,-Jason 
On Tue, Oct 22, 2019 at 1:26 PM evaristo.camar...@yahoo.es 
<evaristo.camar...@yahoo.es> wrote:


Hi there,

 

We are planning to use aninstallation with 2 Geode cluster connected via WAN 
and using gateway senders/receiversto keep them updated. Main reason is 
resiliency for disasters in a data center.

 

It is not clear for us how torecover a datacenter in case of disaster. This is 
the use case:

- One of the data centers have aproblem (natural catastrophe)

- The other data center keepsrunning traffic and filling the gateway sender 
queues that need to be stoppedat some point to avoid filling up the disk 
resources.

 

At some point in time, the datacenter is ready to start recovery that will 
require to synchronize the Geodecopy. The procedure should something like:

- Drain gateway service queues incopy providing service

- Start gateway senders

- Make a copy

- Transfer copy to data center thatwill be recovered

- Import the copy

- Allow the data center to catchupup via replication

- Start again the copy.

 

Does it make sense? Or is there abetter way to do it. In case the answer is 
yes, is there any way to draingateway sender’s queues (both for parallel and 
serial GWs)

 

Thanks in advance,

 

/Evaristo

 


  

Reply via email to