Welcome! » Log In » Create A New Profile

Question on switching server roles in replication

Posted by Nachtwey, Bjoern 
Nachtwey, Bjoern
Question on switching server roles in replication
January 31, 2019 02:59AM
Dear all,

I set up a new server for one of our customers and will use the old server and library as target for replication. First I tried to export the data, but this takes too long due to the amount of data. So my next approach is to set up replication from the existing server to the new one and afterwards switch the roles: the former source server becomes the target server and vice versa, later on I switch both rules and replicate from the new server to the old one.

Unfortunately some data was backed up to the "former source server" but not replicated to the "former target server" when switching the roles for some nodes.
So now some backups are already run to the "new source server" (former target) server and the "new" target server (former source server) holds some data, the "new source server does" not have.

What's the best way to get both servers synchronized?
Perhaps I do a wrong assumption: Will that "additional" data on the "new target server" be deleted if I start the replication or can I switch the roles as often I like and synchronize by replicating the data first in one direction and then vice versa?

Thanks & best
Bjørn
--------------------------------------------------------------------------------------------------
Bjørn Nachtwey

Arbeitsgruppe "IT-Infrastruktur"
Tel.: +49 551 201-2181, E-Mail: bjoern.nachtwey@gwdg.de
--------------------------------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG)
Am Faßberg 11, 37077 Göttingen, URL: http://www.gwdg.de
Tel.: +49 551 201-1510, Fax: +49 551 201-2150, E-Mail: gwdg@gwdg.de
Service-Hotline: Tel.: +49 551 201-1523, E-Mail: support@gwdg.de
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598
--------------------------------------------------------------------------------------------------
Zertifiziert nach ISO 9001
--------------------------------------------------------------------------------------------------
This message was imported via the External PhorumMail Module
Francisco Molero
Re: Question on switching server roles in replication
January 31, 2019 02:59AM
Hi ,

you can check this doc:

https://www-01.ibm.com/support/docview.wss?uid=swg21628618

En jueves, 31 de enero de 2019 11:06:59 CET, Nachtwey, Bjoern <bjoern.nachtwey@GWDG.DE> escribió:

Dear all,

I set up a new server for one of our customers and will use the old server and library as target for replication. First I tried to export the data, but this takes too long due to the amount of data. So my next approach is to set up replication from the existing server to the new one and afterwards switch the roles: the former source server becomes the target server and vice versa, later on I switch both rules and replicate from the new server to the old one.

Unfortunately some data was backed up to the "former source server" but not replicated to the "former target server" when switching the roles for some nodes.
So now some backups are already run to the "new source server" (former target) server and the "new" target server (former source server) holds some data, the "new source server does" not have.

What's the best way to get both servers synchronized?
Perhaps I do a wrong assumption: Will that "additional" data on the "new target server" be deleted if I start the replication or can I switch the roles as often I like and synchronize by replicating the data first in one direction and then vice versa?

Thanks & best
Bjørn
--------------------------------------------------------------------------------------------------
Bjørn Nachtwey

Arbeitsgruppe "IT-Infrastruktur"
Tel.: +49 551 201-2181, E-Mail: bjoern.nachtwey@gwdg.de
--------------------------------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG)
Am Faßberg 11, 37077 Göttingen, URL: http://www.gwdg.de
Tel.: +49 551 201-1510, Fax: +49 551 201-2150, E-Mail: gwdg@gwdg.de
Service-Hotline: Tel.: +49 551 201-1523, E-Mail: support@gwdg.de
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598
--------------------------------------------------------------------------------------------------
Zertifiziert nach ISO 9001
--------------------------------------------------------------------------------------------------
This message was imported via the External PhorumMail Module
Nachtwey, Bjoern
AW: Question on switching server roles in replication
January 31, 2019 02:59AM
Hi Francisco,

great.
Thanks!

Bjørn


-----Ursprüngliche Nachricht-----
Von: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> Im Auftrag von Francisco Molero
Gesendet: Donnerstag, 31. Januar 2019 11:43
An: ADSM-L@VM.MARIST.EDU
Betreff: Re: [ADSM-L] Question on switching server roles in replication

Hi ,

you can check this doc:

https://www-01.ibm.com/support/docview.wss?uid=swg21628618

En jueves, 31 de enero de 2019 11:06:59 CET, Nachtwey, Bjoern <bjoern.nachtwey@GWDG.DE> escribió:

Dear all,

I set up a new server for one of our customers and will use the old server and library as target for replication. First I tried to export the data, but this takes too long due to the amount of data. So my next approach is to set up replication from the existing server to the new one and afterwards switch the roles: the former source server becomes the target server and vice versa, later on I switch both rules and replicate from the new server to the old one.

Unfortunately some data was backed up to the "former source server" but not replicated to the "former target server" when switching the roles for some nodes.
So now some backups are already run to the "new source server" (former target) server and the "new" target server (former source server) holds some data, the "new source server does" not have.

What's the best way to get both servers synchronized?
Perhaps I do a wrong assumption: Will that "additional" data on the "new target server" be deleted if I start the replication or can I switch the roles as often I like and synchronize by replicating the data first in one direction and then vice versa?

Thanks & best
Bjørn
--------------------------------------------------------------------------------------------------
Bjørn Nachtwey

Arbeitsgruppe "IT-Infrastruktur"
Tel.: +49 551 201-2181, E-Mail: bjoern.nachtwey@gwdg.de
--------------------------------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Am Faßberg 11, 37077 Göttingen, URL: http://www.gwdg.de
Tel.: +49 551 201-1510, Fax: +49 551 201-2150, E-Mail: gwdg@gwdg.de
Service-Hotline: Tel.: +49 551 201-1523, E-Mail: support@gwdg.de
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598
--------------------------------------------------------------------------------------------------
Zertifiziert nach ISO 9001
--------------------------------------------------------------------------------------------------
This message was imported via the External PhorumMail Module
Rick Adamson
Re: Question on switching server roles in replication
January 31, 2019 08:59AM
Bjoern,
If I understand your situation correctly on the server that you need to transfer data from you need to set the default replication server to the desired target then on selected nodes you remove them from their current replication role and update their replication mode.

There may be a better way but this worked for me:

Example:
(Assuming the two server are already defined to each other)
On the "new" target server set the default replication server to the new source server:
SET REPLSERVER source_server_name

Remove the node you wish to replicate from its current replication role:
REMOVE REPLNODE node_name

Update the note to its replication state/mode:
UPDATE NODE node_name REPLSTATE=ENABLED REPLMODE=SEND

Repeat the REMOVE REPLNODE and UPDATE NODE commands for the same node on the server that will receive the data so it is configured to receive instead of send data:
REMOVE REPLNODE node_name
UPDATE NODE node_name REPLSTATE=ENABLED REPLMODE=RECEIVE

Then use the node replication command to replicate the data.
When complete change the replication mode for each node back to their desired state.
SENDING node back to REPLMODE=SEND and receiving node back to REPLMODE=RECEIVE

-Rick Adamson


-----Original Message-----
From: ADSM: Dist Stor Manager <ADSM-L@VM.MARIST.EDU> On Behalf Of Nachtwey, Bjoern
Sent: Thursday, January 31, 2019 5:07 AM
To: ADSM-L@VM.MARIST.EDU
Subject: [ADSM-L] Question on switching server roles in replication

* This email originated outside of the organization. Use caution when opening attachments or clicking links. *

----------------------------------------------------------------------
Dear all,

I set up a new server for one of our customers and will use the old server and library as target for replication. First I tried to export the data, but this takes too long due to the amount of data. So my next approach is to set up replication from the existing server to the new one and afterwards switch the roles: the former source server becomes the target server and vice versa, later on I switch both rules and replicate from the new server to the old one.

Unfortunately some data was backed up to the "former source server" but not replicated to the "former target server" when switching the roles for some nodes.
So now some backups are already run to the "new source server" (former target) server and the "new" target server (former source server) holds some data, the "new source server does" not have.

What's the best way to get both servers synchronized?
Perhaps I do a wrong assumption: Will that "additional" data on the "new target server" be deleted if I start the replication or can I switch the roles as often I like and synchronize by replicating the data first in one direction and then vice versa?

Thanks & best
Bjørn
--------------------------------------------------------------------------------------------------
Bjørn Nachtwey

Arbeitsgruppe "IT-Infrastruktur"
Tel.: +49 551 201-2181, E-Mail: bjoern.nachtwey@gwdg.de
--------------------------------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG) Am Faßberg 11, 37077 Göttingen, URL: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.gwdg.de&d=DwIFAw&c=AzgFQeXLLKhxSQaoFCm29A&r=eqh5PzQPIsPArLoI_uV1mKvhIpcNP1MsClDPSJjFfxw&m=jAnKnZMMPDz__hdLfjgwSpd_xPWO2K_vvWwlWL1sXKY&s=pB0bhaT1_AWB51KGFHxeydMypyXYpaZnibILg0gi1qQ&e=
Tel.: +49 551 201-1510, Fax: +49 551 201-2150, E-Mail: gwdg@gwdg.de
Service-Hotline: Tel.: +49 551 201-1523, E-Mail: support@gwdg.de
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598
--------------------------------------------------------------------------------------------------
Zertifiziert nach ISO 9001
--------------------------------------------------------------------------------------------------

**CONFIDENTIALITY NOTICE** This electronic message contains information from Southeastern Grocers, Inc and is intended only for the use of the addressee. This message may contain information that is privileged, confidential and/or exempt from disclosure under applicable Law. This message may not be read, used, distributed, forwarded, reproduced or stored by any other than the intended recipient. If you are not the intended recipient, please delete and notify the sender.
This message was imported via the External PhorumMail Module
Sorry, only registered users may post in this forum.

Click here to login