DR - What is replicationuser.pass, how is it created, and what are the steps taken to replicate it to the DR vault?

DR - What is replicationuser.pass, how is it created, and what are the steps taken to replicate it to the DR vault?

82
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 13:00 PM


Question


What is replicationuser.pass, how is it created, and what are the steps taken to replicate it to the DR vault?


Environment


9.8;9.9;9.9.5;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0 Privileged Access Manager (PAM, self-hosted) Vault

Answer


1. The ReplicationUser.pass contains the password for the DB ReplicationUser user which is used for connection to the local MySQL to run the replication.
2. The ReplicationUser.pass is created after the Vault installation, placed in the keys folder, and is unique for each vault.
3. The ReplicationUser.pass is replicated to DR.
 
During the DR replication the following occurs: 
 
a. ReplicationUser.pass (on the Prod Vault) is copied to DR and renamed to MasterReplicationUser.pass 
b. The password of ReplicationUser on the DR site is reset and replaced with the password of ReplicationUser from the Prod vault and DR's ReplicationUser.pass is set with a new password. 
It means that ReplicationUser.pass content on DR site=MasterReplicationUser.pass, and on DR=ReplicationUser.pass on Prod 
 
Every 5 minutes (by default) the DR replicates the ReplicationUser.pass from Prod and performs the actions above (in case RecoverReplicationPassword was run on Prod and its password was changed) 
 
Note: It looks like the content of ReplicationUser.pass on the DR site is changed every 5 minutes (while ReplicationUser.pass on Prod and MasterReplicationUser.pass on DR does not look modified with the similar password content text), but actually it is only re-encrypted with the same password and this causes the encrypted text to look different. 


Additional Information


Details

Q:

1. What is ReplicationUser.pass on the vault?
2. How is ReplicationUser.pass created?
3. What are the steps taken to replicate ReplicationUser.pass to the DR vault?

Behavior: ReplicationUser.pass on the DR Vault looks unmodified (content of password text), but actually it is re-encrypted with the same password and this causes the encrypted password text to look different. 

A:

1. The ReplicationUser.pass contains the password for the DB ReplicationUser user which is used for connection to the local MySQL to run the replication.
2. The ReplicationUser.pass is created after the Vault installation, placed in the keys folder, and is unique for each vault.
3. The ReplicationUser.pass is replicated to DR.

During the DR replication the following occurs: 

a. ReplicationUser.pass (on the Prod Vault) is copied to the DR and renamed to MasterReplicationUser.pass 
b. The password of ReplicationUser on the DR site is reset and replaced with the password of ReplicationUser from Prod vault and DR's ReplicationUser.pass set with a new pass. 
It means that ReplicationUser.pass content on DR site=MasterReplicationUser.pass on DR=ReplicationUser.pass on Prod 

Every 5 minutes (by default) the DR replicates the ReplicationUser.pass from Prod and performs the actions above (in case RecoverReplicationPassword was run on Prod and it's pass was changed) 
It looks like the content of ReplicationUser.pass on the DR site is changed every 5 minutes (while ReplicationUser.pass on Prod and MasterReplicationUser.pass on DR does not look modified with the similar pass content text), but actually it is only re-encrypted with the same pass and this causes to pass encrypted text to look different. 




Actions
  • Print
  • Copy Link

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