Vault - DR replication fails with a PADR0100W Metadata Replication warning

Vault - DR replication fails with a PADR0100W Metadata Replication warning

133
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 12:59 PM


Symptom


There are few different symptoms for this issue and all need to be fulfilled before moving on with the solution.

Disaster Recovery fails and in the PADR.log, the following error is found:
PADR0100W Metadata Replication warning: Communication error.
See Diagnostic Info
Last SQL Error Code: 0 
Last SQL Error: "" 
Last IO Error Code: 0 
ast IO Error: "" 
SQL Thread Running State: "Yes


In the VaultDB.log on the active primary vault server, the following error can be seen:
Error 'When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check GTID_NEXT variable manual page for detailed explanation. Current @@SESSION.GTID_NEXT is 'a057c119-4c1e-11e6-8339-0025b508f00c:3278336'.' on query. Default database: 'ca_vault


Environment


10.5;10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault PAM

Cause


In DR replication, the 'slave_net_timeout' parameter of my.ini is used to set the timeout for the replication tunneling. However, it is treated as milliseconds instead of seconds, which may cause replication failures slower connections.

Resolution


On ALL Primary and DR Vault servers, modify the slave_net_timeout parameter to 30000 in the my.ini configuration file.
The file is located in <drive>:\Program Files (x86)\PrivateArk\Database by default.
This will need to be done on all nodes in an HA environment.

Restart the PrivateArk Database service in ALL the sites.

Verify the change by running
CAVaultManager DiagnoseDBRepor

, on ALL sites and search each output for slave_net_timeout parameter and make sure that it's set to 30000.

Important Note: The issue has been addressed in v9.8. However, if you are performing an upgrade from a version older than v9.8 the values are not overwritten in the My.ini file and will not take effect without manual intervention.


Additional Information


Details

Symptom:

Please note: There are three symptoms for this issue and all need to be fulfilled before moving on with the solution.

  1. Disaster Recovery fails
  2. In the PADR.log you find the following error
    PADR0100W Metadata Replication warning: Communication error. See Diagnostic Info Last SQL Error Code: 0 
    Last SQL Error: "" 
    Last IO Error Code: 0 
    Last IO Error: "" 
    SQL Thread Running State: "Yes

  3. In the VaultDB.log on the active primary vault server you find the following error
    Error 'When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check GTID_NEXT variable manual page for detailed explanation. Current @@SESSION.GTID_NEXT is 'a057c119-4c1e-11e6-8339-0025b508f00c:3278336'.' on query. Default database: 'ca_vault'


Problem:

In DR replication, the 'slave_net_timeout' parameter of my.ini is used to set the timeout for the replication tunneling. However, it is treated as milliseconds instead of seconds, which may cause replication failures slower connections.


Solution:
  1. On ALL Primary and DR Vault servers, modify the slave_net_timeout parameter to 30000 in the my.ini configuration file. The file is located in <drive>:\Program Files (x86)\PrivateArk\Database by default. This will need to be done on all nodes in an HA environment.
  2. Restart the PrivateArk Database service in ALL the sites.
  3. Verify the change by running CAVaultManager DiagnoseDBReport on ALL sites and search each output for slave_net_timeout parameter and make sure that it's set to 30000 
Important Note: The issue has been addressed in v9.8. However, if you are performing an upgrade from a version older than v9.8 the values are not overwritten in the My.ini file and will not take effect without manual intervention. 





Actions
  • Print
  • Copy Link

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