Objective
For security reasons,Customer may request to change the default systran rabbitmq password.
The method is the following.
Methodology
1) Update in rabbit :
# rabbitmqctl authenticate_user systran SESpassword
Authenticating user "systran" ...
Success
# rabbitmqctl change_password systran NEWpassword
# rabbitmqctl authenticate_user systran NEWpassword
Authenticating user "systran" ...
Success
2) Update in console :
2) Update in systran files by updating with new password "amqp://systran:NEWpassword@localhost:5672" in following files :
-
/opt/systran/translation-dispatcher/etc/std.cfg
-
/opt/systran/translation-resource-monitor/etc/trm.cfg
-
/opt/systran/routing/etc/rs.cfg
-
/opt/systran/corpus-manager2/etc/cm.cfg
3) Stop SYSTRAN services :
# for i in $(systemctl -a | grep -o systran-.*.service); do systemctl stop $i; done
4) Restart rabbitMQ :
# systemctl restart rabbitmq-server
5) Start SYSTRAN services :
# for i in $(systemctl -a | grep -o systran-.*.service); do systemctl start $i; done
6) Verify that all services are green :
7) Perform some test translations.