To change the Synchronizer database password, you must change the password for datasync_user in three places:
PostgreSQL (command on the command line)
Sync Engine (setting in Synchronizer Web Admin)
Config Engine (setting in a configuration file)
Reset the password for the PostgreSQL database:
In a terminal window on the Synchronizer server, become root by entering su - and the root password.
Enter the following command:
psql --user datasync_user datasync
Enter the current password for the Synchronizer database.
Enter the following command at the datasync> prompt:
ALTER USER datasync_user WITH PASSWORD 'password';
Replace password with the new password for the Synchronizer database.
Enter \q to quit.
Reconfigure the Sync Engine to use the new password:
In Synchronizer Web Admin, click in the section to display the Engine Configuration page.
In the
field in the box, specify the new Synchronizer database password.Click
.Reconfigure the Config Engine to use the new password.
In the terminal window used for Step 1:
Change to the following directory:
/etc/datasync/configengine
Open the configengine.xml file in a text editor.
In the <database> section, replace the existing database password with the new password between the <password> tags.
Save the configengine.xml file, then exit the text editor.
Restart the Synchronizer services to put the new setting into effect:
rcdatasync restart
(Conditional) If you want to change the Mobility Connector database password to match the Synchronizer database password, follow the instructions in Changing the Mobility Connector Database Password
in Mobility Connector Configuration
in the Mobility Connector Configuration Guide.