Reset the MongoDB Password Used by Event Loader
You set the MongoDB username and password that Event Loader uses to connect to the MongoDB servers when you run the create_config.py script. You can reset this password if needed by performing a configuration update.
About this task
Perform this task from the publishing server in the standby engine.
Note: Do not deploy new
pricing configuration changes during the configuration update. This must be
done after the engine configuration is complete.
To reset the password that Event Loader uses to connect to the MongoDB servers:
For more information about the MATRIXX environment variables, see the discussion about container directories and environment variables in MATRIXX Installation and Upgrade.
Procedure
-
Using a secure connection, for
example ssh, log in to the publishing server as user
mtx
. -
Go to the ${MTX_CUSTOM_DIR} directory.
cd_custom_dir
-
Copy the
create_config.info file to a backup file.
cp create_config.info create_config.info.bak
- Edit the create_config.info file to delete this question: EventLoader:What is the password for external database? and save the file.
-
Enter the following
command to run the
create_config.py script and when prompted with the
question you removed (from the
create_config.info file), enter the reset
password.
create_config.pyAfter the script finishes you have reset the password on the local server. You are now ready to update the reset-password configuration on each server in the engine.
-
Enter the following command to copy the local reset-password configuration
(propagate the password change) to all servers in the engine.
configure_engine.pyAfter the configuration changes are complete, the script updates the configuration on each server by synchronizing the ${MTX_CUSTOM_DIR} directories, then running the configuration script locally on each server.
- Restart the publishing server in the standby engine(s).
- Restart the publishing server on the active engine.