PTA - DR data replication failure due to stale data

PTA - DR data replication failure due to stale data

125
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:53 PM


Symptom


PTA Primary to DR replication may fail occasionally due to stale data at the PTA DR server.
Errors are being observed in the mongodb.log (/opt/mongodb/log/mongod.log) as follows:

We are too stale to use <primaryPTA_FQDN>:27017 as a sync source. Blacklisting this sync source because our last fetched timestamp

 

Impact :
The Primary to DR failover will not be able to complete successfully as the data were outdated at the PTA DR server.



Environment


11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8 PTA Disaster Recovery

Cause


This could be caused by one of the following factors:

1) Existing continuous replication issues were not resolved in time.
2) PTA DR was shut down and offline for an extended period of time.



Resolution


Force a full replication at the PTA DR server:
 

1)Shutdown mongodb service. ( service mongod stop)


2) These are the following folders in the /opt/mongodb folder:
- certs
- data
- log
-mongodb.pid (when mongodb is running)

Delete all existing contents under /opt/mongodb/data directory except the /opt/mongodb/data folder (data folder needs to be present).


3) restart the mongodb service (service mongod start)

After the above steps, the PTA DR replication will replicate all the data from scratch. This may take time depending on the amount of data to be replicated from PTA Primary server.When this is completed, run RUN_DIAGNOSTICS P092 to confirm the last successful replication time and status at the Primary PTA server.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000qd1CAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail